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
pm-dispatch: replace "hot file, one writer" with a claim-time and pre-push merge-tree overlap check (hot-file card A) #33941
documentationImprovements or additions to documentationdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Filing gate ③: maintainer-directed. On 2026-11-15 the maintainer chose 「今天改规则,并立全部 6 张卡」 on the hot-file serialization decision card (consequence as shown: 取消 protocol.ts 独占、关闭 #25467 和 #24586;卡 A 到 F 交各车道立卡,大 PR 和上限门禁仍逐个等您批准). Measurements: the hot-file analysis report (project artifact), re-runnable on request. Cross-lane rule (2026-11-15): no live seat in the owning lane, so domain:server seat 5 files and builds it; the owning lane is notified.
Card A (owning lane: skills; script: devx)
Replace the "hot file, one writer" rule with an overlap check.
A dependency-free script (scripts/pm/) that, for a branch, runs git merge-tree --write-tree --name-only against each open PR head sharing a file and against origin/main, and lists conflicting files. Exit codes: 0 no textual overlap, 1 overlap (lists files), 2 usage.
.claude/skills/pm-dispatch/references/area-lease.md: run it before a claim and before a push; queue only on a real textual overlap. Add: a card in the same series may start on the previous card's branch; new tests go in a new file named by card, never appended to a shared test file.
Done when: the script has a self-test with a real two-branch conflict and a no-conflict case, and area-lease.md names it. Line-ceiling raises, if any, are ruled raises citing this card.
domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG
Scope note at 2026-11-15T14:52Z: the "new tests in a new file named by card" line must not contradict AGENTS.md's rule that a pin for a component with a shared harness file goes into that file as a top-level describe (ruling record 6583487846). Write it as: a new per-card file unless that AGENTS.md rule applies; then the merge-tree overlap check decides. Changing the AGENTS.md rule itself is Tier H and out of this card.
This card replaces "hot file, one writer" with a claim-time and pre-push merge-tree overlap check (hot-file card A). Seats stop queuing behind a file they could share, and real conflicts surface before the merge queue instead of in it (as with #34082 today). The maintainer kept it at p2 in the 2026-11-16 re-grade: 「33941 影响车队的效率啊」, addendum 7 (fleet-efficiency tooling is p2 by default). Free to claim.
Claim: PM loop round 1 · 2026-11-16T23:02Z
Session: session_01ADHkmSXPDB46NVRepWVrL3 (area o2-S session); a card thread of this account's project is the dev and reports its own session id
Account: os-steve
Branch: pending — the card thread's designated branch; a follow-up Claim: from this session names it before the first push
Worktree: objectstack-issue-33941
Domain: domain:server (the card's label, kept by triage 6931095699); the fix paths are domain:skills paths (.claude/**, non-gate scripts/pm/**) — the repo-wide seat carries them under its area lease
Seat: repo:objectstack#2
File surface: one new dependency-free script under scripts/pm/ with its self-test and the wiring its self-test gates require, .claude/skills/pm-dispatch/references/area-lease.md (net +2 lines, paid in the same file first), its row in scripts/pm/check-skill-line-ratchet.mjs only as a ruled raise citing the maintainer's hot-file decision record; root .github/workflows/ci.yml excluded (stop on breach; explain in the report)
Container & model: M, mode:thread, model: TIER_DEFAULT — --tier: no path-derived mandate for these paths, effort: high; the at-tier L2 review on the governed rules text is routed by the area to the L2 seat
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 6931095699
Premise: holds at origin/mainbdd5176 — no scripts/pm/ script runs git merge-tree against open PR heads, and area-lease.md names none; the card's precursor PR #33938 merged (2af9c0a).
Serial constraints cleared: area-lease.md was last changed by PR #34482 (merged, 495a79c); no open PR lists area-lease.md or scripts/pm/check-skill-line-ratchet.mjs (read at 2026-11-16T23:02Z: the skills seat's open PRs #34266 and #34110 touch filing-gate.md, triage-duties.md, check-skill-line-ratchet.mjs — #34110 does: a different row; the later of the two merges main).
Pre-claim lane: domain:skills paths (.claude/skills/pm-dispatch/references/area-lease.md, scripts/pm/ PM tooling, non-gate); assigned to area o2-S by the seat (o2-G handed it back).
Pre-claim deps: no Blocked-by:; "build after #33907 (PR #33938) lands" — PR #33938 merged; hot file idle as above.
Prior rulings read: check-prior-rulings.mjs --card 33941 → 72 title-term hits; ADR-0059 Decision §2, ADR-0056 D10, ADR-0058 D7, ADR-0139 D4, ADR-0006 D1, ADR-0018 Decision §2, ADR-0022 Decision §3; thread: none. The card's own ruling (maintainer 2026-11-15 「今天改规则,并立全部 6 张卡」, quoted in the card body) is the authority; the named ADRs do not bear on PM tooling.
Lease: lease:o2-S. Order: /mnt/project-files/objectstack-seat2/33941-delta.md with the seat's standard order beside it (project share).
{
"issue": 33941,
"status": "done",
"branch": "claude/project-thread-7xrx9z",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34512",
"session": "session_01ADHkmS8jC8KEkmtNMppust",
"premise_still_valid": true,
"summary": "New dependency-free scripts/pm/overlap-check.mjs: merge-tree of a branch against origin/main and every open PR head sharing a file (renames by both names, own PR skipped); exit 0 clean / 1 overlap / 2 usage / 3 cannot answer. Every merge-tree runs with an empty attribute source because a registered merge driver reads a real conflict as clean (measured in the self-test). area-lease.md: Pre-claim deps points at a new overlap-check line (before claim and before every push, queue only on exit 1), plus the same-series start (AGENTS.md section 2 trunk form, no stacked PR) and per-card test files with the shared-harness exception; 3 lines in, 3 out, 71/71, ratchet row unchanged.",
"tests": "node scripts/pm/overlap-check.mjs --self-test at 82900eb0d: 23 cases in 7 batteries pass (real temp git repos; bare remote carrying refs/pull/7/head = real conflict, 8 = same file other hunk, 9 = disjoint; driver control leg: plain merge-tree exit 0, tool reports a.txt). First run with a fixture bug: floor refused all 7 batteries by name (0 cases) — the floor bites. Live: --branch=refs/overlap-check/pull/34110 --exclude-pr=34110 read 52 open PRs, 1 candidate (#34266) clean, exit 0 in 35 s; before deepening the same run exited 3 with the deepen remedy. No ablation: tooling script and text only.",
"gates": "dispatch-gates --commands at 7ec5d5648: 36 derived, 36 run, every one exit 0; --ran: 36 derived, 36 run, 0 NOT-MEASURED, 0 UNRUN. check:doc-formula-expressions after formula+lint build under the lock (VERDICT command-exit 0). After merging origin/main (82900eb0d, 3 commits, none on these paths): self-test and check-skill-line-ratchet re-run green. CI check-runs on PR 34512: in_progress at report time. Gates file: project share objectstack-seat2/33941-gates-ran.txt.",
"line_budget": "area-lease.md 71 -> 71 (ceiling 71, headroom 0), +3/-3; payers: dev pre-PR self-declaration pointer (home os-dev.md Definition of done + AGENTS.md Post-Task 3), W0 card-closing line (home execution-duties.md:62 + W0 maintainer pass), seat-move pointer (home seat-lifecycle.md:43); no ruled raise (no GitHub ruling-record id for the hot-file ruling found)",
"files_changed": ["scripts/pm/overlap-check.mjs (+485)", ".claude/skills/pm-dispatch/references/area-lease.md (+4/-4)"],
"deviations": ["Exit code 3 (cannot answer) added beside the card's 0/1/2 so that an unreadable state never shares a code with an answer.", "Self-test not wired into CI (no package alias, no lint.yml step): area o2-S agreed; precedent check-handover.mjs, first-touch-sweep.mjs, verify-review-tier.mjs.", "PR body carries the harness attribution comment as its first line (os-dev.md exemption), no other HTML comment."],
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "2 — mcp__github__issue_read get, mcp__github__issue_read get_comments (reads only)",
"api_writes": "2 relay writes — fleet-write dispatch pr_create (POST pulls + assignees + labels legs) ; post-stamped --comment=33941 (this report). Reads via gh api GET only.",
"open_questions": [
{ "question": "Needs contract review (Tier S, .claude/**): L2 at head 82900eb0d", "options": ["A route to the L2 seat at this head", "B hold"], "recommendation": "A — check-governed-merges --pr 34512 reads Tier S; no Tier H path" },
{ "question": "Same-series start contradicts AGENTS.md (stacked series not supported); written as the AGENTS.md trunk form with no stacked PR", "options": ["A keep the trunk-form wording", "B drop the series line and file it for a ruling"], "recommendation": "A — AGENTS.md wins over this file and the card's scope note reconciled the test-file line the same way" },
{ "question": "Script name (new internal name, the seat's call)", "options": ["A overlap-check.mjs (used)", "B merge-overlap.mjs", "C hot-file-overlap.mjs"], "recommendation": "A — names the act, not the retired hot-file rule" }
],
"security_findings": "none",
"out_of_scope_findings": ["carrier: area o2-S seat — the serial wording outside this card's surface still stands (execution-duties.md fold-or-serial and its MERGED wait; the hot-file serial queue in seat-post-protocol.md and seat-lifecycle.md); noted, not filed"]
}
documentationImprovements or additions to documentationdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG
Scope note at 2026-11-15T14:52Z: the "new tests in a new file named by card" line must not contradict AGENTS.md's rule that a pin for a component with a shared harness file goes into that file as a top-level describe (ruling record 6583487846). Write it as: a new per-card file unless that AGENTS.md rule applies; then the merge-tree overlap check decides. Changing the AGENTS.md rule itself is Tier H and out of this card.
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server· p2 (kept) · fleet efficiency · 2026-11-16T22:19Z⛔ Not a claim.
This card replaces "hot file, one writer" with a claim-time and pre-push merge-tree overlap check (hot-file card A). Seats stop queuing behind a file they could share, and real conflicts surface before the merge queue instead of in it (as with #34082 today). The maintainer kept it at p2 in the 2026-11-16 re-grade: 「33941 影响车队的效率啊」, addendum 7 (fleet-efficiency tooling is p2 by default). Free to claim.
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3
Claim: PM loop round 1 · 2026-11-16T23:02Z
Session:
session_01ADHkmSXPDB46NVRepWVrL3(area o2-S session); a card thread of this account's project is the dev and reports its own session idAccount:
os-steveBranch: pending — the card thread's designated branch; a follow-up
Claim:from this session names it before the first pushWorktree:
objectstack-issue-33941Domain:
domain:server(the card's label, kept by triage 6931095699); the fix paths aredomain:skillspaths (.claude/**, non-gatescripts/pm/**) — the repo-wide seat carries them under its area leaseSeat:
repo:objectstack#2File surface: one new dependency-free script under
scripts/pm/with its self-test and the wiring its self-test gates require,.claude/skills/pm-dispatch/references/area-lease.md(net +2 lines, paid in the same file first), its row inscripts/pm/check-skill-line-ratchet.mjsonly as a ruled raise citing the maintainer's hot-file decision record; root.github/workflows/ci.ymlexcluded (stop on breach; explain in the report)Container & model:
M,mode:thread,model: TIER_DEFAULT—--tier: no path-derived mandate for these paths,effort: high; the at-tier L2 review on the governed rules text is routed by the area to the L2 seatClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 6931095699
Premise: holds at
origin/mainbdd5176 — noscripts/pm/script runsgit merge-treeagainst open PR heads, andarea-lease.mdnames none; the card's precursor PR #33938 merged (2af9c0a).Serial constraints cleared:
area-lease.mdwas last changed by PR #34482 (merged, 495a79c); no open PR listsarea-lease.mdorscripts/pm/check-skill-line-ratchet.mjs(read at 2026-11-16T23:02Z: the skills seat's open PRs #34266 and #34110 touchfiling-gate.md,triage-duties.md,check-skill-line-ratchet.mjs— #34110 does: a different row; the later of the two merges main).Pre-claim lane:
domain:skillspaths (.claude/skills/pm-dispatch/references/area-lease.md,scripts/pm/PM tooling, non-gate); assigned to area o2-S by the seat (o2-G handed it back).Pre-claim deps: no
Blocked-by:; "build after #33907 (PR #33938) lands" — PR #33938 merged; hot file idle as above.Prior rulings read:
check-prior-rulings.mjs --card 33941→ 72 title-term hits; ADR-0059 Decision §2, ADR-0056 D10, ADR-0058 D7, ADR-0139 D4, ADR-0006 D1, ADR-0018 Decision §2, ADR-0022 Decision §3; thread: none. The card's own ruling (maintainer 2026-11-15 「今天改规则,并立全部 6 张卡」, quoted in the card body) is the authority; the named ADRs do not bear on PM tooling.Lease:
lease:o2-S. Order:/mnt/project-files/objectstack-seat2/33941-delta.mdwith the seat's standard order beside it (project share).objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3
Claim: PM loop round 1 · branch named · 2026-11-16T23:04Z
Follow-up to claim 6932009365 (same seat, same claim).
Thread session:
session_01ADHkmS8jC8KEkmtNMppustAccount:
os-steveBranch:
claude/project-thread-7xrx9zSeat:
repo:objectstack#2objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmS8jC8KEkmtNMppust
os-dev-report
{ "issue": 33941, "status": "done", "branch": "claude/project-thread-7xrx9z", "pr": "https://github.com/objectstack-ai/objectstack/pull/34512", "session": "session_01ADHkmS8jC8KEkmtNMppust", "premise_still_valid": true, "summary": "New dependency-free scripts/pm/overlap-check.mjs: merge-tree of a branch against origin/main and every open PR head sharing a file (renames by both names, own PR skipped); exit 0 clean / 1 overlap / 2 usage / 3 cannot answer. Every merge-tree runs with an empty attribute source because a registered merge driver reads a real conflict as clean (measured in the self-test). area-lease.md: Pre-claim deps points at a new overlap-check line (before claim and before every push, queue only on exit 1), plus the same-series start (AGENTS.md section 2 trunk form, no stacked PR) and per-card test files with the shared-harness exception; 3 lines in, 3 out, 71/71, ratchet row unchanged.", "tests": "node scripts/pm/overlap-check.mjs --self-test at 82900eb0d: 23 cases in 7 batteries pass (real temp git repos; bare remote carrying refs/pull/7/head = real conflict, 8 = same file other hunk, 9 = disjoint; driver control leg: plain merge-tree exit 0, tool reports a.txt). First run with a fixture bug: floor refused all 7 batteries by name (0 cases) — the floor bites. Live: --branch=refs/overlap-check/pull/34110 --exclude-pr=34110 read 52 open PRs, 1 candidate (#34266) clean, exit 0 in 35 s; before deepening the same run exited 3 with the deepen remedy. No ablation: tooling script and text only.", "gates": "dispatch-gates --commands at 7ec5d5648: 36 derived, 36 run, every one exit 0; --ran: 36 derived, 36 run, 0 NOT-MEASURED, 0 UNRUN. check:doc-formula-expressions after formula+lint build under the lock (VERDICT command-exit 0). After merging origin/main (82900eb0d, 3 commits, none on these paths): self-test and check-skill-line-ratchet re-run green. CI check-runs on PR 34512: in_progress at report time. Gates file: project share objectstack-seat2/33941-gates-ran.txt.", "line_budget": "area-lease.md 71 -> 71 (ceiling 71, headroom 0), +3/-3; payers: dev pre-PR self-declaration pointer (home os-dev.md Definition of done + AGENTS.md Post-Task 3), W0 card-closing line (home execution-duties.md:62 + W0 maintainer pass), seat-move pointer (home seat-lifecycle.md:43); no ruled raise (no GitHub ruling-record id for the hot-file ruling found)", "files_changed": ["scripts/pm/overlap-check.mjs (+485)", ".claude/skills/pm-dispatch/references/area-lease.md (+4/-4)"], "deviations": ["Exit code 3 (cannot answer) added beside the card's 0/1/2 so that an unreadable state never shares a code with an answer.", "Self-test not wired into CI (no package alias, no lint.yml step): area o2-S agreed; precedent check-handover.mjs, first-touch-sweep.mjs, verify-review-tier.mjs.", "PR body carries the harness attribution comment as its first line (os-dev.md exemption), no other HTML comment."], "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "2 — mcp__github__issue_read get, mcp__github__issue_read get_comments (reads only)", "api_writes": "2 relay writes — fleet-write dispatch pr_create (POST pulls + assignees + labels legs) ; post-stamped --comment=33941 (this report). Reads via gh api GET only.", "open_questions": [ { "question": "Needs contract review (Tier S, .claude/**): L2 at head 82900eb0d", "options": ["A route to the L2 seat at this head", "B hold"], "recommendation": "A — check-governed-merges --pr 34512 reads Tier S; no Tier H path" }, { "question": "Same-series start contradicts AGENTS.md (stacked series not supported); written as the AGENTS.md trunk form with no stacked PR", "options": ["A keep the trunk-form wording", "B drop the series line and file it for a ruling"], "recommendation": "A — AGENTS.md wins over this file and the card's scope note reconciled the test-file line the same way" }, { "question": "Script name (new internal name, the seat's call)", "options": ["A overlap-check.mjs (used)", "B merge-overlap.mjs", "C hot-file-overlap.mjs"], "recommendation": "A — names the act, not the retired hot-file rule" } ], "security_findings": "none", "out_of_scope_findings": ["carrier: area o2-S seat — the serial wording outside this card's surface still stands (execution-duties.md fold-or-serial and its MERGED wait; the hot-file serial queue in seat-post-protocol.md and seat-lifecycle.md); noted, not filed"] }