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 329c808
Browse filesBrowse the repository at this point in the historyBrowse files
chore(pm): one round source, stateless ROUND_RULE, inflight --paths and is-ancestor pointers
check-owed-reviews.mjs reads TRIAGE_ROUND_MINUTES from round-open.mjs's
ROUND_MINUTES (the seat-lifecycle.md round line) instead of a second literal.
round-open.mjs exports ROUND_RULE without the g flag; the scan takes a local
global copy. landing-operations.md drops its round figure, contract-review.md
trigger (b) points at seat-lifecycle.md, SKILL.md spells --inflight with its
required --paths=, and the AGENTS.md history sentence carries is-ancestor with
a why-section that covers the containment half. Each ratcheted file is paid
for in the same file.
Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW
Co-authored-by: Claude <noreply@anthropic.com>
/** The waiting label the dispatching seat hangs at ACCEPT (`references/contract-review.md` 〈等 L2 标记〉). */
137
139
exportconstWAITING_LABEL='needs:contract-review';
138
-
/** One full round — the rule's 「一轮(约 60 分钟)」, trigger (b). The name is kept: importers read it. */
139
-
exportconstTRIAGE_ROUND_MINUTES=60;
140
+
/** One full round, trigger (b): `round-open.mjs`'s `ROUND_MINUTES`, the number on `seat-lifecycle.md`'s round line — one source, never a second copy. The name is kept: importers read it. */
141
+
exportconstTRIAGE_ROUND_MINUTES=ROUND_MINUTES;
140
142
/** The seat posts' label (`seat-post-protocol.md`); `parseSeat` reads each one. */
'the rule text: every phrase this file is built from is in the file that writes it': 3,
581
+
// 3 → 4 (#35237 item 21c): the exported ROUND_RULE is stateless — no `g`, so repeated `.test()` answers the same.
582
+
'the rule text: every phrase this file is built from is in the file that writes it': 4,
581
583
'readings 1 and 2: the newest stand-down brief, the newest seat-signed comment after it': 7,
582
584
'reading 3: the newest claim of this seat by another session, and a push on a lane branch': 10,
583
585
'reading 4: the first closed lane card with a claim of this seat, timed by its session': 4,
@@ -647,6 +649,7 @@ export function selfTest() {
647
649
t('every reading this file takes is a phrase of seat-lifecycle.md 〈开轮互斥〉, the pointer included',LIFECYCLE_PHRASES.filter((p)=>!lifecycle.includes(p)),[]);
648
650
t("⭐ one round's length is the number seat-lifecycle.md spells once, on its round rule line, and ROUND_MINUTES is that number",roundMinutesOfRule(lifecycle),[ROUND_MINUTES]);
649
651
t('…and the reading follows the text: another figure on that line reads as that figure (so the pin above goes red), a line without the spelling reads none',[roundMinutesOfRule(lifecycle.replace(`一轮 ${ROUND_MINUTES} 分钟`,'一轮 45 分钟')),roundMinutesOfRule('未满一轮 ⇒ 自退(一轮约一小时)')],[[45],[]]);
652
+
t('⛔ the exported ROUND_RULE carries no `g` or `y`: an importer\'s repeated `.test()` keeps no `lastIndex`, and the scan above still reads every figure',[ROUND_RULE.global||ROUND_RULE.sticky,[1,2,3].map(()=>ROUND_RULE.test('一轮 60 分钟')),roundMinutesOfRule('一轮 60 分钟;一轮 45 分钟')],[false,[true,true,true],[60,45]]);
650
653
}
651
654
652
655
battery('readings 1 and 2: the newest stand-down brief, the newest seat-signed comment after it');
0 commit comments