Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By alirezarezvani Verifiedv2.14.6MITIn 1 marketplace
Builds a single-file review page for a Markdown or HTML artifact and collects reviewer feedback as structured batches. A gate refuses to close while a blocker is open or the reviewer is unnamed; the page makes no network requests, says the README.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
The human-verification lane for an agent loop.
Machine checks answer "do the tests pass?". This answers the other question: has a person actually looked at this, and are their objections resolved?
S=engineering/human-gate/skills/human-gate/scripts
python3 $S/human_gate.py --sample # the whole loop, refusals included, in ~1s
Human feedback usually arrives as chat prose:
Change the third paragraph, cut the second card, rewrite the CTA, and the table numbers look stale.
Four instructions in one blob. Nothing enumerates them, so nothing detects a miss. "The third paragraph" drifts as the document changes. Severity is invisible — a wrong number and a style preference look identical. And round 2 cannot tell what round 1 asked for.
human-gate makes feedback an artifact instead of a message: anchored to blocks, severity-graded, countable, diffable — and read by a gate that either passes or names exactly what is still open.
python3 $S/human_gate.py open plan.md --launch # build review page, start round N
# → hand over path, END YOUR TURN
python3 $S/human_gate.py status plan.md # non-blocking: 0 clear · 2 blocked · 3 collect · 4 none
python3 $S/human_gate.py collect plan.md --output json # batch.v1 — apply every item
python3 $S/human_gate.py close plan.md # exit 2 = you are NOT done
| File | Purpose |
|---|---|
scripts/review_page_builder.py | Markdown/HTML → single-file review page, every block anchored. The page itself makes zero network requests — no CDN, no fonts, no server, no socket; ~11 KB, opens over file://. Reviewed HTML is sanitized first: on* handlers, javascript: URLs (including control-character-smuggled ones), xlink:href, srcdoc/srcset, inline style (a background-image:url(...) beacons on open), and iframe/object/embed/base are dropped, so a draft cannot execute inside the page. A reviewed HTML artifact's own https: images still load, as they must for the review to be faithful, and so do protocol-relative (//host/x) URLs — neither can execute. Both allowances are pinned by --sample assertions, not just by prose. |
scripts/feedback_parser.py | Review sidecar → batch.v1 JSON, with quote verification against the real file. |
scripts/human_gate.py | State machine + the gate. open/status/collect/close/reset. |
references/human_in_the_loop_canon.md | Bainbridge, Fagan, Wiegers, Weinberg, Google SWE ch.9, Klein pre-mortem. |
references/feedback_batching.md | W3C Web Annotation selectors, Conventional Comments, GitHub batched-review model. |
references/review_loop_discipline.md | Why there is no blocking poll, why rounds are capped, why exhaustion escalates. |
assets/batch.v1.schema.json | The feedback batch contract. |
assets/example_review_sidecar.md | Worked example of the hand-writable sidecar. |
Stdlib-only Python. No dependencies, no build step.
The review page exports it, but any reviewer with an editor can write it directly. That is what keeps the loop working over SSH and in CI, where no browser exists:
# Review feedback: plan.md
<!-- human-gate:v1 target=plan.md round=1 -->
reviewer: reza
## BLOCKER b2
> We expect a 40% lift in activation.
No source for 40%, and it drives the whole plan. Cite it or cut it.
## EDIT b7
- before: The team will endeavour to deliver incremental value
+ after: The team ships one usable slice per week
## NOTE
Structure is right. Fix the blocker and this is good to go.
Severities are BLOCKER / MAJOR / MINOR / NIT — the same ladder
markdown-html/md-review uses, from Google's Code Review Developer Guide. Plus EDIT
(a verbatim replacement), NOTE (unanchored), APPROVE (explicit sign-off).
| Rule | Refuses to close when |
|---|---|
| G1 | no review round collected — nobody has looked |
| G2 | a BLOCKER or MAJOR is still open |
| G3 | no named reviewer — approval belongs to a person |
| G4 | the sidecar changed after the last collect |
| G5 | round cap exhausted → escalate, never pass |
| G6 | a waiver is used without a recorded reason — and G1 is never waivable |
| G7 | the round carries unresolved integrity problems — a mistyped severity (## BLOKCER) silently downgrades to NIT, an EDIT has no replacement text, or a quote is in neither the raw source nor its rendered text |
Overrides are legitimate and must be explicit:
python3 $S/human_gate.py close plan.md --waive "reviewer on leave; CTO accepted risk in writing"
The reason and every refusal it overrode are stored in gate state. --waive cannot
override G1: it accepts objections a reviewer raised, it cannot manufacture a review that
never happened — otherwise the whole gate would be one flag away from opt-out.
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub alirezarezvani/claude-skills --plugin human-gate