Skip to content

pm(check-governed-merges): carry #33975's round-5 review fixes (AGENTS.md PD14 wording, patch-read favourable answer) #34107

Closed

Description

@objectstack-fleet

domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

Filing gate: ① a follow-up owed by work in flight: the at-tier contract review round 5 on PR #33975 (card #33539, head eefe17f1) failed with M4, S7 and S8. The fixes were committed after the head entered the merge queue; the push was refused (GH006) and the seat chose not to dequeue a governed PR. #33975 merged at 2026-11-15T19:11Z without them. ⛔ Not a claim.

维护者速读

What is wrong

  1. M4 (must-fix). AGENTS.md Prime Directive 14 (about line 306) says "CODEOWNERS routes every Tier H surface but the low-risk catalogs to the approvers". PR pm: the low-risk arm lands an add-only ADR note as Tier S; any other ADR change stays H #33975 removed the root /docs/adr/ line from .github/CODEOWNERS, and an ADR tree is not a catalog, so the sentence now tells a reader that docs/adr/** still summons both approvers through CODEOWNERS.
  2. S7 (should-fix). In scripts/pm/check-governed-merges.mjs, favourableArmGitRead (from review follow-ups of PR #33762 #33765 N-a) answers any failed git diff-tree read with a raw status listing. pm: the low-risk arm lands an add-only ADR note as Tier S; any other ADR change stays H #33975 added a second diff-tree read, the -p patch read in catalogFilesOf. When only the patch read fails in the post-merge sweep, armSettledWithoutUnread hands back the raw listing as the patch, addOnlyNoteReasons reads it as "shows no hunk", and readArmLanding returns tier-h (sweep complete) where it should return not-measured (sweep incomplete). The primary gate (queue, relay, --pr) is not affected.
  3. S8 (PR body). Nothing in the rules face says that a root ADR pull opened ready is no longer auto-requested by CODEOWNERS; the queue guard and the relay's per-pull request now hold the ruling for every change that is not an add-only note.

What lands

  1. AGENTS.md PD14: reword the clause so it matches the post-pm: the low-risk arm lands an add-only ADR note as Tier S; any other ADR change stays H #33975 CODEOWNERS (for example "but the low-risk arm's rows"), inside the line budget.
  2. favourableArmGitRead gives the favourable answer only to the raw read (argv carrying --raw) and returns null for the -p patch read. One self-test row: an ADR landing whose patch read throws stays NOT MEASURED; an ablation (answer the patch read too) turns it red.
  3. The PR body's 维护者速读 carries the S8 sentence.

Surface: AGENTS.md (PD14 line only), scripts/pm/check-governed-merges.mjs (the favourable-read helper and its self-test region). skip-changeset; Clause-②: no. Tier H: open as draft, never ready before a GOVERNED_APPROVERS approval. The fixes already exist as commit 3bc27d49 on the #33975 thread's branch and are rebased onto main. Dedupe: is:issue favourableArmGitRead → none. New.

Blocked-by: #34115

Activity

  1. added
    tooling
    priority:p2
    pm:queue
    finding
    domain:skills
    on Nov 15, 2026
  2. 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-bp6isi
    Thread session: session_01ADHkmRrk1KF2ZJk57PwVU9
    Worktree: objectstack-issue-34107
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: AGENTS.md (PD14 line only), scripts/pm/check-governed-merges.mjs (favourableArmGitRead + self-test region) (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: opus (dispatch-gates --tier: no path-derived mandate; Tier H by surface, review at CONTRACT_REVIEW_TIER), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — PM tooling, not a defect in a product package
    Thread-read: none
    Premise: the fixes exist as local commit 3bc27d49 on this thread (refused by GH006 after #33975 entered the merge queue); PR #33975 merged at b60484d4, so the branch restarts from main
    Serial constraints cleared: PR #33975 merged (same file and region); #34066 serial after this card
    Order: standard order /mnt/project-files/skills-seat/standard-order.md + delta /mnt/project-files/skills-seat/34107-delta.md (project files). Ruling-ref: the maintainer's 「尽快把 p1 p2 卡处理完」 (project "objectstack skills spec ui", 2026-11-15T14:15Z). Claimed 2026-11-15T19:17Z.

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

    @objectstack-fleet
    ContributorAuthor

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

    {
      "card": 34107,
      "status": "pr_open",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34115",
      "draft": true,
      "branch": "claude/project-thread-bp6isi",
      "head_sha": "94dbce5d54ed0221df061522e06babc96463e35c",
      "base": "f81e4b6c (main after #33975 landed at b60484d4)",
      "claim": {
        "comment": 6899846531,
        "clause_2": "no",
        "metadata_protocol": "none"
      },
      "files_changed": [
        {
          "path": "AGENTS.md",
          "role": "PD14 line 306: 'but the low-risk catalogs' -> 'but the low-risk arm's rows' (M4)"
        },
        {
          "path": "scripts/pm/check-governed-merges.mjs",
          "role": "favourableArmGitRead answers only the diff-tree --raw read (S7); one self-test row; the N-a row's argv gains --raw (forced test edit)"
        }
      ],
      "diff": {
        "additions": 17,
        "deletions": 5,
        "files": 2
      },
      "tier": "--pr 34115: GOVERNED, landing tier H (AGENTS.md); scripts/pm/check-governed-merges.mjs not on the register",
      "line_budget": {
        "AGENTS.md": {
          "before": 1050,
          "after": 1050,
          "line_306_bytes": 118
        },
        "pm_skill_ratchet": "green"
      },
      "acceptance": {
        "s7_row": "pass; ablation (answer the patch read too) reds exactly that row, restored green",
        "s8": "sentence in the 维护者速读 风险与回滚 line",
        "pr_first_line": "Fixes #34107"
      },
      "gates": {
        "derived": 38,
        "ran": 38,
        "not_measured": 0,
        "unrun": 0,
        "failed": 0,
        "reconcile": "dispatch-gates --ran exit 0 on 94dbce5d",
        "extra": "check:adr-anchors and 10 importer self-tests exit 0",
        "merges_self_test": "863 assertions"
      },
      "deviations": [
        "the #33975 round-5 nit N9 (CODEOWNERS header wrap) is not carried: .github/CODEOWNERS is outside this card's surface",
        "the branch was deleted after #33975 merged, so the restart was a plain push of a new branch from main (no force needed)"
      ],
      "security_findings": "none",
      "mcp_calls": {
        "issue_read": 3,
        "pull_request_read": 1,
        "writes": 0
      },
      "api_writes": [
        "relay pr_create -> #34115 (labels skip-changeset)",
        "post-stamped comment on #34107 (this report)"
      ],
      "open_questions": []
    }

    Stamped 2026-11-15T19:37Z.

  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Stay-behind at seat-offline (2026-11-15T23:56Z): the PR for this card is ACCEPTed and waits on a maintainer (see the PR's ## 席位核对). The card goes to pm:blocked (Blocked-by: its PR) and is unassigned.
    Resume-from: brief 6903493797 on seat post #7623.

  6. added
    pm:blocked
    and removed
    pm:dispatched
    on Nov 15, 2026
  7. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

    Landed: PR #34115 merged (maintainer merge queue, recorded 2026-11-16T02:13Z; merge read 2026-11-16T01:41Z); card closed by its Fixes line. pm:blocked released (its Blocked-by: PR is merged). Seat 2 holds this seat-1 stay-behind since the lane reopened with one seat. The serial holds behind it on check-governed-merges.mjs and AGENTS.md PD14 are now clear.

  8. removed
    pm:blocked
    on Nov 16, 2026
  9. added a commit that references this issue on Nov 16, 2026
    9ff49b9
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

    domain:skillsfindingpriority:p2tooling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions