Skip to content

pm: guards read the 3,000-line human-review line per pull request — make them follow the per-card total (#36914 follow-up) #38296

Description

@objectstack-fleet

repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

Filing gate: ③ a maintainer-directed rule change. This is item 4 of #36914, which orders the guards to follow the rule or to name their follow-up. Source: the maintainer's word on 2026-11-24 about #36860, as relayed on mailbox #36743 c7126265251: splitting an over-the-line change so that each half stays under the line gets around human review, and that is not acceptable. The rule text is PR #38280 (Part of #36914). ⛔ Not a claim.

维护者速读

What is true (main e2a0e90)

Every reader hands the size predicate one pull request:

  • sizeVerdict in scripts/pm/check-governed-merges.mjs (fed by --pr, --branch and the post-merge sweep)
  • sizeReading in scripts/pm/check-governed-queue-guard.mjs
  • changedLineLines in scripts/pm/dispatch-gates.mjs
  • the pr_enqueue_front rule in scripts/pm/fleet-write/ops.mjs
  • handoffTierVerdict in scripts/pm/label-write.mjs. Here --handoff refuses an under-line PR of an over-line card ("nobody is owed a hand-off"), so in the split case the hand-off the rule orders has no tool.

Question for the maintainer, before any script is written

What counts as "the card's PRs"?

  • A. Every open or merged PR whose body names the card with a closing keyword or Part of. A PR naming several cards counts toward each. Tracker cards get no exemption.
  • B. As A, with tracker and epic cards exempted by label.
  • C. As A, with closed-unmerged PRs counted too.

Done when

Each reader above follows the card total, or states why it cannot, and has a split-case test (two 2,000-line PRs on one card are Tier H in both). --handoff has a path for the split case.

Dedupe: is:issue is:open "per card" 3000 guard and is:issue is:open sizeVerdict split return no card on this.
Suggested-grade: p2 · the parent's grade.

Activity

  1. added
    domain:skills
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Added row · 2026-11-28T12:12Z · from contract record 7238652086 N1 on PR #38280, carried here by L1-a ACCEPT 7239058602:

    • The incremental split. Pull request A of 2,000 lines merges on seat review; then pull request B of 1,500 lines opens on the same card. The card is now over the line, so B is Tier H, but A has already landed with no maintainer review. The rule text counts merged pull requests in the total but does not say what is owed for A. This card's answer to "what are the card's pull requests" should also say what happens to a sibling that landed before the card crossed the line (for example: listed for the maintainer's after-the-fact review, as the post-merge sweep lists other Tier H landings).
  3. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in the guard instruments (scripts/pm/check-governed-merges.mjs, check-governed-queue-guard.mjs, dispatch-gates.mjs, fleet-write/ops.mjs, label-write.mjs) · area:fleet · domain:skills · Task · p2 · needs-user-decision · size L. Rationale: the guards read the 3,000-line human-review line per PR, so a split change can land on L1+L2 alone (measured: #36860 part (a), PR #36881). The fix carries a real rule-shape choice: what "the card's PRs" means (options A/B/C), and what is owed for a sibling that merged before the card crossed the line. That is a guard-instrument and rule change, on the human floor. The instrument answer can be stated, so p2, matching #36914, whose item 4 this is. #36914 is maintainer-sourced and this card enters the decision box, so neither is folded: Fold-with: only. Size L: split before dispatch. ⛔ The decision analysis (速读, options with effort, four-facet block) is owed by a decision thread; the card has 速读 and a question list only.
    Path: none
    Fold-with: #36914
    Grade: area:fleet · Task · instrument (a split dodges the human-review line) · reach: fleet landing path · evidence: measured (PR #36881) + read.

    Recorded 2026-11-28T14:13Z.

  4. added
    needs-user-decision
    priority:p2
    on Nov 28, 2026
  5. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS

    Ruling · 2026-12-01T06:32Z · the maintainer answered on a decision card in this account's fleet project (2026-12-01T06:29Z).
    Question, verbatim: 「定 #38296:按卡累计 3000 行时,哪些 PR 算这张卡的?」
    Option tapped, verbatim: 「点名的都算,专题卡豁免」. Consequence line: 「开放和已合并的都算;专题卡、跟踪卡不累计;先合并的 PR 在后一个的交接里列给你补看。脚本改动较大,要你批。」
    Options not taken: 「点名的都算,不设豁免」 (the card's A), 「已关闭未合并的也算」 (the card's C).

    What it settles: the card's option B, plus the added row 7239077861.

    • Every PR that names the card counts, open or merged. Closed-unmerged PRs do not count.
    • Epic and tracker cards do not accumulate.
    • A sibling PR merged before the card crossed the line is listed in the later PR's hand-off for the maintainer's after-the-fact look. There is no revert and no block.

    Seat's design choice, not ruled: the exemption reads only an epic or tracker label that predates the card's first PR, so relabelling a card as a tracker cannot dodge the count. The dev builds it this way, and the Tier H PR's 维护者速读 states it for the maintainer to confirm or strike.
    needs-user-decision → pm:queue. Zone osa-fleet takes it.

  6. added
    pm:queue
    and removed
    needs-user-decision
    on Dec 1, 2026
  7. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufziVTGyPT8jQDhRuAu5

    Claim: PM loop card thread
    Session: session_01WGufzhPdWmTd47Fi2bKYZS
    Thread session: session_01WGufziVTGyPT8jQDhRuAu5
    Account: os-support-ai
    Branch: claude/issue-38296-card-size-readers
    Worktree: objectstack-issue-38296
    Domain: domain:skills
    Seat: repo:objectstack@os-support-ai
    Area: osa-fleet
    File surface: scripts/pm/check-governed-merges.mjs (the per-card predicate, moved here from a separate module after round-1 L2 S4 so it sits on the guard-register row: the total, the exemption read first, the merged-sibling list; sizeVerdict carries the card reading; --pr reads it; --branch and the sweep say why they do not), scripts/pm/record-recognisers.mjs (amended 2026-12-01 after round-1 L2 S2: one additive export, countedCardNumbers, the counted relation without Refs, and two pins), scripts/pm/check-governed-queue-guard.mjs (sizeReading / runSizeGuard, the loader exposes countedCards), scripts/pm/dispatch-gates.mjs (changedLineLines words), scripts/pm/fleet-write/ops.mjs (the pr_enqueue_front size fence), scripts/pm/fleet-write/execute.mjs (the fence's reader feeds the card reading), scripts/pm/label-write.mjs (--handoff, second PR only). Stop on breach.
    Container & model: L, mode:thread, model: default tier (dispatch-gates --tier on this surface at 5bd786e: "Model tier — no path-derived mandate"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: fleet tooling in objectstack (scripts/pm/**), our own code | no platform path covers it: every guard hands one pull request to the size predicate | every seat that lands a PR, daily
    Thread-read: 7303003476
    Premise: holds. Read at 2026-12-01T07:05Z on origin/main 5bd786e: sizeVerdict (check-governed-merges.mjs:3603) takes one { additions, deletions }; sizeReading (check-governed-queue-guard.mjs:2957) passes one pull's pair; changedLineLines (dispatch-gates.mjs:14050) reads the worktree diff only; the size fence in ENQUEUE_FRONT_FENCES (fleet-write/ops.mjs:1593) sums one pull's pair; handoffTierVerdict (label-write.mjs:1860) refuses an under-line pull ("nobody is owed a hand-off").
    Prior rulings read: ruling 7303003476 (the maintainer's card tap, 「点名的都算,专题卡豁免」): every PR that names the card counts, open or merged; closed-unmerged PRs do not; epic and tracker cards do not accumulate; a sibling merged before the card crossed the line is listed in the later PR's hand-off for the maintainer's after-the-fact look, no revert and no block (row 7239077861). Seat design choice, not ruled, built and stated in the 维护者速读 for confirmation: the exemption reads only an epic or tracker label (pm:epic, tracking, the PARENT_LABELS pair in card-pick.mjs) that predates the card's first counted PR. check-prior-rulings --card 38296: 1761 hit lines across the five files, read by term; no ruling there decides the per-card question.
    Fold-or-serial: no fold. #36914 (the parent, item 4) stays open for its other items.
    Overlap: check-handover --inflight on this surface reads NO OVERLAP (only #38415 is unread, a seat card with no path).
    Serial constraints cleared: #38492 (zone osa-fleet, claim 7303064581, PR #38867) also edits scripts/pm/record-recognisers.mjs; since the round-1 amendment this card adds one export and two pins there (additive, no shared lines). Order: whichever of #38866 and #38867 lands second merges main and re-runs record-recognisers.mjs --self-test before its queue entry.
    Split plan: two PRs, both Tier H (each touches an always-H guard instrument), both handed to the maintainer through the seat. PR 1 claude/issue-38296-card-size-readers: the per-card predicate and the four readers (--pr, the queue guard's size leg, dispatch-gates, the front-of-queue fence), each with a split-case test (two 2,000-line pulls on one card are over the line in both). PR 2 claude/issue-38296-card-size-handoff, opened from main after PR 1 lands (no stacked series): --handoff gives an under-line pull of an over-line card its path and lists the merged siblings of the over-line card. Its work waits on a -wip backup branch until then. The split is for review size, not to dodge the line: the card's total goes to the maintainer either way.
    Tier: H. One contract-tier L2 on each final head; the seat hands each off.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 1, 2026
  9. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufziVTGyPT8jQDhRuAu5

    Ruling reversed by the maintainer, 2026-12-01 08:12–08:15Z (project thread), quoted verbatim:

    具体解释 38866
    就这样就可以 3000 行人审线按单个 PR 算
    撤掉
    开发的技能是否可以不要可以拆开绕过审核

    This supersedes ruling 7303003476 for the guard instruments. The guards keep counting the 3,000-line human-review line per single pull request. The per-card total in the guard scripts is withdrawn:

    Release: the card thread session_01WGufziVTGyPT8jQDhRuAu5 releases claim 7303323631. No work is in flight, and nothing is left unpushed.

    What the maintainer's last line asks for instead (the skill text: a dev must not split a card into several PRs to stay under the line) is being put to him as a text proposal in the project thread. The card's disposition, repurposed or closed with a fresh card for that rule, is routed through the seat (repo:objectstack@os-support-ai). Until then the labels are left as they are.

  10. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufziVTGyPT8jQDhRuAu5

    Scope note: the seat has repurposed this card for the maintainer's follow-up, which is on this card in comment 7305111979: 「开发的技能是否可以不要可以拆开绕过审核」. He chose the option "只在开发指令加一行" on 2026-12-01 at 08:55Z in the project thread. The new scope is one line in the dev agent's instructions: a dev never splits a card into several PRs to stay under the 3,000-line human-review line. A card whose change is over the line goes as one PR to human review. The guards keep counting per single PR, per comment 7305111979. The fleet rule that a split card still goes to the maintainer already stands in landing-operations.md and is not touched.

    Claim: PM loop card thread
    Thread session: session_01WGufziVTGyPT8jQDhRuAu5
    Account: os-support-ai
    Branch: claude/issue-38296-no-split-rule
    Domain: domain:skills
    Seat: repo:objectstack@os-support-ai
    Area: osa-fleet
    File surface: .claude/agents/os-dev.md (one added line under Definition of done, 70 bytes, inside the file's byte ceiling). Stop on breach.
    Container & model: S, mode:thread, effort: high
    Clause-②: no
    Metadata-protocol: none
    Rule-change: ruled
    Ruling-ref: 「开发的技能是否可以不要可以拆开绕过审核」 (maintainer, project thread, 2026-12-01 08:15Z, recorded in comment 7305111979), and his card choice "只在开发指令加一行" (2026-12-01 08:55Z)
    Premise: holds. On origin/main, os-dev.md has no line forbidding a split to stay under the line. The per-card rule exists only on the seat side (landing-operations.md, the line counted per card).
    Overlap: none in flight on os-dev.md that this card knows of. The old branches claude/issue-38296-card-size-readers and claude/issue-38296-card-size-handoff-wip are kept and will not be opened.
    Tier: .claude/**, contract-tier L2 on the final head, L1 via osa-L1-a, then the seat.

  11. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS

    裁决记录

    2026-12-01T10:20Z · The maintainer answered the seat's decision card in the app at 2026-12-01T10:19:48Z.

    • Question: 「按单个 PR 算」是否也撤掉席位那边的「按卡合计」?
    • His choice, verbatim: 「也撤,全部只按单个 PR 算」 — option consequence as he read it: 「一个小 PR 把席位技能里『行数线按卡计、按卡合计超 3000』两处改成按单个 PR,与开发指令和守卫脚本一致。」

    Consequence: the 3,000-line human-review line counts per single PR everywhere, the seat side included. .claude/skills/pm-dispatch/references/landing-operations.md (the 「行数线按卡计…」 bullet and its example, and 「卡合计席位自加」) and .claude/skills/pm-dispatch/SKILL.md (「按卡合计 >3000 行」) change to per-PR wording in one small PR with Rule-change: ruled quoting this record. The no-split line from PR #38878 stands unchanged: a card is not split to get under the line.

  12. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufziVTGyPT8jQDhRuAu5

    Close-out: the 3,000-line human-review line now counts per single PR everywhere. #38878 (merged) adds the dev rule against splitting a card to get under the line, and #38897 (merged) rewords the seat skill to per-PR counting, per rulings 7305111979 and 7308037857. #38866 stays closed unmerged; its branches are kept. Nothing is left on this card.

  13. removed
    pm:dispatched
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetdomain:skillspriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions