Skip to content

pm-dispatch: contract-review.md and the record templates trail the verifier's session-evidence limit and the new SQL push-down ③ check #33716

Closed

Description

@objectstack-fleet

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Filing gate: ① (follow-ups owed by work in flight: PR #33711 (card #33603) at-tier record 6890932729, and PR #33693 (card #33627) at-tier delta record 6890853677).

Two rule texts now trail the tools:

  1. Session evidence. After PR pm: the governed-merges sweep lists low-risk arm landings apart and judges each on a same-head at-tier PASS record #33711, verify-review-tier.mjs refuses a delegating session's own transcript (a session that spawned a sub-agent), and the sub-agent route is the reviewing agent's own transcript. .claude/skills/pm-dispatch/references/contract-review.md (line 37 area) still teaches the in-seat route without that limit. The file is at its 63-line ceiling.
  2. The new ③ check. PR docs(agents,skills): write down the SQL-first rule — memory and mongo refuse, never a slower path kept for parity #33693 adds a ③ line every record carries (SQL push-down: a new id materialisation or in-app join without a reason is a finding). scripts/pm/record-recognisers.mjs --brief-template still defines ③ as dev flags and open_questions only, and the --template legend has no ③ entry, so a sub-agent working from the brief alone does not see the check. "记发现" also names no carrier on a faceless PR (seat self-read).

What lands

contract-review.md states the session-evidence limit (paid in place, ⛔ no ceiling raised); the two templates carry the ③ check; the faceless-PR carrier is named. Waits for PRs #33711 and #33693 to merge.

Activity

  1. added
    tooling
    finding
    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: first touch → domain:skills · p2 · 2026-11-15T07:48Z

    ⛔ Not a claim.

    contract-review.md and the record templates trail the verifier's session-evidence limit and the new SQL push-down ③ check (#33627). Rules that trail their tools mislead reviewers, so tooling p2.

  3. added
    pm:queue
    priority:p2
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Claim: PM loop round 1
    Session: session_01ADHkmPd7uRqHauEehGPr19
    Account: os-steve
    Branch: claude/project-thread-b3hvs6
    Thread session: session_01ADHkmSZHK7Um3TifRRbuLE
    Worktree: objectstack-issue-33716
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: .claude/skills/pm-dispatch/references/contract-review.md, scripts/pm/record-recognisers.mjs (template, brief and self-test regions only) (stop on breach; explain in the report)
    Container & model: M, mode:thread, model TIER_DEFAULT, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — PM tooling, not a defect in a product package
    Thread-read: 6891281558
    Premise: both predecessor PRs merged (#33711, #33693); contract-review.md at its 63-line ceiling; record-recognisers carries no push-down text on bc6b7ff
    Serial constraints cleared: #33749 merged (contract-review.md); #33789 round 2 shares record-recognisers by region (mailbox canary only)
    Order: standard order /mnt/project-files/skills-seat/standard-order.md + delta /mnt/project-files/skills-seat/33716-delta.md (project files). Ruling-ref: the maintainer's 「尽快把 p1 p2 卡处理完」 (project "objectstack skills spec ui", 2026-11-15T14:15Z). Claimed 2026-11-15T16:12Z.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmSZHK7Um3TifRRbuLE
    os-dev-report

    {
      "issue": 33716,
      "status": "done",
      "branch": "claude/project-thread-b3hvs6",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34029",
      "session": "session_01ADHkmSZHK7Um3TifRRbuLE",
      "premise_still_valid": true,
      "summary": "contract-review.md's Served-tier evidence bullet now states what verify-review-tier.mjs refuses: a card thread or in-seat review passes its own session transcript only when the session started no other agent, sent no message and called no Skill; otherwise it re-runs in a sub-agent. Paid in place (63/63, lines 36-38 re-flowed in the same lines, 118/118/119/118 bytes). record-recognisers.mjs: --brief-template's ③ line and a new ③ entry in the --template legend carry the SQL push-down check (PUSH_DOWN_CHECK, the English PR #33693 gave its ③ line) on every face; the legend names the faceless-PR carrier (FACELESS_FINDING_CARRIER: the seat's ACCEPT comment on the PR). Premises measured on bc6b7ffd: both predecessors merged, 63/63 lines, no push-down text in record-recognisers.",
      "tests": "node scripts/pm/record-recognisers.mjs --self-test exit 0, 403 cases; three new pins (legend check on all 5 face shapes, faceless carrier, brief check on all 5 face shapes); battery floors template 30->32, brief 23->24. Mutation via scripts/ablation-replace.mjs on fd9a7fa7, each restored to the HEAD blob with git diff HEAD empty: brief lines deleted -> exit 1, brief pin red; legend lines deleted -> exit 1, legend pin red; carrier sentence rewritten -> exit 1, carrier pin red. No forced test edits; no *.test.ts names the script.",
      "gates": "fd9a7fa7: dispatch-gates --commands derived 38, all run, all exit 0 (incl. check:pm-dispatch-gates 375s, check:pm-record-recognisers, check:pm-skill-ratchet, check:pm-skill-id-lint, check:doc-formula-expressions after a locked formula+lint build, VERDICT command-exit 0). --ran: 38 derived, 38 run, 0 NOT-MEASURED (derived zero), 0 UNRUN. dispatch-gates --tier: no path-derived mandate. check-governed-merges --pr 34029: Tier S (.claude/** x1), 51 changed lines. CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "7 — read only: issue_read get x1, issue_read get_comments x2, pull_request_read get x2 (33693, 34029), pull_request_read get_files x1, plus one read-back of this comment; no MCP write",
      "api_writes": "2 — relay pr_create (PR 34029, skip-changeset, assignee os-steve; read-back 8105 bytes sent = stored) and this os-dev-report comment via post-stamped.mjs; git push is not a REST write",
      "open_questions": [
        {
          "question": "The faceless-PR carrier is named in the --template legend only. Should contract-review.md's ③ line (at exactly 120 bytes) also name it?",
          "options": ["A leave it in the template legend, where the record shapes live", "B name it in contract-review.md too, paying the extra line with a cut elsewhere in the file"],
          "recommendation": "A, because the file is at 63/63 and the bullet already points readers to --template; B buys a line for a sentence the template already prints"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted in Acceptance notes, not filed: a card thread that tells its seat its branch (message_thread) or loads a skill already fails the session-transcript route, so in practice a card thread's tier evidence is a review sub-agent's output file"]
    }
  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Contract review

    Served-tier: CONTRACT_REVIEW_TIER
    Head-sha: fd9a7fa743994ae28ba24c0cb4e00feb3b803b4d
    Local-runs: none
    Scope: .claude/skills/pm-dispatch/references/contract-review.md + scripts/pm/record-recognisers.mjs (the --template legend, the --brief-template ③ line, the two constants and the self-test pins). Read, not reviewed: scripts/pm/verify-review-tier.mjs, scripts/pm/check-skill-line-ratchet.mjs, AGENTS.md (Prime Directive 5), SKILL.md, references/execution-duties.md and references/landing-operations.md on main.

    No must-fix, no should-fix. Four nits.

    ① Derived judgments

    • Diff shape — right. One commit on merge-base bc6b7ffd; 2 files, +46 −5. contract-review.md +3 −3 (lines 36–38 only). record-recognisers.mjs hunks at 1989 (constants), 2074 (legend), 2302 (brief), 2471 and 2477 (battery floors), 3313 and 3361 (pins).
    • No reader changes — right. No recogniser, parser or accept set is touched; only printed text grows (legend +5 lines, brief +2 lines, both unconditional across faces). Two new exports, PUSH_DOWN_CHECK and FACELESS_FINDING_CARRIER, in an internal script.
    • Mailbox region untouched — confirmed. The mailbox doorbell block starts at line 1247; the nearest hunk is at 1989. readMailboxComment, MAILBOX_KEYS and mailboxEvents are byte-identical to main.
    • Ratchet and line budget — right. The file is 63 lines against the ratchet row of 63. Lines 35–38 measure 118/118/119/118 bytes. The only lines over 120 are 22 and 23, both untouched.
    • Re-flow kept meaning — right. 贴: moved up a line; 「调用显式传该档 model」 became 「显式传该档 model」; 「给其输出文件」 became 「给输出文件」. The only meaning changes are the two intended ones: the session route's condition, and 「拒即子代理重跑」 naming where to re-run. No script pins the old wording (grep on the head: none).
    • No issue numbers in operative skill text — right. The three new lines carry none; the file has no three-digit # reference. The printed brief stays under its existing #digit pin.
    • Check-runs on the head. No failure. Success includes Lint · scoped · tooling self-tests, Lint · ESLint, Type Check · source gates, Governed Surface Queue Guard, PR-body guards, Check Changeset and Check PR Size. Still pending when read (9): Lint · PM dispatch-gates, Lint · repo & tooling gates, Lint · docs & code guards, Lint · CI, release & engine gates, Type Check · workspace, Type Check · debt ledger, Type Check · consumer gates, Test Core (1/8), Test Core (2/8). The ratchet, the id-lint and the recogniser self-test are judged by those runs, not by this record; I did not confirm which job carries each. This PASS is on the contract; the all-green landing check stands on its own.

    ② Semver level

    None. No package is touched, so nothing is published. The skip-changeset label is on the PR and Check Changeset is green. Clause-②: no and Metadata-protocol: none are on the PR body and the claim, and both are right for this diff.

    ③ Boundary flags

    • Dev open question (carrier in the --template legend only) — answered: A, leave it there. The ③ line of contract-review.md measures exactly 120 bytes, so naming the carrier there buys a line. The rules already give the answer without it: line 18 gives a faceless PR to the seat's self-read, line 44 says the self-read runs the same check, and execution-duties.md makes the ACCEPT verdict a comment on the PR that lists its findings. See N3 for the limit of option A.
    • Dev out-of-scope note (a card thread that messaged its seat or loaded a skill already fails the session route) — true against the verifier, and it is what the new bullet now says. No card owed.
    • File surface — held. Both files are the claimed surface; record-recognisers.mjs stays in the template, brief and self-test regions.
    • Author: the PR is relay-written; no foreign-login note is owed.
    • SQL push-down check: not applicable. The diff holds no query, id materialisation or join.

    ④ Design judgment

    1. The session-evidence bullet against verify-review-tier.mjs (unchanged from main).

    What handsWorkToAnotherAgent refuses:

    • the exact names Agent, Task, Workflow, SendMessage;
    • Skill;
    • a connector tool whose name starts with send, message, start, fire, spawn, dispatch, delegate or interrupt, in any casing;
    • a connector tool that ends in _trigger or _triggers;
    • a connector tool that names a session, agent, subagent, copilot, thread, trigger or worker under any first word that is not a read verb.

    The bullet's three conditions (started no other agent, sent no message, called no Skill) are a true summary of the main doors, and its remedy is right. It is both narrower and wider than the tool:

    • Narrower: it does not name the fail-closed shapes. A session that only renamed or resolved its own thread, set a session title, created or updated a trigger, resolved a GitHub review thread or requested a copilot review is refused too.
    • Wider: 「未发消息」 reads as any message. A post_message to the user or a GitHub comment does not refuse.

    Neither gap can produce a wrong record: the write tool runs the verifier before the write, and the bullet says a refusal means a sub-agent re-run. The cost is one wasted in-seat attempt, or one avoidable sub-agent run.

    • N1 (nit) — the three conditions are a summary, not the tool's set. If the line is ever re-flowed, 「未驱动他 agent、线程或会话」 is closer than 「未发消息」.

    2. The push-down wording against the merged check. On main the check lives at contract-review.md line 44 and AGENTS.md Prime Directive 5. PUSH_DOWN_CHECK is the English that the landing PR gave that line, word for word: a new id materialisation or in-app join where SQL could push down is a finding unless a reason is given. The pointer (AGENTS.md, Prime Directive 5: SQL first) is accurate. No paraphrase drift. Every face carries it, the declaration face included, which matches 「恒查」.

    • N2 (nit) — the wording exists three times: the constant and two hand-wrapped line arrays. The printed text is not built from the constant; the pins hold the copies together. This works, and it keeps the pin independent of what it pins, but the constant's only consumer is the self-test.
    • N4 (nit) — the new legend entry reads as the definition of ③ and omits the foreign-author note that contract-review.md line 43 puts in ③. The brief's ③ line had the same gap before this PR.

    3. The faceless carrier against the ACCEPT rules. Consistent. execution-duties.md defines the ACCEPT verdict as a PR comment (## 席位核对) carrying the checklist result and deviations. SKILL.md has ACCEPT itemise findings one per line, and its pointer form is ACCEPT → PR #n comment. landing-operations.md starts after ACCEPT and says nothing against it.

    • N3 (nit) — the sentence lives in a legend that a seat self-reading a faceless PR has no reason to open, since no record is owed there. If the carrier ever needs to be in the rules, its home is the ACCEPT line in execution-duties.md, not the ③ line here. The legend also says where the finding goes, not what it does to the verdict; the existing REWORK rule covers that.

    4. The three pins.

    • The legend pin runs over the bare shape and all four faces, and checks the collapsed text holds the check between the ③ and ④ entries.
    • The carrier pin compares against a literal sentence and a literal constant value, not a derived one.
    • The brief pin slices the fenced region, so it proves the check is inside what gets copied and directly after the ③ line.

    They pin the right things. The mutation claim is credible from the structure: deleting either line array or rewording the carrier sentence breaks exactly one pin each. The battery floors (30 to 32, 23 to 24) match two pins placed in the template battery and one in the brief battery. One guard in the legend pin (EVERY_FACE.length === REVIEW_FACES.length + 1) is true by construction and asserts nothing.

    Implemented-by: claude/project-thread-b3hvs6
    Reviewed-by: session_01ADHkmPd7uRqHauEehGPr19

    VERDICT: PASS

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Landed: PR #34029 MERGED at 828204ef1778542ce56642b83e3067ddc3189f43 (merge queue).

    读数 值
    PR #34029 merged_at / merge commit 2026-11-15T17:22Z / 828204ef1778542ce56642b83e3067ddc3189f43
    本卡状态 closed · completed(Fixes #33716 代关)

    状态变更:摘 pm:dispatched;卡已由 Fixes 关,无剩余物。Recorded 2026-11-15T17:23Z.

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

Metadata

Metadata

Assignees

Labels

domain:skillsfindingpriority:p2tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions