Skip to content

pm-dispatch triage: a flake that ejects merge groups on two or more heads is p0, and its accepted fix is jumped the same round (queue#1 vacant → triage covers) #34152

Closed

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate: ③ maintainer-directed. On the triage thread, 2026-11-15, after the run-date.test.ts timeout ejected merge groups for about three hours: 「34104 已经提前了,这个问题严重,提前你为什么不处理」 and 「队列恢复后,你应该用邮箱通知各席位吧?」, then 「看看你的哪些skills和项目中不一致的,需要立卡更新」. ⛔ Not a claim.

维护者速读

  • 现象: 一个超时型 flake(Queue-flake anchor: test/runner/run-date.test.ts #34081)从 17:47 到 21:45 连续踢掉多个排头组,main 两小时只合进约一组/小时。修复 PR test(scenarios): walk the working-day calendar once in the run-date oracle #34104 19:12 已过席位核对,却一直排在后面,最后是您手动提前的。
  • 规则缺口:
    • 分诊规则写「flake 锚卡判确定性才升 p0」,所以分诊迟迟没升级。
    • 插队工具(中继 pr_enqueue_front)写在队列席章程里,而队列席 queue#1 没人坐,分诊的规则里没写由它兜底。
  • 要改的:
    • 同一签名踢掉 ≥2 个排头组的 flake 当轮定 p0。
    • 队列席空缺时,分诊照插队规则把已过核对的修复 PR 插到队首,事后报您。
    • 恢复后照 L40 逐席敲门通知重投。
  • 受管文件: .claude/** 文本,需您合并。

Where (origin/main)

  • .claude/skills/pm-dispatch/references/triage-duties.md, the line 「主干全量红与确定性队列红首触定 p0(…);flake 锚卡判确定性才升。」
  • .claude/skills/pm-dispatch/references/landing-operations.md L33-37: jump reasons; reason (a) covers exactly this case.
  • .claude/skills/pm-dispatch/references/lanes/queue.md L20-22: the jump belongs to the queue seat, which is unseated; no fallback is named.
  • .claude/skills/pm-dispatch/references/project-forms.md L40: when an anchor closes, triage sends Notify: main-green to every open PR whose body carries Waits-on: main-red #n. A queue flake's ejected PRs carry no such line, so nothing tells their seats to re-enqueue.

Change

  1. triage-duties: a flake anchor whose one signature ejects merge groups on two or more heads within a rolling 2 h is graded p0 the round it is seen. It is a queue blocker whatever its root cause, and it drops when the fix lands.
  2. triage-duties or queue.md: while queue#1 is vacant, triage holds the queue seat's jump duty. When that p0's fix PR has a seat ACCEPT, triage sends pr_enqueue_front the same round under reason (a): audit comment first, one jumper per repository, and reports to the maintainer after the fact. Triage never asks the maintainer to jump a PR the relay can jump.
  3. project-forms L40: extend the Notify: main-green knock to queue-flake anchors. When the anchor closes, triage knocks the seat of each PR the signature ejected that is still open and not back in the queue, one knock per PR.

Evidence

Activity

  1. added
    tooling
    priority:p1
    pm:queue
    domain:skills
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: addendum from the #34150 misgrade · 2026-11-15T23:45Z

    ⛔ Not a claim.

    Add one precondition to change 1: before grading a queue-flake anchor p0, confirm that the failing case exists on main. The merge-queue-triage workflow counts groups stacked behind one queued pull as independent heads. So a pull's own new failing test (#34150, from PR #34097) can look like three independent hits when it is one pull. In that case the remedy is to dequeue that pull, not a p0 or a jump. ui#1's reading on #34150 (22:53Z) is the worked example.

  3. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

    Claim: PM loop round 2 (lane reopened, one seat)
    Session: session_01ADHkmRxXmVQ41fqnaTPGAv
    Account: os-steve
    Branch: claude/project-thread-rk9ay5
    Thread session: session_01ADHkmQPuC6qHHGjvFP5YBj
    Worktree: objectstack-issue-34152
    Domain: domain:skills
    Seat: domain:skills#2
    File surface: .claude/skills/pm-dispatch/references/triage-duties.md, references/lanes/queue.md, references/project-forms.md (in-place edits, ratchet headroom 0 paid in-family; a pointer line in lanes/triage.md only if a rule moves); ⛔ not landing-operations.md (stop on breach)
    Container & model: S, mode:thread, model: TIER_DEFAULT (dispatch-gates --tier: no path mandate for .claude/**), effort high; L2 review by review#2 per the maintainer's 2026-11-15 21:53Z order, no fable subagent.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6903390117
    Premise: holds (main aab8b318: triage-duties.md line 30 still raises a flake anchor only when deterministic; lanes/queue.md names no fallback for a vacant queue seat; project-forms.md line 40 knocks main-green only for Waits-on: main-red PRs)
    Serial constraints cleared: region-disjoint from open PR #34110 (triage-duties.md line 19) and PR #34052 (triage-duties.md 13/16/43, project-forms.md 13/37); the later lander merges main. #34153 and #34203 held serial.
    Ruling-ref: maintainer-directed (filing gate ③, quoted on the card) and triage addendum 6903390117; the maintainer reopened the lane 2026-11-16 01:06Z (「skills 继续上班,保留一个座位」). Order: /mnt/project-files/skills-seat2/standard-order.md + 34152-delta.md (project files). Claimed 2026-11-16T01:11Z.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 16, 2026
  5. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmQPuC6qHHGjvFP5YBj
    os-dev-report

    {
      "issue": 34152,
      "status": "done",
      "branch": "claude/project-thread-rk9ay5",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34222",
      "session": "session_01ADHkmQPuC6qHHGjvFP5YBj",
      "premise_still_valid": true,
      "summary": "Three in-place edits on main dfb8ed35 (the delta's aab8b318 has moved; the cited lines are unchanged). triage-duties.md: a queue flake whose one signature ejects merge groups on >=2 independent heads within 2 h is p0 the round it is seen, drops when the fix lands, with the addendum's precondition (failing case already on main; groups stacked behind one queued pull are one head; its own new red test is a dequeue, not a p0). lanes/queue.md: while the queue seat is vacant triage sends the ACCEPTed fix of that p0 to the front the same round under reason (a), reports after the fact, never asks the maintainer to jump what the relay can jump; audit/one-jumper/3,000-line rules cited from landing-operations.md (not edited). project-forms.md: a queue-flake anchor closing knocks each ejected PR still open and out of the queue with the unchanged Notify: main-green key, one knock per PR.",
      "tests": "Rules text only; no code or test changed, no ablation.",
      "gates": "Head 12786608, dispatch-gates --commands (no paths): 21 derived, 21 run, all exit 0 (check:pm-skill-ratchet, check:pm-skill-id-lint, check:pm-record-recognisers among them). check:doc-formula-expressions exited 3 (PREREQUISITE NOT MET) until formula + lint were built under os-verify-lock (VERDICT command-exit 0 twice), then exit 0. --ran: '21 derived famil(ies) accounted for - 21 run, 0 NOT-MEASURED'. CI check-runs on PR #34222: in_progress at report time. check-governed-merges --pr 34222: Tier S, +7/-7.",
      "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "4 - mcp__github__issue_read x3 (get, get_comments x2), mcp__github__pull_request_read x1 (get); no MCP write tool",
      "api_writes": "2 - relay pr_create (fleet-write run 43786070807, PR #34222, labels skip-changeset, assignees os-steve); this os-dev-report comment via post-stamped. git push is not a REST write.",
      "files_changed": [
        ".claude/skills/pm-dispatch/references/triage-duties.md",
        ".claude/skills/pm-dispatch/references/lanes/queue.md",
        ".claude/skills/pm-dispatch/references/project-forms.md"
      ],
      "line_budget": "triage-duties.md 104->104 (ceiling 104; +2 paid by deleting the pm:blocked/Blocked-by line, home state-machine.md 25-26 + platform-readings.md 246 + SKILL.md state table, and the Release: contents line, home label-write.mjs --release + SKILL.md 145 + execution-duties.md 92); lanes/queue.md 32->32 (+2 paid by deleting two lines verbatim in landing-operations.md 36-38); project-forms.md 59->59 (+1 paid by deleting the security mailbox line, home security-findings.md section 2 line 14 and section 8 'no second copy'). Widest 120/119/120 bytes. No re-wrap counted. Ceiling rows untouched.",
      "deviations": [
        "Base is main dfb8ed35, not the delta's aab8b318 (main moved; cited lines unchanged).",
        "triage-duties.md exception line 'reclaim: 下三行' -> '下两行' because one of the three lines it covered was deleted to pay the budget (same bytes)."
      ],
      "open_questions": [
        {
          "question": "record-recognisers.mjs notify:main-green row prose (to/when, printed by --mailbox-keys) still names only Waits-on: main-red PRs; the template reads the queue-flake knock unchanged. Widen the prose?",
          "options": [
            "A: seat files a small scripts/pm card to widen the row's to/when prose (self-test unaffected)",
            "B: leave it; the protocol text is the authority and the template already reads"
          ],
          "recommendation": "A, because --mailbox-keys is what seats copy and it should not describe a narrower event than the rule"
        },
        {
          "question": "project-forms.md budget was paid by deleting the security-finding mailbox line (a second copy under security-findings.md section 8). Acceptable, or prefer another payer?",
          "options": [
            "A: keep the deletion (section 8 forbids a second copy; 'only the number' stays in the Notify: security row)",
            "B: restore it and delete another project-forms line the seat names"
          ],
          "recommendation": "A, because the surviving home is the security file's own one-place rule"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Stamped 2026-11-16T01:25Z.


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmQPuC6qHHGjvFP5YBj
    os-dev-report

    {
      "issue": 34152,
      "status": "done",
      "branch": "claude/project-thread-rk9ay5",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34222",
      "session": "session_01ADHkmQPuC6qHHGjvFP5YBj",
      "premise_still_valid": true,
      "summary": "Round 2 on head 9779c869 against review#2 record 6904856669 (FAIL on 12786608). M1: the project-forms.md security-knock line is restored verbatim at its place; the line is paid by the roster column list, which fleet-roster.mjs generates and spells as its table header (the roster line now names the generator). S1: the second deputy rule in lanes/queue.md is removed; the obligation (p0 queue-flake fix with ACCEPT jumped the same round under (a), reported after the fact, never asking the maintainer for what the relay can do) hangs on the existing 本席未开 line; (b)/(c) untouched. S2: 「修复合入关卡,2h 无新踢按上行定」 inside the existing two lines. N1 「例外:」, N2 「一 PR 一敲」 dropped (fold into the main-green row does not fit 120 B), N3 pointers to lanes/queue.md for the count and the ejected list. N4 noted, not changed, in the PR body. PR body rewritten via relay issue_patch with a section answering each id.",
      "tests": "Rules text only; no code or test changed, no ablation.",
      "gates": "Head 9779c869, dispatch-gates --commands (no paths): the same 21 families as round 1, all run, all exit 0 (check:pm-skill-ratchet, check:pm-skill-id-lint, check:pm-record-recognisers among them). --ran: '21 derived famil(ies) accounted for - 21 run, 0 NOT-MEASURED'. CI check-runs on the new head: in_progress at report time. PR still draft.",
      "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "6 cumulative - mcp__github__issue_read x3 (get, get_comments x2), mcp__github__pull_request_read x3 (get, get_comments, get_files); no MCP write tool",
      "api_writes": "4 cumulative - relay pr_create (run 43786070807), os-dev-report r1 comment 6904760034, relay issue_patch of the PR body (run 43787807506, 7671 bytes sent = stored), this r2 report comment. git push is not a REST write.",
      "files_changed": [
        ".claude/skills/pm-dispatch/references/triage-duties.md",
        ".claude/skills/pm-dispatch/references/lanes/queue.md",
        ".claude/skills/pm-dispatch/references/project-forms.md"
      ],
      "line_budget": "triage-duties.md 104->104 (ceiling 104; +2 paid by the Blocked-by line and the Release: contents line, homes accepted in record 6904856669); lanes/queue.md 32->31 (+1, two lines verbatim in landing-operations.md 36-38 deleted); project-forms.md 59->59 (+1 continuation, M1 line restored, paid by the roster column list whose home is fleet-roster.mjs renderBody's table header). Widest 120/119/120 B. No re-wrap counted.",
      "deviations": [
        "Base is main dfb8ed35, not the delta's aab8b318 (cited lines unchanged).",
        "M1's payer is the roster column list: its home is the generator's English table header, not a Chinese line word for word; the seat or reviewer may prefer another payer."
      ],
      "open_questions": [
        {
          "question": "lanes/queue.md now sits at 31 against its ceiling row 32 (row in scripts/pm/check-skill-line-ratchet.mjs, outside this card's surface). Lower the row?",
          "options": [
            "A: leave headroom 1; a later edit to queue.md lowers it",
            "B: seat lowers the row 32 -> 31 in a follow-up"
          ],
          "recommendation": "A, because the ratchet is green either way and the row is outside the file surface"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Stamped 2026-11-16T01:43Z.


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

    Landed: PR #34222 merged 2026-11-16T02:47Z (merge queue; Tier S, landed by this seat on review#2 PASS); card closed by its Fixes line. pm:dispatched released.

  8. removed
    pm:dispatched
    on Nov 16, 2026
  9. added a commit that references this issue on Nov 16, 2026
    35cc663
  10. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: measured, pr_enqueue_front cannot move an already-queued pull · 2026-11-16T06:45Z

    ⛔ Not a claim.

    First live stroke, on PR #34323 (the fix for p0 #34271), relay run 43818768994: GitHub answered "Pull request is already in the queue". The jump op only works on a pull that is not yet queued. Since a seat's ready + auto-merge enqueues the fix at the back right away, the duty this card proposes needs one of two orders:

    • (i) The seat holds auto-merge on a p0 queue-flake fix until triage has jumped it. The jump enqueues it at the front.
    • (ii) A combined dequeue-then-front stroke for an already-queued fix.

    Option (ii) means two writes and a rebuild of the groups behind it. (i) is cheaper and needs no new op. Add (i) to change 2, and correct the ops.mjs NOT MEASURED note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:skillspriority:p1tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions