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 37661b8
Browse filesBrowse the repository at this point in the historyBrowse files
docs(pm-dispatch): mailbox patch round — bells over the cap roll to the next round, main-red rings with no breaking PR, the mailbox is read after the probe, the stub spells Mailbox: PR #n
Contract review 6559915023 ④ should-fixes:
- project-forms 〈信箱 PR〉: the ≤5-per-round cap now says mandatory bells over it
roll to the next round (p0 still exempt); the closing line keeps the
colleague-statement and no-gate clauses.
- record-recognisers: `Notify: main-red` admits `breaking PR none`, so a red that
came in with no PR can still be rung; the doorbell battery pins it.
- seat-lifecycle: the patrol reads the mailbox after the probe (SKILL.md 探针先行).
- seat-post-protocol: the stub spells `Mailbox: PR #n` beside `Patrol:`.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017ihL2g7RyXa8ErM6GAkHyc
{id: 'request:triage',kind: 'Request',key: 'triage',from: 'lane',to: 'triage',when: 'a question about a card\'s fate, route or grade',template: 'Request: triage · #n · ONE-LINE-QUESTION'},
1263
1263
{id: 'request:urgent-triage',kind: 'Request',key: 'urgent-triage',from: 'any seat',to: 'triage',when: 'a p0 suspect, main red, a deterministic queue red',template: 'Request: urgent-triage · #n · ONE-LINE-CRITERION'},
1264
1264
{id: 'request:main-red',kind: 'Request',key: 'main-red',from: 'the seat that files the main-red anchor card',to: 'triage, or the director when triage is absent',when: 'the anchor card is filed',template: 'Request: main-red · CHECK-NAME · anchor #n · suggested lane X'},
1265
-
{id: 'notify:main-red',kind: 'Notify',key: 'main-red',from: 'the seat that files the main-red anchor card',to: 'the seat that landed the breaking PR, and the anchor card\'s lane',when: 'the anchor card is filed',template: 'Notify: main-red · anchor #n · breaking PR #m'},
1265
+
{id: 'notify:main-red',kind: 'Notify',key: 'main-red',from: 'the seat that files the main-red anchor card',to: 'the seat that landed the breaking PR, and the anchor card\'s lane',when: 'the anchor card is filed',template: 'Notify: main-red · anchor #n · breaking PR #m or none'},
1266
1266
{id: 'notify:contract-review',kind: 'Notify',key: 'contract-review',from: 'triage',to: 'lane',when: 'with the record, only when the lane is not subscribed to the PR',template: 'Notify: contract-review PASS or FAIL · PR #n · record ID'},
1267
1267
{id: 'notify:release-blocker',kind: 'Notify',key: 'release-blocker',from: 'triage',to: 'the lane it is graded into',when: 'a p0/p1 release blocker is graded into a lane',template: 'Notify: release-blocker · #n'},
1268
1268
{id: 'notify:unblocked',kind: 'Notify',key: 'unblocked',from: 'the seat that moved the card to `pm:queue` (triage or an epic seat)',to: 'the card\'s lane seats',when: 'a p0/p1 card\'s `Blocked-by` target closed',template: 'Notify: unblocked · #n · p0 or p1'},
@@ -2773,6 +2776,7 @@ export async function selfTest() {
2773
2776
t('the attribution block the platform APPENDS (bare or session-URL footer under a rule line) is not a second line',['\n\n---\n_Generated by [Claude Code](https://claude.ai/code)_',`\n\n---\n_Generated by [Claude Code](https://claude.ai/code/${RECORD_SESSION})_`].every((tail)=>readMailboxLine(`${DB.on}${tail}`).state==='read'));
2774
2777
t('⛔ free text, an acknowledgement and an empty comment are REFUSED, naming the line — the half-state the text names',(()=>{consta=readMailboxLine(MSG('Seat note: picking up the review now, will report on the card.'));constb=readMailboxLine(MSG('收到,谢谢!'));constc=readMailboxLine('');constbare=readMailboxLine('收到,谢谢!');returna.state==='refused'&&/nota`Request:`or`Notify:`keyline/.test(a.reason)&&typeofa.line==='string'&&b.state==='refused'&&c.state==='refused'&&bare.state==='refused';})());
2775
2778
t('⛔ a key OUTSIDE the table is refused, whatever its kind — the vocabulary is closed — and the kinds are case-sensitive',['Request: coffee · #27077','Notify: ack · #27077','Ack: #27077','request: urgent-triage · #27047 · x','Request: contract-review-done · PR #1','Notify: unblocked-soon · #1 · p1'].every((l)=>readMailboxLine(MSG(l)).state==='refused'));
2779
+
t('⭐ `Notify: main-red · anchor #n · breaking PR none` reads too — a red that came in with no PR can still be rung; its numbers are the anchor alone, and `breaking none` or `breaking PR #0` stay unreadable',(()=>{constr=readMailboxLine(MSG('Notify: main-red · anchor #28622 · breaking PR none','domain:server#2'));returnr.state==='read'&&r.id==='notify:main-red'&&r.anchor===28622&&r.pr===null&&r.numbers.join()==='28622'&&['Notify: main-red · anchor #28622 · breaking none','Notify: main-red · anchor #28622 · breaking PR #0','Notify: main-red · anchor #28622 · breaking PR'].every((l)=>readMailboxLine(MSG(l,'domain:server#2')).state==='unreadable');})());
2776
2780
t('⛔ the off-table keys the lanes invented and the table did NOT admit stay refused (`surface` is `serial`, `take` is `split`), and `main-red cleared` does not spell `Notify: main-red`',['Notify: surface · #28572','Notify: take · domain:ui#1 · takes: #27975'].every((l)=>readMailboxLine(MSG(l)).state==='refused')&&readMailboxLine(MSG('Notify: main-red cleared · #28219 closed by #28227')).state==='unreadable');
2777
2781
t(`⛔ a line over ${MAILBOX_LINE_MAX_BYTES} bytes is unreadable — keys and numbers only, the reasoning stays on the card`,(()=>{constr=readMailboxLine(MSG(`Request: contract-review · PR #26766 · head ${HO_HEAD} · ${'x'.repeat(160)}`));returnr.state==='unreadable'&&/bytes/.test(r.reason)&&readMailboxLine(DB.cr).state==='read';})());
2778
2782
t('⛔ a second line of content is unreadable — one event, one line',(()=>{constr=readMailboxLine(`${DB.cr}\n\nbecause the reviewer tier was refused twice this round`);returnr.state==='unreadable'&&/morethanoneline/.test(r.reason);})());
0 commit comments