[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CG26NNQ32V35N9CMCGES15":3,"skill-same:01M6CG26NNQ32V35N9CMCGES15":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":55,"install":56,"resources":69},"01M6CG26NNQ32V35N9CMCGES15","cross-repo-change","跨仓库变更协调","Coordinate changes that touch both the aweb OSS repo and the hosted ac repo. OSS lands first; the hosted repository owns dependency derivation and deployment.","协调同时涉及 aweb 开源（OSS）仓库和托管 ac 仓库的变更。开源仓库先落地；托管仓库负责依赖推导和部署。","awebai\u002Faweb","awebai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F258851262?v=4","01M6CG2164V80VQVXFEXSFQ3P0",null,"01M6CG21ARN03ENSNQ3AKA9HTB",129,"MIT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcross-repo-change\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42],"change","repo","cross repo","cross repo change","deployment","repository","first","dependency","coordinate","oss","touch","changes","ac","2026-11-10 10:12:30",false,"---\nname: cross-repo-change\ndescription: Coordinate changes that touch both the aweb OSS repo and the hosted ac repo. OSS lands first; the hosted repository owns dependency derivation and deployment.\n---\n\n# Cross-repo change coordination\n\nChanges that affect both aweb (OSS) and ac (hosted SaaS) must be\ncoordinated carefully because ac embeds aweb as a PyPI package.\n\n## Read this first: shippability\n\n**A released client is a permanent constraint.** Once a client that\nsends X is in the field, the server must accept X until you can prove\nnothing sends it.\n\nEverything below about atomic deploys applies to **aweb ↔ ac only**. Every\nother consumer — the channel plugin, pi, the `aw` CLI, self-hosted servers —\nupdates on its own schedule. A running agent\nkeeps its loaded module until the process **restarts**, which for a\nlong-lived agent may be never.\n\n**Default: additive only.** You may ADD an accepted shape. You may NOT:\n\n- remove an accepted shape,\n- make an optional field required,\n- reject a shape that is in the field,\n- narrow a type or add a stricter validator to an existing field.\n\n**The only exception:** you may narrow a contract if you can NAME every\nconsumer and show each deploys **atomically** with this change — same\nimage, same deploy, same instant. \"We will release the client right\nafter\" is not atomic. Put the justification in the commit message.\nToday exactly one boundary qualifies: aweb ↔ ac.\n\n**Removal is a separate, later change.** Remove support for an old shape\nonly after MEASURING that nothing sends it. If you cannot measure it,\nyou cannot remove it.\n\n**Before merge, answer:** *what is deployed today, and does this still\nwork against it?* Check against PUBLISHED ARTIFACTS — `npm pack` the\ntarball and read the shipped bundle, or read the released tag — never\nagainst your own source. Your source and the published client disagree;\nthat disagreement is the entire risk.\n\nWhy this section exists: on 2026-07-26 a chat mark-read change made a new\nfield required and explicitly rejected the old one. Every published client\nsent the old field, so deploying it would have broken every client in the\nworld. It was faithful to the anti-pattern below, which is correct for the\ncloud boundary and catastrophic for clients. The process was not ignored —\nit was followed.\n\n## Principle (aweb ↔ ac only)\n\nThe cloud imports aweb. Both deploy in the same Docker image.\nThere is no transition period — when the cloud pins a new aweb\nversion, both the old and new code deploy atomically.\n\nThis is the ONLY boundary with that property. Do not generalise it.\n\n## Sequence\n\n1. **Design** — agree on the contract change between OSS and cloud.\n   Identify which side goes first.\n\n2. **OSS first** — land the OSS change on aweb main after the relevant focused\n   tests pass.\n\n3. **Release OSS** — run `make release-candidate TAGS='...'` in aweb, then push\n   each resulting tag separately. `docs\u002Frelease.md` is authoritative. Wait for\n   the exact package versions to be public.\n\n4. **Cloud pins** — update and review `backend\u002Fpyproject.toml` and\n   `backend\u002Fuv.lock` to the exact public OSS versions on AC `main`.\n\n5. **Cloud candidate** — land the cloud-side source change on AC `main`, then\n   run `make release-candidate VERSION=X.Y.Z`. Push the resulting `vX.Y.Z` tag;\n   AC never publishes OSS artifacts.\n\n6. **Verify** — cloud tests pass against the real aweb package (not\n   editable\u002Fsibling source).\n\n## Anti-patterns\n\n- Do NOT land the cloud change before the OSS release. The cloud\n  CI will fail on import errors.\n- Do NOT use editable\u002Fsibling source installs as a permanent\n  workaround. They mask version pinning issues.\n- Do NOT accept both old and new formats \"during transition\" when\n  both sides deploy atomically. Pick one format. **This applies to\n  aweb ↔ ac and nowhere else.** Before invoking it, confirm\n  every consumer of the contract deploys in that same image. If any\n  consumer is a published client — channel, pi, `aw` — or a\n  self-hosted server, the rule INVERTS: accept both, prefer the new\n  one, and remove the old only after measuring. See \"Read this\n  first: shippability\".\n- Do NOT change a contract without enumerating what currently sends\n  it. For the channel that check is small — its entire write surface\n  is two calls, one of which has no body — so there is no excuse for\n  skipping it.\n\n## Hosted schema mirrors\n\nThe `ac` repository maintains its own copy of the OSS schemas. The cloud's\n`migration_paths.py` points at `backend\u002Fsrc\u002Faweb_cloud\u002Fmigrations\u002Faweb\u002F`\nand `migrations\u002Fserver\u002F` — NOT at the OSS package's migrations in the\ninstalled `.venv`. So when an OSS release adds or alters a schema the\ncloud uses, the cloud needs a paired mirror migration with a matching\nALTER\u002FCREATE.\n\nThe migrations to mirror can live in DIFFERENT OSS tree subdirectories\nwithin the same release. Easy to miss the second one when walking commit\nby commit:\n\n- `awid\u002Fsrc\u002Fawid_service\u002Fmigrations\u002F*.sql` → mirror in cloud as\n  `migrations\u002Faweb\u002F`.\n- `server\u002Fsrc\u002Faweb\u002Fmigrations\u002Faweb\u002F*.sql` → also mirror in cloud as\n  `migrations\u002Faweb\u002F` (same target dir, different OSS source dir).\n\nWhen reviewing a cross-repo bundle, grep ALL OSS migration trees touched\nin the bundle, not just the first one you find. Pattern-blindness on the\nsecond mirror is the failure mode.\n\nEach mirror file should be a one-statement ALTER\u002FCREATE matching the OSS\ncontent, with a header comment naming the OSS source path so the lineage\nis explicit.\n\n## Example: aweb-aaje (proxy auth team_id format)\n\n1. OSS: changed X-Team-ID validation from UUID to colon-form,\n   deleted _resolve_proxy_team_id (cde8889, 0fbe3d9, 78794ff)\n2. Released: aweb 1.10.1\n3. Hosted repo: pinned 1.10.1 and changed the bridge to send colon-form\n   (2761d0a5, 1f6e4797)\n4. Both deploy together in the cloud Docker image\n\n## Notes\n\n- The hosted `ac` repo is cloned at `..\u002Fac` relative to the aweb\n  workspace.\n- Ownership and review routing live in the active team instructions\n  and `aw workspace status`; do not rely on names written here.\n","# Cross-repo change coordination\n\nChanges that affect both aweb (OSS) and ac (hosted SaaS) must be\ncoordinated carefully because ac embeds aweb as a PyPI package.\n\n## Read this first: shippability\n\n**A released client is a permanent constraint.** Once a client that\nsends X is in the field, the server must accept X until you can prove\nnothing sends it.\n\nEverything below about atomic deploys applies to **aweb ↔ ac only**. Every\nother consumer — the channel plugin, pi, the `aw` CLI, self-hosted servers —\nupdates on its own schedule. A running agent\nkeeps its loaded module until the process **restarts**, which for a\nlong-lived agent may be never.\n\n**Default: additive only.** You may ADD an accepted shape. You may NOT:\n\n- remove an accepted shape,\n- make an optional field required,\n- reject a shape that is in the field,\n- narrow a type or add a stricter validator to an existing field.\n\n**The only exception:** you may narrow a contract if you can NAME every\nconsumer and show each deploys **atomically** with this change — same\nimage, same deploy, same instant. \"We will release the client right\nafter\" is not atomic. Put the justification in the commit message.\nToday exactly one boundary qualifies: aweb ↔ ac.\n\n**Removal is a separate, later change.** Remove support for an old shape\nonly after MEASURING that nothing sends it. If you cannot measure it,\nyou cannot remove it.\n\n**Before merge, answer:** *what is deployed today, and does this still\nwork against it?* Check against PUBLISHED ARTIFACTS — `npm pack` the\ntarball and read the shipped bundle, or read the released tag — never\nagainst your own source. Your source and the published client disagree;\nthat disagreement is the entire risk.\n\nWhy this section exists: on 2026-07-26 a chat mark-read change made a new\nfield required and explicitly rejected the old one. Every published client\nsent the old field, so deploying it would have broken every client in the\nworld. It was faithful to the anti-pattern below, which is correct for the\ncloud boundary and catastrophic for clients. The process was not ignored —\nit was followed.\n\n## Principle (aweb ↔ ac only)\n\nThe cloud imports aweb. Both deploy in the same Docker image.\nThere is no transition period — when the cloud pins a new aweb\nversion, both the old and new code deploy atomically.\n\nThis is the ONLY boundary with that property. Do not generalise it.\n\n## Sequence\n\n1. **Design** — agree on the contract change between OSS and cloud.\n   Identify which side goes first.\n\n2. **OSS first** — land the OSS change on aweb main after the relevant focused\n   tests pass.\n\n3. **Release OSS** — run `make release-candidate TAGS='...'` in aweb, then push\n   each resulting tag separately. `docs\u002Frelease.md` is authoritative. Wait for\n   the exact package versions to be public.\n\n4. **Cloud pins** — update and review `backend\u002Fpyproject.toml` and\n   `backend\u002Fuv.lock` to the exact public OSS versions on AC `main`.\n\n5. **Cloud candidate** — land the cloud-side source change on AC `main`, then\n   run `make release-candidate VERSION=X.Y.Z`. Push the resulting `vX.Y.Z` tag;\n   AC never publishes OSS artifacts.\n\n6. **Verify** — cloud tests pass against the real aweb package (not\n   editable\u002Fsibling source).\n\n## Anti-patterns\n\n- Do NOT land the cloud change before the OSS release. The cloud\n  CI will fail on import errors.\n- Do NOT use editable\u002Fsibling source installs as a permanent\n  workaround. They mask version pinning issues.\n- Do NOT accept both old and new formats \"during transition\" when\n  both sides deploy atomically. Pick one format. **This applies to\n  aweb ↔ ac and nowhere else.** Before invoking it, confirm\n  every consumer of the contract deploys in that same image. If any\n  consumer is a published client — channel, pi, `aw` — or a\n  self-hosted server, the rule INVERTS: accept both, prefer the new\n  one, and remove the old only after measuring. See \"Read this\n  first: shippability\".\n- Do NOT change a contract without enumerating what currently sends\n  it. For the channel that check is small — its entire write surface\n  is two calls, one of which has no body — so there is no excuse for\n  skipping it.\n\n## Hosted schema mirrors\n\nThe `ac` repository maintains its own copy of the OSS schemas. The cloud's\n`migration_paths.py` points at `backend\u002Fsrc\u002Faweb_cloud\u002Fmigrations\u002Faweb\u002F`\nand `migrations\u002Fserver\u002F` — NOT at the OSS package's migrations in the\ninstalled `.venv`. So when an OSS release adds or alters a schema the\ncloud uses, the cloud needs a paired mirror migration with a matching\nALTER\u002FCREATE.\n\nThe migrations to mirror can live in DIFFERENT OSS tree subdirectories\nwithin the same release. Easy to miss the second one when walking commit\nby commit:\n\n- `awid\u002Fsrc\u002Fawid_service\u002Fmigrations\u002F*.sql` → mirror in cloud as\n  `migrations\u002Faweb\u002F`.\n- `server\u002Fsrc\u002Faweb\u002Fmigrations\u002Faweb\u002F*.sql` → also mirror in cloud as\n  `migrations\u002Faweb\u002F` (same target dir, different OSS source dir).\n\nWhen reviewing a cross-repo bundle, grep ALL OSS migration trees touched\nin the bundle, not just the first one you find. Pattern-blindness on the\nsecond mirror is the failure mode.\n\nEach mirror file should be a one-statement ALTER\u002FCREATE matching the OSS\ncontent, with a header comment naming the OSS source path so the lineage\nis explicit.\n\n## Example: aweb-aaje (proxy auth team_id format)\n\n1. OSS: changed X-Team-ID validation from UUID to colon-form,\n   deleted _resolve_proxy_team_id (cde8889, 0fbe3d9, 78794ff)\n2. Released: aweb 1.10.1\n3. Hosted repo: pinned 1.10.1 and changed the bridge to send colon-form\n   (2761d0a5, 1f6e4797)\n4. Both deploy together in the cloud Docker image\n\n## Notes\n\n- The hosted `ac` repo is cloned at `..\u002Fac` relative to the aweb\n  workspace.\n- Ownership and review routing live in the active team instructions\n  and `aw workspace status`; do not rely on names written here.\n",{"name":5,"description":7},"main","e93dbd61326d317691715e339739fa5266f02232",".claude\u002Fskills\u002Fcross-repo-change",13,"https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb","https:\u002F\u002Faweb.ai","https:\u002F\u002Fgithub.com\u002Fawebai","2026-11-15 03:33:47",{"source":9,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add awebai\u002Faweb --skill cross-repo-change",{"tool":62,"command":63},"bunx","bunx skills add awebai\u002Faweb --skill cross-repo-change",{"tool":65,"command":66},"pnpm","pnpm dlx skills add awebai\u002Faweb --skill cross-repo-change","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcross-repo-change\u002FSKILL.md",true,[],[71,82,92,102,109,116],{"skillNo":72,"name":73,"nameZh":74,"description":13,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":76,"categories":77,"keywords":81,"publishedAt":43},"01M6CG7FQ52R3DF9BPTSZW0PR6","review","代码审查","","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[78,79],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":80,"categoryName":74,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8CH8T3M7B4Y4V28A6YRCB0N",[73],{"skillNo":83,"name":84,"nameZh":85,"description":13,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":86,"categories":87,"keywords":91,"publishedAt":43},"01M6CG7DWVMW3CAV6E54JCK20G","implement","代码实现","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[88,89],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":90,"categoryName":85,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BT7QVANT4709358VEJK53E",[84],{"skillNo":93,"name":38,"nameZh":94,"description":13,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":95,"categories":96,"keywords":101,"publishedAt":43},"01M6CG7C1TK4X48E909BEN4SN1","任务协作协调","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[97,98],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":99,"categoryName":100,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BRN0DBCRG4XGJMB6QQEP11","编码任务委派",[38],{"skillNo":103,"name":73,"nameZh":74,"description":13,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":104,"categories":105,"keywords":108,"publishedAt":43},"01M6CG79Z76QPYG9478ANWN6BQ","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[106,107],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":80,"categoryName":74,"taxonomyType":27,"taxonomyTypeDesc":28},[73],{"skillNo":110,"name":84,"nameZh":85,"description":13,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":111,"categories":112,"keywords":115,"publishedAt":43},"01M6CG77V6E9E7STWA5NNCVWPV","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[113,114],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":90,"categoryName":85,"taxonomyType":27,"taxonomyTypeDesc":28},[84],{"skillNo":117,"name":38,"nameZh":94,"description":13,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":118,"categories":119,"keywords":122,"publishedAt":43},"01M6CG766593VZADKEQ1Z0W6TT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[120,121],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":99,"categoryName":100,"taxonomyType":27,"taxonomyTypeDesc":28},[38]]