Uh oh!
There was an error while loading. Please reload this page.
skills(pm-dispatch): wave-2 consolidated hardening — Part-of closure, changeset test, gate lists as leads, stale rulings, negation trap, commit-first reverse verification [ADR-class, human merge] - #8028
Merged
Conversation
…osure, published-package changeset test, gate lists as leads, stale rulings, negated closing keywords, commit-first reverse verification Fixes#8000Fixes#7949Fixes#7863 Four measured pm-dispatch gaps, the closing-keyword negation trap, and the WIP-destroying restore recipe's two surviving copies, landed references-first under the SKILL.md ratchet (686 -> 686, additions funded by content-free orphan-punctuation joins). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Gg6rMAti8ZaueWb6BRsDn
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
os-zhuang
commented
Aug 12, 2026
ContributorAuthor
同意合并 |
os-zhuang
marked this pull request as ready for review
August 12, 2026 13:52
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#8000
Fixes#7949
Fixes#7863
ADR-class (skills root + agent definition): draft PR, human review, human merge. No auto-merge, no merge queue.
Wave-2 consolidated skills batch. All deltas applied against the current post-rewrite texts; the cards' pre-rewrite locations were relocated semantically. SKILL.md ratchet: 686 before, 686 after (headroom 0 preserved) — the 4 added principle lines are funded by 4 content-free rewraps that join an orphan trailing punctuation line into its previous line (复核 x1, 轮次报告 x1, 标签纪律 x1, 平台读数纪律 x1; the last two sit outside the sections this PR touches content-wise, but the joins delete zero content — stated here rather than hidden).
Per-member checklist
#8000 — four measured gaps
references/review-checklist.md(new bullet), MERGED-same-action step inreferences/landing-operations.mdsection B.private: falsetest — ADOPTED. Card-specific dispatch clause inreferences/dispatch-runbook.md条件性标准条款; ACCEPT-checklist bullet inreferences/review-checklist.md..claude/agents/os-dev.md(Local verification scope, new item ④) with the PM-side pointers updated to match. Adaptation: the card proposed a raw grep over workflow ymls; the landed rule instead re-runsnode scripts/pm/dispatch-gates.mjsover the dev's actual changed paths — the same mechanized source of truth the PM derives from (checks live in several workflow files beyond the lint one, so the script is the more accurate O(1) probe, and it also catches scope drift between predicted and actual paths).Lower-confidence extras — both included as one-bullet additions that fit naturally, zero SKILL.md lines: measurement-first cards →
references/dispatch-runbook.md; positive-control line →references/review-checklist.md(appended to the test-evidence bullet).#7949 — negated closing keywords
references/platform-readings.md, new section 闭合关键词解析. ADOPTED, adapted to placeholder numbers per id-lint..claude/agents/os-dev.mdDefinition-of-done draft-PR bullet (where devs write PR bodies).closed_by_pull_requestssweep →references/review-checklist.mdbullet + one line in landing-operations B.#7863 — WIP-destroying restore recipe
.claude/agents/os-dev.md(found at 167-174, was 172 pre-batch): context-verified as the WIP-restore half, replaced. The stash-alternatives list now leads with temp-commit and patch-file; a new clause carries the commit-then-revert rule copied from this repo's AGENTS.md landed wording (not re-derived), plus the byte-identity point (matching--statinsertion counts are not identity; prove with a saved patch orgit hash-object) — placed in the agent definition where a recovering agent looks..claude/hooks/guard-shared-stash.sh(header comment + block-message heredoc): "clean re-read" alternative replaced with the commit-first form and an explicit uncommitted-edit warning. Heredoc kept free of backtick/command substitution. Self-test re-run: 32 passed, 0 failed (it asserts verdicts, not comment text).references/landing-operations.mdandscripts/pm/os-regen-merge.share the fenced-off legitimate merge-state generated-artifacts uses — untouched; 4 test files (rest x1, runtime x2, spec-scripts x1) contain it only inside historical reverse-verification measurement records / trap documentation, not as operating instructions — untouched, out of card scope.Verification
All named gates green locally on the final tree:
check:pm-skill-ratchet(686/686),check:pm-skill-id-lint(9 files clean),check:skill-frame-sync(4 copies isomorphic),check:doc-authoring(375 files clean),check:nul-bytes(7326 files OK),check:agent-model-declared(os-dev → opus),guard-shared-stash.selftest.sh(32/32). Docs/hook-comment-only change: no changeset,skip-changesetlabel applied.Note on this very body: card numbers other than the three closing lines above are written without closing keywords — the trap this PR documents applies to its own PR body.
Generated by Claude Code
Generated by Claude Code