Skip to content

pm: the carried-record regeneration test lists a renamed path by its destination only, so a hop that moves a reviewed file out of its face is not seen #33578

Closed

Description

@objectstack-fleet

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

Filing gate: ① (an out-of-diff observation of the at-tier delta review 6887175399 of PR #33531, card #33501; its in-diff twin is should-fix SF2 there). reach: a carried contract-review record can survive a regeneration hop that moved a reviewed file out of the reviewed face, because the hop's rename is listed by its destination only.

What is wrong. unexplainedPathsBetween in scripts/pm/record-recognisers.mjs (on main, the names helper inside it) lists a hop's changed paths with git diff -z --name-only FROM TO and no --no-renames. With rename detection on (git's default), a rename is listed by its destination path only. The review measured this on git 2.43 in a throwaway repository: moving skills/a/rules/security.md to content/docs/security.md lists only the docs path. A hop that renames a reviewed file to a path that base explains, or that the carry otherwise admits, therefore never shows the removed source path, and the carried record can stand for a head where a reviewed file has left its face.

What lands. Pass --no-renames to every --name-only diff the carry machinery reads (this helper and any sibling), so a rename reads as a delete plus an add. Pin it with one self-test case that runs real git in a temporary repository (the fake git readers in the battery cannot see what git lists), plus an argument pin. The guard's row enumeration in check-governed-queue-guard.mjs already passes --no-renames; PR #33531 fixes its own new call (SF2).

