You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dispatches bounded parallel prototype workers (one per direction), each running in an isolated git worktree. After all workers complete, synthesizes a two-tier reportranking the best product direction and the most implementation-ready prototype.
54
+
Dispatches bounded parallel prototype workers (one per direction), each running in an isolated git worktree. After all workers complete, writes `.humanize/explore/<run-id>/explore-report.md` for audit/ranking details and `.humanize/explore/<run-id>/final-idea.md` as the plan-ready synthesis.
55
55
56
-
3.**Generate a plan** from your draft:
56
+
3.**Generate a plan** from your draft or explored final idea:
4.**Refine an annotated plan** before implementation when reviewers add comments (`CMT:` ... `ENDCMT`, `<cmt>` ... `</cmt>`, or `<comment>` ... `</comment>`):
@@ -25,11 +25,13 @@ Read and execute below with ultrathink.
25
25
- MUST NOT run workers until the user explicitly confirms the dispatch.
26
26
- MUST NOT push any branch to any remote at any point.
27
27
- MUST write `manifest.json` to the run directory BEFORE dispatching any worker.
28
+
- MUST write canonical artifacts to `explore-report.md` and `final-idea.md`; do not create any legacy compatibility alias.
28
29
- MUST NOT invoke nested Skills or slash commands inside worker prompts.
29
30
- MUST NOT use `--effort max` (not supported by `ask-codex.sh`).
30
31
- Worker branches follow the format `explore/<RUN_ID>/<dir_slug>` exactly, and MUST be created by running `git checkout -b` from the current HEAD after asserting `HEAD == <BASE_COMMIT>`; workers MUST NOT run `git checkout <BASE_BRANCH>` (that branch is already checked out in the coordinator worktree, and Git forbids two worktrees from checking out the same branch simultaneously); a HEAD mismatch is a fatal worker error.
31
32
- Workers MUST run only targeted tests for the files they touched, not the full test suite.
32
33
- Worker Codex calls must be scoped to the worker worktree root via `CLAUDE_PROJECT_DIR="$PWD"`.
34
+
- Worker Codex review calls must use the validation-provided `CODEX_REVIEW_MODEL_SPEC` exactly. The generated value is expected to be `gpt-5.5:xhigh`.
33
35
- All worker results must be recorded in `worker-results.jsonl`; no result may be silently dropped.
34
36
35
37
## Worker Constraint Sync
@@ -57,17 +59,20 @@ Run:
57
59
Handle exit codes:
58
60
-`0`: Parse stdout to extract all `KEY: value` pairs:
Parse values by splitting each line on the first literal `": "` only. Values can contain additional colons, for example `CODEX_REVIEW_MODEL_SPEC: gpt-5.5:xhigh`.
63
68
-`1`: Report "No input path provided" and stop.
64
69
-`2`: Report "Input file not found" and stop.
65
70
-`3`: Report "Companion .directions.json missing — regenerate the idea draft with `/humanize:gen-idea`" and stop.
66
71
-`4`: Report "Input must be a .directions.json or .md file" and stop.
67
72
-`5`: Report "Directions JSON failed schema validation" and stop.
68
73
-`6`: Report the specific cap or argument error from stderr and stop.
69
74
-`7`: Report "Main checkout has uncommitted tracked changes — commit or stash before exploring" and stop.
70
-
-`8`: Report "Run directory collision — wait one second and retry" and stop.
75
+
-`8`: Report "Run directory collision — retry to generate a fresh run id" and stop.
Launches bounded parallel prototype workers — one per selected direction — each running in an isolated git worktree. After all workers complete, synthesizes a two-tier ranking report:
94
+
Launches bounded parallel prototype workers — one per selected direction — each running in an isolated git worktree. After all workers complete, synthesizes an explore report plus a plan-ready final idea:
95
95
-**Tier 1**: Best product direction (ranked by user value, evidence, strategic fit)
96
96
-**Tier 2**: Most implementation-ready prototype (ranked by outcome: task status, Codex verdict, tests, commits)
97
97
@@ -106,7 +106,8 @@ Launches bounded parallel prototype workers — one per selected direction — e
106
106
-`manifest.json` — coordinator state and per-worker metadata
107
107
-`dispatch-prompts/` — exact prompts sent to each worker
108
108
-`worker-results.jsonl` — machine-readable result rows
109
-
-`report.md` — synthesis report with two-tier rankings and adoption paths
109
+
-`explore-report.md` — audit report with two-tier rankings, adoption paths, and cleanup guidance
110
+
-`final-idea.md` — plan-ready synthesis artifact for `/humanize:gen-plan`
0 commit comments