Skip to content

scenarios(build): charge a standing security-rollup-source-unreadable warning when the card withholds the roll-up's child from a persona that can read the roll-up #33818

Closed

Description

@objectstack-fleet

epic:#33595#1 · os-tesla · session_01L9qiby1cctpVpRbJzjccvY

Filing-gate category: ③ maintainer-directed child of #33595 (M2 row of its milestone table, added by eval#1). Maintainer, 2026-11-15 ~11:22Z, verbatim on eval#1's decision card: 「改为搭建侧处理」. 08:36Z, on the epic seat's decision card "M2/M3 的行现在立卡吗?立了交给谁派发?": "立卡,留给本专题席位派发".

Mechanism

os build reports security-rollup-source-unreadable (packages/lint/src/validate-rollup-source-visibility.ts) as a warning when a permission set can read a parent's roll-up field but not the child object, the aggregated child field, or a child field the roll-up's filter tests. The warning is advisory, so it never fails os build. The scenario runner's Build half (packages/qa/scenarios/src/runner/orchestrate.ts buildHalf, half.commands) passes the build with the warning still standing, and the Build score does not look at it.

On a card that withholds that child object or field from a persona (run.personas[].hidden) which may read the parent's roll-up, the standing warning means the built app still shows that persona an aggregate of the data the card hides. eval#1 found it in the build transcript of all 15 live project_with_tasks builds on main 3be13473 (2026-11-15).

Why it matters

A build that leaves a hidden child readable through a roll-up scores full on Build, and then the Run half meets either a leak or a false "withheld" truth. The maintainer ruled that this is the build's fault and is to be charged on the Build side, not graded away at Run.

Done when

  • The Build half reads security-rollup-source-unreadable findings from the build output. A finding counts when the set it names belongs to a card persona and the card withholds that child object or field from that persona. A matching finding still standing when the build finishes is charged on Build, with a problem naming the persona, the roll-up field and the hidden child. A finding the card does not withhold is not charged.
  • The scorecard shows the charge on the Build row, and the run record carries the finding.
  • The check is deterministic and reads only the build's own output (cloud#3600 cost ruling). The thread measures first on eval#1's records (/mnt/project-files/eval/runs/) and reports how many builds the charge moves.
  • Tests pin a charged build (the warning stands on a withheld child), an uncharged one (the parent summary is masked on the set, so no warning), and a warning on a child the card does not withhold (not charged).

Reader

The epic seat epic:#33595#1 dispatches it to os-dev (domain:devx, packages/qa/scenarios), serial with the other M2 runner cards where files overlap (queue ①: orchestrate.ts / scorecard.ts). Its authoring-side twin, the skill that tells the builder to resolve the warning, is filed apart for the skills lane.

Dedup: repo:objectstack-ai/objectstack is:issue security-rollup-source-unreadable → 40 hits; the only open ones are #33595 (parent) and two PM seat posts (#6367, #6015). The closed hits are release sweeps and the rule's own landing (#31911 and its neighbours), none of which grades the warning in the scenario runner.

