From da0311a813983d42df1e2cf76dcd24ce9e38ba79 Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 28 Nov 2026 00:01:05 +0900 Subject: [PATCH 1/3] chore(#251): migrate skills-lock to v2 schema with aude-skills source Pin each of the 19 adopted skills to the upstream commit whose content matches the recorded v1 hash, preserving installed bytes and the existing .agents/.claude layout. --- skills-lock.json | 116 +++++++++++++++++++++++++++++++---------------- 1 file changed, 77 insertions(+), 39 deletions(-) diff --git a/skills-lock.json b/skills-lock.json index adac411..932e1b1 100644 --- a/skills-lock.json +++ b/skills-lock.json @@ -1,119 +1,157 @@ { - "version": 1, + "version": 2, "skills": { "agent-delivery-estimation": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "d518abed5d5d9dfee5a9b3604cbd7b9c765c751e", + "commit": "d518abed5d5d9dfee5a9b3604cbd7b9c765c751e", "sourceType": "github", "skillPath": "skills/agent-delivery-estimation/SKILL.md", - "computedHash": "af0f7f2cbdfb4f320dffe2bf7283a0e03e63f0406a0d616f018dd6cc868817d2" + "computedHash": "6440ea1d0ee5d3cb0f9245567aa98f484a0cdd278788605d0556a329f555a769" }, "agent-recovery": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "19f7b4190e480b07c6c044b73627d7f24ecc9714", + "commit": "19f7b4190e480b07c6c044b73627d7f24ecc9714", "sourceType": "github", "skillPath": "skills/agent-recovery/SKILL.md", - "computedHash": "0ec19c92dbd36b42c3ee435a22ca56861a65481465dbbee86edca3f9c3af9eb1" + "computedHash": "e09641e15a8cad536209cf444dfaf6245526d96b111f019022c58d1d86e41311" }, "correctness-assurance": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "93d8a4c77b6eb75dc99ca80627b956ed77d00201", + "commit": "93d8a4c77b6eb75dc99ca80627b956ed77d00201", "sourceType": "github", "skillPath": "skills/correctness-assurance/SKILL.md", - "computedHash": "7cf4969d12213263adc93ab3d76c6fba42e6c7c06046056d83ba0df9dafe11fa" + "computedHash": "a383c1e6edd12786179c3e19b689725cd1d2398f7afcd7c3c83cda40ae61c219" }, "design-refinement": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "7e114dd97a5998a5750dc7bdefc9814418f6b937", + "commit": "7e114dd97a5998a5750dc7bdefc9814418f6b937", "sourceType": "github", "skillPath": "skills/design-refinement/SKILL.md", - "computedHash": "cbcd546dd3665ebe70ec5f02cbb2f807cf06f8e1089406dedea530f07ac86914" + "computedHash": "08e1e85d93a752fdd97f815a65e251a871cc4e1583087f2cf4085037be6d9835" }, "engineering-decisions": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "fa1fa960470bddcd93942bbeab4d90f0f85cc239", + "commit": "fa1fa960470bddcd93942bbeab4d90f0f85cc239", "sourceType": "github", "skillPath": "skills/engineering-decisions/SKILL.md", - "computedHash": "52e8de0a64cba76cc4dcb23f54faf999fcea2eb478f66caceda21b7b9f884dee" + "computedHash": "61e8ed90ca1ca9686fa9d42bde282f682cab6a36e42983a138571d5e6cbe4f91" }, "github-delivery": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "db2b5712529a39fcf7a0168d9c46b6bb5d2dc453", + "commit": "db2b5712529a39fcf7a0168d9c46b6bb5d2dc453", "sourceType": "github", "skillPath": "skills/github-delivery/SKILL.md", - "computedHash": "f990d8e87fcf504195aa1088cc1db967df7037cabaa704814da06a3e33940489" + "computedHash": "e3f9fa4063d18be7610635afdd0cfd55925f7fbd274c47d4ff050a76196e053d" }, "herdr-runtime": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "90cb29159b9da13431d19fd65e215e59bd48be0a", + "commit": "90cb29159b9da13431d19fd65e215e59bd48be0a", "sourceType": "github", "skillPath": "skills/herdr-runtime/SKILL.md", - "computedHash": "1acbba43f2b8ed95ad9901e8f23b80824104b0a5940985910023df56378b48e4" + "computedHash": "d97c6adad57f031aff6a7a80ed5d31d2ddbd8082a7ccdd4a11131482093c6a1e" }, "interaction-discipline": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "dfefe848548bd4abdab7a0dfa96ef67e32376a14", + "commit": "dfefe848548bd4abdab7a0dfa96ef67e32376a14", "sourceType": "github", "skillPath": "skills/interaction-discipline/SKILL.md", - "computedHash": "437b1e19f03634ca6937b39283a74d4814a4ee70d911508fb7cbe6fe8f32e9d3" + "computedHash": "2a3b9189db4aad711ad6c40b3b57e12edfef35161d52b0c3cc7bf64781025b12" }, "linear-release-control": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "49b728876531515f9294d6ab201bbc5912414839", + "commit": "49b728876531515f9294d6ab201bbc5912414839", "sourceType": "github", "skillPath": "skills/linear-release-control/SKILL.md", - "computedHash": "7d718b323aafdd9b7e023239ba104857b2e9983413578b006c0c703b1600369d" + "computedHash": "f1b1b797c22bf77acc2daba75a3e8d64bf906e66c27a166a6fc49a42dedb57e2" }, "onboarding": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "261a81d8e805a48637b2dc3465dbc6190d7b6d4d", + "commit": "261a81d8e805a48637b2dc3465dbc6190d7b6d4d", "sourceType": "github", "skillPath": "skills/onboarding/SKILL.md", - "computedHash": "9652c2c2783c65009816097494cc56c39ac7692531696887e891ed265a474cb3" + "computedHash": "361182e403501d4e905c5455824fac0d2812b850749f2e2088e58945f48b89aa" }, "parallel-orchestration": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "96f0d2852baae67d6da6668956ae23d59ed126b9", + "commit": "96f0d2852baae67d6da6668956ae23d59ed126b9", "sourceType": "github", "skillPath": "skills/parallel-orchestration/SKILL.md", - "computedHash": "46448cde152ecf924a2c499bbe4c346d93a941a1c4d121bdd80554ddbb1f712a" + "computedHash": "40b4e1344cd85811914849ef4122ee6ec863bf27d4d33800d50604972be463ac" }, "policy-evaluation": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "0a834a4ac36a1246f3fd8eb447e66a1aad832102", + "commit": "0a834a4ac36a1246f3fd8eb447e66a1aad832102", "sourceType": "github", "skillPath": "skills/policy-evaluation/SKILL.md", - "computedHash": "b2a910146e16af3f5a5c6269a7a66ba065af30b7ac4c2a8f7b0f6763ec24ef20" + "computedHash": "4b3d7899245ba109aaff7fcefd19ad06263bb108d3ef603c9e3fde254e136350" }, "quality-gate": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "9b8ad11e92d75716705d7ebd319ff60e2116f070", + "commit": "9b8ad11e92d75716705d7ebd319ff60e2116f070", "sourceType": "github", "skillPath": "skills/quality-gate/SKILL.md", - "computedHash": "aaa57e00355ce94998cf2b08fc9a91ecaf37869df25d41d80a08852dd1ec7433" + "computedHash": "5f6e0a9f9bd626768042fd7bbe9d65fb5ba7d222403ca307d2856f1537225cad" }, "sandbox-runtime": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "a25b1b4e412e8956578ec370fc0324b44c6dc0f9", + "commit": "a25b1b4e412e8956578ec370fc0324b44c6dc0f9", "sourceType": "github", "skillPath": "skills/sandbox-runtime/SKILL.md", - "computedHash": "d190de7d43407e1b297f76f077285ead1c2f695581fdb71ab36d25f5f217cb21" + "computedHash": "75a7823b14d87997aebd13cb47066bdc2fe8656a62d39db8aa35b73c1abaacfc" }, "secrets-management": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "7517a8016dc11556edcd9638b137a8920d03a91e", + "commit": "7517a8016dc11556edcd9638b137a8920d03a91e", "sourceType": "github", "skillPath": "skills/secrets-management/SKILL.md", - "computedHash": "0503990897791cf757262598082f3ecfd45996f21c37837cb5300b41c4ea038d" + "computedHash": "ca3fc3fd8ef719513f95d4db2c03a9fdc2c59d1fee867a5f1d0a080b789ed7e4" }, "security-audit": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "cfeaa46fd8fb869880b332a62fe4b634d7bfee4c", + "commit": "cfeaa46fd8fb869880b332a62fe4b634d7bfee4c", "sourceType": "github", "skillPath": "skills/security-audit/SKILL.md", - "computedHash": "cf392461db4a22248f7968de0801df5ffa5605f42f7f5ffe9bb12e001801d1b0" + "computedHash": "78f6a42e45dd1c90fe479f9b18aea33366236ec7fb18eb35bb489197285f5e29" }, "security-maintenance": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "bf6099afb43e46308188f101c00f43ddf37cc022", + "commit": "bf6099afb43e46308188f101c00f43ddf37cc022", "sourceType": "github", "skillPath": "skills/security-maintenance/SKILL.md", - "computedHash": "e17934113a433328b82102f06b8222793c04a420849d3f1e5a303a34e2dcb35d" + "computedHash": "df5e86d47fae9526a6d4ac412b15ecb577cf53912230794b3e0c401724d32f76" }, "system-quality": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "674c44c630e5dd23f06aa21621da219efd55ee90", + "commit": "674c44c630e5dd23f06aa21621da219efd55ee90", "sourceType": "github", "skillPath": "skills/system-quality/SKILL.md", - "computedHash": "784ace2d9955fec51ef7d1dbb45a0fc304ae4390b25b0493d2a4179f6d47b668" + "computedHash": "8ad9c9abee53035a27c0dae3143156bce2837c1ea101b15ce2f9dbfe0fa8daab" }, "worktree-workflow": { - "source": "rebuildup/project-init", + "source": "rebuildup/aude-skills", + "ref": "84e16088fc208b06ec8b024cf3e78a9c69445207", + "commit": "84e16088fc208b06ec8b024cf3e78a9c69445207", "sourceType": "github", "skillPath": "skills/worktree-workflow/SKILL.md", - "computedHash": "89169bdd92ad649a3abd722bd5fcf589d2b237ca48b522c2c03af68707df6d7c" + "computedHash": "fbe70d9e0211e66f3a4811ed76060d469f0bf04324203bbd45e91cae2fd679b8" } } } From 1017900a0f1c53f955fbabcd3c2ef37d3bb7ac4b Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 28 Nov 2026 00:04:56 +0900 Subject: [PATCH 2/3] test(#251): update policy resolver expectations for pinned v2 lock The migrated skills-lock.json pins every skill to an aude-skills commit, so the resolver no longer reports a floating source or baseline-divergence risk; assert the pinned state and the remaining quality-profile decision instead. --- script/agent.policy.test.ts | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/script/agent.policy.test.ts b/script/agent.policy.test.ts index c14d6e7..9f30c44 100755 --- a/script/agent.policy.test.ts +++ b/script/agent.policy.test.ts @@ -90,25 +90,26 @@ describe("policy resolver: real repository (no mocks)", () => { expect(factKinds(resolution)).toContain("baseline-pinned"); }); - test("reports the committed skills lock as floating (unpinned) source", () => { + test("reports the committed skills lock as pinned aude-skills source", () => { expect(resolution.lockPresent).toBe(true); - expect(resolution.lockUnpinned).toBe(true); + expect(resolution.lockUnpinned).toBe(false); expect(resolution.skills.length).toBeGreaterThan(0); for (const skill of resolution.skills) { - expect(skill.source).toBe("rebuildup/project-init"); + expect(skill.source).toBe("rebuildup/aude-skills"); + expect(skill.lockHash).toMatch(/^[0-9a-f]{64}$/); } - expect(factKinds(resolution)).toContain("lock-unpinned-source"); - expect(factKinds(resolution)).toContain("baseline-divergence-risk"); + expect(resolution.skills.every((skill) => skill.status === "ok")).toBe(true); + expect(factKinds(resolution)).toContain("skills-lock-present"); + expect(factKinds(resolution)).toContain("baseline-pinned"); + expect(factKinds(resolution)).not.toContain("lock-unpinned-source"); + expect(factKinds(resolution)).not.toContain("baseline-divergence-risk"); expect(factKinds(resolution)).not.toContain("project-init-absent"); }); test("surfaces unresolved consequential decisions and limitations", () => { - expect(resolution.unresolvedDecisions.length).toBeGreaterThan(0); - expect( - resolution.unresolvedDecisions.some((decision) => - decision.includes(BASELINE_SHA.slice(0, 12)), - ), - ).toBe(true); + expect(resolution.unresolvedDecisions).toContain( + "quality profile declared by the operating model is not compiled yet", + ); expect(resolution.knownLimitations.length).toBeGreaterThan(0); }); From 0a00455af56a6b4c1d5c261f78053fd817079f4f Mon Sep 17 00:00:00 2001 From: rebuildup Date: Sat, 28 Nov 2026 00:17:33 +0900 Subject: [PATCH 3/3] fix(#251): pin skills CLI tasks and docs to 1.9.1 for v2 lock compat skills@1.7.0 cannot write v2 lock entries correctly: it recomputes computedHash with the legacy algorithm and drops commit pins, which the policy resolver then reports as stale installs. Bump the skills-list/bootstrap/update tasks and the documented lifecycle commands to skills@1.9.1 (CodeRabbit review on PR #252). --- AGENTS.md | 6 +++--- mise.toml | 6 +++--- organization/profiles/release-driven-solo.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c887564..29d2690 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,9 +32,9 @@ Project-wide delivery, authority, evidence, and review rules follow the current aude-skills(旧称 project-init)由来の Agent Skills は **project-local** に管理し、global install を canonical にしない。 -- 初回導入 / 全体 reconcile: `bunx skills@1.7.0 add rebuildup/aude-skills --skill '*' --agent claude-code opencode codex devin -y` -- fresh clone から lock を復元: `bunx skills@1.7.0 experimental_install` -- 継続更新: `bunx skills@1.7.0 update -p -y` +- 初回導入 / 全体 reconcile: `bunx skills@1.9.1 add rebuildup/aude-skills --skill '*' --agent claude-code opencode codex devin -y` +- fresh clone から lock を復元: `bunx skills@1.9.1 experimental_install` +- 継続更新: `bunx skills@1.9.1 update -p -y` - `skills-lock.json` は `skills` CLI が生成・更新する source/freshness metadata として commit する。手で hash / source entry を捏造しない。 - upstream-managed Skill 本文は手編集しない。project 固有の refinement / override は別の project-local Skill、adapter、ADR、docs に置き、次回 update で上書きされない構造にする。 - update 後は Git diff と applicable quality gate を確認し、upstream 更新を無条件に current project policy とみなさない。 diff --git a/mise.toml b/mise.toml index 9dbe331..01fd7cf 100644 --- a/mise.toml +++ b/mise.toml @@ -6,12 +6,12 @@ bun = "1.4.2" [tasks.skills-list] description = "List Agent Skills available from rebuildup/aude-skills (formerly rebuildup/project-init)" -run = "bunx skills@1.7.0 add rebuildup/aude-skills --list" +run = "bunx skills@1.9.1 add rebuildup/aude-skills --list" [tasks.skills-bootstrap] description = "Install aude-skills (formerly project-init) Skills for Claude Code and universal .agents/skills consumers" -run = "bunx skills@1.7.0 add rebuildup/aude-skills --skill '*' --agent claude-code --agent codex -y" +run = "bunx skills@1.9.1 add rebuildup/aude-skills --skill '*' --agent claude-code --agent codex -y" [tasks.skills-update] description = "Update tracked project-local Agent Skills non-interactively" -run = "bunx skills@1.7.0 update -p -y" +run = "bunx skills@1.9.1 update -p -y" diff --git a/organization/profiles/release-driven-solo.md b/organization/profiles/release-driven-solo.md index a4931fa..31fbc32 100644 --- a/organization/profiles/release-driven-solo.md +++ b/organization/profiles/release-driven-solo.md @@ -147,8 +147,8 @@ explicit user/project decisionとして固定されたrelease scope/version/publ - Bun は Skills CLI 用の development prerequisite とする。Bun が application runtime / package manager でない repository でも、既存の project-local `mise` または established bootstrap から利用可能にし、application の native toolchain ownership は変更しない。 - aude-skills(旧称 project-init)由来 Skills は canonical source `rebuildup/aude-skills` を追跡する(既存 lock の旧 `rebuildup/project-init` 参照は移行期間中リダイレクト互換、次回再導入時に新名へ移行。移行正本: `rebuildup/aude-skills#212`)。上記の `release-0-3-0` は Constitution / Operating Model の reconciliation baseline であり、Skills の freeze/pin ではない。freeze が必要なら ADR で明示する。 - canonical install layout は `.agents/skills/` と `.claude/skills/`。Codex / OpenCode / Cursor は universal `.agents/skills/` を共有し、Claude Code は `.claude/skills/` を使用する。 -- 初回導入 / scope変更は `bunx skills@1.7.0 add rebuildup/aude-skills --list` で候補を確認し、標準bootstrapは `bunx skills@1.7.0 add rebuildup/aude-skills --skill '*' --agent claude-code --agent codex -y` とする。repositoryに `mise.toml` taskがある場合は `mise run skills-bootstrap` を同じ入口とする。 -- project-local `skills-lock.json` は source / skill path / content hash の durable metadata として commit する。通常の追従更新は `bunx skills@1.7.0 update -p -y`(または `mise run skills-update`)を使う。 +- 初回導入 / scope変更は `bunx skills@1.9.1 add rebuildup/aude-skills --list` で候補を確認し、標準bootstrapは `bunx skills@1.9.1 add rebuildup/aude-skills --skill '*' --agent claude-code --agent codex -y` とする。repositoryに `mise.toml` taskがある場合は `mise run skills-bootstrap` を同じ入口とする。 +- project-local `skills-lock.json` は source / skill path / content hash の durable metadata として commit する。通常の追従更新は `bunx skills@1.9.1 update -p -y`(または `mise run skills-update`)を使う。 - current Skills CLI では lock からの復元は `skills experimental_install` を使う(`skills install` は `add` の alias で、lock からの復元には使わない)。ただし fresh clone bootstrap の入口は `mise run skills-bootstrap` とし、lock 復元だけで Claude Code 側の配置を保証しない。 - `--global` は通常運用で使用しない。user-global Skills を repository policy / freshness evidence にしない。 - project固有 Skill や intentional customization は upstream update で無条件上書きせず、source ownershipを分けてreconcileする。