scripts/pm/** only, skip-changeset. Clause-②: no.

Dedupe (open AND closed): is:issue unexplainedPathsBetween and is:issue no-renames carried record → none. New.

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-15T01:45Z

    ⛔ Not a claim.

    A carried contract-review record can survive a hop that renamed a reviewed file out of the reviewed face, because the hop's rename is listed by its destination only. This weakens a review gate, so it is tooling p2 (--no-renames, or list both sides).

  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

    Added scope from the at-tier delta 6887748912 of PR #33531

    The older real-git fixtures in scripts/pm/check-governed-merges.mjs spawn git with no GIT_ strip (the file has no gitFreeEnv reference), against GIT_ENV_ISOLATION_RULE in scripts/git-env.mjs. Under an inherited GIT_DIR, GIT_WORK_TREE or GIT_INDEX_FILE (a hook, rebase --exec) they would act on the real checkout. PR #33531 fixed its own new case (SF3: env: gitFreeEnv() plus -c commit.gpgsign=false); give the older fixtures the same in the PR for this card, since both are carry-machinery hygiene in scripts/pm/**. Added 2026-11-15T02:10Z.

  5. 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-cceg2o
    Thread session: session_01ADHkmQk5t2iVNRP4bBd2qx
    Worktree: objectstack-issue-33578
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: scripts/pm/record-recognisers.mjs (carry region and its self-test rows) (stop on breach; explain in the report)
    Container & model: S, 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: 6887759291
    Premise: on main a3aa1d2 the carry's names helper (L467) runs diff -z --name-only with no --no-renames
    Serial constraints cleared: #33789 PR #33972 merged; record-recognisers shared by region with #33716 (templates) and #33789 round 2 (mailbox)
    Order: standard order /mnt/project-files/skills-seat/standard-order.md + delta /mnt/project-files/skills-seat/33578-delta.md (project files). Ruling-ref: the maintainer's 「尽快把 p1 p2 卡处理完」 (project "objectstack skills spec ui", 2026-11-15T14:15Z). Claimed 2026-11-15T16:40Z.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Claim amendment (2026-11-15T16:42Z) to claim 6897803131 · Branch claude/project-thread-cceg2o unchanged.

    File surface adds:

    1. scripts/pm/check-governed-queue-guard.mjs: the regen battery's fake git line only (~L5762, which parses diff -z --name-only A B by position). With --no-renames it must take the two revisions from the tail. Cause: the dev's measurement that the guard's self-test imports unexplainedPathsBetween and would otherwise red.
    2. scripts/pm/check-governed-merges.mjs: the older real-git fixtures only. Give them env: gitFreeEnv() plus -c commit.gpgsign=false, per the scope added in 6887759291 (GIT_ENV_ISOLATION_RULE). This file is also edited by PR pm: the low-risk arm lands an add-only ADR note as Tier S; any other ADR change stays H #33975 (ADR leg, awaiting approval) and PR ci(fleet-patrols): the weekly audit card's readings move into check-governed-merges, each with a self-test row #33982 (audit-card region, in the merge queue); stay in the fixture lines, and the later lander resolves any textual conflict.

    Fixes #33578 stands: with both, the card's full scope lands.

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 33578,
      "status": "done",
      "branch": "claude/project-thread-cceg2o",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34049",
      "session": "session_01ADHkmQk5t2iVNRP4bBd2qx",
      "premise_still_valid": true,
      "summary": "Premise held on main c3c0c30d: unexplainedPathsBetween read both its name lists (head-to-head and each head own delta) with diff -z --name-only and no --no-renames, so a rename listed its destination only. Both reads now go through one module-private argv CARRY_DIFF_ARGV with --no-renames; the regen battery fake git answers only that exact argv, its two argv pins spell the flag, and an argument pin plus a real-git temp-repo row (skills/a/rules/security.md moved to content/docs/security.md lists the source path) were added (floor 22 to 24). Per claim amendment 6897818459: the queue guard regen fake git now takes its revs from the argv tail (forced test edit), and the older check-governed-merges real-git fixtures pass env gitFreeEnv().",
      "tests": "head 80fb5317: record-recognisers --self-test exit 0, 402 cases pass (base 400). Ablation via scripts/ablation-replace.mjs dropping --no-renames from CARRY_DIFF_ARGV: mutation landed (blob d15231d06d0f to 9da9b7818a7d), exit 1, 4 of 402 failed (real-git row reads destinationOnly [content/docs/security.md] unexplained [], the new argv pin, two existing argv pins); restore proven by empty git diff HEAD and hash equal to HEAD blob. Queue guard --self-test: carry change alone (0f2341bf) exit 1, 4 of 534 failed; with the tail fake exit 0. check-governed-merges --self-test exit 0; under GIT_INDEX_FILE=scratch exit 0 and no index written; control (base file) exit 1, 4 failures and the outside index written.",
      "gates": "head 80fb5317: dispatch-gates --commands --repo objectstack-ai/objectstack derived 36; all 36 ran, all exit 0 (captured before any pipe, recorded as CMD :: exit N); --ran: 36 derived, 36 run, 0 NOT-MEASURED, 0 UNRUN. First round on a5ed4548 had check:pm-dispatch-gates exit 1 (census pins record-recognisers.mjs:77 self-test-reads; an added header line moved it to 78); fixed in 80fb5317 by keeping the argv module-private. CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "4 — mcp__github__issue_read get, issue_read get_comments x2, pull_request_read get (reads only)",
      "api_writes": "2 — fleet-write relay pr_create (objectstack-ai/objectstack#34049, labels skip-changeset, assignees os-steve), this os-dev-report comment via post-stamped.mjs",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — check-governed-merges self-test also spawns its own CLI with process.env-based environments and that child runs real git in the fixture roots; left as is (amendment scoped to the fixtures own git calls); in PR Acceptance notes"
      ],
      "files_changed": [
        "scripts/pm/record-recognisers.mjs",
        "scripts/pm/check-governed-queue-guard.mjs",
        "scripts/pm/check-governed-merges.mjs"
      ],
      "line_budget": "+67 / -17 over 3 files; no ratcheted file touched",
      "deviations": [
        "File surface widened by claim amendment 6897818459 (queue guard fake-git line; check-governed-merges older fixtures), asked before editing.",
        "The argv-root git init and remote add in check-governed-merges got gitFreeEnv only, no -c commit.gpgsign=false: they make no commit. Every other fixture already carried it."
      ]
    }

    Stamped 2026-11-15T17:22Z.

  9. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Landed: PR #34049 MERGED at 385ea1cce5e1761b36d7e9fbc8b599f5adb07fca (merge queue).

    读数 值
    PR #34049 merged_at / merge commit 2026-11-15T19:50Z / 385ea1cce5e1761b36d7e9fbc8b599f5adb07fca
    本卡状态 closed · completed(Fixes #33578 代关)

    状态变更:摘 pm:dispatched;卡已由 Fixes 关,无剩余物;复核范围外事项由 #34066 承接。Recorded 2026-11-15T19:50Z.

  10. removed
    pm:dispatched
    on Nov 15, 2026
  11. added a commit that references this issue on Nov 16, 2026
    385ea1c
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