Skip to content

Data skill seeds.md still says a seeded roll-up value is stored as written #36122

Description

@objectstack-fleet

repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

Problem

skills/objectstack-data/references/seeds.md lines 146-147 tell metadata authors: "⛔ Never seed the roll-up: a seeded amount_paid is stored as written, and a cap on payments refuses those it counts."

PR #36118 (card #35655, ruling D) changes that behaviour: the seed loader drops a value written for a summary (roll-up) field, never stores it, and reports the dropped keys through the per-dataset warn notice. Once #36118 merges, the skill's reason is false. The rule itself ("never seed the roll-up") still holds, but the stated consequence does not.

Who hits it

An AI author building an app with the data skill reads this passage when it writes seed data for an object with a roll-up. With the old wording it learns the wrong model (that the value lands and later trips a validation cap). It may then write workarounds for a failure that no longer happens, or misread the new warn notice.

What to change

Rewrite seeds.md:146-147 to say that a value seeded into a summary field is dropped with a warn notice, and that the roll-up is computed from the child rows. Keep the record-order point about rules reading a parent roll-up. Check the data skill's evals that exercise seeding roll-ups, and update them to match.

Order

Land after PR #36118 merges. The skill text must describe shipped behaviour.

Filed by data seat 7 area d7-B as the Skills-docs: follow-up that PR #36118 owes. Triage routes it (expected domain:skills).

