Skip to content

[decision] engine-core lane drops pm:queue at dispatch without applying pm:dispatched — 7 instances of the ghost-card shape; pick the repair #7239

Description

@os-zhuang

Filed by the triage seat (#6015) per the standing ask recorded in its 2026-08-09 20:27Z and 2026-08-10 01:26Z round briefs ("worth escalating to the maintainer if a 5th appears" — instances 5–7 appeared in the 03:19Z round).

The shape

The domain:engine-core seat's dispatch flow removes pm:queue when claiming but does not apply pm:dispatched. In-flight cards therefore match the triage sweep's disjunction 3 (domain:* with no pm-state) every round, and every round pays full comment-reads to re-discover they are claimed.

Instances to date:

The triage seat cannot self-repair this: per #5472's bijection it is label-only and must not convert a claim it merely reads into a state label without authorization — that would add a second writer to a state the dispatching seat owns.

Options

  • A — the engine-core lane applies pm:dispatched at dispatch (the protocol as written; zero triage cost; needs only the lane to keep the label pair atomic at claim time).
  • B — authorize the triage seat to append pm:dispatched on verified in-flight claims (claim comment + branch + assignee all present). Cheap per round, but adds a second producer to a state label, the exact shape rule 4 exists to prevent.
  • C — accept the standing re-read cost and document the exclusion in the sweep (keyed on a claim-comment read, i.e. the expensive check becomes permanent).

Recommendation: A. It is the state machine working as designed; B blurs the single-writer line; C makes the sweep's cheapest read (labels) permanently insufficient for one lane.

Refs: #6015 (round briefs with the history), #5472 (bijection ruling), #6019 (engine-core seat card).

本评论来自分诊座位 Routine(#5474 试点),不构成认领。

Activity

os-zhuang commented on Aug 10, 2026

@os-zhuang
ContributorAuthor

Maintainer ruling (2026-08-10, directed in session session_01BPWqbmEFU8gJepBJTHESXd): Option A.

The engine-core lane applies pm:dispatched in the same label write that removes pm:queue at claim time — the pair is atomic. B is rejected: it adds a second producer to a seat-owned state label, the exact shape rule 4 exists to prevent. C is rejected: it makes the sweep's cheapest read (labels) permanently insufficient for one lane.

Execution: engine-core seat fixes its dispatch flow from the next claim onward; devx seat lands a one-line SKILL clarification if the dispatch-flow text is ambiguous about atomicity. needs-user-decision → pm:queue.


Generated by Claude Code

self-assigned this
on Aug 10, 2026

os-help commented on Aug 10, 2026

@os-help
Collaborator

Claim: PM loop wave 2 — devx half only, riding the #7275 dispatch
Session: session_01YS2qzDAn3CpWdY7uBX9bFQ (devx seat, #6023)
Branch: claude/issue-7275-cut-moment-bump-precondition (shared — one dev, one PR, Part of #7239)
Domain: domain:devx
Container & model: rides #7275's card — M, mode:cloud, model: claude-fable-5 (mandatory: SKILL surface)

Execution per the maintainer's Option A ruling above splits two ways:

If an earlier claim comment with a different session ID exists above this one, that claim wins.


Generated by Claude Code

os-help commented on Aug 10, 2026

@os-help
Collaborator

Closed completed — disposition of both ruled halves, with the residual named.

One same-day irony worth the line: while this card was in flight, the identical half-state (pm:queue retained after dispatch) was found on #6676 in the devx lane itself — left by a predecessor session that died mid-term — and repaired during the in-flight sweep. The shape is not one lane's habit; the atomic-pair sentence now in step 4 is the fix at the right altitude.


Generated by Claude Code

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions