all-hands-cli 0.1.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.
Files changed (305) hide show
  1. package/.allhands/README.md +75 -0
  2. package/.allhands/agents/compounder.yaml +15 -0
  3. package/.allhands/agents/coordinator.yaml +17 -0
  4. package/.allhands/agents/documentor.yaml +15 -0
  5. package/.allhands/agents/e2e-test-planner.yaml +17 -0
  6. package/.allhands/agents/emergent.yaml +22 -0
  7. package/.allhands/agents/executor.yaml +14 -0
  8. package/.allhands/agents/ideation.yaml +11 -0
  9. package/.allhands/agents/initiative-steering.yaml +19 -0
  10. package/.allhands/agents/judge.yaml +13 -0
  11. package/.allhands/agents/planner.yaml +19 -0
  12. package/.allhands/agents/pr-reviewer.yaml +15 -0
  13. package/.allhands/docs.json +5 -0
  14. package/.allhands/docs.local.json +26 -0
  15. package/.allhands/flows/COMPOUNDING.md +203 -0
  16. package/.allhands/flows/COORDINATION.md +89 -0
  17. package/.allhands/flows/CORE.md +87 -0
  18. package/.allhands/flows/DOCUMENTATION.md +218 -0
  19. package/.allhands/flows/E2E_TEST_PLAN_BUILDING.md +140 -0
  20. package/.allhands/flows/EMERGENT_PLANNING.md +57 -0
  21. package/.allhands/flows/IDEATION_SCOPING.md +154 -0
  22. package/.allhands/flows/INITIATIVE_STEERING.md +110 -0
  23. package/.allhands/flows/JUDGE_REVIEWING.md +79 -0
  24. package/.allhands/flows/PROMPT_TASK_EXECUTION.md +68 -0
  25. package/.allhands/flows/PR_REVIEWING.md +43 -0
  26. package/.allhands/flows/SPEC_PLANNING.md +216 -0
  27. package/.allhands/flows/harness/WRITING_HARNESS_FLOWS.md +27 -0
  28. package/.allhands/flows/harness/WRITING_HARNESS_KNOWLEDGE.md +27 -0
  29. package/.allhands/flows/harness/WRITING_HARNESS_ORCHESTRATION.md +27 -0
  30. package/.allhands/flows/harness/WRITING_HARNESS_SKILLS.md +27 -0
  31. package/.allhands/flows/harness/WRITING_HARNESS_TOOLS.md +27 -0
  32. package/.allhands/flows/harness/WRITING_HARNESS_VALIDATION_TOOLING.md +27 -0
  33. package/.allhands/flows/shared/CODEBASE_UNDERSTANDING.md +72 -0
  34. package/.allhands/flows/shared/CREATE_HARNESS_SPEC.md +48 -0
  35. package/.allhands/flows/shared/CREATE_SPEC.md +41 -0
  36. package/.allhands/flows/shared/CREATE_VALIDATION_TOOLING_SPEC.md +70 -0
  37. package/.allhands/flows/shared/DOCUMENTATION_DISCOVERY.md +123 -0
  38. package/.allhands/flows/shared/DOCUMENTATION_WRITER.md +101 -0
  39. package/.allhands/flows/shared/EMERGENT_REFINEMENT_ANALYSIS.md +76 -0
  40. package/.allhands/flows/shared/EXTERNAL_TECH_GUIDANCE.md +97 -0
  41. package/.allhands/flows/shared/IDEATION_CODEBASE_GROUNDING.md +49 -0
  42. package/.allhands/flows/shared/PLAN_DEEPENING.md +152 -0
  43. package/.allhands/flows/shared/PROMPT_TASKS_CURATION.md +113 -0
  44. package/.allhands/flows/shared/PROMPT_VALIDATION_REVIEW.MD +99 -0
  45. package/.allhands/flows/shared/QUICK_PREMORTEM.md +70 -0
  46. package/.allhands/flows/shared/RESEARCH_GUIDANCE.md +38 -0
  47. package/.allhands/flows/shared/REVIEW_OPTIONS_BREAKDOWN.md +68 -0
  48. package/.allhands/flows/shared/SKILL_EXTRACTION.md +84 -0
  49. package/.allhands/flows/shared/SPEC_FLOW_ANALYSIS.md +119 -0
  50. package/.allhands/flows/shared/TDD_WORKFLOW.md +109 -0
  51. package/.allhands/flows/shared/UTILIZE_VALIDATION_TOOLING.md +84 -0
  52. package/.allhands/flows/shared/WRITING_HARNESS_FLOWS.md +11 -0
  53. package/.allhands/flows/shared/WRITING_HARNESS_MCP_TOOLS.md +84 -0
  54. package/.allhands/flows/shared/jury/ARCHITECTURE_REVIEW.md +91 -0
  55. package/.allhands/flows/shared/jury/BEST_PRACTICES_REVIEW.md +80 -0
  56. package/.allhands/flows/shared/jury/CLAIM_VERIFICATION_REVIEW.md +101 -0
  57. package/.allhands/flows/shared/jury/EXPECTATIONS_FIT_REVIEW.md +78 -0
  58. package/.allhands/flows/shared/jury/MAINTAINABILITY_REVIEW.md +110 -0
  59. package/.allhands/flows/shared/jury/PROMPTS_EXPECTATIONS_FIT.md +74 -0
  60. package/.allhands/flows/shared/jury/PROMPTS_FLOW_ANALYSIS.md +92 -0
  61. package/.allhands/flows/shared/jury/PROMPTS_YAGNI.md +78 -0
  62. package/.allhands/flows/shared/jury/PROMPT_PREMORTEM.md +125 -0
  63. package/.allhands/flows/shared/jury/SECURITY_REVIEW.md +86 -0
  64. package/.allhands/flows/shared/jury/YAGNI_REVIEW.md +82 -0
  65. package/.allhands/flows/wip/DEBUG_INVESTIGATION.md +162 -0
  66. package/.allhands/flows/wip/MEMORY_RECALL.md +62 -0
  67. package/.allhands/harness/ah +131 -0
  68. package/.allhands/harness/package-lock.json +5292 -0
  69. package/.allhands/harness/package.json +52 -0
  70. package/.allhands/harness/src/__tests__/e2e/commands.test.ts +307 -0
  71. package/.allhands/harness/src/__tests__/e2e/event-loop.test.ts +539 -0
  72. package/.allhands/harness/src/__tests__/e2e/hooks.test.ts +427 -0
  73. package/.allhands/harness/src/__tests__/e2e/new-initiative-routing.test.ts +137 -0
  74. package/.allhands/harness/src/__tests__/e2e/run-e2e.ts +109 -0
  75. package/.allhands/harness/src/__tests__/e2e/specs-type.test.ts +210 -0
  76. package/.allhands/harness/src/__tests__/e2e/validation-hooks.test.ts +669 -0
  77. package/.allhands/harness/src/__tests__/e2e/validation-path-consistency.test.ts +354 -0
  78. package/.allhands/harness/src/__tests__/e2e/validation.test.ts +528 -0
  79. package/.allhands/harness/src/__tests__/harness/assertions.ts +318 -0
  80. package/.allhands/harness/src/__tests__/harness/cli-runner.ts +359 -0
  81. package/.allhands/harness/src/__tests__/harness/fixture.ts +384 -0
  82. package/.allhands/harness/src/__tests__/harness/hook-runner.ts +411 -0
  83. package/.allhands/harness/src/__tests__/harness/index.ts +122 -0
  84. package/.allhands/harness/src/cli.ts +36 -0
  85. package/.allhands/harness/src/commands/complexity.ts +177 -0
  86. package/.allhands/harness/src/commands/context7.ts +202 -0
  87. package/.allhands/harness/src/commands/docs.ts +557 -0
  88. package/.allhands/harness/src/commands/hooks.ts +24 -0
  89. package/.allhands/harness/src/commands/index.ts +51 -0
  90. package/.allhands/harness/src/commands/knowledge.ts +382 -0
  91. package/.allhands/harness/src/commands/memories.ts +302 -0
  92. package/.allhands/harness/src/commands/notify.ts +61 -0
  93. package/.allhands/harness/src/commands/oracle.ts +158 -0
  94. package/.allhands/harness/src/commands/perplexity.ts +220 -0
  95. package/.allhands/harness/src/commands/planning.ts +245 -0
  96. package/.allhands/harness/src/commands/schema.ts +73 -0
  97. package/.allhands/harness/src/commands/skills.ts +128 -0
  98. package/.allhands/harness/src/commands/solutions.ts +353 -0
  99. package/.allhands/harness/src/commands/spawn.ts +158 -0
  100. package/.allhands/harness/src/commands/specs.ts +532 -0
  101. package/.allhands/harness/src/commands/tavily.ts +226 -0
  102. package/.allhands/harness/src/commands/tools.ts +579 -0
  103. package/.allhands/harness/src/commands/trace.ts +327 -0
  104. package/.allhands/harness/src/commands/tui.ts +960 -0
  105. package/.allhands/harness/src/commands/validate.ts +143 -0
  106. package/.allhands/harness/src/commands/validation-tools.ts +108 -0
  107. package/.allhands/harness/src/hooks/context.ts +1442 -0
  108. package/.allhands/harness/src/hooks/enforcement.ts +170 -0
  109. package/.allhands/harness/src/hooks/index.ts +54 -0
  110. package/.allhands/harness/src/hooks/lifecycle.ts +229 -0
  111. package/.allhands/harness/src/hooks/notification.ts +104 -0
  112. package/.allhands/harness/src/hooks/observability.ts +551 -0
  113. package/.allhands/harness/src/hooks/session.ts +88 -0
  114. package/.allhands/harness/src/hooks/shared.ts +815 -0
  115. package/.allhands/harness/src/hooks/transcript-parser.ts +208 -0
  116. package/.allhands/harness/src/hooks/validation.ts +617 -0
  117. package/.allhands/harness/src/lib/__tests__/ctags.test.ts +244 -0
  118. package/.allhands/harness/src/lib/__tests__/docs-validation.test.ts +344 -0
  119. package/.allhands/harness/src/lib/__tests__/mcp-runtime.test.ts +190 -0
  120. package/.allhands/harness/src/lib/__tests__/schema.test.ts +861 -0
  121. package/.allhands/harness/src/lib/base-command.ts +198 -0
  122. package/.allhands/harness/src/lib/cli-daemon.ts +343 -0
  123. package/.allhands/harness/src/lib/compaction.ts +313 -0
  124. package/.allhands/harness/src/lib/ctags.ts +497 -0
  125. package/.allhands/harness/src/lib/docs-validation.ts +907 -0
  126. package/.allhands/harness/src/lib/event-loop.ts +662 -0
  127. package/.allhands/harness/src/lib/flows.ts +155 -0
  128. package/.allhands/harness/src/lib/git.ts +276 -0
  129. package/.allhands/harness/src/lib/knowledge-worker.ts +72 -0
  130. package/.allhands/harness/src/lib/knowledge.ts +810 -0
  131. package/.allhands/harness/src/lib/llm.ts +255 -0
  132. package/.allhands/harness/src/lib/mcp-client.ts +432 -0
  133. package/.allhands/harness/src/lib/mcp-daemon.ts +486 -0
  134. package/.allhands/harness/src/lib/mcp-runtime.ts +418 -0
  135. package/.allhands/harness/src/lib/notification.ts +115 -0
  136. package/.allhands/harness/src/lib/opencode/index.ts +70 -0
  137. package/.allhands/harness/src/lib/opencode/profiles.ts +300 -0
  138. package/.allhands/harness/src/lib/opencode/prompts/codesearch.md +98 -0
  139. package/.allhands/harness/src/lib/opencode/prompts/knowledge-aggregator.md +67 -0
  140. package/.allhands/harness/src/lib/opencode/runner.ts +281 -0
  141. package/.allhands/harness/src/lib/oracle.ts +926 -0
  142. package/.allhands/harness/src/lib/planning-utils.ts +150 -0
  143. package/.allhands/harness/src/lib/planning.ts +605 -0
  144. package/.allhands/harness/src/lib/pr-review.ts +225 -0
  145. package/.allhands/harness/src/lib/prompts.ts +522 -0
  146. package/.allhands/harness/src/lib/schema.ts +418 -0
  147. package/.allhands/harness/src/lib/schemas/agent-profile.ts +141 -0
  148. package/.allhands/harness/src/lib/schemas/template-vars.ts +138 -0
  149. package/.allhands/harness/src/lib/session.ts +164 -0
  150. package/.allhands/harness/src/lib/specs.ts +348 -0
  151. package/.allhands/harness/src/lib/tldr.ts +829 -0
  152. package/.allhands/harness/src/lib/tmux.ts +1051 -0
  153. package/.allhands/harness/src/lib/trace-store.ts +714 -0
  154. package/.allhands/harness/src/mcp/__tests__/index.test.ts +46 -0
  155. package/.allhands/harness/src/mcp/_template.ts +47 -0
  156. package/.allhands/harness/src/mcp/filesystem.ts +33 -0
  157. package/.allhands/harness/src/mcp/index.ts +69 -0
  158. package/.allhands/harness/src/mcp/playwright.ts +34 -0
  159. package/.allhands/harness/src/mcp/xcodebuild.ts +29 -0
  160. package/.allhands/harness/src/schemas/docs.schema.json +44 -0
  161. package/.allhands/harness/src/schemas/settings.schema.json +214 -0
  162. package/.allhands/harness/src/tui/actions.ts +227 -0
  163. package/.allhands/harness/src/tui/file-viewer-modal.ts +270 -0
  164. package/.allhands/harness/src/tui/index.ts +1574 -0
  165. package/.allhands/harness/src/tui/modal.ts +232 -0
  166. package/.allhands/harness/src/tui/prompts-pane.ts +186 -0
  167. package/.allhands/harness/src/tui/status-pane.ts +434 -0
  168. package/.allhands/harness/tsconfig.json +22 -0
  169. package/.allhands/harness/vitest.config.ts +13 -0
  170. package/.allhands/pillars.md +33 -0
  171. package/.allhands/principles.md +88 -0
  172. package/.allhands/schemas/alignment.yaml +51 -0
  173. package/.allhands/schemas/documentation.yaml +10 -0
  174. package/.allhands/schemas/prompt.yaml +92 -0
  175. package/.allhands/schemas/skill.yaml +34 -0
  176. package/.allhands/schemas/solution.yaml +131 -0
  177. package/.allhands/schemas/spec.yaml +67 -0
  178. package/.allhands/schemas/validation-suite.yaml +49 -0
  179. package/.allhands/schemas/workflow.yaml +51 -0
  180. package/.allhands/settings.json +57 -0
  181. package/.allhands/skills/claude-code-patterns/SKILL.md +60 -0
  182. package/.allhands/skills/claude-code-patterns/docs/context-hygiene.md +19 -0
  183. package/.allhands/skills/harness-maintenance/SKILL.md +449 -0
  184. package/.allhands/skills/harness-maintenance/references/core-architecture.md +187 -0
  185. package/.allhands/skills/harness-maintenance/references/harness-skills.md +87 -0
  186. package/.allhands/skills/harness-maintenance/references/knowledge-compounding.md +78 -0
  187. package/.allhands/skills/harness-maintenance/references/tools-commands-mcp-hooks.md +115 -0
  188. package/.allhands/skills/harness-maintenance/references/validation-tooling.md +77 -0
  189. package/.allhands/skills/harness-maintenance/references/writing-flows.md +84 -0
  190. package/.allhands/validation/browser-automation.md +109 -0
  191. package/.allhands/validation/xcode-automation.md +195 -0
  192. package/.allhands/workflows/documentation.md +86 -0
  193. package/.allhands/workflows/investigation.md +81 -0
  194. package/.allhands/workflows/milestone.md +91 -0
  195. package/.allhands/workflows/optimization.md +85 -0
  196. package/.allhands/workflows/refactor.md +99 -0
  197. package/.allhands/workflows/triage.md +81 -0
  198. package/.claude/README.md +1 -0
  199. package/.claude/agents/explorer.md +10 -0
  200. package/.claude/agents/researcher.md +11 -0
  201. package/.claude/agents/task-runner.md +8 -0
  202. package/.claude/settings.json +231 -0
  203. package/.env.ai.example +7 -0
  204. package/.github/workflows/npm-publish.yml +69 -0
  205. package/.internal.json +45 -0
  206. package/.tldr/config.json +11 -0
  207. package/.tldrignore +90 -0
  208. package/CLAUDE.md +6 -0
  209. package/README.md +98 -0
  210. package/bin/sync-cli.js +7552 -0
  211. package/concerns.md +7 -0
  212. package/docs/README.md +41 -0
  213. package/docs/agents/README.md +24 -0
  214. package/docs/agents/agent-configuration-system.md +86 -0
  215. package/docs/agents/execution-agents.md +50 -0
  216. package/docs/agents/knowledge-agents.md +61 -0
  217. package/docs/agents/orchestration-agent.md +57 -0
  218. package/docs/agents/planning-agents.md +84 -0
  219. package/docs/agents/quality-review-agents.md +67 -0
  220. package/docs/agents/workflow-agent-orchestration.md +69 -0
  221. package/docs/flows/README.md +44 -0
  222. package/docs/flows/compounding.md +126 -0
  223. package/docs/flows/coordination.md +72 -0
  224. package/docs/flows/core-harness-integration.md +63 -0
  225. package/docs/flows/documentation-orchestration.md +98 -0
  226. package/docs/flows/e2e-test-plan-building.md +83 -0
  227. package/docs/flows/emergent-refinement.md +104 -0
  228. package/docs/flows/flow-authoring-and-mcp-tools.md +89 -0
  229. package/docs/flows/judge-reviewing.md +112 -0
  230. package/docs/flows/plan-deepening-and-research.md +107 -0
  231. package/docs/flows/plan-review-jury.md +114 -0
  232. package/docs/flows/pr-reviewing.md +54 -0
  233. package/docs/flows/prompt-task-execution.md +119 -0
  234. package/docs/flows/spec-planning.md +162 -0
  235. package/docs/flows/type-specific-scoping-flows.md +49 -0
  236. package/docs/flows/validation-and-skills-integration.md +145 -0
  237. package/docs/flows/wip/wip-flows.md +102 -0
  238. package/docs/harness/README.md +23 -0
  239. package/docs/harness/agent-profiles.md +84 -0
  240. package/docs/harness/cli/README.md +24 -0
  241. package/docs/harness/cli/cli-entry-and-command-discovery.md +91 -0
  242. package/docs/harness/cli/docs-command.md +87 -0
  243. package/docs/harness/cli/knowledge-command.md +91 -0
  244. package/docs/harness/cli/minor-cli-commands.md +65 -0
  245. package/docs/harness/cli/oracle-command.md +113 -0
  246. package/docs/harness/cli/planning-command.md +95 -0
  247. package/docs/harness/cli/schema-and-validation-commands.md +154 -0
  248. package/docs/harness/cli/search-commands.md +97 -0
  249. package/docs/harness/cli/spawn-command.md +136 -0
  250. package/docs/harness/cli/specs-command.md +102 -0
  251. package/docs/harness/cli/tools-command.md +122 -0
  252. package/docs/harness/cli/trace-command.md +122 -0
  253. package/docs/harness/cli-daemon.md +92 -0
  254. package/docs/harness/event-loop.md +184 -0
  255. package/docs/harness/hooks/README.md +15 -0
  256. package/docs/harness/hooks/context-hooks.md +96 -0
  257. package/docs/harness/hooks/lifecycle-and-observability-hooks.md +135 -0
  258. package/docs/harness/hooks/validation-hooks.md +97 -0
  259. package/docs/harness/test-harness.md +149 -0
  260. package/docs/harness/tui.md +176 -0
  261. package/docs/memories.md +20 -0
  262. package/docs/solutions/agentic-issues/premature-agent-deletion-tui-action-dependency-20260130.md +49 -0
  263. package/docs/solutions/agentic-issues/ref-anchor-scope-mismatch-skill-references-20260131.md +55 -0
  264. package/docs/solutions/agentic-issues/tautological-tests-routing-20260131.md +52 -0
  265. package/docs/solutions/integration_issue/blocktool-output-format-mismatch-hook-runner-20260130.md +52 -0
  266. package/docs/solutions/integration_issue/dual-validation-path-divergence-schema-20260130.md +66 -0
  267. package/docs/solutions/security-issues/unsanitized-domain-path-join-20260131.md +52 -0
  268. package/docs/solutions/test-failures/event-loop-mock-ordering-checkAgentWindows-20260130.md +63 -0
  269. package/docs/sync-cli/README.md +19 -0
  270. package/docs/sync-cli/cli-entrypoint-and-commands.md +39 -0
  271. package/docs/sync-cli/commands/README.md +11 -0
  272. package/docs/sync-cli/commands/pull-manifest-command.md +36 -0
  273. package/docs/sync-cli/commands/push-command.md +84 -0
  274. package/docs/sync-cli/commands/sync-command.md +71 -0
  275. package/docs/sync-cli/systems/README.md +14 -0
  276. package/docs/sync-cli/systems/git-and-github-integration.md +49 -0
  277. package/docs/sync-cli/systems/interactive-ui.md +43 -0
  278. package/docs/sync-cli/systems/manifest-and-distribution.md +51 -0
  279. package/docs/sync-cli/systems/path-resolution.md +42 -0
  280. package/package.json +46 -0
  281. package/scripts/install-shim.sh +40 -0
  282. package/scripts/pre-pack.sh +25 -0
  283. package/specs/harness-maintenance-skill.spec.md +138 -0
  284. package/specs/roadmap/git-spec-lifecycle-management.spec.md +113 -0
  285. package/specs/sync-init-flag.spec.md +117 -0
  286. package/specs/unified-workflow-orchestration.spec.md +250 -0
  287. package/specs/validation-tooling-practice.spec.md +98 -0
  288. package/specs/workflow-domain-configuration.spec.md +265 -0
  289. package/src/commands/pull-manifest.ts +31 -0
  290. package/src/commands/push.ts +344 -0
  291. package/src/commands/sync.ts +289 -0
  292. package/src/lib/constants.ts +10 -0
  293. package/src/lib/dotfiles.ts +36 -0
  294. package/src/lib/fs-utils.ts +18 -0
  295. package/src/lib/gh.ts +40 -0
  296. package/src/lib/git.ts +63 -0
  297. package/src/lib/gitignore.ts +167 -0
  298. package/src/lib/manifest.ts +121 -0
  299. package/src/lib/marker-sync.ts +39 -0
  300. package/src/lib/paths.ts +38 -0
  301. package/src/lib/target-lines.ts +66 -0
  302. package/src/lib/ui.ts +78 -0
  303. package/src/sync-cli.ts +120 -0
  304. package/target-lines.json +23 -0
  305. package/tsconfig.json +20 -0
