Goal: @pickforge/complexity-gate package that installs the complexity-gate binary (github.com/pickforge/complexity-gate) and wires it into Claude Code, Codex, and Pi, mirroring packages/review-tutor.
Agent plan
Checklist:
Validation:
bun run typecheck && bun run lint && bun run test && bun run build
- Manual: install into all three harnesses on the maintainer machine; make a deliberately complex edit; observe block; refactor; observe release.
Current status: In progress
Next action: implementation lane
Binary: pickforge/complexity-gate#1
Goal:
@pickforge/complexity-gatepackage that installs thecomplexity-gatebinary (github.com/pickforge/complexity-gate) and wires it into Claude Code, Codex, and Pi, mirroringpackages/review-tutor.Agent plan
Checklist:
packages/complexity-gate:postinstalldownloads the matching release binary (checksum-verified) into the package;binforwards to it;COMPLEXITY_GATE_BINoverride for local buildsextensions/complexity-gate.ts(Pi): after edit/write tools →check <file>feedback; at turn end →check --changed, block/re-prompt while FAILclaude-plugin/withhooks/hooks.json(PostToolUse Edit|Write|MultiEdit, Stop →complexity-gate hook claude) + skill; marketplace entrycodex-skill/complexity-gate/SKILL.md+ Codex hooks fragmentskills/complexity-gate/SKILL.mdcomplexity-gate-install --harness claude,codex,pi | --all | --print(interactive prompt when no flag)Validation:
bun run typecheck && bun run lint && bun run test && bun run buildCurrent status: In progress
Next action: implementation lane
Binary: pickforge/complexity-gate#1