Skip to content

feat(complexity-gate): harness package for the complexity gate - #88

Merged
ElbertePlinio merged 6 commits into
mainfrom
feat/87-complexity-gate
Aug 27, 2026
Merged

feat(complexity-gate): harness package for the complexity gate#88
ElbertePlinio merged 6 commits into
mainfrom
feat/87-complexity-gate

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Closes #87

What changed

  • New @pickforge/complexity-gate package mirroring review-tutor: bin/complexity-gate wrapper (COMPLEXITY_GATE_BIN > vendored > PATH), checksum-verified postinstall downloader for the cargo-dist release archives, complexity-gate-install (--harness claude,codex,pi, --all, --print, interactive), Pi extension (edit feedback + turn-end gate with a 3-block loop guard), Claude plugin (PostToolUse/Stop hooks + skill) and marketplace entry, Codex hooks fragment + skill.
  • Binary contract: github.com/pickforge/complexity-gate (docs/spec.md).

Tested

Not tested

  • Windows download/extraction and pi.cmd execution (implemented, mocked only).
  • pi install end-to-end (the extension type-checks against @earendil-works/pi-coding-agent; live Pi run happens after merge when the maintainer wires the package).
  • A published release does not exist yet, so postinstall currently warns and skips; COMPLEXITY_GATE_BIN or a PATH binary is used until v0.1.0 is tagged.

Known risks

  • Downloader assumes cargo-dist's sha256.sum and complexity-gate-<target>/ layout (verified locally with dist build for linux-x86_64).

Not release-note-worthy for app repos; no docs/releases/UNRELEASED.md in this repo.

Local-review risk class: standard (one correctness reviewer; P1 Windows-asset finding dismissed — cargo-dist emits .zip for Windows, confirmed via dist plan; two P2s fixed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

complexity-gate: harness package (Pi extension, Claude plugin, Codex skill, installer)

1 participant