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
+24Lines changed: 24 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
+
-**Manager-Driven Scenario Matrix** -- Humanize keeps a machine-readable task graph in `.humanize/rlcr/<timestamp>/scenario-matrix.json`, lets the top-level manager reconcile task state, projects that state back into the Goal Tracker and checkpoint contract, and can nudge a stuck agent toward a narrower recovery path without replacing the single-mainline rule.
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
@@ -25,6 +26,14 @@ A Claude Code plugin that provides iterative development with independent AI rev
25
26
26
27
The loop has two phases: **Implementation** (Claude works, Codex reviews summaries) and **Code Review** (Codex checks code quality with severity markers). Issues feed back into implementation until resolved.
27
28
29
+
New-format loops also maintain a compatibility-first manager orchestration runtime:
30
+
31
+
-`scenario-matrix.json` is the machine-native control plane. It stores authoritative task state, dependency edges, task packets, repair-wave clustering, checkpoint/convergence metadata, and oversight signals.
32
+
- The top-level manager is the only authoritative scheduler and matrix reconciler. Execution agents implement code, while the manager assigns bounded task packets, ingests feedback, and keeps exactly one current primary objective.
33
+
- Review findings first enter a raw backlog, are deduplicated and normalized into grouped issue backlogs, and only become executable tasks when the manager explicitly promotes them.
34
+
-`goal-tracker.md` and `round-N-contract.md` remain human-facing compatibility views, but their mutable task sections are now projected from the matrix.
35
+
- Oversight interventions such as `nudge`, `reframe`, `split`, or `resequence` only steer the active agent back onto the current task. They do not create multiple mainlines or take over implementation authority.
36
+
28
37
## Install
29
38
30
39
```bash
@@ -69,6 +78,20 @@ Requires [codex CLI](https://github.com/openai/codex) for review. See the full [
69
78
humanize monitor gemini # Gemini invocations only
70
79
```
71
80
81
+
The RLCR monitor now shows scenario-matrix readiness, the current mainline projection, the current manager checkpoint, convergence state, repair-wave context, and any active oversight action alongside the existing loop status.
82
+
83
+
6.**Render the current scenario matrix as an HTML dashboard**:
humanize matrix --serve # local browser client with refresh
89
+
```
90
+
91
+
`humanize matrix` generates a local HTML snapshot with the current primary objective, supporting window, dependency graph, feedback queues, recent events, and convergence/oversight status.
92
+
93
+
`humanize matrix --serve` starts a local HTML client on `http://127.0.0.1:<port>/`. Leave that page open and use the in-page `Refresh Snapshot` button instead of reopening freshly generated files.
94
+
72
95
## Monitor Dashboard
73
96
74
97
<palign="center">
@@ -78,6 +101,7 @@ Requires [codex CLI](https://github.com/openai/codex) for review. See the full [
Copy file name to clipboardExpand all lines: docs/usage.md
+65Lines changed: 65 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,18 @@ 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
+
New-format RLCR loops also keep a compatibility-first runtime artifact at `.humanize/rlcr/<timestamp>/scenario-matrix.json`. The matrix is the machine-readable control plane: it records seeded plan tasks, dependency edges, manager authority, task packets, repair waves, checkpoint/convergence state, review-driven state changes, and bounded oversight interventions when the active agent appears stuck.
15
+
16
+
The top-level orchestrating session acts as the **manager**. It is the only authoritative scheduler and matrix reconciler. Execution agents implement code, while the manager reviews progress, ingests findings, and keeps exactly one current `primary objective` plus a bounded supporting window.
17
+
18
+
Subagents do not receive the full global loop prompt by default. Instead, Humanize projects a **task packet** from the matrix that includes the current primary objective, local task, direct dependencies, downstream impact, allowed scope, success criteria, stop criteria, and explicit out-of-scope boundaries. This is how the runtime avoids "subagent single-player mode" caused by limited LLM context.
19
+
20
+
Review findings first enter a raw backlog, are deduplicated, and are normalized into grouped issue backlogs before the manager decides whether any of them should become executable repair tasks. Low-value or out-of-bound findings can stay deferred in a watchlist instead of automatically joining the frontier.
21
+
22
+
`goal-tracker.md` and `round-N-contract.md` remain the human-facing workflow. Humanize projects matrix state back into those files so the active checkpoint still has exactly one current mainline objective even when several supporting tasks are queued behind it.
23
+
24
+
Oversight does not replace the executing agent. It only injects bounded corrections such as `nudge`, `reframe`, `split`, `reclassify`, or `resequence` when repeated failures suggest the current method or task framing is unhealthy.
25
+
14
26
## Begin with the End in Mind
15
27
16
28
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.
@@ -64,6 +76,12 @@ The quiz is advisory, not a gate. You always have the option to proceed. But tha
64
76
|`/gen-plan --input <draft.md> --output <plan.md>`| Generate structured plan from draft |
65
77
|`/refine-plan --input <annotated-plan.md>`| Refine an annotated plan and generate a QA ledger |
66
78
|`/ask-codex [question]`| One-shot consultation with Codex |
79
+
|`humanize matrix [--input <path>] [--output <path>] [--serve]`| Render a local HTML dashboard or run a refreshable local matrix client |
80
+
81
+
For scenario-matrix inspection, there are now two modes:
82
+
83
+
-`humanize matrix` writes a static HTML snapshot next to the current matrix or session.
84
+
-`humanize matrix --serve` starts a localhost HTML client. Keep that browser tab open and use the page's `Refresh Snapshot` button to pull the latest matrix view without reopening generated files.
67
85
68
86
## Command Reference
69
87
@@ -227,6 +245,53 @@ for getting a second opinion, reviewing a design, or asking domain-specific ques
227
245
Responses are saved to `.humanize/skill/<timestamp>/` with `input.md`, `output.md`,
228
246
and `metadata.md` for reference.
229
247
248
+
### humanize matrix
249
+
250
+
After sourcing `scripts/humanize.sh`, you can render a scenario-matrix snapshot into a local HTML dashboard:
0 commit comments