Skip to content

pm(relay): a raw comment / comment_edit carrying a contract-review record is not judged for tier #33715

Closed

Description

@objectstack-fleet

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

Filing gate: ① (a follow-up owed by work in flight: card #33603's verifier residual 7, deferred by PR #33711 and judged sound to defer by at-tier record 6890932729).

post-stamped.mjs and label-write.mjs refuse an at-tier record without --tier-evidence (since PR #33616). A raw relay comment or comment_edit op sent through scripts/pm/fleet-write/dispatch.mjs with the same body is not judged for tier at all, so a record that claims CONTRACT_REVIEW_TIER can still reach a PR without its transcript being read.

What lands

scripts/pm/fleet-write/ (one reader: verify-review-tier.mjs and the record recognisers): a comment or comment_edit whose body is a contract-review record claiming a tier is refused unless the action carries the same tier evidence the stamped writers require, or is routed to them. Self-test rows both ways.

Card #33603's PR says Fixes #33603; this residual moves here. Same-file serial: after PR #33686 (#33540) merges.

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:49Z

    ⛔ Not a claim.

    A raw relay comment / comment_edit carrying a contract-review record is not judged for tier, unlike post-stamped / label-write. That is a gap in a review gate, 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-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

    Claim: PM loop round 14
    Session: session_01FEkQ5pjSPT7ui2EUcunaVb
    Account: os-project-manager
    Branch: claude/project-thread-sohn2c
    Thread session: session_01FEkQ5m4N58m3SfGfq95UF8
    Worktree: objectstack-issue-33715
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: scripts/pm/fleet-write/*.mjs, their self-tests (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: opus (default; dispatch-gates --tier on the real diff decides), effort default
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — PM tooling (relay tier judgment on raw record comments)
    Thread-read: none
    Premise: holds (PR #33732 merged)
    Serial constraints: one card per file at a time; none open on fleet-write/**.
    Order: /mnt/project-files/pm-orders/skills/order-33715.md (project file). Ruling-ref: Leehom 「后续只处理 p1 p2」 (2026-11-15T05:05Z). Claimed 2026-11-15T10:46Z.

  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-project-manager · session_01FEkQ5m4N58m3SfGfq95UF8

    os-dev-report

    {
    "issue": 33715,
    "status": "done",
    "branch": "claude/project-thread-sohn2c",
    "pr": "#33811",
    "session": "session_01FEkQ5m4N58m3SfGfq95UF8",
    "premise_still_valid": true,
    "summary": "fleet-write/dispatch.mjs main now judges every comment / comment_edit in a seat's actions file with post-stamped's own recordTierEvidenceRefusal (loaded dynamically; the record read by record-recognisers, the transcript by verify-review-tier; no reader restated): a body that is a Contract review record naming CONTRACT_REVIEW_TIER is refused as usage (2) before the session, packer or dry-run exit unless the action carries tier_evidence (the reviewing run's transcript path) that passes; missing, empty, unreadable or off-tier evidence and a reader that does not load (3) fail closed; a non-record body or a record naming another tier passes unchanged. The key is read on the seat and taken off before packRequest, so no path or transcript enters the payload. post-stamped and label-write are unchanged (they judge via judgeBody and pack via packRequest, never main); the workflow side never sees the key. One file, 201 lines, skip-changeset.",
    "tests": "node scripts/pm/fleet-write/dispatch.mjs --self-test at 3c44cfe: exit 0, 418 cases pass across 33 batteries (new battery 17 cases, floor 32 to 33): record without evidence refused (comment, comment_edit, pure and CLI dry run, with and without a session), at-tier transcript passes with the packed action op/issue/body and neither path nor model in the payload, non-record and other-tier bodies pass unchanged, off-tier/missing/unreadable transcript and empty/non-string key refused, unloadable reader exit 3, structural reader-identity and before-session placement. Ablation at 3c44cfe via scripts/ablation-replace.mjs: the missing-evidence refusal line replaced by a comment, mutation landed (anchor 1 to 0, blob a5747d85 to bdf9b9e9), self-test red 4 of 418 (pure comment row, comment_edit both-ways row, CLI dry run exited 0 and printed the payload, before-session CLI row); restored blob == HEAD, git diff HEAD empty.",
    "gates": "Local, head 3c44cfe: dispatch-gates --commands --repo objectstack-ai/objectstack derived 39; all 39 exit 0, each captured before any pipe (list in the PR body and pm-orders/skills/33715-gates-ran.txt), includes check:pm-fleet-write-dispatch/-execute/-validate, check:pm-post-stamped, check:pm-label-write, check:pm-record-recognisers, check:pm-dispatch-gates. --ran: 39 derived, 39 run, 0 NOT-MEASURED (a derived zero). dispatch-gates --tier: no path-derived mandate (default). check-governed-merges --branch: NOT governed, 0 of 1 path. CI check-runs on PR #33811: in_progress at report time (the seat reads them).",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "2 — mcp__github__issue_read (get, get_comments) on #33715; no write tool",
    "api_writes": "2 — POST /repos/objectstack-ai/objectstack/dispatches (pr_create, run 43708029758, PR #33811 body read back identical, label skip-changeset read back); POST /repos/objectstack-ai/objectstack/dispatches (this os-dev-report comment via post-stamped). git push of the branch is not a REST write.",
    "deviations": [
    "Order mechanism line 'evidence must travel inside the action, not as a local path' measured false: client_payload is capped at CLIENT_PAYLOAD_MAX_BYTES 65536 for the whole payload, and this thread's own session transcript measured 882,560 bytes after 15 turns; a transcript also names a model on every turn. So the evidence is judged seat-side at the dispatch CLI (where the signature rule on edit bodies already lives) and tier_evidence is a local path read there and stripped before packing; nothing new travels. Boundary stated in the header: packRequest callers and hand-built dispatches are not judged, as for the signature rule.",
    "os-dev.md says scripts are not ablated; the order requires an ablation, so one was run as a one-time proof (cited, no permanent file).",
    "Commit trailer is model-free (Co-Authored-By: Claude) per standing lines and AGENTS.md, overriding the harness reminder's model-named trailer."
    ],
    "open_questions": [],
    "security_findings": "none",
    "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

Labels

domain:skillsfindingpm:dispatchedpriority:p2tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions