ultra-builder-pro-cli 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ultra-template/delivery-report.json +9 -0
- package/.ultra-template/docs/research/README.md +53 -0
- package/.ultra-template/specs/architecture.md +250 -0
- package/.ultra-template/specs/discovery.md +248 -0
- package/.ultra-template/specs/product.md +223 -0
- package/.ultra-template/tasks/contexts/TEMPLATE.md +57 -0
- package/.ultra-template/tasks/tasks.json +33 -0
- package/.ultra-template/test-report.json +8 -0
- package/CHANGELOG.md +194 -0
- package/LICENSE +21 -0
- package/README.md +187 -0
- package/adapters/_shared/codex-assets.cjs +1128 -0
- package/adapters/_shared/codex-ultra-tools-entry.cjs +11 -0
- package/adapters/_shared/file-ops.cjs +115 -0
- package/adapters/_shared/frontmatter.cjs +52 -0
- package/adapters/_shared/handbook.cjs +144 -0
- package/adapters/_shared/md-to-toml.cjs +54 -0
- package/adapters/_shared/path-rewrite.cjs +79 -0
- package/adapters/_shared/rtk-detect.cjs +86 -0
- package/adapters/_shared/runtime-assets.cjs +70 -0
- package/adapters/_shared/settings-merge.cjs +76 -0
- package/adapters/_shared/tests/file-ops.test.cjs +54 -0
- package/adapters/_shared/tests/frontmatter.test.cjs +47 -0
- package/adapters/_shared/tests/handbook.test.cjs +86 -0
- package/adapters/_shared/tests/md-to-toml.test.cjs +48 -0
- package/adapters/_shared/tests/path-rewrite.test.cjs +60 -0
- package/adapters/_shared/tests/resolve-target.test.cjs +85 -0
- package/adapters/_shared/tests/rtk-detect.test.cjs +116 -0
- package/adapters/_shared/tests/runtime-assets.test.cjs +107 -0
- package/adapters/_shared/tests/settings-merge.test.cjs +85 -0
- package/adapters/_shared/tests/validate.test.cjs +30 -0
- package/adapters/_shared/validate.cjs +24 -0
- package/adapters/claude.js +182 -0
- package/adapters/codex.js +385 -0
- package/adapters/gemini.js +204 -0
- package/adapters/opencode.js +506 -0
- package/adapters/tests/claude.test.cjs +117 -0
- package/adapters/tests/codex-hook.test.cjs +90 -0
- package/adapters/tests/codex.test.cjs +356 -0
- package/adapters/tests/gemini.test.cjs +112 -0
- package/adapters/tests/opencode.test.cjs +246 -0
- package/agents/code-reviewer.md +102 -0
- package/agents/debugger.md +127 -0
- package/agents/review-code.md +125 -0
- package/agents/review-comments.md +98 -0
- package/agents/review-coordinator.md +146 -0
- package/agents/review-design.md +133 -0
- package/agents/review-errors.md +87 -0
- package/agents/review-tests.md +93 -0
- package/agents/tdd-runner.md +92 -0
- package/bin/handbook.js +54 -0
- package/bin/install.js +254 -0
- package/bin/orchestrator.js +214 -0
- package/commands/learn.md +41 -0
- package/commands/ultra-deliver.md +45 -0
- package/commands/ultra-dev.md +50 -0
- package/commands/ultra-init.md +51 -0
- package/commands/ultra-plan.md +49 -0
- package/commands/ultra-research.md +59 -0
- package/commands/ultra-status.md +46 -0
- package/commands/ultra-test.md +48 -0
- package/commands/ultra-think.md +45 -0
- package/docs/AGENT-CONTEXT.md +143 -0
- package/docs/ARCHITECTURE.md +197 -0
- package/docs/COMMIT-HASH-BACKFILL.md +101 -0
- package/docs/LEGACY-HERMES.md +1175 -0
- package/docs/PLAN.zh-CN.md +1683 -0
- package/docs/ROADMAP.md +102 -0
- package/docs/RUNTIME-COMPAT-MATRIX.md +98 -0
- package/docs/STATE-DB-ACCESS-POLICY.md +109 -0
- package/docs/USER-HANDBOOK-CONTRACT.md +61 -0
- package/hooks/README.md +24 -0
- package/hooks/active_task_context.py +44 -0
- package/hooks/adapters/codex.py +302 -0
- package/hooks/health_check.py +61 -0
- package/hooks/pre_stop_check.py +56 -0
- package/hooks/subagent_tracker.py +116 -0
- package/hooks/workflow_checkpoint.py +56 -0
- package/hooks/workflow_context.py +63 -0
- package/hooks/workflow_resume.py +50 -0
- package/mcp-server/lib/init-project.cjs +162 -0
- package/mcp-server/lib/llm-client.cjs +157 -0
- package/mcp-server/lib/llm-client.test.cjs +156 -0
- package/mcp-server/lib/plan-store.cjs +96 -0
- package/mcp-server/lib/plan-store.test.cjs +132 -0
- package/mcp-server/lib/prd-parser.cjs +110 -0
- package/mcp-server/lib/prd-parser.test.cjs +171 -0
- package/mcp-server/lib/pricing.cjs +53 -0
- package/mcp-server/lib/projector.cjs +158 -0
- package/mcp-server/lib/state-db.cjs +113 -0
- package/mcp-server/lib/state-db.test.cjs +116 -0
- package/mcp-server/lib/state-ops.cjs +725 -0
- package/mcp-server/lib/task-expander.cjs +123 -0
- package/mcp-server/lib/task-expander.test.cjs +253 -0
- package/mcp-server/lib/telemetry.cjs +72 -0
- package/mcp-server/lib/topo.cjs +131 -0
- package/mcp-server/lib/topo.test.cjs +158 -0
- package/mcp-server/server.cjs +482 -0
- package/mcp-server/tests/circuit-breaker.test.cjs +125 -0
- package/mcp-server/tests/commit-hash-flow.test.cjs +117 -0
- package/mcp-server/tests/concurrency-update.test.cjs +96 -0
- package/mcp-server/tests/concurrency.test.cjs +112 -0
- package/mcp-server/tests/db-ops.test.cjs +117 -0
- package/mcp-server/tests/init-project.test.cjs +141 -0
- package/mcp-server/tests/migrate.test.cjs +144 -0
- package/mcp-server/tests/projector.test.cjs +130 -0
- package/mcp-server/tests/server-contract.test.cjs +750 -0
- package/mcp-server/tests/staleness.test.cjs +190 -0
- package/mcp-server/tests/state-ops.test.cjs +286 -0
- package/mcp-server/tests/tagged-tasks.test.cjs +163 -0
- package/mcp-server/tests/telemetry.test.cjs +205 -0
- package/orchestrator/auto-merge.cjs +109 -0
- package/orchestrator/code-graph-watcher.cjs +121 -0
- package/orchestrator/daemon.cjs +112 -0
- package/orchestrator/dispatch-rules.cjs +93 -0
- package/orchestrator/parallel-orchestrator.cjs +195 -0
- package/orchestrator/planner/expand-prompt.cjs +62 -0
- package/orchestrator/planner/expand-prompt.test.cjs +52 -0
- package/orchestrator/planner/plan-builder.cjs +116 -0
- package/orchestrator/planner/plan-builder.test.cjs +165 -0
- package/orchestrator/planner/prd-prompt.cjs +44 -0
- package/orchestrator/planner/prd-prompt.test.cjs +30 -0
- package/orchestrator/recovery.cjs +70 -0
- package/orchestrator/session-runner.cjs +224 -0
- package/orchestrator/skill-miner.cjs +133 -0
- package/orchestrator/tests/auto-merge.test.cjs +216 -0
- package/orchestrator/tests/code-graph-watcher.test.cjs +183 -0
- package/orchestrator/tests/daemon.test.cjs +260 -0
- package/orchestrator/tests/dispatch-rules.test.cjs +122 -0
- package/orchestrator/tests/parallel-orchestrator.test.cjs +233 -0
- package/orchestrator/tests/phase-8b-gate.test.cjs +183 -0
- package/orchestrator/tests/recovery.test.cjs +190 -0
- package/orchestrator/tests/session-runner.test.cjs +314 -0
- package/orchestrator/tests/skill-miner.test.cjs +147 -0
- package/orchestrator/tests/worktree-manager.test.cjs +148 -0
- package/orchestrator/worktree-manager.cjs +131 -0
- package/output-styles/coding-vibes.md +67 -0
- package/output-styles/structural-thinking.md +61 -0
- package/package.json +109 -0
- package/settings.json +8 -0
- package/skills/cc-collab/SKILL.md +41 -0
- package/skills/code-review-expert/SKILL.md +118 -0
- package/skills/code-review-expert/references/code-quality-checklist.md +112 -0
- package/skills/code-review-expert/references/integration-checklist.md +46 -0
- package/skills/code-review-expert/references/removal-plan.md +52 -0
- package/skills/code-review-expert/references/security-checklist.md +100 -0
- package/skills/code-review-expert/references/solid-checklist.md +65 -0
- package/skills/codex-collab/SKILL.md +52 -0
- package/skills/codex-collab/evals/evals.json +40 -0
- package/skills/gemini-collab/SKILL.md +51 -0
- package/skills/gemini-collab/evals/evals.json +42 -0
- package/skills/integration-rules/SKILL.md +71 -0
- package/skills/learn/SKILL.md +117 -0
- package/skills/security-rules/SKILL.md +60 -0
- package/skills/testing-rules/SKILL.md +56 -0
- package/skills/ultra-deliver/SKILL.md +171 -0
- package/skills/ultra-dev/SKILL.md +324 -0
- package/skills/ultra-init/SKILL.md +148 -0
- package/skills/ultra-plan/SKILL.md +314 -0
- package/skills/ultra-research/SKILL.md +156 -0
- package/skills/ultra-research/steps/step-00-problem-validation.md +154 -0
- package/skills/ultra-research/steps/step-01-opportunity-discovery.md +172 -0
- package/skills/ultra-research/steps/step-02-market-assessment.md +195 -0
- package/skills/ultra-research/steps/step-03-competitive-landscape.md +197 -0
- package/skills/ultra-research/steps/step-04-product-strategy.md +196 -0
- package/skills/ultra-research/steps/step-05-assumptions-validation.md +234 -0
- package/skills/ultra-research/steps/step-10-user-personas.md +169 -0
- package/skills/ultra-research/steps/step-11-user-scenarios.md +181 -0
- package/skills/ultra-research/steps/step-20-user-stories.md +156 -0
- package/skills/ultra-research/steps/step-21-features-scope.md +157 -0
- package/skills/ultra-research/steps/step-22-success-metrics.md +195 -0
- package/skills/ultra-research/steps/step-30-architecture-context.md +154 -0
- package/skills/ultra-research/steps/step-31-solution-strategy.md +172 -0
- package/skills/ultra-research/steps/step-32-building-blocks.md +188 -0
- package/skills/ultra-research/steps/step-40-deployment.md +123 -0
- package/skills/ultra-research/steps/step-41-quality-risks.md +135 -0
- package/skills/ultra-research/steps/step-99-synthesis.md +188 -0
- package/skills/ultra-review/SKILL.md +437 -0
- package/skills/ultra-review/references/unified-schema.md +127 -0
- package/skills/ultra-review/scripts/review_verdict_update.py +99 -0
- package/skills/ultra-review/scripts/review_wait.py +120 -0
- package/skills/ultra-status/SKILL.md +162 -0
- package/skills/ultra-test/SKILL.md +195 -0
- package/skills/ultra-think/SKILL.md +109 -0
- package/skills/ultra-verify/SKILL.md +111 -0
- package/skills/ultra-verify/evals/evals.json +51 -0
- package/skills/ultra-verify/references/confidence-system.md +38 -0
- package/skills/ultra-verify/references/cross-verify-modes.md +73 -0
- package/skills/ultra-verify/scripts/verify_wait.py +131 -0
- package/spec/cli-protocol.md +118 -0
- package/spec/mcp-tools.yaml +658 -0
- package/spec/schemas/command-manifest.schema.json +47 -0
- package/spec/schemas/context-file.v4.5.schema.json +54 -0
- package/spec/schemas/mcp-tools.schema.json +136 -0
- package/spec/schemas/skill-manifest.schema.json +94 -0
- package/spec/schemas/state-db.sql +154 -0
- package/spec/schemas/tasks.v4.5.schema.json +66 -0
- package/ultra-tools/cli.cjs +121 -0
- package/ultra-tools/commands/db.cjs +175 -0
- package/ultra-tools/commands/legacy-memory.cjs +159 -0
- package/ultra-tools/commands/migrate.cjs +354 -0
- package/ultra-tools/commands/session.cjs +180 -0
- package/ultra-tools/commands/status.cjs +158 -0
- package/ultra-tools/commands/task.cjs +95 -0
- package/ultra-tools/legacy-memory.test.cjs +80 -0
- package/ultra-tools/status-command.test.cjs +132 -0
package/README.md
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
# ultra-builder-pro-cli
|
|
2
|
+
|
|
3
|
+
Multi-runtime plugin suite + autonomous coding factory for the Ultra Builder Pro
|
|
4
|
+
agent engineering system. It ships native plugins for **Claude Code · OpenCode ·
|
|
5
|
+
Codex**, retains a compatibility adapter for Gemini CLI, and orchestrates PRD →
|
|
6
|
+
dependency graph → parallel session execution → auto-merge with a single
|
|
7
|
+
authoritative `.ultra/state.db`.
|
|
8
|
+
|
|
9
|
+
<div align="center">
|
|
10
|
+
|
|
11
|
+
[](./CHANGELOG.md)
|
|
12
|
+
[](#verification)
|
|
13
|
+
[](./LICENSE)
|
|
14
|
+
[](./package.json)
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
> *(30-second demo GIF placeholder — to be added before v1.0)*
|
|
21
|
+
|
|
22
|
+
## What it does
|
|
23
|
+
|
|
24
|
+
- **Builds host-native plugins from one allowlist.** Claude Code, OpenCode, and
|
|
25
|
+
Codex receive their own command/skill, agent, hook, and MCP representation.
|
|
26
|
+
Gemini remains a compatibility adapter; uninstall is symmetric.
|
|
27
|
+
- **Shares state across runtimes.** `.ultra/state.db` (SQLite + WAL) is the
|
|
28
|
+
authoritative source for tasks, sessions, events, and telemetry. `tasks.json`
|
|
29
|
+
and context markdown are generated projections, not handwritten.
|
|
30
|
+
- **Keeps memory ownership explicit.** Ultra Builder Pro does not collect
|
|
31
|
+
prompts, transcripts, observations, summaries, or cross-session memory.
|
|
32
|
+
Install cloud-mem/claude-mem separately if persistent memory is wanted.
|
|
33
|
+
- **Runs real PRDs end-to-end.** `task.parse_prd` → `lib/topo.cjs` waves →
|
|
34
|
+
`.ultra/execution-plan.json` → parallel worktree sessions → auto-merge back.
|
|
35
|
+
- **Observes without overhead.** Per-task / per-session / per-runtime token
|
|
36
|
+
and cost telemetry; live code-review-graph watcher on file save;
|
|
37
|
+
subscribe-events cursor for real-time dashboards.
|
|
38
|
+
|
|
39
|
+
## Quickstart
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Install into one runtime (local = current project's config dir)
|
|
43
|
+
npx ultra-builder-pro-cli --claude --local
|
|
44
|
+
npx ultra-builder-pro-cli --opencode --local
|
|
45
|
+
npx ultra-builder-pro-cli --codex --local
|
|
46
|
+
npx ultra-builder-pro-cli --gemini --local
|
|
47
|
+
|
|
48
|
+
# Or blanket-install to every supported runtime you have
|
|
49
|
+
npx ultra-builder-pro-cli --all --local
|
|
50
|
+
|
|
51
|
+
# Global (into the runtime's ~/.config-style dir)
|
|
52
|
+
npx ultra-builder-pro-cli --claude --global
|
|
53
|
+
|
|
54
|
+
# Uninstall (symmetric)
|
|
55
|
+
npx ultra-builder-pro-cli --all --local --uninstall
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
After install, start a new host session/task and point it at the project.
|
|
59
|
+
Claude Code and OpenCode expose native command forms. Codex exposes the same workflows as namespaced plugin
|
|
60
|
+
skills such as `$ultra-builder-pro:ultra-init`, `$ultra-builder-pro:ultra-plan`,
|
|
61
|
+
and `$ultra-builder-pro:ultra-dev`; `command-map.json` records the nine legacy
|
|
62
|
+
command mappings (`ultra-review` remains a directly invocable skill). Gemini
|
|
63
|
+
retains its compatibility command form.
|
|
64
|
+
See [`docs/RUNTIME-COMPAT-MATRIX.md`](./docs/RUNTIME-COMPAT-MATRIX.md)
|
|
65
|
+
for per-runtime capabilities.
|
|
66
|
+
|
|
67
|
+
## Three-layer architecture
|
|
68
|
+
|
|
69
|
+
| Layer | Purpose | When it's used |
|
|
70
|
+
|-------|---------|----------------|
|
|
71
|
+
| **skill** (`skills/ultra-*/`) | Knowledge — prompts, workflows, prose | Runtime's native skill/prompt loader picks them up after install |
|
|
72
|
+
| **MCP** (`mcp-server/`) | Authoritative state — reads/writes `.ultra/state.db` via stdio JSON-RPC | Primary path for task / session / event / plan operations |
|
|
73
|
+
| **CLI** (`ultra-tools`, `bin/*`) | Shell fallback for CI and non-MCP contexts | `ultra-tools task init-project`, `ubp-orchestrator run`, `ultra-tools status --cost` |
|
|
74
|
+
|
|
75
|
+
The three layers share one `.ultra/state.db`. See
|
|
76
|
+
[`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md) for the full contract and
|
|
77
|
+
[`spec/cli-protocol.md`](./spec/cli-protocol.md) for the 21 live contracts.
|
|
78
|
+
Review, impact discovery, skill resolution, and user interaction stay on each
|
|
79
|
+
Host's native surfaces; the generated Codex capability map documents those
|
|
80
|
+
replacements without advertising non-existent MCP tools.
|
|
81
|
+
|
|
82
|
+
The package boundary is deliberate: ten public Ultra workflow skills, four
|
|
83
|
+
internal review-rule skills, and host-specific collaboration companions. Browser,
|
|
84
|
+
deployment, skill-discovery, and framework guidance belong to their original plugins.
|
|
85
|
+
|
|
86
|
+
## Runtime capability matrix
|
|
87
|
+
|
|
88
|
+
| Feature | Claude Code | OpenCode | Codex CLI | Gemini CLI |
|
|
89
|
+
|------------------------------|:-----------:|:--------:|:---------:|:----------:|
|
|
90
|
+
| Custom commands | ✅ | ✅ | ✅ | ✅ |
|
|
91
|
+
| Skill loader | ✅ | ✅ | ✅ (personal plugin) | ✅ |
|
|
92
|
+
| MCP server (stdio) | ✅ | ✅ | ✅ (plugin `.mcp.json`) | ✅ |
|
|
93
|
+
| Workflow hooks | ✅ (native plugin) | ✅ (native JS plugin) | ✅ (native plugin) | ⚠︎ compatibility only |
|
|
94
|
+
| Sub-agents | ✅ | ✅ | ✅ (9 native TOML agents) | ⚠︎ |
|
|
95
|
+
| Session worktree isolation | ✅ (all runtimes; driven by `orchestrator/session-runner.cjs`) | ✅ | ✅ | ✅ |
|
|
96
|
+
| Parallel dispatch + auto-merge | ✅ (`ubp-orchestrator run`) | ✅ | ✅ | ✅ |
|
|
97
|
+
|
|
98
|
+
Full details in [`docs/RUNTIME-COMPAT-MATRIX.md`](./docs/RUNTIME-COMPAT-MATRIX.md)
|
|
99
|
+
(10 sections, with per-runtime deviations called out).
|
|
100
|
+
|
|
101
|
+
## Typical workflow
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# 1. Initialize a project (writes .ultra/ skeleton; state.db stays lazy)
|
|
105
|
+
ultra-tools task init-project --name myapp
|
|
106
|
+
|
|
107
|
+
# 2. Turn a PRD into a task graph + execution plan (human-gate via dry-run)
|
|
108
|
+
# (invoked by /ultra-plan skill or via MCP task.parse_prd + plan.export)
|
|
109
|
+
|
|
110
|
+
# 3. Run the plan — parallel sessions, auto-merge back to main on success
|
|
111
|
+
ubp-orchestrator run --with-graph-watcher
|
|
112
|
+
|
|
113
|
+
# 4. Monitor cost and progress
|
|
114
|
+
ultra-tools status
|
|
115
|
+
ultra-tools status --cost --since 24h
|
|
116
|
+
ultra-tools session list --json
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Or let the skills drive it. In Codex, invoke
|
|
120
|
+
`$ultra-builder-pro:ultra-plan` → `$ultra-builder-pro:ultra-dev` →
|
|
121
|
+
`$ultra-builder-pro:ultra-status`; other runtimes retain their native command form.
|
|
122
|
+
|
|
123
|
+
## CLI surface
|
|
124
|
+
|
|
125
|
+
| Binary | Purpose |
|
|
126
|
+
|--------|---------|
|
|
127
|
+
| `ultra-builder-pro-cli` / `ubp` | Installer — `--claude / --opencode / --codex / --gemini / --all`, `--local / --global`, `--uninstall`, `--skip-rtk` |
|
|
128
|
+
| `ubp-orchestrator` | Session dispatch daemon — `run`, `start`, `stop`, `status` |
|
|
129
|
+
| `ultra-tools` | State-layer CLI — `task`, `session`, `status`, `db`, `migrate`; explicit `legacy-memory` archive/prune migration |
|
|
130
|
+
| `ubp-handbook` | Preview/apply the managed Ultra contract in `CLAUDE.md` / `AGENTS.md`, with backup |
|
|
131
|
+
|
|
132
|
+
## Verification
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
npm install
|
|
136
|
+
npm run test:all
|
|
137
|
+
python3 -m pytest hooks/tests -q
|
|
138
|
+
npm audit
|
|
139
|
+
# Or run the complete publish gate:
|
|
140
|
+
npm run verify:release
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Individual suites: `test:state`, `test:orch`, `test:spec`, `test:rest`.
|
|
144
|
+
|
|
145
|
+
## Troubleshooting
|
|
146
|
+
|
|
147
|
+
- **`state.db` locked**: close any `ubp-orchestrator` daemon, then
|
|
148
|
+
`ultra-tools db integrity`. SQLite WAL tolerates readers + one writer;
|
|
149
|
+
two writers require orchestrated access (see
|
|
150
|
+
[`docs/STATE-DB-ACCESS-POLICY.md`](./docs/STATE-DB-ACCESS-POLICY.md)).
|
|
151
|
+
- **`git/config.lock` contention during parallel run**: Node's single-thread
|
|
152
|
+
`execFileSync` serializes worktree creation, so this shouldn't happen —
|
|
153
|
+
but if you see it, `ubp-orchestrator status` will list stale worktrees
|
|
154
|
+
and `node -e "require('./orchestrator/worktree-manager.cjs').releaseAll(process.cwd())"`
|
|
155
|
+
cleans them up.
|
|
156
|
+
- **Installed commands don't show up**: check the runtime's actual config
|
|
157
|
+
dir (`ultra-builder-pro-cli --<runtime> --local` only writes to `./.claude`
|
|
158
|
+
or `./.opencode` etc.; `--global` writes to the user-level dir). The
|
|
159
|
+
install log prints the exact target path. Restart Claude Code/OpenCode or
|
|
160
|
+
start a new Codex task after changing an installed plugin.
|
|
161
|
+
- **Legacy Ultra memory data remains on disk**: inspect first with
|
|
162
|
+
`ultra-tools legacy-memory inspect`, archive with
|
|
163
|
+
`ultra-tools legacy-memory archive`, then prune only with the explicit
|
|
164
|
+
confirmation token printed by the command. Nothing is deleted implicitly.
|
|
165
|
+
- **MCP tool errors with `ANTHROPIC_API_KEY` missing**: `task.parse_prd` and
|
|
166
|
+
`task.expand` need a real LLM key at runtime. Set `ANTHROPIC_API_KEY` or
|
|
167
|
+
`OPENAI_API_KEY` before invoking those tools; all other MCP tools work
|
|
168
|
+
without any LLM credential.
|
|
169
|
+
|
|
170
|
+
## Documentation
|
|
171
|
+
|
|
172
|
+
| Doc | What's in it |
|
|
173
|
+
|-----|--------------|
|
|
174
|
+
| [`docs/PLAN.zh-CN.md`](./docs/PLAN.zh-CN.md) | Authoritative 12-phase execution plan (zh-CN) — decisions, risks, timeline |
|
|
175
|
+
| [`docs/ROADMAP.md`](./docs/ROADMAP.md) | One-page English roadmap + phase status |
|
|
176
|
+
| [`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md) | Single-page system architecture |
|
|
177
|
+
| [`docs/AGENT-CONTEXT.md`](./docs/AGENT-CONTEXT.md) | Canonical runtime context contract |
|
|
178
|
+
| [`docs/USER-HANDBOOK-CONTRACT.md`](./docs/USER-HANDBOOK-CONTRACT.md) | Shared user-handbook policy and host renderings |
|
|
179
|
+
| [`docs/RUNTIME-COMPAT-MATRIX.md`](./docs/RUNTIME-COMPAT-MATRIX.md) | Per-runtime capability matrix |
|
|
180
|
+
| [`docs/STATE-DB-ACCESS-POLICY.md`](./docs/STATE-DB-ACCESS-POLICY.md) | Multi-process write contract |
|
|
181
|
+
| [`docs/COMMIT-HASH-BACKFILL.md`](./docs/COMMIT-HASH-BACKFILL.md) | Two-commit task-completion flow |
|
|
182
|
+
| [`docs/LEGACY-HERMES.md`](./docs/LEGACY-HERMES.md) | Archived pre-CLI "Hermes 6.6" documentation |
|
|
183
|
+
| [`CHANGELOG.md`](./CHANGELOG.md) | v0.1 → current release notes |
|
|
184
|
+
|
|
185
|
+
## License
|
|
186
|
+
|
|
187
|
+
MIT — see [`LICENSE`](./LICENSE).
|