@@ -0,0 +1,75 @@
1
+ # All Hands CLI
2
+
3
+ Internal CLI for the All Hands agentic harness.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ cd .allhands/harness
9
+ npm install
10
+ ```
11
+
12
+ The `ah` command is automatically installed to `~/.local/bin/ah` when you run `npx all-hands init`. This shim finds and executes the project-local `.allhands/harness/ah` from any subdirectory.
13
+
14
+ For local development, copy the shim to your PATH:
15
+ ```bash
16
+ cp .allhands/harness/ah ~/.local/bin/ah
17
+ ```
18
+
19
+ ### Universal Ctags (for `ah docs` command)
20
+
21
+ ```bash
22
+ # macOS
23
+ brew install universal-ctags
24
+
25
+ # Ubuntu/Debian
26
+ sudo apt install universal-ctags
27
+ ```
28
+
29
+ ### AST-grep (for advanced code search)
30
+
31
+ ```bash
32
+ # macOS
33
+ brew install ast-grep
34
+
35
+ # cargo
36
+ cargo install ast-grep --locked
37
+ ```
38
+
39
+ ### Desktop Notifications (macOS)
40
+
41
+ ```bash
42
+ brew install --cask notifier
43
+ ```
44
+
45
+ ## Language Servers (for LSP tool)
46
+
47
+ ```bash
48
+ npm install -g typescript-language-server typescript pyright
49
+ brew install swift
50
+ ```
51
+
52
+ ## Environment Variables
53
+
54
+ Check `.env.ai.example` for what you should populate `.env.ai` with.
55
+
56
+
57
+ ## Quick Start
58
+
59
+ ```bash
60
+ ah <command>
61
+ ```
62
+
63
+ The `ah` command works from any directory within an all-hands project.
64
+
65
+
66
+ ## Project Settings
67
+
68
+ Project-specific configuration lives in `.allhands/settings.json`:
69
+
70
+ ```json
71
+ {
72
+ "$schema": "./harness/src/schemas/settings.schema.json",
73
+ }
74
+ ```
75
+
@@ -0,0 +1,15 @@
1
+ name: compounder
2
+ flow: COMPOUNDING.md
3
+ prompt_scoped: false
4
+ tui_action: compound
5
+ tui_label: Compounder
6
+ tui_requires_spec: true
7
+ non_coding: false
8
+ message_template: |
9
+ Spec path: ${SPEC_PATH}
10
+ Alignment doc path: ${ALIGNMENT_PATH}
11
+ Prompt files path: ${PROMPTS_FOLDER}
12
+ template_vars:
13
+ - SPEC_PATH
14
+ - ALIGNMENT_PATH
15
+ - PROMPTS_FOLDER
@@ -0,0 +1,17 @@
1
+ name: coordinator
2
+ flow: COORDINATION.md
3
+ prompt_scoped: false
4
+ tui_action: coordinator
5
+ tui_label: Coordinator
6
+ tui_requires_spec: true
7
+ non_coding: true
8
+ message_template: |
9
+ Coordinating milestone: ${SPEC_NAME}
10
+ Spec: ${SPEC_PATH}
11
+ Alignment doc: ${ALIGNMENT_PATH}
12
+ Prompts folder: ${PROMPTS_FOLDER}
13
+ template_vars:
14
+ - SPEC_NAME
15
+ - SPEC_PATH
16
+ - ALIGNMENT_PATH
17
+ - PROMPTS_FOLDER
@@ -0,0 +1,15 @@
1
+ name: documentor
2
+ flow: DOCUMENTATION.md
3
+ prompt_scoped: false
4
+ tui_action: compound
5
+ tui_label: Documentor
6
+ tui_requires_spec: true
7
+ non_coding: false
8
+ message_template: |
9
+ Spec path: ${SPEC_PATH}
10
+ Alignment doc path: ${ALIGNMENT_PATH}
11
+ Prompt files path: ${PROMPTS_FOLDER}
12
+ template_vars:
13
+ - SPEC_PATH
14
+ - ALIGNMENT_PATH
15
+ - PROMPTS_FOLDER
@@ -0,0 +1,17 @@
1
+ name: e2e-test-planner
2
+ flow: E2E_TEST_PLAN_BUILDING.md
3
+ prompt_scoped: false
4
+ tui_action: e2e-test-planner
5
+ tui_label: E2E Tests
6
+ tui_requires_spec: true
7
+ non_coding: false
8
+ message_template: |
9
+ Planning folder: ${PLANNING_FOLDER}
10
+ Spec path: ${SPEC_PATH}
11
+ Alignment doc path: ${ALIGNMENT_PATH}
12
+ E2E Test Plan Output Path: ${OUTPUT_PATH}
13
+ template_vars:
14
+ - PLANNING_FOLDER
15
+ - SPEC_PATH
16
+ - ALIGNMENT_PATH
17
+ - OUTPUT_PATH
@@ -0,0 +1,22 @@
1
+ name: emergent
2
+ flow: EMERGENT_PLANNING.md
3
+ prompt_scoped: true
4
+ tui_action: emergent
5
+ tui_label: Emergent
6
+ tui_requires_spec: true
7
+ non_coding: true
8
+ message_template: |
9
+ DO NOT ask for any user input for this task.
10
+ Alignment doc: ${ALIGNMENT_PATH}
11
+ Prompts folder: ${PROMPTS_FOLDER}
12
+ Workflow domain config: ${WORKFLOW_DOMAIN_PATH}
13
+ Branch: ${BRANCH}
14
+
15
+ Available hypothesis domains for this workflow:
16
+ ${HYPOTHESIS_DOMAINS}
17
+ template_vars:
18
+ - ALIGNMENT_PATH
19
+ - PROMPTS_FOLDER
20
+ - WORKFLOW_DOMAIN_PATH
21
+ - HYPOTHESIS_DOMAINS
22
+ - BRANCH
@@ -0,0 +1,14 @@
1
+ name: executor
2
+ flow: PROMPT_TASK_EXECUTION.md
3
+ prompt_scoped: true
4
+ tui_action: executor
5
+ tui_label: Executor
6
+ tui_requires_spec: true
7
+ non_coding: false
8
+ message_template: |
9
+ DO NOT ask for any user input for this task.
10
+ Your prompt file: ${PROMPT_PATH}
11
+ Alignment doc: ${ALIGNMENT_PATH}
12
+ template_vars:
13
+ - PROMPT_PATH
14
+ - ALIGNMENT_PATH
@@ -0,0 +1,11 @@
1
+ name: ideation
2
+ flow: IDEATION_SCOPING.md
3
+ prompt_scoped: false
4
+ tui_action: ideation
5
+ tui_label: Ideation
6
+ tui_requires_spec: false
7
+ non_coding: false
8
+ message_template: |
9
+ Workflow domain config: ${WORKFLOW_DOMAIN_PATH}
10
+ template_vars:
11
+ - WORKFLOW_DOMAIN_PATH
@@ -0,0 +1,19 @@
1
+ name: initiative-steering
2
+ flow: INITIATIVE_STEERING.md
3
+ prompt_scoped: false
4
+ tui_action: initiative-steering
5
+ tui_label: Steer Initiative
6
+ tui_requires_spec: true
7
+ non_coding: true
8
+ message_template: |
9
+ Spec Path: ${SPEC_PATH}
10
+ Alignment doc: ${ALIGNMENT_PATH}
11
+ Prompts folder: ${PROMPTS_FOLDER}
12
+ Workflow domain config: ${WORKFLOW_DOMAIN_PATH}
13
+ Branch: ${BRANCH}
14
+ template_vars:
15
+ - SPEC_PATH
16
+ - ALIGNMENT_PATH
17
+ - PROMPTS_FOLDER
18
+ - WORKFLOW_DOMAIN_PATH
19
+ - BRANCH
@@ -0,0 +1,13 @@
1
+ name: judge
2
+ flow: JUDGE_REVIEWING.md
3
+ prompt_scoped: false
4
+ tui_action: review-jury
5
+ tui_label: Review Jury
6
+ tui_requires_spec: true
7
+ non_coding: true
8
+ message_template: |
9
+ Reviewing milestone: ${SPEC_NAME}
10
+ Alignment doc: ${ALIGNMENT_PATH}
11
+ template_vars:
12
+ - SPEC_NAME
13
+ - ALIGNMENT_PATH
@@ -0,0 +1,19 @@
1
+ name: planner
2
+ flow: SPEC_PLANNING.md
3
+ prompt_scoped: false
4
+ tui_action: planner
5
+ tui_label: Planner
6
+ tui_requires_spec: true
7
+ non_coding: false
8
+ message_template: |
9
+ Spec: ${SPEC_NAME}
10
+ Spec Path: ${SPEC_PATH}
11
+ Alignment doc: ${ALIGNMENT_PATH}
12
+ Prompts Folder: ${PROMPTS_FOLDER}
13
+ Workflow domain config: ${WORKFLOW_DOMAIN_PATH}
14
+ template_vars:
15
+ - SPEC_NAME
16
+ - SPEC_PATH
17
+ - ALIGNMENT_PATH
18
+ - PROMPTS_FOLDER
19
+ - WORKFLOW_DOMAIN_PATH
@@ -0,0 +1,15 @@
1
+ name: pr-reviewer
2
+ flow: PR_REVIEWING.md
3
+ prompt_scoped: false
4
+ tui_action: review-pr
5
+ tui_label: Review PR
6
+ tui_requires_spec: true
7
+ non_coding: false
8
+ message_template: |
9
+ Reviewing PR feedback for: ${SPEC_NAME}
10
+ Alignment doc: ${ALIGNMENT_PATH}
11
+ Prompts folder: ${PROMPTS_FOLDER}
12
+ template_vars:
13
+ - SPEC_NAME
14
+ - ALIGNMENT_PATH
15
+ - PROMPTS_FOLDER
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": ".allhands/harness/src/schemas/docs.schema.json",
3
+ "domains": [],
4
+ "exclude": []
5
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": ".allhands/harness/src/schemas/docs.schema.json",
3
+ "domains": [
4
+ {
5
+ "name": "harness",
6
+ "path": ".allhands/harness",
7
+ "description": "Core CLI tool with commands, hooks, TUI, MCP integration, and schema validation"
8
+ },
9
+ {
10
+ "name": "flows",
11
+ "path": ".allhands/flows",
12
+ "description": "Workflow definitions guiding agents through tasks"
13
+ },
14
+ {
15
+ "name": "agents",
16
+ "path": ".allhands/agents",
17
+ "description": "Agent configuration YAML files defining agent types and behaviors"
18
+ },
19
+ {
20
+ "name": "sync-cli",
21
+ "path": "src",
22
+ "description": "CLI for syncing the all-hands framework to other repositories"
23
+ }
24
+ ],
25
+ "exclude": []
26
+ }
@@ -0,0 +1,203 @@
1
+ <goal>
2
+ Extract learnings from completed specs to improve the harness, skills, and validation tooling. Per **Knowledge Compounding**, everything feeds forward - decisions, pivots, limitations, and realizations become persistent improvements.
3
+ </goal>
4
+
5
+ <constraints>
6
+ - MUST ask the engineer before modifying harness files
7
+ - MUST write compounding summary to `.planning/<spec>/compounding_summary.md`
8
+ - MUST write non-trivial solutions to `docs/solutions/<category>/`
9
+ - MUST add Implementation Reality section to spec in-place before completing
10
+ - NEVER set spec frontmatter `status` — spec lifecycle is engineer-controlled
11
+ - MUST interview engineer before finalizing compounding summary
12
+ - NEVER modify harness without first principle justification
13
+ - NEVER frame emergent prompt work as "scope creep" - per **Quality Engineering**, emergent work discovers valuable variants
14
+ </constraints>
15
+
16
+ ## Context Gathering
17
+
18
+ Read these spec artifacts to understand what happened:
19
+ - Read the alignment doc at `.planning/<spec>/alignment.md`
20
+ - Read the spec doc at `.planning/<spec>/spec.md`
21
+ - Read all prompt files in `.planning/<spec>/prompts/`
22
+ - Run `git log --oneline` to review commit history for this branch
23
+
24
+ ## Completion Assessment by Spec Type
25
+
26
+ Per **Frontier Models are Capable**, assess completion differently based on spec `type`:
27
+
28
+ - **Milestone** (or missing): Spec acceptance criteria met, all prompts complete, knowledge extraction thorough
29
+ - **Exploratory** (investigation, optimization, refactor, documentation, triage): Problem resolution assessed against original hypothesis, learnings extracted from experiment outcomes, unresolved questions documented for future work
30
+
31
+ ## Signal Analysis
32
+
33
+ Identify patterns that indicate harness improvement opportunities:
34
+
35
+ **Prompt Signals**:
36
+ - Failed prompts (multiple attempts) → execution or planning issues
37
+ - Patch prompts → check `patches_prompts` field to find root cause
38
+ - Emergent refinement inclusions/exclusions → engineer intent signals
39
+ - Review prompt count → planning or review quality issues
40
+ - Blocker learnings in summaries → planning gaps that required engineer steering
41
+
42
+ **Tooling Signals**:
43
+ - Read ALL prompt files' `skills` and `validation_suites` frontmatter - not just patches
44
+ - Cross-reference each prompt's summary (Limitations, Decisions, Learnings, Validation results) against the specific skills and validation suites it used
45
+ - Build a per-tool impact map:
46
+ - **Per skill**: What did it catch? What did it miss? Did limitations or decisions reveal guidance gaps?
47
+ - **Per validation suite**: What issues did it surface? What escaped to review? Did it produce false positives?
48
+ - **Per validation suite — crystallization**: For each suite used during execution, evaluate:
49
+ - What stochastic patterns were discovered during exploratory validation?
50
+ - Which patterns are stable and repeatable enough to crystallize into deterministic checks?
51
+ - Should any new deterministic tests be added to the suite's Deterministic Integration section?
52
+ - Are there stochastic exploration patterns that should be documented in the suite's Stochastic Validation section for future agents?
53
+ - **Absent tooling**: What validation needs did prompts reveal that no existing suite covers?
54
+ - Per **Agentic Validation Tooling**, this impact map feeds directly into harness improvement specs as evidence (not stored separately)
55
+
56
+ **Decision Signals**:
57
+ - Design decisions made given limitations
58
+ - Engineer rejections and preference overrides (the preference itself is a compoundable learning)
59
+ - Compromises between agentic suggestions and engineer preferences
60
+
61
+ **Emergent Work Signals**:
62
+ - Per **Quality Engineering**, emergent prompts are disposable extensions that discover which variants are valuable - they are not scope violations
63
+ - Non-goal matches in emergent work are "non-goal violations" (specific exclusion was breached), never "scope creep" (scope was not changed - emergent work extends by design)
64
+ - Reverted emergent work is expected quality control, not waste - per **Software is Cheap**, the cost of a revert is a valid cost of experimentation
65
+ - Track: which emergent work was kept vs reverted, and why - this reveals engineer quality preferences
66
+
67
+ ## Memory Extraction
68
+
69
+ Per **Knowledge Compounding**, capture learnings as memories:
70
+ - Run `ah memories search <relevant terms>` to check for existing similar memories before writing duplicates
71
+ - Write to `docs/memories.md` (searchable via `ah memories search`)
72
+ - Format: `[Name] | [Domain] | [Source] | [Description]`
73
+ - Domains: `planning`, `validation`, `implementation`, `harness-tooling`, `ideation`
74
+ - Sources: `user-steering`, `agent-inferred`
75
+ - Description: 1-3 sentences of self-contained learning
76
+
77
+ ### Memory Capture Categories
78
+
79
+ Ensure these categories are represented when signals exist:
80
+
81
+ - **Technical learnings**: Patterns, anti-patterns, and solutions discovered during implementation
82
+ - **Engineer preference memories**: When engineer overrides agent recommendation, capture the preference itself as a memory (the override is a signal of values and priorities)
83
+ - **Systemic validation signals**: When review catches issues that implementation missed, capture as a validation coverage gap (e.g., "Review caught 6 issues no validation suite flagged")
84
+ - **Harness behavior patterns**: Document specific thresholds, behaviors, and failure modes with concrete data - not just symptoms (e.g., "7 compaction continuations at >8 files touched" not just "context loss on long prompts")
85
+
86
+ ## Solution Documentation
87
+
88
+ Per **Knowledge Compounding**, document non-trivial solved problems for institutional knowledge.
89
+
90
+ ### Identify Documentable Solutions
91
+
92
+ From the signal analysis, identify problems that:
93
+ - Required multiple investigation attempts
94
+ - Had non-obvious solutions
95
+ - Would benefit future sessions (similar issues likely to recur)
96
+ - Involve agentic anti-patterns (hallucinations, duplications, miscommunications)
97
+
98
+ Skip documentation for:
99
+ - Simple typos or obvious syntax errors
100
+ - Trivial fixes immediately resolved
101
+ - One-off environment issues
102
+
103
+ ### Write Solution Files
104
+
105
+ For each documentable solution:
106
+ - Run `ah schema solution` for frontmatter and body section format
107
+ - Determine `problem_type` and corresponding category directory
108
+ - Generate filename: `<sanitized-symptom>-<component>-<YYYYMMDD>.md`
109
+ - Create directory if needed: `mkdir -p docs/solutions/<category>`
110
+ - Write solution file following schema
111
+ - **Tag expansion**: Generate tags from anti-patterns, failed approaches, and adjacent search terms beyond the solution content - ask: "What would someone search for when about to hit this problem?"
112
+
113
+ ### Cross-Reference Solutions
114
+
115
+ After all solutions are written, cross-reference related solutions:
116
+ - Run `ah solutions list` then `ah solutions search` with terms from each new solution
117
+ - For solutions sharing components, tags, or thematic overlap: add "## Related" section with links
118
+ - Update existing similar solutions with cross-reference back to new solutions
119
+
120
+ ## Spec Finalization
121
+
122
+ **MUST** update the original spec file in-place as a historical record. Per **Knowledge Compounding**, finalized specs become searchable via `ah knowledge docs search` - curate content for future retrieval value.
123
+
124
+ - Add `## Implementation Reality` section documenting:
125
+ - What was actually implemented vs originally planned
126
+ - How engineer desires evolved during implementation (decisions, pivots, additions)
127
+ - Key technical decisions and their rationale
128
+ - Keep content concise and decision-focused - this is indexed knowledge, not an operational dump
129
+ - Preserve the original Goals and Non-Goals sections unmodified for contrast
130
+
131
+ ## Harness Improvement Handling [LAST PHASE]
132
+
133
+ **Intentionally last** - complete all other compounding before diverting to harness work.
134
+
135
+ ### Classify and Interview
136
+
137
+ Classify issues from Signal Analysis:
138
+
139
+ | Signal Pattern | Action |
140
+ |----------------|--------|
141
+ | Skill guidance gaps or inaccuracies | Update skill file inline with approval |
142
+ | Validation suite missed issues or needs strengthening | Update suite file inline with approval |
143
+ | Missing validation suite for discovered need | Create via spec |
144
+ | Flow/command/hook/planning issues | Structural - create spec |
145
+
146
+ **MUST interview engineer before proceeding** - the compounding summary MUST NOT be finalized without engineer sign-off on classified issues:
147
+ - Present all classified issues together
148
+ - Walk through the per-tool impact map from Tooling Signals - for each skill and validation suite used, highlight where prompt-level learnings (limitations, decisions, workarounds) apply back to the tool itself
149
+ - Per **Knowledge Compounding**, ask whether discoveries should be reflected in the skills or validation suites that were used, so future executions benefit
150
+ - Ask about additional painpoints
151
+ - Validate against `.allhands/principles.md`
152
+
153
+ ### Apply Changes
154
+
155
+ **Skill refinements** (inline with approval):
156
+ - Update skill body with learnings discovered during execution (new patterns, anti-patterns, missing reference material)
157
+ - Add or correct guidance that would have prevented prompt failures or engineer steering
158
+
159
+ **Validation suite refinements** (inline with approval):
160
+ - Strengthen existing suites with newly discovered check patterns or edge cases
161
+ - Update Stochastic Validation and Deterministic Integration sections with failure modes encountered during execution
162
+ - **Crystallization**: Stable stochastic patterns discovered during execution should be promoted into deterministic checks in the suite's Deterministic Integration section, shifting stochastic exploration to the frontier
163
+
164
+ **New validation suites**: Per **Agentic Validation Tooling**, if execution revealed validation gaps no existing suite covers:
165
+ - **(A) Create spec** → Invoke `.allhands/flows/shared/CREATE_HARNESS_SPEC.md` with `domain_name: harness`
166
+ - **(B) Defer** → Document in `docs/memories.md` under "Deferred Harness Improvements"
167
+
168
+ **Structural changes** (flows, commands, hooks, planning):
169
+ - Present all detected structural issues to the engineer
170
+ - Ask which issues to include in a single harness improvement spec (multi-select)
171
+ - Per **Frontier Models are Capable**, assume all engineer-confirmed issues belong in one spec - don't force individual scoping
172
+ - Include the per-tool impact map as evidence in the spec
173
+ - **(A) Create spec** → Invoke `.allhands/flows/shared/CREATE_HARNESS_SPEC.md` with `domain_name: harness` and all selected issues
174
+ - **(B) Defer unselected** → Document in `docs/memories.md` under "Deferred Harness Improvements"
175
+
176
+ ## Completion
177
+
178
+ Write `.planning/<spec>/compounding_summary.md`:
179
+ ```markdown
180
+ # Compounding Summary
181
+
182
+ ## Detected Issues
183
+ - [Patterns from patches, failures, feedback]
184
+
185
+ ## Tooling Refinements
186
+ - [Skill file changes with rationale from prompt learnings]
187
+ - [Validation suite changes with rationale from execution gaps]
188
+ - [New validation suites created or deferred]
189
+
190
+ ## Flow Updates
191
+ - [Flow file adjustments]
192
+
193
+ ## Memories Added
194
+ - [References to docs/memories.md entries]
195
+
196
+ ## Solutions Documented
197
+ - [docs/solutions/<category>/<filename>.md - brief description]
198
+
199
+ ## Engineer Feedback Addressed
200
+ - [Specific concerns resolved]
201
+ ```
202
+
203
+ This flow is idempotent - if run again without new changes, detect no work needed and stop.
@@ -0,0 +1,89 @@
1
+ <goal>
2
+ Assist the engineer in coordinating the all-hands loop by providing visibility into milestone status, managing prompt-bound agents, and curating harness-managed files. Per **Frontier Models are Capable**, this agent orchestrates without implementing.
3
+ </goal>
4
+
5
+ <constraints>
6
+ - NEVER write implementation code; only modify harness-managed files
7
+ - MUST document engineer decisions in affected prompt files and alignment docs
8
+ - MUST set `type: user-patch` and `patches_prompts: [X, Y]` when creating patch prompts
9
+ - MUST ask clarifying questions when engineer intent is unclear
10
+ </constraints>
11
+
12
+ ## Context Gathering
13
+
14
+ On invocation, build situational awareness using the paths provided:
15
+ - Read the spec doc (path provided in preamble)
16
+ - Read the alignment doc (path provided in preamble)
17
+ - List the prompts folder (path provided in preamble) to see all prompt files
18
+ - Read prompt frontmatter to understand status, dependencies, and type
19
+
20
+ ## Coordination Services
21
+
22
+ Present these options to the engineer:
23
+
24
+ | Service | Description | Flow Reference |
25
+ |---------|-------------|----------------|
26
+ | **Quick Patch** | Create a deterministic fix prompt for a specific issue | `.allhands/flows/shared/PROMPT_TASKS_CURATION.md` |
27
+ | **Interjection** | Insert a new prompt into the active loop between existing prompts | See [Prompt Interjection](#prompt-interjection) below |
28
+ | **Emergent Surgery** | Triage emergent refinement prompts (keep/axe) | `.allhands/flows/shared/EMERGENT_REFINEMENT_ANALYSIS.md` |
29
+ | **Prompt Edit** | Modify specific prompts given engineer concerns | `.allhands/flows/shared/PROMPT_TASKS_CURATION.md` |
30
+ | **Agent Status** | Check tmux windows and agent health | Use harness tmux patterns |
31
+ | **Kill/Restart** | Terminate broken agents and fix their prompts | Tmux + prompt edit |
32
+
33
+ ## Prompt Interjection
34
+
35
+ Per **Prompt Files as Units of Work**, interjections are new prompts inserted into the active dependency graph mid-loop. The event loop detects new prompt files automatically — sequencing is controlled entirely through dependency mapping, not prompt numbers.
36
+
37
+ Gather from the engineer:
38
+ - **"Run after which prompt(s)?"** → these become `dependencies` on the new prompt
39
+ - **"Run before which prompt(s)?"** → patch those prompts' `dependencies` arrays to include the new prompt number
40
+ - The task description and acceptance criteria for the interjected work
41
+
42
+ Steps:
43
+ - Read all prompt frontmatter to understand the current dependency graph
44
+ - Assign the next available prompt number (append-only — NEVER renumber existing prompts)
45
+ - Create the new prompt file with `dependencies` set to the "run after" prompts
46
+ - Patch each "run before" prompt's `dependencies` to include the new prompt number
47
+ - Per **Ideation First**, confirm the resulting execution order with the engineer before writing files
48
+
49
+ Example: inserting between prompts 2 and 3 when prompt 3 currently has `dependencies: [1]`:
50
+ - Create prompt 7 with `dependencies: [2]`
51
+ - Patch prompt 3: `dependencies: [1, 7]`
52
+ - Resulting order: `1 → 2 → 7 → 3`
53
+
54
+ If the interjection fixes prior execution issues, also follow the User-Patch Prompts section below.
55
+
56
+ ## User-Patch Prompts
57
+
58
+ When creating prompts to fix issues from prior execution:
59
+ - Set frontmatter `type: user-patch`
60
+ - Include `patches_prompts: [X, Y]` listing prompt numbers being fixed
61
+ - Document in body: what went wrong, engineer feedback, specific issues
62
+ - Per **Knowledge Compounding**, this enables compounding to improve skills/validation-suites
63
+
64
+ ## Tmux Orchestration
65
+
66
+ Use tmux commands consistent with `.allhands/harness/src/`:
67
+ - Check session windows for agent status
68
+ - Identify broken/stuck agents
69
+ - Kill problematic agents
70
+ - Coordinate restarts with fixed prompt files
71
+
72
+ ## Engineer Decision Documentation
73
+
74
+ Per **Knowledge Compounding**, capture engineer contributions:
75
+ - In prompt files: Document expectations, compromises, decisions
76
+ - In alignment doc: Amend agent summaries with engineer steering (don't delete summaries)
77
+ - Keep documentation concise but complete for compounding
78
+
79
+ ## Boundary with Initiative Steering
80
+
81
+ Coordination is for **reactive, quick-action interventions**: quick patches, emergent triage, prompt surgery, agent management. For **structured, domain-aware deep replanning** that may change initiative goals and create/modify multiple prompts, use Initiative Steering (`INITIATIVE_STEERING.md`) via the TUI's "Steer Initiative" action instead.
82
+
83
+ ## Conversational Approach
84
+
85
+ Per **Ideation First**, always clarify before acting:
86
+ - Ask what the engineer wants to accomplish
87
+ - Present options with tradeoffs
88
+ - Confirm understanding before modifying files
89
+ - Surface relevant context from prompts and alignment doc