Skip to content

pm scripts: turn retyped prose procedures into scripts, including a card-pick reader by epic and area (step 6) #35237

Open

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

Filing gate: child of epic #35205, filed by seat 1. Ruling-ref: the maintainer said 「同意」 (2026-11-18 16:19Z) to the fleet skills review and its order of improvements (summary https://claude.ai/artifact/9TAontjAcKHUuajPPSKTGX; the three reports are in the project files under pm-orders/objectstack/skills-review-2026-11-18/). ⛔ Not a claim.

The order is one step, one PR, starting after the rule PR for #35207 merges: skill ratchet by bytes → #35215 (clear current values) → contradictions → slim entry files → lanes become seats plus epics (text → scripts → lane files) → split platform-readings → prose into scripts → each repo's rules back to its own repo, cloud skills and dogfood.

What to do

Step 6. Turn the procedures that the skills spell out as prose and that a seat retypes every time into scripts. The reports' section 4 lists the candidates. This includes a card-pick reader by epic and area, which answers which ready cards a seat should take next under the grade rules. Each script replaces its prose with one line naming the command.

Done when

Each listed procedure is a script with a self-test, the prose is a one-line pointer, and the card-pick reader works against the live board.

Activity

  1. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#35205#1 · os-warren · session_01JQwxbYJqoPAoSpWTMpH1yq

    State: pm:blocked → pm:queue (the chain is cut) · 2026-11-19

    Was: pm:blocked on #35236. New scripts share no file with the platform-readings split.

    Order: Warren, 2026-11-19 00:32Z 「可以拆的都同意。」 (item 6: the fleet skills clean-up chain becomes parallel; #35229 starts now). Rule: #35259 item 6 — fleet cards block each other only when they edit the same files. The new order is on #35205.


    Generated by Claude Code

  2. added
    pm:queueReady for the PM dispatch loop
    and removed
    pm:blockedBlocked by another issue/PR — body carries Blocked-by: #N
    on Nov 19, 2026
  3. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbYHmpLgwQvpwmbGvLL

    Grade: p2 → p1 — the maintainer's manual grade (no triage or seat moves it).

    Source: Warren, 2026-11-19 in the objectstack cloud os project thread: 04:51Z 「哪几个没做的,改到 p1」 — the not-yet-started fleet skill cards #35259, #35298, #35215, #35229–#35232 and #35234–#35238; 04:52Z 「不是让你做」 — relabel only. State label, assignee and Blocked-by lines are unchanged; nobody claims the card by this comment.

  4. added
    priority:p1High: required for production / M2
    and removed on Nov 19, 2026
  5. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

    Claim: PM loop round 1 · 2026-11-19T10:32Z
    Area: fleet-1
    Session: session_01Utp6CaAqjP52wVTzs99H5G
    Account: os-bill
    Branch: claude/project-thread-w9aa30 (restarted from origin/main a1b14cdff8; its earlier PR #35406 has merged)
    Worktree: objectstack-issue-35237
    Domain: domain:skills
    Seat: repo:objectstack#5
    File surface: PR 1 of this card only: scripts/pm/card-pick.mjs (new), scripts/pm/os-verify-lock.sh (--depth), scripts/pm/check-prior-rulings.mjs (--paths), their self-tests and the existing check:pm-* chain wiring in package.json, and one-line pointers in .claude/skills/pm-dispatch/references/{execution-duties,seat-lifecycle,coordinator}.md (optional rider lanes/director.md). Not area-lease.md, not dispatch-runbook.md, no ratchet ceilings. (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default — dispatch-gates --tier: no path-derived mandate, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7000205001
    Premise: holds — no script in scripts/pm/ produces a pick list today (scope read, grep of 取卡/pick)
    Resume-from: none
    Serial constraints cleared: PR #35385 (blocking-relation rules, execution-duties.md 53-59) merged a1b14cdff8; PR #35406 merged. The card's later slices (landing reads; health; in-flight and round-open after #35232/#35235; os-dev pointers after #35231) are separate PRs, Part of.
    Pre-claim lane: area:fleet / domain:skills — scripts/pm/**, .claude/skills/pm-dispatch/references/**
    Pre-claim deps: no Blocked-by:; the maintainer's grade p1 (comment 7000205001)
    Prior rulings read: the maintainer's 「同意」 to the skills review order and Warren's 「可以拆的都同意」 (quoted on the card); docs/NORTH-STAR.md "Priority" rule 3 is the pick order the reader encodes; no conflicting record

  6. added
    pm:dispatchedDispatched to a dev agent by /pm-dispatch
    and removed
    pm:queueReady for the PM dispatch loop
    on Nov 19, 2026
  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G
    os-dev-report

    {
     "issue": 35237,
     "status": "done",
     "branch": "claude/project-thread-w9aa30",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35482",
     "head_sha": "8fee4048ce3d932ef7e950ac5374d9cd5fcc3d93",
     "session": "session_01Utp6CaAqjP52wVTzs99H5G",
     "premise_still_valid": true,
     "summary": "PR 1 of #35237 (Part of, draft). New scripts/pm/card-pick.mjs ranks the open pm:queue board under NORTH-STAR Priority rule 3. Order: p0, then p1 from any area, then the --order items (epic child order, area p2), then the ungraded leg. p3 goes only under Rides. Same-grade order: non-fleet, then Bug, then age. Exclusions: assignee, dispatched, decision, retriage, second pm state, epic/tracking parent, open line-start Blocked-by (a PR target holds until it merges), a newest Claim with no Release, no triage audit. --why names every other card's blocking point; the footer names the four legs the reader cannot read. os-verify-lock.sh --depth prints depth = live queue + 1 (holder and parked not counted) against LOCK_DEPTH_HOLD=2 and exits 0 go / 1 wait / 3 unreadable. check-prior-rulings.mjs --paths prints three readings: the four ruling words grepped over the declared surface with the rule's verdict words; git log -20 with dispatch-runbook's verbatim same-day line; and the current state and assignees of every card the body and thread name. Prose in execution-duties (189->183), seat-lifecycle (99->97) and coordinator (51->51) becomes one-line pointers; no ratchet ceiling touched. card-pick --self-test now rides check:pm-prior-rulings, with no new CI job.",
     "files_changed": [
      ".claude/skills/pm-dispatch/references/coordinator.md +2/-2",
      ".claude/skills/pm-dispatch/references/execution-duties.md +3/-9",
      ".claude/skills/pm-dispatch/references/seat-lifecycle.md +1/-3",
      "package.json +1/-1",
      "scripts/pm/card-pick.mjs +891/-0 (new)",
      "scripts/pm/check-prior-rulings.mjs +294/-6",
      "scripts/pm/os-verify-lock.sh +88/-1"
     ],
     "tests": "At head 8fee4048ce. card-pick --self-test exit 0: 51 cases pass across 8 batteries (named-battery floor and handshake). It pins p0 first; an unnamed-area p1 over a named-area p2; p3 only in Rides; an open, comment-borne or closed-unmerged-PR Blocked-by blocking while a merged PR or closed issue releases and a cross-repo target is read in its own repo; the same-grade tiebreaks; epic child order; claim, release and triage audit; paging, count gap, --limit and --why; CLI exits and footer. The drift pins hold NORTH-STAR rule 3's four clauses plus the execution-duties, state-machine and seat-lifecycle phrases. os-verify-lock --self-test exit 0, all cases pass, 5 new --depth cases. check-prior-rulings --self-test exit 0: 173 cases pass, 19 of them new --paths cases (drift pins on execution-duties and on dispatch-runbook's same-day line). Ablations used scripts/ablation-replace.mjs, mutation proven on disk and restored to the HEAD blob with git diff HEAD empty. card-pick: res.unmerged -> false; self-test exit 1 on 'a closed-but-unmerged PR target still blocks'; restored 1cc35e9b89bf. os-verify-lock: depth >= hold -> depth > hold; self-test exit 1 on 'depth 2 reaches the hold and exits 1'; restored b671fb071521. check-prior-rulings: zero-hit guard deleted; self-test exit 1, 2 cases red; restored de1240b3da76. No build or dist is involved: these are scripts.",
     "gates": "Local. dispatch-gates --commands derived 82 families (change set: 7 paths vs merge base a1b14cdff), all 82 run: 76 exit 0; 6 exit 3 PREREQUISITE NOT MET, read as NOT MEASURED because they need built dist and the diff touches no workspace package (check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:i18n-coverage, check:lean-entry-closure, check:sourcemap-no-sources-content). dispatch-gates --ran: 82 derived, 82 run, 0 UNRUN. Exits captured to files before any pipe. Re-run at final head 8fee4048ce after merging origin/main 6f36818f03: check-skill-line-ratchet 0, pnpm check:pm-skill-ratchet 0, check:pm-skill-id-lint 0, check:pm-governed-prose 0, check:pm-prior-rulings 0, check:nul-bytes 0, check-self-test-wired 0, check-skills-token-ratchet 0, the three self-tests 0. overlap-check: VERDICT clean exit 0 (origin/main merges cleanly, 0 open PR heads share a file). CI on PR #35482 at report time: Check Changeset success; Lint, Type Check, PR-body guards and Governed Surface Queue Guard in_progress.",
     "self_test_counts": {
      "card-pick": 51,
      "check-prior-rulings": 173,
      "os-verify-lock_new_depth_cases": 5
     },
     "live_run": "node scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --why at 8fee4048ce, exit 0, card-pick COMPLETE. 275 open pm:queue walked over 3 pages, matching the platform count of 275. 52 threads, 3 Blocked-by targets and 24 parents read. Picks: #35345, #34622, #35390, #35412, #35414, all p1 jumps from other areas. 28 area:fleet rides. 242 not-a-pick: 221 outside --order, 11 no triage audit, 8 below --limit, 2 pm:retriage. Trimmed output is in the PR body.",
     "overlap": "clean, exit 0",
     "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2: fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls plus the assignee and label legs), and this os-dev-report comment via post-stamped. git push to claude/project-thread-w9aa30 is not counted as a REST write.",
     "not_done": [
      "Optional rider lanes/director.md was not taken. That line greps per repo, and check-prior-rulings reads its tree corpora from this checkout only, so a pointer would change the rule for cards in other repos.",
      "Later slices of #35237 stay open: landing reads; health line after #35373; in-flight and round-open after #35232/#35235; the area-lease and dispatch-runbook pointers; l1-face; the os-dev pointers after #35231."
     ],
     "deviations": [
      "Where scope 2 and main differ, main was encoded. (a) No triage audit excludes the card (seat-lifecycle vocabulary on main). (b) The ungraded leg comes after the named order (main's label order). (c) p3 never picks and rides after the picks (NORTH-STAR: p3 left for the close-out; p2 before p3). (d) Tooling three-gate admission is flagged and named in the footer, not judged.",
      "The local branch is named w9aa30-issue-35237 because the shared checkout has claude/project-thread-w9aa30 checked out; every push went to refs/heads/claude/project-thread-w9aa30, which did not exist remotely, so no force was needed.",
      "Commit trailers are model-free (Co-authored-by: Claude) per AGENTS.md, not the harness's model-named form.",
      "The execution-duties same-grade line was kept, not folded into the pointer: isFleetCard's docblock in check-half-states.mjs cites it, and card-pick's self-test pins it."
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  8. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G
    os-dev-report

    {
     "issue": 35237,
     "status": "done",
     "branch": "claude/project-thread-w9aa30",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35482",
     "head_sha": "1bdac164b570843a0b98342ca47dc30b2f5a84ba",
     "session": "session_01Utp6CaAqjP52wVTzs99H5G",
     "premise_still_valid": true,
     "summary": "Fix round 2 after the seat's L2 FAIL at 6f40150dd0 (three commits, fast-forward 6f40150dd0..1bdac164b5). M1: check-prior-rulings --paths no longer classifies a hit by the ADR/long-number regex and never prints the count outcome; per file it prints the reading owed (逐行读:引裁决 ⇒ id+原句入裁决区;不引 ⇒ 计数), an id-shape match is a hint tag, and past the per-word cap it counts the rest and prints the exact git grep. S2: a declared path that matches no file at the revision is named and 零命中 → 无裁决 is withheld. S1: os-verify-lock --depth counts without pruning, names dead tickets and leaves them for --status. S3: card-pick rows print domain:* and the footer names lane ownership and an area's sub-epic as unread legs. S4: an unreadable Blocked-by target or sub-issue parent is INCOMPLETE (exit 4, gap named) and held cards print without --why. S5: coordinator.md keeps 「p0/p1 先,余照点名次序」 and names card-pick.mjs as its reading for queue cards. Nits N1-N7 taken (N1 in part). The card-ref face is scoped to the swept repository.",
     "files_changed": [
      ".claude/skills/pm-dispatch/references/coordinator.md",
      ".claude/skills/pm-dispatch/references/execution-duties.md",
      ".claude/skills/pm-dispatch/references/seat-lifecycle.md",
      "scripts/pm/card-pick.mjs",
      "scripts/pm/check-prior-rulings.mjs",
      "scripts/pm/os-verify-lock.sh"
     ],
     "findings": {
      "M1": "scripts/pm/check-prior-rulings.mjs:968 ID_SHAPE_HINT_RE (hint only), :976 READING_OWED, :1035 surfaceVerdict (no classifier, no count outcome, per-file grouping), :1010 grepCommandOf + renderPremise :1200 (cap names the rest and the re-run git grep); self-test :2078 block replaces the count pin with the screen-input-contract-shaped fixture (ruling A′, 2026-09-13; ruling A+, #31491)",
      "S1": "scripts/pm/os-verify-lock.sh:2647 mode_depth counts via ticket_state without pruning, :2684 names dead tickets left in place; self-test :4446 (dead ticket survives --depth, the next --status reports it)",
      "S2": "scripts/pm/check-prior-rulings.mjs:1156 unmatchedPaths via git diff --name-only against the empty tree at the revision; surfaceVerdict withholds 零命中 → 无裁决 and names the path; self-test cases",
      "S3": "scripts/pm/card-pick.mjs:205 domainOf printed on every row and --why line and in JSON; :156-157 two new UNREAD_LEGS; footer pin counts 7 legs (:905)",
      "S4": "scripts/pm/card-pick.mjs:410 unresolved Blocked-by target and :428 unreadable parent push to incomplete; :499 held cards printed without --why; JSON held_on_unread (:537); fixtureGet answers 502 for a null row or parent; self-test cases for both",
      "S5": "coordinator.md:27 restores 「p0/p1 先,余照点名次序」 with (队列卡现读 card-pick.mjs); 满即排队 moved to :28 and 交回或合入即释放槽位 to :30 so every line stays at or under 120 bytes; 51/51 lines",
      "N1": "partly: execution-duties.md:47 now defines 标签序 (NORTH-STAR rule 3, 无级殿后) and uses 开放 (本车道开放卡); 工作项面 line kept unchanged and named by the reader as an unread face; 裁决同罪 skipped (no room under 120 bytes on the pointer line)",
      "N2": "coordinator.md:17 and seat-lifecycle.md:89 carry --order ORDER",
      "N3": "card-pick.mjs:186 parseSeat uses SEAT_SIGNATURE_LINE, epic:#N#1 accepted",
      "N4": "os-verify-lock.sh mode_depth printf formats use escaped newlines; :2688 no-flock disclosure; self-test case",
      "N5": "check-prior-rulings.mjs:986 UNREAD_FACES, :1122 urlRefNumbers, :1130 hitRefNumbers, printed as face ④ under every --paths run",
      "N6": "seat-lifecycle.md:89-90 restores 「无卡点即候选,⛔ 不得报空」 and the one vocabulary with `outside --order`",
      "N7": "card-pick.mjs:616 --order with no value is usage exit 2; --order \"\" stays legal"
     },
     "self_test_counts": {
      "card-pick": "62 (was 54); battery floors raised: walk 7->11, CLI 8->12",
      "check-prior-rulings": "184 (was 173); 29 --paths cases (was 18)",
      "os-verify-lock": "all pass; st_case count 254 (was 251): 3 new --depth cases (no-flock disclosure, dead ticket kept, next --status verdict)"
     },
     "tests": "At 1bdac164b5: node scripts/pm/card-pick.mjs --self-test exit 0 (62 cases, 8 batteries); node scripts/pm/check-prior-rulings.mjs --self-test exit 0 (184 cases); bash scripts/pm/os-verify-lock.sh --self-test exit 0 (all cases pass). Ablations via scripts/ablation-replace.mjs, each mutation proven on disk and restored to the HEAD blob with git diff HEAD empty: M1 (regex classifier put back in surfaceVerdict) self-test exit 1, 2 of 184 red, restored a8440cae92dd; first M1 attempt was a no-op refused by the tool (replacement re-contained the anchor) and re-run with a distinct anchor. S2 (withholding line deleted) exit 1, 1 of 184 red. S4 target (incomplete push deleted) exit 1, 1 of 62 red, restored 22640fdf077c. S4 parent (incomplete push deleted) exit 1, 1 of 62 red.",
     "gates": "At 1bdac164b5. dispatch-gates --commands derived 82 families (stale-tree warning: 7 commits behind origin/main, 1 derivation input changed). Ran 82: 76 exit 0; 6 exit 3 PREREQUISITE NOT MET, NOT MEASURED (need built dist; no workspace package in the diff): check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:i18n-coverage, check:lean-entry-closure, check:sourcemap-no-sources-content. dispatch-gates --ran with exits recorded: 82 accounted, 76 run, 6 NOT-MEASURED from a recorded exit 3. Named gates: pnpm check:pm-prior-rulings 0; node scripts/pm/check-skill-line-ratchet.mjs 0 (execution-duties 184/189, seat-lifecycle 98/99, coordinator 51/51); pnpm check:pm-skill-id-lint 0; pnpm check:pm-governed-prose 0; node scripts/check-self-test-wired.mjs 0; node scripts/check-nul-bytes.mjs 0. overlap-check --branch=HEAD --exclude-pr=35482: VERDICT clean exit 0 (origin/main f6902e9500 merges cleanly, 0 PR heads share a file). CI on the new head not awaited.",
     "live_run": "node scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --why at 1bdac164b5: exit 0, COMPLETE, 279 pm:queue over 3 pages = platform count 279; picks #35345 #34622 #35446 #35449 #35455 (p1 jumps), each row with domain:*; 274 non-picks by first point: 226 outside --order, 24 no triage audit, 21 below limit, 2 pm:retriage, 1 another seat's Claim. --limit 30: exit 0, 26 picks (8 p1, 4 area:fleet p2, 14 p3 close-out). The live block changed; a corrected PR body is prepared for the seat to apply.",
     "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "1: this os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/35237/comments). git push (fast-forward) to claude/project-thread-w9aa30 is not a REST write. The PR body was not written; the seat applies it.",
     "deviations": [
      "Pushed from a local alias branch local/pr35482-r2 with HEAD:claude/project-thread-w9aa30, fast-forward, as ordered.",
      "No origin/main merge this round; overlap-check reports origin/main merges cleanly."
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  9. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

    Claim amendment: slice 2 · 2026-11-19T15:06Z
    Area: fleet-1
    Branch: claude/project-thread-w9aa30-b (the maintainer allowed a second push branch, 15:05Z decision card; claude/project-thread-w9aa30 holds PR #35532)
    Worktree: objectstack-issue-35237-s2
    File surface: slice 2 only: scripts/pm/landing-k.mjs (new), scripts/pm/pr-state.mjs (new), scripts/pm/sweep-closed-cards.mjs (--pr N, report-only), their self-tests and the existing check:pm-* chain wiring in package.json, one-line pointers in .claude/skills/pm-dispatch/references/landing-operations.md and coordinator.md. No ratchet ceilings. (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default — dispatch-gates --tier: no path-derived mandate, effort: high
    Pre-dispatch readings (origin/main 41ee21810a): os-verify-lock.sh --depth → depth 1, go; check-prior-rulings.mjs --card 35237 --paths on this surface → hits listed for reading, no conflicting record.
    Serial constraints cleared: slice 1 (PR #35482) merged af997d9416; PR #35532 (#35470) shares no file with this slice.

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

Metadata

Metadata

Assignees

Labels

area:fleetpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p1High: required for production / M2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions