From 6c39cbf87d73f66b4b807861ed8d29b46cd3833b Mon Sep 17 00:00:00 2001 From: rebuildup Date: Fri, 27 Nov 2026 22:02:31 +0900 Subject: [PATCH] fix: Scope bootstrap to reviewed operational skills --- AGENTS.md | 6 +++--- mise.toml | 11 +++++++++-- organization/profiles/release-driven-solo.md | 4 ++-- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c887564..063aaec 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -18,7 +18,7 @@ This repository manages personal CLI configuration. Preserve these project-local - Durable architecture/workflow decisions belong in `docs/adr/`; supporting external research belongs in `docs/research/`. - Before presenting a change as ready, run `./script/test`, `./script/test-workflow`, `./script/check-secrets`, and relevant `./script/check` / `./script/secrets-doctor` validation. -Project-wide delivery, authority, evidence, and review rules follow the current `rebuildup/aude-skills` (formerly `rebuildup/project-init`; migration tracking: `rebuildup/aude-skills#212`) operating profile. +The [project operating profile](organization/profiles/release-driven-solo.md) defines delivery, authority, evidence, and review. The upstream distribution source is `rebuildup/aude-skills`. ## Constitution / operating profile @@ -32,8 +32,8 @@ 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` +- fresh clone はコミット済みの `.agents/skills/` と agent links を使う。 +- 明示的な再導入は `mise run skills-bootstrap`。対象 Skill と upstream の版を profile に沿って確認する。 - 継続更新: `bunx skills@1.7.0 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 で上書きされない構造にする。 diff --git a/mise.toml b/mise.toml index 9dbe331..fbe45df 100644 --- a/mise.toml +++ b/mise.toml @@ -9,8 +9,15 @@ description = "List Agent Skills available from rebuildup/aude-skills (formerly run = "bunx skills@1.7.0 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" +description = "Reconcile the adopted aude-skills set for the configured agents" +run = """ +bunx skills@1.7.0 add rebuildup/aude-skills --skill \ + agent-delivery-estimation agent-recovery correctness-assurance design-refinement engineering-decisions \ + github-delivery herdr-runtime interaction-discipline linear-release-control onboarding \ + parallel-orchestration policy-evaluation quality-gate sandbox-runtime secrets-management \ + security-audit security-maintenance system-quality worktree-workflow \ + --agent claude-code --agent codex -y +""" [tasks.skills-update] description = "Update tracked project-local Agent Skills non-interactively" diff --git a/organization/profiles/release-driven-solo.md b/organization/profiles/release-driven-solo.md index a4931fa..43569a1 100644 --- a/organization/profiles/release-driven-solo.md +++ b/organization/profiles/release-driven-solo.md @@ -147,9 +147,9 @@ 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` を同じ入口とする。 +- 再導入の入口は `mise run skills-bootstrap`。採用対象を `mise.toml` に列挙し、追加候補は `mise run skills-list` で確認する。浮動依存の再導入では解決された版と内容差分を確認し、組織方針の再採択には T009 の判断を適用する。 - 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`)を使う。 -- current Skills CLI では lock からの復元は `skills experimental_install` を使う(`skills install` は `add` の alias で、lock からの復元には使わない)。ただし fresh clone bootstrap の入口は `mise run skills-bootstrap` とし、lock 復元だけで Claude Code 側の配置を保証しない。 +- fresh clone は Git にコミットした Skill file と agent links を使う。lock の内容と実配置を照合する。`skills experimental_install` は採用済み内容やリンクの再現を保証しない。 - `--global` は通常運用で使用しない。user-global Skills を repository policy / freshness evidence にしない。 - project固有 Skill や intentional customization は upstream update で無条件上書きせず、source ownershipを分けてreconcileする。