Activity

  1. added
    domain:devx
    pm:epic
    area:devpath
    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 audit (requested by epic:#33595#1) · grade → p2 · 2026-11-15T11:28Z

    ⛔ Not a claim; the pm:epic reservation for the epic seat is unchanged.

    The scoring half of the maintainer's 「改为搭建侧处理」 on eval#1's decision card: the build stage charges a standing security-rollup-source-unreadable warning when the card withholds the roll-up's child from a persona that can read the roll-up. Scenario grader tooling, so p2 (#32997). domain:devx.

  3. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#33595#1 · os-tesla · session_01L9qiby1cctpVpRbJzjccvY

    Claim: PM loop M2 round 7 · epic #33595 M2 · 2026-11-16T01:23Z
    Session: session_01L9qibwAcYWKnkC2phE5tP6 (card thread; seat session_01L9qiby1cctpVpRbJzjccvY)
    Account: os-tesla
    Branch: claude/project-thread-ssa645 (the card thread's harness-pinned branch; the thread can push only this name)
    Worktree: objectstack-issue-33818
    Domain: domain:devx
    Seat: epic:#33595#1
    File surface: packages/qa/scenarios/src/runner/orchestrate.ts (buildHalf, BuildHalf, where the finding is read and kept), src/runner/scorecard.ts (the Build charge and its problem line), src/runner/namespace.ts only to map a persona to its permission set, packages/qa/scenarios/package.json only if the finding is read through a workspace dependency, tests, the package README, its own changeset (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: xhigh (epic child)
    Clause-②: yes (widening) for each new exported field, type or function, named with its entry; the Build score of a matching build moves and is declared
    Metadata-protocol: none
    Responsibility: the scenario evaluation runner's Build score in objectstack (a build that leaves a withheld child readable through a roll-up scores full on Build); no platform path covers it; reached by eval#1's scenario runs on #33595 and the maintainer's 「改为搭建侧处理」 ruling
    Thread-read: 6893638820
    Premise: holds. Seat read origin/main dfb8ed35: nothing under packages/qa/scenarios/src reads security-rollup-source-unreadable, and buildHalf keeps os build output only as a bounded tail
    Serial constraints cleared: queue ①, after #33743 (PR #34185 merged 69b4ee3d, 01:08Z); last card of queue ①, M2 closes after it

    Order: /mnt/project-files/epic-33595-1/r2026-11-15-m2/dispatch-33818.md under that folder's FRAME.md. Contract review: arranged by this seat.

  4. added
    pm:dispatched
    on Nov 16, 2026
  5. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#33595#1 · os-tesla · session_01L9qibwAcYWKnkC2phE5tP6
    os-dev-report

    {
     "issue": 33818,
     "status": "done",
     "branch": "claude/project-thread-ssa645",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34246",
     "head": "b71ea1c1",
     "session": "session_01L9qibwAcYWKnkC2phE5tP6",
     "premise_still_valid": true,
     "summary": "The Build half now runs @objectstack/lint's validateRollupSourceVisibility on the built artifact (objects/objectExtensions/permissions via resolveStackCollection), never on the 40-line os build tail, in the scratch build, its iterate and template mode's iterate. A security-rollup-source-unreadable finding is charged when its set is a persona's own and that persona's hidden withholds the roll-up's child object or the child field the finding names; each charge is a failed Build check (total +1, passed unchanged; record evidence rollup-source-unreadable:PERSONA:PARENT.FIELD with the rule's report on BuildHalf.rollupSourceUnreadable), a Build finding naming persona, roll-up and withheld child, and buildPassed false. Not charged: a set no persona holds, a child the card lets the persona read, the info row-scope arm, ask mode. eval#1 records: 9 of 28 live project_with_tasks scratch builds charged (fable 1/1, haiku 2/14, opus 4/9, sonnet 2/4), 1 of 28 invoice (sonnet), 0 crm; Build pass verdicts that move: 4 builds (2026-11-14 fable, effort-high opus, models opus, effort-low sonnet invoice), build and iterate halves alike. eval#1's 'all 15 confirm builds' counted the authoring transcript; the runner's final os build leaves the warning standing in 4 of 15 (complete tails), all 4 already partial.",
     "tests": "On b71ea1c1 tree (pre-merge 9155e81c, merge touched no qa/lint/core/lockfile): pnpm --filter @objectstack/scenarios typecheck :: exit 0; pnpm --filter @objectstack/scenarios test :: 32 files / 916 tests passed, 2 test/build files PREREQUISITE (no dist) then after pnpm --filter @objectstack/scenarios build: vitest run test/build 3 files / 16 tests passed (lock VERDICT command-exit 0); vitest -t 33818 :: 8 passed. New: orchestrate.test.ts one top-level describe, 8 cases (charged x2 on client_viewer with record verdict not pass and buildPassed false; masked uncharged with no rollup-source in record; non-withheld child field + info arm uncharged; non-persona set uncharged, same grants under persona name charged; withheld child field charged; template iterate charged and ask none; packages[] artifact; every wording arm parsed by running the real rule, unreadable refused). Ablation via scripts/ablation-replace.mjs on committed head: buildTally without the charge -> 1 failed / 7 passed, restored blob == HEAD, git diff HEAD empty.",
     "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 9155e81c (8 paths, 78 families), each with stdin /dev/null: 76 exit 0, 2 exit 3 (PREREQUISITE NOT MET): check-plugin-teardown-shape --self-test (shallow clone; rerun after git fetch origin 621a4876 :: exit 0, '48 cases pass') and pnpm check:dual-build-cjs-loads (needs every package dist/, NOT MEASURED locally, CI runs it). --ran: '78 derived famil(ies) accounted for — 76 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)'. Dependency gates among them exit 0: check:undeclared-dep-imports, check:workspace-manifest-cycles, check:published-files, check:dts-closure. eslint --no-inline-config on 4 touched TS files :: exit 0. pnpm --filter '@objectstack/scenarios^...' build :: exit 0 (lock VERDICT command-exit 0). CI on #34246 just started at report time. Records: gates-ran-9155e81c.list, gates-rerun-9155e81c.list, ran-reconcile.log, measure.mjs, measure.out in out-33818/.",
     "line_budget": "451 changed lines (+440/-11) in 8 files; no governed surface; packages/spec untouched",
     "files": [
      ".changeset/33818-rollup-source-build-charge.md",
      "packages/qa/scenarios/README.md",
      "packages/qa/scenarios/package.json",
      "packages/qa/scenarios/src/runner/orchestrate.ts",
      "packages/qa/scenarios/src/runner/scorecard.ts",
      "packages/qa/scenarios/test/runner/orchestrate.test.ts",
      "packages/qa/scenarios/vitest.config.ts",
      "pnpm-lock.yaml"
     ],
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "2 — mcp__github__issue_read (get, get_comments) on #33818; no write tool (gh api GET reads of #33595 and claim comment 6904737783 outside MCP)",
     "api_writes": "2 — fleet-write relay: pr_create (#34246, run 43790753597), this os-dev-report comment on #33818",
     "deviations": [
      "The PR body carries the FRAME's signed HTML trailer line though os-dev bars dev-written HTML comments; the FRAME asks for it, as on #34185. The merge commit b71ea1c1 carries no trailer pair (branch is not claude/issue-*, not rewritten). The harness's assignee/reviewer step after pr_create was skipped per FRAME.",
      "Design point 5: the card's '15 of 15' does not hold for the build as it finishes; the PR charges the 4 of 15 still standing, and says why."
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed: the rule run is the one installed with @objectstack/scenarios (same release), not the app's own lint; a run against older published packages judges the artifact by this release's rule"
     ]
    }
  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#33595#1 · os-tesla · session_01L9qiby1cctpVpRbJzjccvY

    Landed · 2026-11-16T04:22Z

    PR #34246 merged as d8a55d64 (ACCEPT 6905710576; contract review PASS 6905440506). The scenario runner now runs security-rollup-source-unreadable (@objectstack/lint's validateRollupSourceVisibility) on every built artifact (scratch, its iterate, template's iterate), never on the bounded os build tail. A finding on a card persona's own set, where the card withholds the roll-up's child object or the named child field from that persona, is one failed Build check, a Build finding naming the persona, the roll-up and the withheld child, and a failing rollup-source-unreadable:<persona>:<parent.field> check in the record; buildPassed refuses such a build, so template and ask modes do not install it. Other findings are not charged; ask mode is never charged; a build with no such finding is unchanged. On eval#1's live records it charges project_with_tasks 9 of 28 scratch builds and invoice 1 of 28 (crm 0), and flips 4 pass verdicts. This settles the maintainer's 「改为搭建侧处理」 on the Build side. pm:dispatched dropped; card thread closing. Queue ① is done, and M2 closes with this card.

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

Metadata

Metadata

Assignees

Labels

area:devpathdomain:devxpm:epicpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions