Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3b29612
docs: add hardened explore-idea prototype design
Horacehxw Apr 29, 2026
ff3399d
docs: add explore-idea hardened prototype plan and design spec
Horacehxw Apr 29, 2026
8bd8c0d
feat: add explore-idea command + gen-idea directions.json companion (…
Horacehxw Apr 29, 2026
83e319b
fix(round-1): harden validator, dedup fix, portability, and docs
Horacehxw Apr 29, 2026
85cba42
fix(round-2): macOS/bash-3.2 portability fixes + AC-6 confirmation tool
Horacehxw Apr 29, 2026
b70fc7d
docs(spike): fill runtime-spike-results.md with actual explore-idea s…
Horacehxw May 1, 2026
c361282
chore: gitignore .claude/worktrees/ (explore-idea runtime artifact)
Horacehxw May 1, 2026
9840ede
fix(round-3): worker base-anchor, parallel test suite green, SIGINT w…
Horacehxw May 1, 2026
2c7f787
docs(round-3): update spike results for AC-11/12/15 closure
Horacehxw May 1, 2026
d71e7e8
fix(round-4): BASE_COMMIT placeholder + SIGINT probe for SIG_IGN dete…
Horacehxw May 1, 2026
c3c483b
docs(round-4): full end-to-end smoke results for AC-11/15; spike tabl…
Horacehxw May 1, 2026
c6ddb31
docs(round-5): draft-path UX spike results; AC-11 closed via explore-…
Horacehxw May 1, 2026
40d8e3f
test: fix CLAUDE_PROJECT_DIR isolation in test-stop-gate.sh; add --co…
Horacehxw May 1, 2026
8c8ff48
test: sandbox unsupported-Codex path in test-codex-hook-install.sh
Horacehxw May 1, 2026
582fd94
test: fix racy LATEST_DIR in test-ask-codex.sh argument-parsing tests
Horacehxw May 1, 2026
67df611
test: add run_ask_codex_capturing_dir helper; update argument-parsing…
Horacehxw May 1, 2026
871a20c
test(ask-codex): fix capturing-dir helper for fallback cache layout +…
Horacehxw May 1, 2026
5e93acb
fix(gen-idea): add rm to allowed-tools; fix slash heuristic in validator
Horacehxw May 1, 2026
6d924c5
fix(install): restore Kimi RLCR gate; fix --target both provider_mode
Horacehxw May 1, 2026
9d8bad9
fix(install): reject --target both with identical kimi/codex skills dirs
Horacehxw May 1, 2026
a4b161f
fix(rlcr): disable methodology analysis by default; delay terminal re…
Horacehxw May 1, 2026
15553bd
fix(explore-idea): remove coordinator-branch checkout from worker; re…
Horacehxw May 1, 2026
c125984
fix(project-root): prioritize git toplevel for worktree-safe resolution
Horacehxw May 1, 2026
0b229f1
test(hook-system): isolate robustness tests to prevent real loop inte…
Horacehxw May 1, 2026
d94f231
refactor(stop-hook): split loop-codex-stop-hook into modular library …
Horacehxw May 1, 2026
37abfd4
chore: ignore duplicate loop-codex-stop-hook-helpers.sh from refactoring
Horacehxw May 1, 2026
b550182
refactor(stop-hook): add remaining modular library files for stop-hoo…
Horacehxw May 1, 2026
5af2849
fix(hooks): resolve target project context
Horacehxw May 6, 2026
1e521c9
fix(explore): address PR review feedback
Horacehxw May 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "humanize",
"source": "./",
"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.",
"version": "1.16.0"
"version": "1.17.0"
}
]
}
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "humanize",
"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.",
"version": "1.16.0",
"version": "1.17.0",
"author": {
"name": "PolyArch"
},
Expand Down
2 changes: 2 additions & 0 deletions .claude/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ This is a Claude Code plugin that provides iterative development with Codex revi
- 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).
- 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.
- Conversely, changes to `prompt-template/plan/gen-plan-template.md` must also be reflected in the Plan Structure section of `commands/gen-plan.md`.
- 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.
- Worker constraints (hard caps, isolation rules, no-push rule, sentinel format) are documented in three places that must stay in sync: `commands/explore-idea.md` (coordinator phases), `prompt-template/explore/worker-prompt.md` (worker instructions), and `scripts/validate-explore-idea-io.sh` (cap enforcement). Any change to a cap value or constraint must be reflected in all three.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ temp
# Local Claude client settings
/.claude/settings.json
/.claude/scheduled_tasks.lock
/.claude/worktrees/

# Humanize state directories (runtime-generated, project-local)
.humanize/
Expand All @@ -13,3 +14,6 @@ temp
# Python cache
__pycache__/
*.pyc

# Refactoring leftovers - use hooks/lib/ versions instead
hooks/loop-codex-stop-hook-helpers.sh
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Humanize

**Current Version: 1.16.0**
**Current Version: 1.17.0**

> Derived from the [GAAC (GitHub-as-a-Context)](https://github.com/SihaoLiu/gaac) project.

Expand Down Expand Up @@ -45,29 +45,35 @@ Requires [codex CLI](https://github.com/openai/codex) for review. See the full [
```bash
/humanize:gen-idea "add undo/redo to the editor"
```
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).
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).

2. **Generate a plan** from your draft:
2. **Explore directions as parallel prototypes** (optional — skip if you want to go straight to planning):
```bash
/humanize:explore-idea .humanize/ideas/<slug>-<timestamp>.directions.json
```
Dispatches bounded parallel prototype workers (one per direction), each running in an isolated git worktree. After all workers complete, synthesizes a two-tier report ranking the best product direction and the most implementation-ready prototype.

3. **Generate a plan** from your draft:
```bash
/humanize:gen-plan --input draft.md --output docs/plan.md
```

3. **Refine an annotated plan** before implementation when reviewers add comments (`CMT:` ... `ENDCMT`, `<cmt>` ... `</cmt>`, or `<comment>` ... `</comment>`):
4. **Refine an annotated plan** before implementation when reviewers add comments (`CMT:` ... `ENDCMT`, `<cmt>` ... `</cmt>`, or `<comment>` ... `</comment>`):
```bash
/humanize:refine-plan --input docs/plan.md
```

4. **Run the loop**:
5. **Run the loop**:
```bash
/humanize:start-rlcr-loop docs/plan.md
```

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

6. **Monitor progress (in another terminal, not inside Claude Code)**:
7. **Monitor progress (in another terminal, not inside Claude Code)**:
```bash
source <path/to/humanize>/scripts/humanize.sh # Or just add it into your .bashec or .zshrc
humanize monitor rlcr # RLCR loop
Expand Down
Loading
Loading