Skip to content

Commit 37bd729

Browse files
committed
Merge upstream dev into PR branch
# Conflicts: # docs/install-for-codex.md # hooks/loop-codex-stop-hook.sh # scripts/bitlesson-select.sh # scripts/install-codex-hooks.sh # tests/test-bitlesson-select-routing.sh # tests/test-codex-hook-install.sh # tests/test-disable-nested-codex-hooks.sh
2 parents 5bd63e9 + e08c0d0 commit 37bd729

111 files changed

Lines changed: 19196 additions & 547 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "humanize",
99
"source": "./",
1010
"description": "Humanize - An iterative development plugin that uses Codex to review Claude's work. Creates a feedback loop where Claude implements plans and Codex independently reviews progress, ensuring quality through continuous refinement.",
11-
"version": "1.16.0"
11+
"version": "1.17.0"
1212
}
1313
]
1414
}

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "humanize",
33
"description": "Humanize - An iterative development plugin that uses Codex to review Claude's work. Creates a feedback loop where Claude implements plans and Codex independently reviews progress, ensuring quality through continuous refinement.",
4-
"version": "1.16.0",
4+
"version": "1.17.0",
55
"author": {
66
"name": "PolyArch"
77
},

.claude/CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ This is a Claude Code plugin that provides iterative development with Codex revi
77
- Version number must be in format of `X.Y.Z` where X/Y/Z is numeric number. Version MUST NOT include anything other than `X.Y.Z`. For example, a good version is `9.732.42`; Bad version examples (MUST NOT USE): `3.22.7-alpha` (extra "-alpha" string), `9.77.2 (2026-01-07)` (useless date/timestamp).
88
- The plan template in `commands/gen-plan.md` (Phase 5 Plan Structure section) and `prompt-template/plan/gen-plan-template.md` are intentionally kept in sync. When modifying either file, ensure both are updated to maintain consistency.
99
- Conversely, changes to `prompt-template/plan/gen-plan-template.md` must also be reflected in the Plan Structure section of `commands/gen-plan.md`.
10+
- The directions.json schema v1 is defined in two places that must stay in sync: the jq validation expression in `scripts/validate-directions-json.sh` and the schema documentation in `commands/gen-idea.md` (Step 4.5). When adding, removing, or renaming a field in either place, update the other.
11+
- Worker constraints (hard caps, isolation rules, no-push rule, sentinel format) are documented in four places that must stay in sync: `commands/explore-idea.md` (coordinator phases), `prompt-template/explore/worker-prompt.md` (worker instructions), `scripts/validate-explore-idea-io.sh` (cap enforcement), and `docs/usage.md` (user-facing option docs). Any change to a cap value or constraint must be reflected in all four.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ temp
44
# Local Claude client settings
55
/.claude/settings.json
66
/.claude/scheduled_tasks.lock
7+
/.claude/worktrees/
8+
9+
# Local Codex CLI marker (empty file occasionally left behind in worktree)
10+
/.codex
711

812
# Humanize state directories (runtime-generated, project-local)
913
.humanize/

README.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Humanize
22

3-
**Current Version: 1.16.0**
3+
**Current Version: 1.17.0**
44

55
> Derived from the [GAAC (GitHub-as-a-Context)](https://github.com/SihaoLiu/gaac) project.
66
@@ -15,6 +15,7 @@ A Claude Code plugin that provides iterative development with independent AI rev
1515
- **Iteration over Perfection** -- Instead of expecting perfect output in one shot, Humanize leverages continuous feedback loops where issues are caught early and refined incrementally.
1616
- **One Build + One Review** -- Claude implements, Codex independently reviews. No blind spots.
1717
- **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.
1819
- **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))
1920

2021
## How It Works
@@ -45,37 +46,53 @@ Requires [codex CLI](https://github.com/openai/codex) for review. See the full [
4546
```bash
4647
/humanize:gen-idea "add undo/redo to the editor"
4748
```
48-
Output goes to `.humanize/ideas/<slug>-<timestamp>.md` by default. Pass a `.md` path to expand existing rough notes. `--n` controls how many parallel directions explore the idea (default 6).
49+
Output goes to `.humanize/ideas/<slug>-<timestamp>.md` and a companion `directions.json` artifact. Pass a `.md` path to expand existing rough notes. `--n` controls how many parallel directions explore the idea (default 6).
4950

50-
2. **Generate a plan** from your draft:
51+
2. **Explore directions as parallel prototypes** (optional — skip if you want to go straight to planning):
5152
```bash
52-
/humanize:gen-plan --input draft.md --output docs/plan.md
53+
/humanize:explore-idea .humanize/ideas/<slug>-<timestamp>.directions.json
5354
```
55+
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. Worker worktrees are optional prototype fast paths; the default follow-up is to generate a clean plan from `final-idea.md`.
5456

55-
3. **Refine an annotated plan** before implementation when reviewers add comments (`CMT:` ... `ENDCMT`, `<cmt>` ... `</cmt>`, or `<comment>` ... `</comment>`):
57+
3. **Generate a plan** from your draft or explored final idea:
58+
```bash
59+
/humanize:gen-plan --input .humanize/explore/<run-id>/final-idea.md --output docs/plan.md
60+
```
61+
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.
63+
64+
4. **Refine an annotated plan** before implementation when reviewers add comments (`CMT:` ... `ENDCMT`, `<cmt>` ... `</cmt>`, or `<comment>` ... `</comment>`):
5665
```bash
5766
/humanize:refine-plan --input docs/plan.md
5867
```
5968

60-
4. **Run the loop**:
69+
5. **Run the loop**:
6170
```bash
6271
/humanize:start-rlcr-loop docs/plan.md
6372
```
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.
6474

65-
5. **Consult Gemini** for deep web research (requires Gemini CLI):
75+
6. **Consult Gemini** for deep web research (requires Gemini CLI):
6676
```bash
6777
/humanize:ask-gemini What are the latest best practices for X?
6878
```
6979

70-
6. **Monitor progress (in another terminal, not inside Claude Code)**:
80+
7. **Monitor progress (in another terminal, not inside Claude Code)**:
7181
```bash
7282
source <path/to/humanize>/scripts/humanize.sh # Or just add it into your .bashec or .zshrc
7383
humanize monitor rlcr # RLCR loop
7484
humanize monitor skill # All skill invocations (codex + gemini)
7585
humanize monitor codex # Codex invocations only
7686
humanize monitor gemini # Gemini invocations only
87+
humanize monitor web # Browser dashboard for the current project
7788
```
7889

90+
The `humanize monitor web` subcommand launches a per-project browser dashboard
91+
that layers on top of the same data sources the terminal monitors read. It runs
92+
in the foreground by default; pass `--daemon` for the background tmux launcher
93+
and `--host` / `--port` / `--auth-token` to configure remote access. See the
94+
upgrade note: `/humanize:viz` has been removed in favour of `humanize monitor web`.
95+
7996
## Monitor Dashboard
8097

8198
<p align="center">

0 commit comments

Comments
 (0)