|
Some checks failed
Sync Codex Skills Symlinks / sync (push) Has been cancelled
* fix(plugins): bump all plugins to 2.14.1 and gate unbumped changes Claude Code caches plugins by version. 70 of 104 plugins changed between v2.12.0 and v2.14.0 without a bump, so claude plugin update reported "already at the latest version" and existing installs never received the v2.13/v2.14 fixes. Every plugin moves to 2.14.1 so stale caches refresh once. check_plugin_versions.py (G11, blocking in ci-quality-gate) fails when a plugin's payload, including symlinked vendor files, changes without a higher version, and when marketplace.json and plugin.json disagree. bump_plugin_versions.py sets both together. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(codex): stop installing all skills by default With the full library (~380 skills) Codex drops every skill description from its prompt budget, so it cannot pick skills. codex-install.sh now asks for --category (comma-separated), --skill or an explicit --all, lists categories when run without arguments, and warns when more than ~100 skills are installed. The Windows installer and install docs follow. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(gemini): link whole skill folders and drop duplicate mirror entries Each .gemini/skills entry held only a SKILL.md symlink, so the relative scripts/ and references/ a skill points to were missing. Entries are now directory symlinks (Gemini CLI 0.65 discovers them). Dual-published copies with identical SKILL.md are listed once, commands and agents that share a skill's name are skipped, fixtures under assets/ and vendor/ re-exports are excluded, discovery is sorted so reruns are stable, and stale generated entries are pruned. gemini skills list: 20 conflicts -> 1 (handoff, fixed next). GEMINI.md documents folder trust and fixes a dead example path. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(handoff): rename the productivity skill to session-handoff engineering/handoff and productivity/handoff both shipped a skill named handoff. Claude Code namespaces them, but Codex, Gemini CLI, Vibe and Hermes key skills by name and silently kept one. The productivity skill is now session-handoff (handoff-productivity:session-handoff); its folder, plugin manifest, hook script paths, command paths, mirrors, harness manifest and docs page follow. /cs-handoff, /cs-handoff-setup and ~/.config/handoff are unchanged; the plugin README carries a migration note. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(convert): include plugins whose SKILL.md is at the plugin root convert.sh searched at -mindepth 4, which skipped boost-asio-pro, deepread, hivemind, loop-library, minimalist, strict-api and swedish-mentor for every converted tool (opencode, Cursor, Windsurf, Kilo, Augment, Aider, Antigravity). It now searches from depth 2 and skips assets/ fixtures. opencode conversion: 375 -> 382 skills. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(codex): keep skill-tester's sample fixture from loading as a skill Codex scans installed skill folders recursively and picked up skill-tester/assets/sample-skill/SKILL.md as 'sample-text-processor'. The installer renames SKILL.md files under assets/ in the installed copy. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(plugins): address scripts via ${CLAUDE_PLUGIN_ROOT} in commands and agents 343 script invocations in 90 command/agent files across 36 plugins used repo-relative or ../ paths. Plugin commands and agents run from the user's project, so those paths only resolved inside a clone of this repo; in the v2.14.0 evals the agent fell back to find / to locate scripts. Every one now uses ${CLAUDE_PLUGIN_ROOT}/. Two cross-plugin calls (write-a-skill -> karpathy-coder, c-level-agents cpo -> product-manager-toolkit) go through vendor/ symlinks, per the repo's install-cache lesson. check_paths.py (G1) now fails a plugin command or agent that invokes a script without ${CLAUDE_PLUGIN_ROOT}; on the v2.14.0 tree it reports 279. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(month-end-close): treat opening-balance rows as balances and pair transpositions On a bank and GL export that each begin with an 'Opening balance' row, the matcher returned RECONCILED_WITH_ITEMS and told the user to book a 25,000.00 journal entry for the opening balance, and it reported a 7,980/7,890 transposition as two unrelated items. Opening rows are now balances: a difference between them is reported as carried in from the prior period (R5, blocks sign-off, never booked). Same-date digit transpositions pair into one correcting entry. The GL file's 'memo' column is read as description. The v2.14.0 eval fixture now proves 1,405.00 = 150 opening + 90 transposition + 1,200 outstanding check - 35 bank fee. Bundled copy synced. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * fix(coding-agent-rollout): flag connection-URL passwords and production MCP servers On a committed .claude/settings.json holding env.DATABASE_URL=postgresql://admin:<password>@prod-db... and enabledMcpjsonServers: ["postgres-prod"], the linter flagged neither: the env check only matched token formats and KEY/TOKEN/SECRET names. S11 now catches a password embedded in any connection URL (BLOCKER in shared files), and new S13 warns when a shared file pre-approves an MCP server whose name marks it as production. Bundled copy synced; --sample output unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh * docs: changelog and lessons for the v2.14.0 audit fixes Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude-plugin | ||
| agents | ||
| commands | ||
| skills/human-gate | ||
| README.md | ||
human-gate
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
Why
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.
The loop
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
What's inside
| 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 sidecar is hand-writable — on purpose
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).
The gate
| 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.
Loop discipline
There is deliberately no blocking poll. status returns immediately.
- Open a round, hand over the path, end the turn. State lives in
.human-gate/. - Headless guard — on CI, SSH, or no
DISPLAY,opensays so and skips the browser. - Round cap (
--max-rounds, default 5). Exhaustion exits 5 = ESCALATE, not 0.openrecords the cap in gate state and every later command inherits it, so escalation can't drift with how a command happened to be typed; passing the flag again renegotiates the cap and says so. statuspreviews the whole gate — it sharesgate_refusals()withclose, so the two can never disagree about whether the work is done.
Reasoning in references/review_loop_discipline.md.
Design notes
Two things this plugin deliberately does not ship, and why:
- No local HTTP server. A file:// page plus a sidecar covers the review loop without a listening socket, a token scheme, or a background process to reason about.
- No rich block-drag / image-paste editor. That is genuinely nice and genuinely
expensive — it is the bulk of upstream's ~5,200 LOC. If a reviewer wants it, the
optional pinned bridge in
SKILL.mdhands off to upstream, and the gate still governs closure.
Related
engineering/agent-harness— machine verification and loop control. This is the human lane it lacks. Pair them.markdown-html/md-review— renders a code review to HTML, one-way. Use when you are the reviewer; use human-gate when someone else is.engineering/grill-me— interrogates a plan in conversation, before an artifact exists.marketing-skill/content-humanizer,engineering/behuman— make AI text sound human. Different problem: this is human approval, not human voice.
Attribution
The batched-review pattern derives from
petergyang/human-review (MIT © 2026 Peter
Yang). No upstream code is used — this is a conceptual derivation with a deliberately
different design (stdlib Python instead of Node, no server, no network fetch, non-blocking
loop with a round cap, plus a closing gate upstream does not have).
The audit that drove those choices — including running upstream's own test suite
(90/90 passing) — is at
audit/human-review-2026-08/AUDIT.md.