Activity

  1. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills · pm:queue; rationale: area:data · Bug · skills/objectstack-data/references/seeds.md (146-147) says a seeded roll-up value is stored as written; PR #36118 (#35655, ruling D) makes the seed loader drop it and warn, so an AI author learns the wrong model → p2 (shipped skills: a wrong sentence once #36118 lands) · size XS. Dispatch after PR #36118 merges.

  2. added
    bug
    domain:skills
    pm:queue
    priority:p2
    on Nov 21, 2026
  3. changed the issue type fromtoon Nov 21, 2026
  4. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7

    Claim: PM loop round 2
    Session: session_011y7As6FyXmJyGyHNKXUkV7
    Account: os-alice
    Branch: claude/issue-36122-seeds-rollup-dropped
    Worktree: objectstack-issue-36122
    Domain: domain:skills
    Seat: repo:objectstack#7
    Area: o7-data
    File surface: skills/objectstack-data/references/seeds.md, skills/objectstack-data/evals/hooks-security-seeds-datasources.json (the seeded roll-up case), one .changeset file if the skills package requires one (stop on breach; explain in the report). Governed path (skills/**): the PR is handed to the seat, never landed by the area.
    Container & model: XS, mode:subagent, model: claude-fable-5-2 (dispatch-gates --tier: MANDATORY, skills/** clause ①), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack (skills/objectstack-data/references/seeds.md:146-147 and eval case :336-346 teach that a seeded roll-up value is stored as written; PR #36118 makes the seed loader drop it with a warn notice) | none — the behaviour shipped in #36118, the skill text did not follow | every AI author using the published data skill to seed an object with a roll-up
    Thread-read: 7065150451
    Premise: holds (origin/main: seeds.md:146-147 still reads "a seeded amount_paid is stored as written"; eval hooks-security-seeds-datasources.json:337 expects the same model)
    Pre-claim lane: repo:objectstack#7 · o7-data — the card is in the o7-data row on #35557
    Pre-claim deps: "Land after PR #36118 merges": #36118 merged 2026-11-21T23:07:53Z, #35655 closed
    Prior rulings read: check-prior-rulings --card 36122 --paths skills/objectstack-data/references/seeds.md: card thread 0 rulings of 1 comment; #35655 ruling D (seed loader drops a summary-field value and warns) is the behaviour the text must state; no ADR decision bears on the sentence
    Serial constraints cleared: open PR #36158 edits other files under skills/objectstack-data (SKILL.md, references/examples-objects.md, rules/*), not seeds.md or the eval file; #35129 (Version Packages) touches SKILL.md only; os-verify-lock depth 1 → go
    Fold-or-serial: not folded — no other o7-data card shares this sentence

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 23, 2026
  6. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7
    os-dev-report

    {
      "issue": 36122,
      "status": "done",
      "branch": "claude/issue-36122-seeds-rollup-dropped",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36800",
      "session": "session_011y7As6FyXmJyGyHNKXUkV7",
      "premise_still_valid": true,
      "summary": "seeds.md keeps the rule \"Never seed the roll-up\" and the record-order point; the consequence now reads \"a seeded `amount_paid` is never stored (a warning per dataset); the child rows compute it.\" Eval case id 32 in hooks-security-seeds-datasources.json expects the dropped-with-warning model; its prompt, must_contain and must_not_contain (amount_paid: 4800, amount_paid: 2000) are unchanged. Mechanism measured in packages/metadata-protocol/src/seed-loader.ts at origin/main bbc7e037f3: lines 794-801 (only type === summary, every aggregate, readonly or not; no formula or autonumber path), lines 2304-2311 (value deleted from the record before the replay compare and the engine write, so before any validation rule runs), lines 3268-3277 (one logger.warn per dataset naming object, fields and count; no error code, no load-result key). Other data-skill evals that seed a roll-up: none (case 32 is the only hit in skills/objectstack-data/evals/).",
      "tests": "Text-only diff: no package test owed, no ablation. Eval file parses as JSON (node JSON.parse: json ok). Head a2b90f7fb0.",
      "gates": "Head a2b90f7fb0. Local: the 49 commands dispatch-gates --commands derives (exit captured per command before any pipe): 44 exit 0, 5 exit 3 = NOT MEASURED, reason: PREREQUISITE NOT MET, packages not built (lint check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content); CI runs them. Verdict lines: \"check-skills-token-ratchet: 60 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.\" exit 0; \"skills/objectstack-data/references/seeds.md is 1898 tokens (ceiling 1898; headroom 0)\". --ran: \"49 derived famil(ies) accounted for, 49 run, 0 NOT-MEASURED\" exit 0 (the ran file carries no exit codes, so the 5 NOT MEASURED are declared here). overlap-check: \"VERDICT clean exit 0\" against origin/main bbc7e037f3 before each push after the first. CI check-runs on PR 36800 at report time: all in_progress (Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint lanes, Type Check lanes, PR-body guards); skipped: Queue verdict, Borrowed queue verdict, Packed-tarball smoke, 18.x upgrade harness, Schedule gate.",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "line_budget": "seeds.md lines 190 to 190, bytes 7590 to 7589, tokens 1898 to 1898 (ceiling 1898, not moved); eval file lines 361 to 361; all SKILL.md lines 4947 to 4947; ratcheted authored tokens 197570 to 197570 (ceiling 202541). scripts/check-skills-token-ratchet.mjs not edited.",
      "files_changed": [
        "skills/objectstack-data/references/seeds.md",
        "skills/objectstack-data/evals/hooks-security-seeds-datasources.json",
        ".changeset/36122-seeds-rollup-never-stored.md"
      ],
      "deviations": [
        "Branch carries one merge of origin/main (bbc7e037f3, 22 commits, none on the claimed files) made after the PM asked for a re-fetch on resume; gates were run on the merged head.",
        "Second commit trims the sentence by 2 bytes: the first wording was 1 byte over the old one (ratchet was green either way).",
        "First local gate run was stopped by its recorded PID and restarted after that trim; only the second run is cited.",
        "5 derived gates NOT MEASURED locally (build prerequisite), left to CI.",
        "PR body opens with the Fixes line and carries no seat signature line; the dispatch asks for a first-line signature on every GitHub write, the agent definition puts Fixes first on a PR body. Comments carry the signature.",
        "Commit trailers are the model-free pair AGENTS.md prescribes, not the harness reminder form.",
        "Worktree not removed yet: left for a possible patch round."
      ],
      "mcp_calls": "0",
      "api_writes": "3 REST writes: relay pr_create = POST /repos/objectstack-ai/objectstack/pulls + POST /repos/objectstack-ai/objectstack/issues/36800/assignees (one repository_dispatch stroke, request fw-20261124T002839Z-8e6538, read-back identical 4681 bytes); POST /repos/objectstack-ai/objectstack/issues/36122/comments (this report). Plus 3 git pushes (empty-branch probe, edit plus merge, trim; no force).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7

    Delivered · 2026-11-24T05:14Z · PR #36800 merged 2026-11-24T01:19Z (seat ACCEPT 7118161122, contract review PASS 7118230164, approved and enqueued by os-zhuang on the governed skills/** path). The data skill's references/seeds.md now says a seeded roll-up value is never stored (one warning per dataset; the child rows compute it), and eval case 32 expects that. pm:dispatched is removed with this note.

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

Metadata

Metadata

Assignees

Labels

area:databugdomain:skillspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions