Skip to content

skills: teach rollupSourceUnreadableReason beside security-rollup-source-unreadable (follow-up of #34664) #34742

Closed

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Filing gate ②: the Skills-docs: follow-up owed by #34664's PR (new authorable key rollupSourceUnreadableReason on a permission set's field entry, named by this seat on 2026-11-17 at 09:22Z). Dedupe: rollupSourceUnreadableReason skill; no open card.

Suggested-grade: p2 · domain:skills · Blocked-by #34664

维护者速读

Change

  1. skills/objectstack-data/rules/relationships.md (the paragraph "Never finish with security-rollup-source-unreadable standing", ~L228): add the third way, proposed text: "If the request says this set should see the total but not the children, keep the column readable and acknowledge it on the set's entry with the reason: fields: { 'project.task_count': { readable: true, rollupSourceUnreadableReason: 'Clients see progress counts, not tasks' } } — the warning becomes a note quoting it. Never add the reason to silence a total the request withholds; mask it instead."
  2. skills/objectstack-data/evals/hooks-security-seeds-datasources.json: keep the case at ~L197 (request forbids the total → mask); add one where the request says the set sees the total but not the rows → acknowledge with a reason.

Done when

Both land after #34664's key ships in a release the skills target.

Activity

  1. added
    enhancement
    finding
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → p2 · domain:skills · pm:blocked · 2026-11-17T09:24Z

    ⛔ Not a claim.

  3. added
    domain:skills
    pm:blocked
    priority:p2
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: unlock → pm:queue · 2026-11-17T12:52Z

    ⛔ Not a claim.

    Blocker #34664 closed today at 12:45Z. Back to the queue at its grade (p2).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

    Claim: PM loop (area o3-C, skills p2 released by the maintainer 22:35Z, seat note 22:36Z)
    Session: session_01WGufziunkXbDT7wUWqfmWz
    Account: os-support-ai
    Branch: claude/issue-34742-rollup-reason-teaching
    Worktree: objectstack-issue-34742
    Domain: domain:skills
    Seat: repo:objectstack#3
    File surface: skills/objectstack-data/rules/relationships.md (the "Never finish with security-rollup-source-unreadable standing" paragraph and its example, ~L228), skills/objectstack-data/evals/hooks-security-seeds-datasources.json (keep the ~L197 mask case, add one acknowledge case), scripts/check-skills-token-ratchet.mjs (that file's row only, by the measured remainder, only if same-file cuts cannot pay), root .changeset/
    Container & model: M, mode:subagent (area o3-C os-dev), model: CONTRACT_REVIEW_TIER (dispatch-gates --tier printed "Model tier — MANDATORY" for skills/objectstack-data/rules/relationships.md ⇢ 'skills/**', clause ①, no one-line exit), effort: medium (seat 22:36Z: small skills text plus eval card)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: published skill objectstack-data in objectstack (its rollup-visibility rule teaches two ways out, grant the child read or mask the total, and not the rollupSourceUnreadableReason acknowledgement #34664 added, so an agent still silences the warning with a read grant the request forbids) | none | every authoring agent that installs the skill
    Thread-read: 6948591732
    Premise: holds on origin/main 6d2db1d. skills/objectstack-data/rules/relationships.md:228-233 names only grant-or-mask; no file under skills/ names rollupSourceUnreadableReason; packages/lint/src/validate-rollup-source-visibility.ts and validate-rollup-source-visibility-acknowledged-34664.test.ts carry the acknowledgement. The card's "after #34664's key ships in a release the skills target" holds by construction: @objectstack/skills is versioned and published with the other @objectstack/* packages (skills/README.md:19-21), so the text lands in the release that carries the key (npm @objectstack/spec@18.5.0, 2026-11-15, predates it; measured). The dev re-reads the lint rule's real severity and wording before writing.
    Serial constraints cleared: open PRs #35022 (#34789, o3-J, trigger cases) and #34964 (#34504, seat 4 lease o4-C) also edit hooks-security-seeds-datasources.json; overlap-check before every push, append-only case, whoever lands second merges main. No open PR touches relationships.md.
    Pre-claim lane: domain:skills — every path is under skills/** (+ the ratchet row) — seat-assigned to area o3-C.
    Pre-claim deps: Blocked-by #34664, closed 12:45Z (PR #34775 merged); triage unlock 6948591732 re-queued it at p2.
    Prior rulings read: card-named only (#34664 / PR #34775; contract review 6945332987); skills line-budget ruling record 6513306068 (evals unpriced); thread: none; repo: objectstack-ai/objectstack

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz
    os-dev-report

    {
      "issue": 34742,
      "status": "done",
      "branch": "claude/issue-34742-rollup-reason-teaching",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35042",
      "session": "session_01WGufziunkXbDT7wUWqfmWz",
      "premise_still_valid": true,
      "Dev-effort": "medium",
      "Rounds": 1,
      "summary": "skills/objectstack-data/rules/relationships.md now names the third way out of security-rollup-source-unreadable: a set meant to see the total but not the children keeps the column readable and adds rollupSourceUnreadableReason to its entry for it (the warning becomes a note quoting the reason; refused blank or beside readable: false), with the acknowledged entry as a commented alternative in the client_viewer example and the card's guard against silencing a withheld total. Eval case id 27 (acknowledge) is added right after the kept mask case id 20; its tokens are layout-independent (summary, project.task_count, rollupSourceUnreadableReason) per the seat rule, and the two checks that cannot be spelled layout-independently (not readable: false; no task read grant) are left out and named in the PR body. The teaching (+419 bytes) is paid in full by six restatement cuts in the same file (-451), so the token row goes DOWN 4229 to 4221, no raise. One in-place correction inside the edited sentence, declared in the PR body: the mask clause said View All or Modify All overrides the mask; measured against the lint rule and ADR-0066 D2 (8) note of 2026-11-15 only the set's own Modify All does, so the sentence and the same parenthetical in eval id 20's expected_output now name Modify All alone (id 20's assertions untouched). Premise re-measured on origin/main 6d2db1d7ef: paragraph named grant-or-mask only; zero skills/ hits for the key with a positive control in packages/lint and packages/spec.",
      "tests": "Head df1e9b4764. (1) Probe of the rebuilt packages/lint dist (validateRollupSourceVisibility) and FieldPermissionSchema over a project/task stack with client_viewer, throwaway script not committed: no entry => [warning security-rollup-source-unreadable]; readable:false => []; readable:true + reason => [info, same id, message ends 'Acknowledged on the set: \"Clients see progress counts, not tasks\"']; parse reason+readable:true ok; blank reason refused at path rollupSourceUnreadableReason; reason beside readable:false refused at the same path; own mask + own View All => []; own mask + own Modify All => [warning]. (2) Eval script check: 25 cases, 25 distinct ids, every must_contain in its expected_output, no must_not_contain present, 0 violations. (3) node scripts/check-skills-token-ratchet.mjs exit 0: 'check-skills-token-ratchet: 58 authored bundle file(s) within their ceilings; 10 generator-owned file(s) and 30 eval fixture(s) measured, not ratcheted'; --self-test exit 0. No ablation: prose, a fixture and a ratchet row, no tested behaviour changed. No package test suite owed: no package source touched.",
      "gates": "Local, head df1e9b4764, exit codes captured before any pipe. Build: pnpm --workspace-concurrency=2 --filter '@objectstack/lint...' build under os-verify-lock, 'VERDICT command-exit 0'. dispatch-gates --commands then --ran: 'dispatch-gates --ran: 64 derived famil(ies) accounted for - 62 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)', exit 0; all 62 run families exit 0. NOT MEASURED: check:dual-build-cjs-loads, reason: exit 3 prerequisite not met (needs a full build), left to CI; check:lean-entry-closure, reason: the same. check:nul-bytes exit 0. overlap-check before the push (main 6d2db1d7ef, PRs 35022 and 34964) and again after it on fetched main 65ec3c50a3 (PRs 35038, 35022, 34964): 'VERDICT clean exit 0' both times. The edited gate script has no *.test.* naming it (git grep, zero hits); its own --self-test ran. test:repo and repo-wide lint not run locally, declared to CI. CI check-runs on df1e9b4764 at report time: all in_progress (Check Changeset, Check PR Size, Governed Surface Queue Guard, the Lint and Type Check families, PR-body guards, filter); none concluded, none red.",
      "dogfood_battery": "n/a - no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes - (1) fleet-write dispatch fw-20261117T235742Z-2245c1, pr_create: POST /repos/objectstack-ai/objectstack/pulls (draft) plus the assignees leg POST /issues/35042/assignees (os-support-ai); read-back 10649 bytes sent, 10649 stored, identical. (2) this os-dev-report comment via post-stamped.mjs: POST /repos/objectstack-ai/objectstack/issues/34742/comments. Plus git pushes of the branch (not REST writes).",
      "open_questions": [
        {
          "question": "The in-place View All correction: was it in scope? The edited sentence taught 'View All / Modify All ... (either overrides the mask)', false for View All since the ADR-0066 D2 (8) note of 2026-11-15; I corrected it in the paragraph and in eval id 20's expected_output (both on the claimed file surface), under the rule that a published defect the round touches is fixed.",
          "options": [
            "A keep the correction in this PR",
            "B revert those two phrases and file a separate card"
          ],
          "recommendation": "A, because the sentence is being rewritten anyway, the fix removes bytes, and it is proven against the lint rule (mask + own View All => no finding; mask + own Modify All => warning)."
        },
        {
          "question": "Conflicts between the dispatch order and the agent file, followed as dispatched and named here: (a) the agent file forbids HTML comments in a dev-written PR body except the harness first line, while the dispatch requires the trailing signed comment (the shape dispatch.mjs defines as PR_BODY_TRAILER_SHAPE); the body carries it as its last non-empty line. (b) the harness reminder asked for a model-named commit trailer and a different PR footer; the model-free pair and the AGENTS.md session-URL footer were used instead.",
          "options": [
            "A accept as landed",
            "B seat rewrites the body tail"
          ],
          "recommendation": "A, because the read-back shows the body stored byte-identical and the trailer is the tool's own recognised shape."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  9. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

    Claim amendment (same session, same branch claude/issue-34742-rollup-reason-teaching) to claim 6964052861, per L1-a's S1 on PR #35042 (6964696398). The file surface's scripts/check-skills-token-ratchet.mjs entry, "that file's row only, by the measured remainder, only if same-file cuts cannot pay", also covers a row-DOWN edit. Same-file cuts paid in full (+419 / −451 bytes), so the PR lowers skills/objectstack-data/rules/relationships.md's ceiling from 4229 to 4221 tokens, and the cuts' headroom is not left behind for a later edit to spend. No other file joins the surface. Clause-②: no and Metadata-protocol: none are unchanged.

  10. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

    Delivered by PR #35042 (merged c21945d, queued by the maintainer). skills/objectstack-data/rules/relationships.md now teaches a third way out of security-rollup-source-unreadable. A set meant to see the total but not the children keeps the column readable and acknowledges it with rollupSourceUnreadableReason on its entry. The warning becomes an info note quoting the reason. The reason is refused if blank or beside readable: false, and it is never used to silence a total the request withholds. The mask clause now names Modify All alone, matching the ADR-0066 D2 ⑧ note. Eval id 27 covers the acknowledgement. The token row tightened from 4229 to 4221. pm:dispatched and lease:o3-C come off with this close.

    Open at the merge: nits only. Two long reflow lines, and the skill does not say what to do when the request names no total. Dev-effort: medium · Rounds: 1.

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

Metadata

Metadata

Assignees

Labels

domain:skillsenhancementfindingpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions