You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bea5334
Browse filesBrowse the repository at this point in the historyBrowse files
docs(pm-dispatch): contract review r0 — vacant-triage route, downgrade reason kept, H74 reads the three audit exemptions
Four should-fixes from the contract review of the first commit, in one
round:
- execution-duties.md: the knock line routes a vacant triage seat to the
director (project-forms.md routes only `Request: main-red` that way),
and the downgraded tier with its reason is written on the claim
comment's Container & model line again — folded into the effort line,
so the file stays at 188 and no line passes 120 bytes.
- check-half-states.mjs H74: the `[maintainer]` title test was a no-op
(no such spelling exists on the board); it now reads SKILL.md's
non-fleet card through one shared `isFleetCard` (human author, no seat
signature) that H67's read order uses too. A main-red anchor card is
exempt by its measured title openings, and a sub-issue that inherits
its parent's domain or grade is exempt through the sub-issues parent
read H45 already takes — bought only for a card whose thread was read
and found clean, with an unreadable parent fired as UNJUDGED. The
battery pins each exemption beside the twin that still fires.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgjcGBFsSmg6tHbbJq
b(BATTERY74, 'H74 exempt control: the same card with an unrelated label beside `pm:queue` still fires', typeof h74([], { labels: [{ name: 'pm:queue' }, { name: 'tooling' }] }), 'string');
28564
-
b(BATTERY74, '⛔ H74 exempt: a `[maintainer]`-titled card is silent, whatever its labels', h74([], { title: '[maintainer] rotate the release key' }), null);
28565
-
b(BATTERY74, 'H74 exempt control: `[maintainer]` mid-title is not the prefix — fires', typeof h74([], { title: 'ask [maintainer] about the key' }), 'string');
28644
+
// 「`[maintainer]` cards」 read as SKILL.md's 非车队卡: a human author whose body opens with no seat signature.
b(BATTERY74, '⛔ H74 exempt: a non-fleet card — human author, no seat signature — is silent, whatever its labels', h74([], { user: HUMAN74, body: '## 问题\n\n导出按钮无反应' }), null);
28648
+
b(BATTERY74, 'H74 exempt control: the same human account with a SEAT-SIGNED body is the fleet\'s — fires', typeof h74([], { user: HUMAN74 }), 'string');
28649
+
b(BATTERY74, 'H74 exempt control: an App author with an unsigned body is the fleet\'s — fires', typeof h74([], { user: APP74, body: '## 问题\n\n导出按钮无反应' }), 'string');
28650
+
b(BATTERY74, '⛔ H74 exempt control: an UNREADABLE author is never promoted to a human\'s — fires', typeof h74([], { user: undefined, body: '## 问题\n\n导出按钮无反应' }), 'string');
28651
+
b(BATTERY74, 'H74 fleet reader: the one `isFleetCard` drives H67\'s order leg too — a human card sorts before a fleet card in one rank', h67ReadOrder([{ number: 2, labels: [{ name: 'pm:queue' }], user: APP74, body: 'x' }, { number: 1, labels: [{ name: 'pm:queue' }], user: HUMAN74, body: 'x' }]).read.map((i) => i.number).join(), '1,2');
28652
+
// A main-red anchor card, by its measured title openings.
28653
+
for (const title of ['main red: Dogfood Regression Gate — GET /packages/:id/customizations 404s', 'main red (Dogfood Regression Gate 1/3) since 21c4bdd8: two pins', 'main red since #24009: the census still pins route-ledger.ts', 'Main-red: Spec property liveness cites a retired key', '4-hourly full run: red on main (CI)', 'nightly-tiers: red on main']) {
28654
+
b(BATTERY74, `⛔ H74 exempt: a main-red anchor title is silent — ${title.slice(0, 24)}…`, h74([], { title }), null);
28655
+
}
28656
+
b(BATTERY74, 'H74 exempt control: a card ABOUT main-red (`pm-dispatch(main-red): …`) stays in the population — fires', typeof h74([], { title: 'pm-dispatch(main-red): when the anchor card closes, the held seats are rung' }), 'string');
28657
+
b(BATTERY74, 'H74 exempt control: `red on main` without the prefix colon is prose, not an anchor — fires', typeof h74([], { title: 'rest: the export route goes red on main-like boards' }), 'string');
28658
+
// A sub-issue inheriting its parent's domain or grade — the read bought last.
b(BATTERY74, 'H74 exempt control: a parentless card (the documented 404) fires, and an unread parent fires as before', [typeof h74QueuedWithoutTriageAudit(card74(), [], null), typeof h74([])].join(), 'string,string');
28666
+
b(BATTERY74, 'H74 parent states: the UNREADABLE sentinel fires UNJUDGED, never clean and never silent', (() => { const r = String(h74QueuedWithoutTriageAudit(card74(), [], H74_PARENT_UNREADABLE)); return r.startsWith(UNJUDGED_MARKER) && isUnjudgedFinding(r) && r.includes('PARENT read failed'); })(), true);
28667
+
b(BATTERY74, '⛔ H74 parent states: a parent row never EXCUSES a card an audit already answers, and never reaches an out-of-scope card', [h74QueuedWithoutTriageAudit(card74(), [AUDIT74], strangerParent), h74QueuedWithoutTriageAudit(card74({ state: 'closed' }), [], strangerParent)].join(), ',');
28668
+
b(BATTERY74, 'H74 parent gating: only a card whose thread was READ and found clean buys the parent read', [h74NeedsParentRead(card74(), []), h74NeedsParentRead(card74(), [AUDIT74]), h74NeedsParentRead(card74(), null), h74NeedsParentRead(card74(), undefined), h74NeedsParentRead(card74({ title: 'main red: x' }), [])].join(), 'true,false,false,false,false');
28669
+
b(BATTERY74, 'H74 inherit reader: a null, undefined or sentinel parent inherits nothing, never a crash', [h74InheritsFromParent(card74(), null), h74InheritsFromParent(card74(), undefined), h74InheritsFromParent(card74(), H74_PARENT_UNREADABLE), h74InheritsFromParent(card74(), { labels: undefined })].some(Boolean), false);
28566
28670
b(BATTERY74, '⛔ H74 population: a closed card, a PR row, an unreadable `labels` and a missing row are all silent, none a crash', [h74([], { state: 'closed' }), h74([], { pull_request: {} }), h74([], { labels: undefined }), h74QueuedWithoutTriageAudit(undefined, [])].every((v) => v === null), true);
28567
28671
b(BATTERY74, 'H74 population: a null body is no crash and no record — the card still fires on an empty thread', typeof h74([], { body: null }), 'string');
28568
28672
b(BATTERY74, 'H74 exempt list: the constant carries exactly the filing card\'s six labels', [...H74_EXEMPT_LABELS].sort().join(), ['pm:epic', 'pm:seat', 'qa-run', 'queue-flake-anchor', 'status:parked', 'tracking'].join());
0 commit comments