Repository navigation
docs(agents): a new pin for a component with a shared harness file goes into that file - #29633
Conversation
…es into that file One sentence in the § Build & Test test discipline, per ruling 6583487846 (Q1 letter A): a new pin for a component that already has a shared harness file goes into that file as a top-level `describe`, not a new file. AGENTS.md stays at 1050 lines: the last six lines of the paragraph were rewrapped in place to the 120-byte line budget, which absorbs the sentence. No existing word changed. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAmNaTByKyGLGR8Ydt5
…t a rewrap The skills lane pays the line ratchet line by line and never by a rewrap. Restore the test-discipline paragraph's last six lines to main byte for byte, and put the shared-harness-file sentence on two new lines after it. The two lines are paid by deleting the Kernel section's "`EnhancedObjectKernel` is deprecated — do not use." and its blank line. The class is removed, not deprecated: packages/core/README.md says so and `os doctor` flags any remaining use. AGENTS.md stays at 1050 lines. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAmNaTByKyGLGR8Ydt5
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J Contract-review-claim: session_01J8VVAnMUWA9rufXzFaEh4J · head 7409cb0 · 2026-11-02T23:01Z The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent (the seat session is not at that tier). |
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J Contract reviewServed-tier: Reviewer: an isolated contract reviewer at CONTRACT_REVIEW_TIER, read-only on GitHub (REST reads only; nothing written, pushed, commented or labelled), fed the card body and comments, the ruling, the PR body, the net diff against the merge-base, the head's check-runs, contract-review.md, review-checklist.md and lanes/skills.md. The PR body's verification block was read as input, not as conclusions; every count below is this review's own measurement. No environment variable value is printed anywhere in this record. ① Derived judgments
② Semver levelNone. No published package, no ③ Boundary flags
④ Design judgmentPer hits file, against the card's scenario (fixes open new test files 69.7 % of the time; a fold is outrun within a week without a placement rule; the ruling chose a convention agents read, not a gate):
Must-fix: none. Should-fix: none. Check-runs at record time (2026-11-02T23:07Z): 44 check-runs on 7409cb0, 23 success, 21 skipped, 0 failure, 0 in progress on the third read; the first read had Implemented-by: VERDICT: PASS Generated by Claude Code |
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J 维护者速读
席位核对 — ACCEPT · domain:skills#1 · head
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J
Requested by Irene · project thread
Fixes #29516
Clause-②: no
Metadata-protocol: none
维护者速读
AGENTS.md的测试纪律段加一句:组件已有共享测试夹具文件时,新的回归钉作为该文件的顶层describe写入,不新开文件;同时删掉 Kernel 节里已过时的「EnhancedObjectKernelis deprecated」一行(该类已移除)。AGENTS.md的 § Build & Test,「Clocked windows…」那一段末尾新加的两行;§ Kernel 删掉的一行。pnpm check:pm-skill-ratchet,预期AGENTS.md is 1050 lines (ceiling 1050; headroom 0)。What changes
One sentence joins the test discipline in
AGENTS.md§ Build & Test, at the end of the paragraph that starts "Clocked windows measure behaviour, never loading". It sits next to the paragraph's other rules about test files (the 10 s budget and when a test may be deleted):No gate, no check script and no CI change, as the ruling chose: this is a convention agents read.
To pay for the two lines, § Kernel loses its stale line "
EnhancedObjectKernelis deprecated — do not use." and the blank line above it (see the line budget below).Why
Ruling 6583487846 on #29469 (batch #458 item 1, Q1 letter A, maintainer 「同意」 2026-11-02T17:15Z) reads: "one line in the test discipline of
AGENTS.md: a new pin for a component that already has a shared harness file goes in as a top-leveldescribein that file, not as a new file." The card's measurement (#29469, 6582607393): 69.7 % of a week's fixes opened a new test file, and the #25911 fold ofStudioDesignSurface.*(95 → 86 files) was back at 116 a week later.Line budget (no ceiling row moved)
AGENTS.mdmain. −2: the stale line "EnhancedObjectKernelis deprecated — do not use." in § Kernel, with its blank line. The class is removed, not deprecated; its home ispackages/core/README.md("EnhancedObjectKernelhas been removed. Migrate toObjectKernel.") and theos doctordeprecation pattern inpackages/cli/src/commands/doctor.ts.The applicable rows of
scripts/pm/check-skill-line-ratchet.mjsare['AGENTS.md', 1050](line ceiling), theAGENTS.mdwidest-table-row pin (768, untouched: no table edited) andMAX_LINE_BYTES = 120. No line was rewrapped: per the skills lane charter (.claude/skills/pm-dispatch/references/lanes/skills.md, 「棘轮逐行付账,⛔ re-wrap 筹行」) the ratchet is paid line by line.CLAUDE.md,.claude/**anddocs/agents/**were searched for a restatement of a test-file placement rule; none exists, so nothing else needed to change.Verification
Local gates on 7409cb0: 15 derived, 15 run, all exit 0 (`dispatch-gates --ran`)
node scripts/pm/dispatch-gates.mjs --commands --changedderived 15 commands. All 15 ran afterpnpm install --frozen-lockfile(exit 0), each with a 900 s timeout and its exit code recorded before any pipe. All 15 exited 0:check-closing-keyword-parity(run and--self-test),check-comment-mask-corpus,check:agent-test-spelling,check:docs-audit-scope,check:driver-memory-census,check:gitlink-declared,check:nul-bytes,check:pm-governed-merges,check:pm-governed-prose,check:pm-skill-id-lint,check:pm-skill-ratchet,check:refd-timer-probe,check:required-contexts,check:watch-hint-literal.--ranreconciliation printed:15 derived famil(ies) accounted for — 15 run, 0 NOT-MEASURED. Changed lines: 4 (+2 / -2, one file), under the 3000 human-merge threshold.check:pm-skill-ratchetreadsAGENTS.md is 1050 lines (ceiling 1050; headroom 0)andwidest table row is 768 bytes (pin 768; headroom 0).node scripts/check-commit-card-trailers.mjs --range origin/main..HEADexited 0.Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (no formatter ran;pnpm lintwas not run locally on this Markdown-only diff, so the CI lint job decides it)main, one pull request.AGENTS.mdonly;skip-changeset)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01J8VVAmNaTByKyGLGR8Ydt5