Skip to content

Fleet patrol: the first-touch sweep's ③ row reads pm:epic as stateless, while H13 counts it as a state #35613

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

Filing gate: ① a defect with a named location, found in landed work's review (PR #35532 contract review, comment 7012326518, ③ boundary flags). Source: fleet. Grading: area:fleet · Bug · p2 · reach: the daily sweep's ③ row lists 3 open epic cards (#34571, #35547, #35590, measured 2026-11-19 17:40Z on main f981dce3be), up from 1 at 14:27Z, one more per stateless epic · evidence: measured. Parent: #35470.

Business reason: triage runs the sweep to empty every fire, with no per-card waiver (triage-duties.md:20). An epic card the maintainer opened with an area and a grade but no dispatch position shows as FOUND on every fire. The only way to clear it today is to write a position onto that epic. Two instruments read the same rule phrase with two vocabularies, so one of them is wrong.

Duplicate search, open and closed: is:issue first-touch-sweep pm:epic ③ found #35234, #35470, #34366, #35259 and #11904. None is this defect: #35470 removed epics from the type row only and kept the area row on purpose. The source is the review record above.

What is wrong

  • The rule phrase is 「③ area:* 无 pm-state」 (.claude/skills/pm-dispatch/references/triage-duties.md:17).
  • scripts/pm/first-touch-sweep.mjs:159 reads it with PM_EXCLUSIVE_STATE_LABELS (the six dispatch positions), which leaves pm:epic out.
  • H13 reads the same phrase with PM_STATE_LABELS (scripts/pm/check-half-states.mjs:3798). Its docblock says it mirrors disjunct ③, and it counts pm:epic.
  • The rule text leans toward H13: the label table gives pm:epic its own meaning, a parent card is never dispatched (triage-duties.md:72), and no line asks an epic for one of the six positions.

What lands

  1. ③ counts pm:epic as a state, as H13 does (recommended by the review). The other option, a rule line saying an epic owes a position, is the rule owner's call. If the seat picks it, it needs the maintainer, because it changes what epics carry.
  2. Self-test cases: an area:* + pm:epic card draws no ③ row, and an area:* card with no state still does. Run an ablation on each.
  3. scripts/pm/** only. skip-changeset, Clause-②: no, Metadata-protocol: none.

Done when

The daily sweep lists no pm:epic card under ③, and a self-test pins it.

Activity

  1. added
    priority:p2
    pm:queue
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx

    Claim: PM loop round 1 · 2026-11-19T17:38Z
    Area: b1-H
    Session: session_01L6bhgWh7NM35xq2HajeYCx
    Thread session: session_01L6bhgWh7NM35xq2HajeYCx
    Account: os-sales
    Branch: claude/project-thread-vm9eti
    Worktree: objectstack-issue-35234
    Domain: none (card carries area:fleet)
    Seat: repo:objectstack#1
    File surface: scripts/pm/first-touch-sweep.mjs (disjunct ③'s state set) and its in-file self-test (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default — dispatch-gates --tier: no path-derived mandate, effort: high (the same dev round as #35234)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: scripts/pm/first-touch-sweep.mjs in objectstack (disjunct ③ reads PM_EXCLUSIVE_STATE_LABELS, which leaves pm:epic out, while H13 reads PM_STATE_LABELS) | no other path covers it | triage reads the ③ row on every sweep fire
    Thread-read: none
    Premise: holds
    Serial constraints cleared: folded into PR #35587 (card #35234, same files and mechanism; seat 1's order under the maintainer's 「能合并处理的卡尽量合并处理」). #35532 has landed (f981dce); the branch merges main once for it. No other open PR touches first-touch-sweep.mjs.
    Pre-claim lane: area:fleet — the path is under scripts/pm/**
    Pre-claim deps: no Blocked-by:
    Prior rulings read: the card's option 1 (③ counts pm:epic as H13 does) is the route taken; option 2 (a rule line that an epic owes a position) is not taken, so nothing goes to the maintainer; #35470 kept epics on the area row on purpose and this does not change that row


    Generated by Claude Code

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgWh7NM35xq2HajeYCx
    os-dev-report

    Landed in PR #35587 on branch claude/project-thread-vm9eti.

    {
      "issue": 35613,
      "status": "done",
      "branch": "claude/project-thread-vm9eti",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35587",
      "pr_number": 35587,
      "head_sha": "560644f799c6d994221cde8e81cae1b7df74f45e",
      "session": "session_01L6bhgWh7NM35xq2HajeYCx",
      "premise_still_valid": true,
      "merge": "origin/main f981dce3be (with #35532) was merged once into the branch, no rebase: merge commit 7d2be2b4 (parents c8a8b2c2, f981dce3), no conflict. Its message was amended before the push to carry the model-free trailer pair.",
      "tests": "first-touch-sweep --self-test: exit 0, 69 cases across 6 batteries. Two new classifier cases: `area:fleet` + `pm:epic` + `priority:p1` draws no ③ row; the same card without pm:epic still draws [3]. The classifier battery pin moved 20 -> 22, with a comment. check-half-states --self-test: exit 0, 5389 cases after the merge. Ablation 12 on 560644f7, via scripts/ablation-replace.mjs WRAP: `|| has(EPIC_LABEL)` removed from ③'s state. Mutation landed (anchor 1 -> 0, blob 271804fadd35 -> 0c338feca96f). Result: 1 of 69 failed (the pm:epic case got [3], want []), exit 1. Restored: blob == HEAD 271804fadd35, git diff HEAD empty. Live, read-only: node scripts/pm/first-touch-sweep.mjs --repo=objectstack-ai/objectstack at 2026-11-19T17:42Z, 475 open issues enumerated. ③ lists 7 cards (#35593 #35595 #35596 #35597 #35599 #35601 #35602) and none of #34571, #35547 or #35590. Each of those three is open and carries pm:epic + area:ux, read by REST. Exit 4 = PARTIAL, the expected verdict without --since.",
      "gates": "Head 560644f7, each exit code captured before any pipe: check-half-states --self-test exit 0 (5389); check-owed-reviews --self-test exit 0 (94); fleet-roster --self-test exit 0 (118 in 10 batteries); first-touch-sweep --self-test exit 0 (69); pnpm check:pm-half-states exit 0; pnpm check:nul-bytes exit 0; pnpm check:scripts-symbol-anchors exit 0 (4492 anchors across 300 scripts resolve). check-partof-closing-keyword exit 0, run with PR_BODY set to a proxy: the pending round-two body plus a `Fixes #35613` line, since the seat's final body was not handed over. CI not polled.",
      "overlap_check": "node scripts/pm/overlap-check.mjs --branch=HEAD on 560644f7, before the push: exit 0, VERDICT clean. origin/main (f981dce3be) merges cleanly; 0 open PR heads share a file.",
      "line_budget": {
        "scripts/pm/first-touch-sweep.mjs": "+9/-3"
      },
      "dogfood_battery": "n/a — the PR title has no !, and Clause-②: no carries no (narrowing) arm",
      "mcp_calls": "0 — no MCP GitHub tool called, read or write",
      "security_findings": "none",
      "summary": "Option 1 from the card. scripts/pm/first-touch-sweep.mjs classify() now computes ③'s state as PM_EXCLUSIVE_STATE_LABELS or pm:epic, matching H13's PM_STATE_LABELS reading of the same rule phrase. The ③ doc line says why. Only ③ changed: lacksType (the type row, which exempts pm:epic) and lacksArea (the area backstop, which still lists an epic with no area:*, as #35470 kept on purpose) are untouched. The `state` variable is read only by ③. The fix lands in PR #35587 (the #35234 claim); the seat adds the closing line.",
      "files_changed": [
        "scripts/pm/first-touch-sweep.mjs"
      ],
      "relay_write_strokes": 2,
      "api_writes": "3 — git push 560644f7 to claude/project-thread-vm9eti (not a REST write); relay post-stamped -> POST /issues/35234/comments; relay post-stamped -> POST /issues/35613/comments (this report). PR body not touched.",
      "open_questions": [],
      "out_of_scope_findings": []
    }

    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

Labels

area:fleetpm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions