setup
One-time contributor setup — run `make setup` and verify governed reads work end-to-end so `/init` can report lifecycle and structural counts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
One-time contributor setup — run `make setup` and verify governed reads work end-to-end so `/init` can report lifecycle and structural counts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the local fast CI loop (`make ci`) and automatically fix discovered issues using concurrent agents
Run dead code and duplicate detection, get categorized cleanup recommendations
Create a git commit with an impact-focused conventional commit message
Staged adversarial review — triage, decorrelated finders (warm + cold), per-finding refuters, evidence-ready report
Post-create PR lifecycle automation — rerun infra failures, triage review comments adversarially, enqueue when green, verify merged main. Designed for /loop.
Glue workflow — coupling gate, local review, conventional commit, and PR creation with waiver discipline in one governed sequence
| name | setup |
| description | One-time contributor setup — run `make setup` and verify governed reads work end-to-end so `/init` can report lifecycle and structural counts. |
| allowed-tools | Bash, Read |
Get a fresh clone operational. After this completes, /init can report lifecycle and structural counts through governed consumer binaries (no ad-hoc parsing of build/**/*.json — see spec 103).
make setup is the canonical contributor entry point. It installs the spec-spine CLI (cargo install spec-spine-cli --version 0.10.0 --locked), builds OAP-specific tools, compiles the spec registry and codebase index shards under .derived/, and fetches the axiomregent sidecar. This command runs it and then verifies the binaries the init protocol depends on actually return.
make setupmake setup
This is the single source of truth for contributor setup — never duplicate its steps here. If a new prerequisite or build target is needed, add it to make setup (and the workflow that runs it) rather than hard-coding cargo invocations into this command.
Halt on non-zero exit and surface the failing step verbatim. make check-deps (run as the first step of make setup) enumerates the host prerequisites — rust, pnpm, bun, node, gh — so a missing tool will name itself.
Smoke-test the same calls /init makes. Passing here means /init will work on this clone:
spec-spine index
spec-spine registry status-report --json --nonzero-only
spec-spine registry list --ids-only | wc -l
spec-spine index (re)generates the gitignored structural index (spec 188 Phase 4b: the broad index is a rebuilt-on-demand artifact, never committed). Do not parse .derived/**/*.json directly to "verify" success; that violates spec 103 governed reads.
Report exactly:
## setup: open-agentic-platform
**make setup:** {ok / failed at <step>}
**Governed reads verified:**
- spec-spine index: {ok}
- spec-spine registry status-report: {N specs across <statuses>}
- spec-spine registry list --ids-only: {N spec ids}
Next: run `/init` to load full session context.
If any step failed, surface the exact command, exit code, and last 20 lines of stderr. Do not invent counts — only report values that came back from a consumer binary.
make setup owns the build steps. This command does not duplicate or reorder them.build/**/*.json directly in any verification step. Use the consumer binaries (spec 103).pnpm install is fast on warm cache.