Skip to content

Commit 39064f6

Browse files
feat(pm): a claim names the files it will touch; the claim door refuses a wide surface with no reason and a claim with no surface line (#38673)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi98ZAtPQK4A8ABvN79TALFDE)_ Fixes #38333 Clause-②: no Metadata-protocol: none Rule-change: yes ## 维护者速读 - 用户能看到什么变化:用户无感;席位认领一张卡时只写要改的文件,写整个模块却不说明理由、或干脆不写占用范围,发出前会被当场退回。 - 为什么做:这是「认领只写要改的文件」那张卡的规则文本一半,替多席位并行派发解决宽认领挡住别人的问题;代码对账那一半已先合入。 - 出错会怎样:最坏是某次认领被误退回,补一句理由或改成文件清单即可重发;已在板上的认领不受影响,本改动可直接撤回。 - 要你做什么:批准并合并这份规则文本改动(受管面)。 ## What changes This is **PR B** of the card: part 1 (the rule text) and the two write-time refusals left over from part 2. PR A (pull 38345, merged) built the reader and the reconciliation; nothing of it is redone here. **Rule text (`.claude/skills/pm-dispatch/`)** - `SKILL.md`, the claim template's `File surface:` line. It now names FILES: two `FILE` code spans stand where the directory placeholder stood. Its guidance says a directory entry is directly followed by `(reason: …)`, and that a test named after a claimed file, a generated output and the changeset are not listed. An unfilled template still names no path, so the door still refuses it. - `references/execution-duties.md`, the first of the four parallel-discipline rules: a claim declares its surface at file level, where it said area level. - `references/area-lease.md`, one new line, the widening step. Before a claim is amended wider (`Claim amendment`), `check-handover.mjs --inflight` is re-run with only the new files in `--paths` and the card's own number in `--card`. Clear: amend. Meets another claim: that part queues behind it (`Notify: serial`) or is split to its own card with `Blocked-by:`. It never proceeds over the other claim. **The claim door (`scripts/pm/post-stamped.mjs`, `fileSurfaceRefusal`)** Two new rows, on a comment that OPENS with `Claim:` and nowhere else. `label-write.mjs --comment-file` inherits both through `judgeBody`. - **wide, no reason.** An entry that the in-flight check's own classifier (`surfaceWidth`, imported from `check-handover.mjs`) reads as `wide` is refused unless a reason follows it. `wide` is a whole package, a top-level directory, a directory holding packages, or a package-wide `**`. - A reason reads as one spelling only: `(reason: TEXT)` directly after the entry's code span, on its line. A full-width bracket or colon reads the same. An empty reason is none. - Any other parenthesis is not a reason. The template's own `(stop on breach; …)` follows the last entry of every claim, so "any parenthesis" would have let every claim through. - A sub-directory (`dir`) is not refused. The template asks its reason too; the door enforces the three shapes the card names. - Packages are the globs of the `pnpm-workspace.yaml` in the checkout the tool runs from, read through the in-flight check's own parser. With that file unreadable a package reads `dir` and passes; a top-level directory is refused all the same. - **absent.** A claim being made with no `File surface` line at all is refused (seat ruling 7242530793 on this card). The in-flight check reads such a claim as a surface naming no path on every later dispatch. Each refusal row now carries a `kind` (`absent`, `unreadable`, `no-path`, `wide`), so a test asserts the kind and not the prose. Claims already on the board, and claims quoted down a report, are not judged. ## Byte ratchet (`scripts/pm/check-skill-line-ratchet.mjs`) | file | on main `4d5cfa9f` | on this head | delta | ceiling | |:--|--:|--:|--:|:--| | `SKILL.md` | 33327 | 33327 | 0 | unchanged, 33327 | | `references/execution-duties.md` | 22434 | 22434 | 0 | unchanged, 22434 | | `references/area-lease.md` | 6957 | 7220 | +263 | raised 6957 → 7220 | - **`SKILL.md`: paid by deletion in the same file, no raise.** The template line grows by 69 bytes. Two edits pay exactly 69: - −53: the state-model bullet that restated two rows of the table above it (`needs-user-decision` is a decision to make, `pm:on-hold` a decision made) keeps only its rule, and that rule now names its key: `Restart-when: manual — …` is not a legal exit. - −16: the in-flight check line drops the `node scripts/pm/` prefix and names the script as `references/execution-duties.md` already does. - **`execution-duties.md`: byte-neutral.** One word changes (area level → file level), the same length in bytes. The dispatch order assumed this file had no ceiling row; it has one, at headroom 0. Pull 38592 merged while this was built and raised that row to its own landed size, 22434; main is merged into this branch once, and the file is exactly 22434 there. - **`area-lease.md`: a ruled raise of +263 bytes, the landed size of the one new line.** Ruling of record: the maintainer's 「立 B 并派发」, quoted in the body of the card and recorded by claim comment 7240306887. Option B's text orders the widening step into this file. The ceiling row moves by exactly the measured delta and its comment names the id. Nothing else in the file could be deleted without losing a rule. ## Tests - `node scripts/pm/post-stamped.mjs --self-test`: **844 cases pass across 30 batteries** (831 on the merge base). The keyed-lines battery pin goes from 44 to 57. - `node scripts/pm/label-write.mjs --self-test`: **407 cases pass across 19 batteries**. - New cases, each row with its CONTROL: - wide with no reason is refused, for nine entries alone and beside files; CONTROL: the same nine pass once `(reason: …)` follows the span. - a sub-directory, a `**` over one and a glob over one directory's files are not refused. - the reason spellings that read, and eight lines that are not a reason (the template's own last parenthesis, an empty reason, prose with no parenthesis, a reason on the next line, a reason before the entry, another entry's reason). - absent is refused, named `absent` and not `unreadable`; CONTROL: the same claim with one surface line passes. - write time only: a no-path line, a wide entry and a missing line are untouched in a claim quoted down a report, in a `Claim amendment`, and in a report. - CONTROL: the template form filled in passes, and so do two measured claim lines as written: the claim this pull was dispatched under (comment 7265551402) and PR A's. - **Existing tests changed** (all in `post-stamped.mjs`, battery "the keyed lines", unless said): - FLIPPED: "ABSENCE is not this row's … passes" now asserts the refusal, kind `absent`. - "prose naming the key mid-sentence is no near miss" asserted `null`; it now asserts kind `absent` (still not `unreadable`). - "CONTROL — the claim template's current form passes" is split in two: the new template form filled in, and the measured lines plus the form the template had before. - "a surface line that NAMES NO PATH is refused" gains today's unfilled template and asserts kind `no-path`. - "a key spelled so the reader sees NO line" asserts kind `unreadable` where it matched the prose. - "the refusal prints the spelling that reads" also asserts that the classifier is named. - "WRITE TIME only" covers the two new rows. - "structural: the surface reader is IMPORTED" pins the new import line and call. - Fixtures only, assertions unchanged: the `CLAIM` helper appends a surface line unless the case spells the key itself; `MISLAID_SEAT`, three raw `Claim: x …` strings and `BARE` gain one; in the batteries "the one judge" and "the claim stroke", `ok`, `claimOf` and `CLAIM` gain one. - `label-write.mjs`: the two fold `CLAIM` fixtures gain a surface line. Nothing else in that file moves. <details><summary>Ablation: ten arms, each red without its code and each restored to HEAD</summary> Run through `scripts/ablation-replace.mjs` at `ab0ebf2f`, the implementation commit (the head adds only the merge of main, which touches neither file); every arm ends `ok restored: blob == HEAD` and `git status` is empty after the last. | arm | mutation | red cases | |:--|:--|:--| | P1 | the absent row answers null | ABSENCE; prose mid-sentence | | P2 | the wide row never refuses | 7, the wide battery | | P3 | any parenthesis is a reason | WIDE with no reason; what is NOT a reason | | P4 | a reason is never read | 7, both CONTROLs among them | | P5 | the row runs on any claim, not only an opening one | WRITE TIME only; the structural pin | | P6 | the workspace is not passed to the row | 4: WIDE with no reason and the checkout case among them | | P7 | no checkout default | the checkout case alone | | P8 | `dir` refused too | 8, the sub-directory case and the control of the former template form among them | | P9 | a reason counts for every entry on the line | 3: what is NOT a reason and the code-span-inside-a-reason case among them | | L1 | the two `label-write.mjs` fixtures lose their surface line | the self-test stops, exit 1 | Two notes on the arms. L1's first run was void: the tool refused an empty replacement, nothing ran, and the arm was run again with `--delete`. L1 reds as an exit 1 from a later case reading the refused fold's result, not as a failed-case line. </details> ## Acceptance notes - **The rule-change declaration above is `yes`, by my reading of the diff.** The rule content is the ruled option B. Three things in the text are this pull's wording and not the card's: the `(reason: …)` spelling of "a reason on the line", and the two paying edits in `SKILL.md`. The seat may read it as ruled text and say so on its record. - **A code span inside a reason.** The reader takes a code-spanned path as an entry wherever it stands on the line (reading (b) of PR A, left as built). So a wide path in a code span inside a reason is refused, and the same words with no code span pass. A file or a sub-directory there is untouched. This is one of the seat's two open questions without a ruling; the reader itself is unchanged. - **A reading-only dispatch.** The other open question (a dedicated `none` spelling) carries no ruling and nothing is built for it. With absence refused, such a claim has no accepted spelling at this door and must name a path. - **`Claim amendment` is not judged.** It does not open with `Claim:`, so a widening amendment naming a wide entry passes the door; the new `area-lease.md` line is what governs it. - **The workspace is this checkout's.** The door reads the package globs of the checkout it runs from, whichever repository the card is in. For a sister repository's card a `packages/NAME` entry is judged by these globs; a top-level directory is wide in any repository. - **The refusal heading.** The shared heading said the keyed lines "cannot be read"; a wide entry is read and refused, so the heading now says both. - Not touched, as the card orders: `record-recognisers.mjs`, `dispatch-gates.mjs`, `check-handover.mjs`. ## Verification **Read first, by risk:** 1. `scripts/pm/post-stamped.mjs`, `fileSurfaceRefusal` and `wideEntriesWithoutReason`: the absent branch (it turns a pass into a refusal for every claim written from now on) and the reason regex. 2. `.claude/skills/pm-dispatch/SKILL.md`: the template line, and the two paying edits (the state-model bullet, the in-flight check line). 3. `scripts/pm/check-skill-line-ratchet.mjs`: the `area-lease.md` row. **Two-minute check:** `node scripts/pm/post-stamped.mjs --self-test` prints `844 cases pass across 30 batteries`. Or write a claim whose surface line is one package in a code span and nothing else, and run `node scripts/pm/post-stamped.mjs --dry-run --comment=38333 --file=THAT_FILE`: it exits 2 and prints `[File surface]` with "reads as a whole package". <details><summary>Local gates at head <code>a9784a6b</code>: 71 derived, 71 run, 71 exit 0, 0 NOT-MEASURED</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (no paths; merge base `4d5cfa9f`, 6 files) derives 71 commands. Each was run with its exit recorded before any pipe, and `--ran` reads the record: ```text Run reconciliation — 71 derived, 71 run, 0 NOT-MEASURED, 0 UNRUN. ✓ dispatch-gates --ran: 71 derived famil(ies) accounted for — 71 run, 0 NOT-MEASURED (a DERIVED zero — all 71 recorded an exit code and none of them is 3). ``` - `pnpm check:pm-post-stamped` exit 0: `844 cases pass across 30 batteries`. - `pnpm check:pm-label-write` exit 0: `407 cases pass across 19 batteries`. - `pnpm check:pm-skill-ratchet`, `pnpm check:pm-skill-id-lint`, `pnpm check:skill-frame-sync`, `pnpm check:pm-governed-prose`, `pnpm check:nul-bytes`: exit 0 each. - `pnpm check:pm-dispatch-gates`, under the shared verify lock: `VERDICT command-exit 0`, fast tier 2686 cases. - `pnpm check:i18n-coverage` and the lint package's `check:doc-formula-expressions` read built packages. On the first pass, with nothing built, both answered exit 3 (PREREQUISITE NOT MET). The packages they name were then built under the lock and the whole list was run again; the record above is that later pass, after the one merge of main. - `node scripts/pm/overlap-check.mjs --branch=HEAD` before each of the two pushes and once more at this head: `VERDICT clean exit 0`. - `node scripts/check-platform-checklist.mjs --changed-from origin/main`: exit 0, 0 anchored files in the change set. CI on this pull was not waited on. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmRJUY9Ncce14hVHd25)_ <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmRJUY9Ncce14hVHd25 --> Co-authored-by: Claude <noreply@anthropic.com>
1 parent c35318c commit 39064f6

6 files changed

Lines changed: 139 additions & 50 deletions

File tree

‎.claude/skills/pm-dispatch/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 →
131131
- 五个 pm 状态标签加 `needs-user-decision` 共六态互斥,转换恒一笔 replace ⛔ 不 add。
132132
- `pm:queue` 卡逾三天欠一次显式转换(派发/转箱/停放/撤单/改前提),⛔ 不是排期。
133133
- hold/blocked 的行契约、双通道与 `Restart-touch:` 触发文件细则见 `references/state-machine.md`。
134-
- `needs-user-decision` 是决定待做,`pm:on-hold` 是决定已做;`manual — <理由>` ⛔ 不是合法出口。
134+
- `Restart-when: manual — <理由>` ⛔ 不是合法出口。
135135
- 无机制可唤醒的卡 ⛔ 不 hold:关 not planned,理由/出处载关单评论;重开免费,维护者可否决。
136136
- 缺陷卡 ⛔ 不藏进 hold 也不自行关闭:可复现且用户可达 ⇒ 回 `pm:queue`。
137137
- declared≠enforced 观察类 ⇒ 转 enforce-or-remove 通道;真 won't-fix 候选 ⇒ 逐卡进决策箱。
@@ -181,7 +181,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 →
181181
- 退役 `domain:*` 只退流通,对象保留;`domain:engine`/`domain:services`/`domain:cli` 读作 `domain:server`。
182182
- `domain:*` 与队列只由分诊落笔;两例外:sub-issue 承父卡域、main-red 锚卡,免审计评论。
183183
- 无分诊审计评论 ⛔ 不得认领;车道席自分诊是上行第三例外,住 `triage-duties.md`。
184-
- 派发前在飞检查 `node scripts/pm/check-handover.mjs --inflight --paths=PATH[,PATH…]`:待派面对 `pm:dispatched` 卡认领申报面本地求交、不另发查询。
184+
- 派发前在飞检查 `check-handover.mjs --inflight --paths=PATH[,PATH…]`:待派面对 `pm:dispatched` 卡认领申报面本地求交、不另发查询。
185185
- 越界只四通道:跟到底的越界面、无主阻塞项、main-red 锚卡、spec.md 搭车。
186186
- 合并队列是共享串行资源:车道买到并行编写,非并行落地。
187187
- 谁发现 flake 谁修或立单,⛔ 不绕行。
@@ -309,7 +309,7 @@ Branch: `claude/issue-<n>-<slug>`
309309
Worktree: `<repo>-issue-<n>`
310310
Domain: `domain:<x>`
311311
Seat: `repo:<name>@<login>` | `epic:#<N>@<login>` (this PM's seat, as it signs)
312-
File surface: `<预期触碰的目录>` (stop on breach; explain in the report)
312+
File surface: `FILE`, `FILE` (目录项后紧跟 `(reason: …)`;同名测试、生成物与 changeset 不列;stop on breach; explain in the report)
313313
Container & model: `<S 级机械卡 / M / L>`, `mode:subagent | mode:cloud | mode:thread`, `model: <档位词,引当次 --tier 输出;天花板拼 CONTRACT_REVIEW_TIER,同行引其 MANDATORY 路径行或 reason:(逐卡裁决,或常设档位令的 id 与时刻);⛔ 不抄模型 id>`, `effort: <medium | high,按卡难度定;xhigh 仅 ADR 修订;安全修复写 high,对抗复核的值只传子代理>`
314314
Clause-②: yes | no
315315
Metadata-protocol: added | narrowed | semantic | none (the kind of change to what a metadata author can write; levels: AGENTS.md's Post-Task Checklist step 3; the dev copies it beside `Clause-②:` into the PR body and each changeset body; a kind other than `none` or a `(narrowing)` arm owes the PR body a third line, from the diff: `Skills-docs: updated here | follow-up owed — FILES | follow-up #N | none — REASON`; `updated here` = the diff teaches it in the docs (in `skills/**` only on `domain:skills` PRs, else `follow-up #N`) and its evals exercise it; the seat files the owed card, rewriting `owed — FILES` to `#N` before ACCEPT via `references/seat-post-protocol.md`'s PR-body line)

‎.claude/skills/pm-dispatch/references/area-lease.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
- `Pre-claim deps:` 卡点名的 `Blocked-by:`、「after #N」逐个已合;热文件照下文重叠检查。
3636
- `Prior rulings read:` 照 `decision-analysis.md`;grep `docs/adr/**`、链卡(⛔ 行在内)与反向 pin 测试;记录冲突,或路线改门的可见行为超出本卡裁决,同作不过。
3737
- 重叠检查:认领前与每次推前跑 `overlap-check.mjs`;exit 1 排所列 PR 后,3 补前提重跑。
38+
- 认领加宽:补 `Claim amendment` 前重跑 `check-handover.mjs --inflight --paths=PATH[,PATH…] --card=N`(只填新增文件与本卡号);无交即补;撞他人认领 ⇒ 该部分排其后(`Notify: serial`)或拆成带 `Blocked-by:` 的卡,⛔ 不越过。
3839
- 认领照 `execution-duties.md` 派发原子对与〈定档〉,`Claim:` 带 `Area: <区>` 行。
3940
- 认领后回读(SKILL.md 标签写四步)只查 `pm:dispatched` 与 assignee,缺即重挂;首推即开 draft PR。
4041
- 认领前照 `dispatch-runbook.md` 派发前置核前提;开线程请求交席位攒批(`coordinator.md` 三)。

‎.claude/skills/pm-dispatch/references/execution-duties.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- fold-or-serial 必答:席或区有 ≥2 张可认领卡同机制或共享热文件,以五门显式答折叠与否。
3030
- 答题处是链首认领(排后的卡另记串行队);不折叠则排队与否照 `area-lease.md` 重叠检查。
3131
- 分诊 `Fold-with: #N` 仅是建议,点名各卡皆无 open PR 才有效;否则各自落地,拒折理由记一行。
32-
- 并行纪律四条(常规,非豁免):① 认领申报文件面到区域级,排队与否照重叠检查。
32+
- 并行纪律四条(常规,非豁免):① 认领申报文件面到文件级,排队与否照重叠检查。
3333
- ② 开 PR 前合一次 main;③ 兄弟卡落地后再合一次;④ 冲突交合并队列仲裁,⛔ 不手动排序。
3434
- 其间 ⛔ 不追 main,`behind` 非理由:只冲突/main 致红/踢出队列才合;入队前按落地 K 与 A 节。
3535
- 派发令与复读请求 ⛔ 不令主动合;合后按 AGENTS.md §10 只重跑它所划的门禁。

‎scripts/pm/check-skill-line-ratchet.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const CEILINGS = new Map([
105105
['.claude/skills/pm-dispatch/references/true-green.md', 2068],
106106
['.claude/skills/pm-dispatch/references/compile-surfaces.md', 2488],
107107
['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 8901], // raised 9070 → 9076 (+6) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): card-pick --why every patrol round; lowered 9076 → 9070 by the PR that moved the tier and effort values to the one home
108-
['.claude/skills/pm-dispatch/references/area-lease.md', 6957], // lowered 6990 → 6986 by the decision-analysis tier-line PR (its pointer paid by two deletions in the same file); before that: raised 6401 → 6586 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053; raised 6586 → 6990 (+404, the landed bytes) by the ruled text (a zone boundary change is the seat's routing call, and a card outside the lease goes to the seat, which picks one of three routes), the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7247665159 (「座位可以自己决定,立卡更新skills」)
108+
['.claude/skills/pm-dispatch/references/area-lease.md', 7220], // raised 6957 → 7220 (+263, the landed bytes) by the ruled text (before a claim is amended wider the in-flight check is re-run on the new files; a part that meets another claim queues behind it or is split to its own card, never proceeds over it), the maintainer's ruling quoted in the body of the rule card and recorded by claim record 7240306887 (「立 B 并派发」); before that: lowered 6990 → 6986 by the decision-analysis tier-line PR (its pointer paid by two deletions in the same file); before that: raised 6401 → 6586 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053; raised 6586 → 6990 (+404, the landed bytes) by the ruled text (a zone boundary change is the seat's routing call, and a card outside the lease goes to the seat, which picks one of three routes), the maintainer's ruling quoted in the body of the rule card and recorded by triage record 7247665159 (「座位可以自己决定,立卡更新skills」)
109109
['.claude/skills/pm-dispatch/references/coordinator.md', 4363], // raised 3781 → 4265 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053; lowered 4265 → 4230 by the PR that moved the tier and effort values to the one home; raised 4230 → 4427 (+197) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」): the coordinator returns an underived ceiling order before a thread opens
110110
['.claude/skills/pm-dispatch/references/untrusted-text.md', 3280],
111111
['.claude/skills/pm-dispatch/references/security-findings.md', 3917],

‎scripts/pm/label-write.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3681,7 +3681,7 @@ export async function selfTest() {
36813681
const SIG = `domain:skills#2 · os-justin · ${SESSION}`;
36823682
const CLAIM_FILE = '/tmp/self-test/claim.md';
36833683
const VERDICT_FILE = '/tmp/self-test/verdict.md';
3684-
const CLAIM = `${SIG}\nClaim: PM loop round 1 · {{NOW}}\nSession: \`${SESSION}\`\nBranch: \`claude/issue-7-fold\`\nSeat: \`domain:skills#2\`\nClause-②: no\nContainer & model: \`S\`, \`mode:subagent\`, \`model: opus\`, \`effort: medium\`\n`;
3684+
const CLAIM = `${SIG}\nClaim: PM loop round 1 · {{NOW}}\nSession: \`${SESSION}\`\nBranch: \`claude/issue-7-fold\`\nSeat: \`domain:skills#2\`\nFile surface: \`scripts/pm/label-write.mjs\` (stop on breach; explain in the report)\nClause-②: no\nContainer & model: \`S\`, \`mode:subagent\`, \`model: opus\`, \`effort: medium\`\n`;
36853685
const VERDICT = `${SIG}\nVerdict: ACCEPT at {{NOW}} — the landing rides this stroke.\n`;
36863686
const files = { [CLAIM_FILE]: CLAIM, [VERDICT_FILE]: VERDICT };
36873687
const NOW = () => new Date(Date.UTC(2026, 10, 8, 15, 0, 0));
@@ -4082,7 +4082,7 @@ export async function selfTest() {
40824082
const route = { requested: 'auto', transport: 'dispatch', reason: 'self-test: dispatch', error: null, session: SESSION };
40834083
const SIG = `domain:skills#2 · os-justin · ${SESSION}`;
40844084
const CLAIM_FILE = '/tmp/self-test/claim.md';
4085-
const CLAIM = `${SIG}\nClaim: PM loop round 1 · {{NOW}}\nSession: \`${SESSION}\`\nBranch: \`claude/issue-7-fold\`\nSeat: \`domain:skills#2\`\nClause-②: no\nContainer & model: \`S\`, \`mode:subagent\`, \`model: opus\`, \`effort: medium\`\n`;
4085+
const CLAIM = `${SIG}\nClaim: PM loop round 1 · {{NOW}}\nSession: \`${SESSION}\`\nBranch: \`claude/issue-7-fold\`\nSeat: \`domain:skills#2\`\nFile surface: \`scripts/pm/label-write.mjs\` (stop on breach; explain in the report)\nClause-②: no\nContainer & model: \`S\`, \`mode:subagent\`, \`model: opus\`, \`effort: medium\`\n`;
40864086
const at = Date.UTC(2026, 10, 8, 15, 0, 0);
40874087
const claimArgv = ['--repo', 'objectstack-ai/objectstack', '--issue', '7', '--add', 'pm:dispatched', '--remove', 'pm:queue', '--assign', 'dev', '--comment-file', CLAIM_FILE];
40884088
const board = fakeBoard({ labels: ['pm:queue', 'domain:skills'], assignees: [], serverNow: at });

0 commit comments

Comments
 (0)