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
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ A Claude Code plugin that provides iterative development with independent AI rev
15
15
-**Iteration over Perfection** -- Instead of expecting perfect output in one shot, Humanize leverages continuous feedback loops where issues are caught early and refined incrementally.
16
16
-**One Build + One Review** -- Claude implements, Codex independently reviews. No blind spots.
17
17
-**Ralph Loop with Swarm Mode** -- Iterative refinement continues until all acceptance criteria are met. Optionally parallelize with Agent Teams.
18
+
-**Capability Anchors** -- Generated plans include a feature/capability map, and RLCR rounds keep Claude and Codex anchored to the relevant capability node.
18
19
-**Begin with the End in Mind** -- Before the loop starts, Humanize verifies that *you* understand the plan you are about to execute. The human must remain the architect. ([Details](docs/usage.md#begin-with-the-end-in-mind))
19
20
20
21
## How It Works
@@ -58,6 +59,7 @@ Requires [codex CLI](https://github.com/openai/codex) for review. See the full [
Add `--coach` to run mandatory short-answer stage quizzes after each planning stage. Normal plan decision questions stay separate; quiz mismatches are treated as design drift, AI design correction, or background gaps before the agent expands the next planning layer.
62
+
Generated plans include a `Feature Map / Capability Map` before the task breakdown so each task carries its global capability context.
61
63
62
64
4.**Refine an annotated plan** before implementation when reviewers add comments (`CMT:` ... `ENDCMT`, `<cmt>` ... `</cmt>`, or `<comment>` ... `</comment>`):
63
65
```bash
@@ -68,6 +70,7 @@ Requires [codex CLI](https://github.com/openai/codex) for review. See the full [
68
70
```bash
69
71
/humanize:start-rlcr-loop docs/plan.md
70
72
```
73
+
When the plan has a capability map, RLCR records a `Capability Anchor` in each round contract and Goal Tracker active task so Claude coding and Codex review stay aligned with the map.
71
74
72
75
6.**Consult Gemini** for deep web research (requires Gemini CLI):
Copy file name to clipboardExpand all lines: commands/gen-plan.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -533,6 +533,15 @@ Example: "The implementation includes core feature X with basic validation"
533
533
534
534
<Describe relative dependencies between components, not time estimates>
535
535
536
+
## Feature Map / Capability Map
537
+
538
+
Use this section to map feature- or capability-level dependencies and context. It supplements `## Task Breakdown` by showing how related tasks carry business, design, and implementation context across the plan; it is not a replacement for executable tasks.
539
+
540
+
| Capability ID | Capability / Feature | Target ACs | Depends On | Context Summary | Implementation Surface |
| cap1 |<User-facing or internal capability>| AC-1, AC-2 | - | Business: <why this matters>; Design: <expected behavior/UX/API>; Implementation: <state, data, or integration context to preserve>|<files/modules/components likely involved>|
543
+
| cap2 |<Dependent capability>| AC-3 | cap1 | Business: <dependency rationale>; Design: <constraints inherited from cap1>; Implementation: <interfaces or decisions reused from cap1>|<files/modules/components likely involved>|
544
+
536
545
## Task Breakdown
537
546
538
547
Each task must include exactly one routing tag:
@@ -636,7 +645,9 @@ When `alternative_plan_language` is empty, absent, set to `"English"`, or set to
636
645
637
646
18. **Convergence Requirement**: The plan MUST record Claude/Codex agreements, resolved disagreements, and final convergence status in `## Claude-Codex Deliberation`. Stop only when convergence conditions are met or max rounds reached with explicit carry-over decisions.
638
647
639
-
19. **Task Tag Requirement**: The plan MUST include `## Task Breakdown`, and every task MUST be tagged as either `coding` or `analyze` (no untagged tasks, no other tag values).
648
+
19. **Feature Map Requirement**: The plan MUST include `## Feature Map / Capability Map` before `## Task Breakdown`. Use it to group tasks into feature/capability nodes, record capability dependencies, and preserve business/design/implementation context that later implementation rounds should carry forward. Capability IDs must be stable and dependency references must point to existing capability IDs or `-`.
649
+
650
+
20. **Task Tag Requirement**: The plan MUST include `## Task Breakdown`, and every task MUST be tagged as either `coding` or `analyze` (no untagged tasks, no other tag values).
Copy file name to clipboardExpand all lines: docs/usage.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,11 @@ Humanize creates an iterative feedback loop with two phases:
11
11
12
12
The loop continues until all acceptance criteria are met or no issues remain.
13
13
14
+
When a plan includes `Feature Map / Capability Map`, RLCR also tracks a per-round
15
+
`Capability Anchor`. Claude uses it to keep implementation tied to the relevant
16
+
business, design, and implementation context, while Codex reviews capability-map
17
+
alignment alongside normal acceptance criteria.
18
+
14
19
## Begin with the End in Mind
15
20
16
21
Before the RLCR loop starts any work, Humanize runs a **Plan Understanding Quiz** -- a brief pre-flight check that verifies you genuinely understand the plan you are about to execute.
@@ -46,6 +51,9 @@ The quiz is advisory, not a gate. You always have the option to proceed. But tha
The generated plan includes a `Feature Map / Capability Map` that records
55
+
capability dependencies and context before tasks are split into executable
56
+
`coding` and `analyze` work.
49
57
2. If the plan is reviewed with comment annotations, refine it and generate a QA ledger:
50
58
```bash
51
59
/humanize:refine-plan --input docs/plan.md
@@ -173,9 +181,13 @@ Workflow:
173
181
3. Analyzes draft for clarity, consistency, completeness, and functionality
174
182
4. Engages user to resolve any issues found
175
183
5. When `--coach` is enabled, runs mandatory stage quizzes after each planning stage; normal plan decision questions stay separate, and quiz mismatches become design drift, AI design corrections, or background gaps before overall acceptance
176
-
6. Generates a structured plan.md with acceptance criteria
184
+
6. Generates a structured plan.md with acceptance criteria, capability map, and task routing tags
177
185
7. Optionally starts `/humanize:start-rlcr-loop` if `--auto-start-rlcr-if-converged` conditions are met
178
186
187
+
The capability map supplements the task breakdown: it tells Claude and Codex
188
+
which global feature or capability each task belongs to, what it depends on, and
189
+
which business/design/implementation context must be preserved during RLCR.
190
+
179
191
If reviewers later annotate the generated plan with comment blocks, run
180
192
`/humanize:refine-plan --input <plan.md>` before starting or resuming implementation.
Copy file name to clipboardExpand all lines: prompt-template/claude/review-phase-prompt.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ Before touching code:
10
10
- Refresh the current round contract at @{{ROUND_CONTRACT_FILE}}
11
11
12
12
The round contract must preserve a single mainline objective. Code review findings do NOT automatically become the new round objective.
13
+
If the original plan contains `## Feature Map / Capability Map`, the refreshed contract must also preserve or update the current Capability Anchor intentionally.
13
14
14
15
## Review Results
15
16
@@ -35,9 +36,10 @@ Do not create new `[mainline]` tasks in review phase unless the review proves th
35
36
36
37
1.**Refresh the round contract** at `{{ROUND_CONTRACT_FILE}}`
37
38
2.**Address blocking issues first** and keep the mainline objective stable
38
-
3.**Focus on fixes only** - do not add new features or make unrelated changes
39
-
4.**Commit your changes** after fixing the issues
40
-
5.**Write your summary** to: `{{SUMMARY_FILE}}`
39
+
3.**Keep fixes inside the Capability Anchor** unless the review proves the anchor was wrong
40
+
4.**Focus on fixes only** - do not add new features or make unrelated changes
0 commit comments