Skip to content

skills: objectstack-data still teaches field history as opt-in after the default flips #36419

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Follow-up from #36290 (PR #36399, field old and new values shown on the record page by default). The PR's Skills-docs: follow-up owed line names this; L1 found no card. Filed by the seat. Parent: #36290.

What happens

skills/objectstack-data/SKILL.md still teaches the opt-in model. Its enable table (around line 112) gives trackHistory default false as the field-level audit trail, and the object table row for enable (around line 104) lists trackHistory as a capability flag with no word on the new default. After #36399 an agent reading the skill would write metadata for a history model that no longer holds.

To do

  1. Rewrite the two rows to match the contract feat(audit): the activity stream shows each changed field's old → new values by default, served only for fields the reader may read #36399 lands: field old and new values are shown by default, an object turns them off with fieldHistory: false, and a single field with trackHistory: false.
  2. Say which readers see the values (members on fields they can read, through the activity stream; the full audit ledger stays admin only).
  3. Check the skill's references for the same claim and fix them in the same change.

Acceptance

  • No sentence in skills/objectstack-data/** describes field history as opt-in.

Blocked-by: #36399

Grade

p2 · domain:skills. Teaching drift, not broken; an agent following the skill writes needless or wrong history flags.


Generated by Claude Code

Activity

  1. added
    documentation
    priority:p2
    pm:blocked
    domain:skills
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: pm:blocked (until the field-history default flips) as filed; rationale: area:ai (product skills; it had no area) · Bug · once the default flips, objectstack-data still teaches field history as opt-in, so an agent following it adds a redundant opt-in or believes history is off. A shipped skill that teaches the wrong thing is AI taught wrong, p1 under the 2026-11-21 standard; it should land with or right after the flip → p1 (was p2) · size XS.

  3. added
    area:ai
    priority:p1
    and removed
    priority:p2
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Correction (2026-11-22T13:39Z): step 1 of this card names the field's off switch as trackHistory: false. After PR #36399 (#36290 PR 1) the per-field switch is fieldHistory: false; read step 1 that way. Found by the #36290 thread, corrected by the seat.

  5. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock (daily scan): every Blocked-by: target is closed, so pm:blocked → pm:queue; grade unchanged.

    Target #36399 merged at 2026-11-22T16:37Z. No newer Blocked-by: line in the thread, no Unlock-action: line, no assignee. Same repository, so no installability check is owed.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Claim: PM loop round 10 · 2026-11-23T17:01Z
    Session: session_01JQwxbZeHNsF3RWcWpj7rGj
    Thread session: opened by the coordinator; the thread names itself in its first report
    Account: os-warren
    Branch: the card thread's own branch, named at its first push; the seat records it then
    Worktree: objectstack-issue-36419
    Domain: domain:skills
    Seat: repo:objectstack#1
    Area: card thread #36419 (w9-36419)
    Dispatch: p1 area:ai (product skill docs, not the AI-optimization hold), unblocked by triage#1's daily scan (#36399 merged); in scope under the maintainer's 2026-11-23T15:36Z rule (in-flight + p1); one in for one out under the 15-thread cap
    File surface: skills/objectstack-data/** (SKILL.md and its references/rules that state the field-history model), a changeset if the skills package publishes (stop on breach; the thread's first report states the real surface and the seat amends this line)
    Container & model: S, mode:thread, model: opus — default tier; the thread's first report states the served tier, effort: high
    Clause-②: no. A new route, contract, spec key or export is amended to yes before its code
    Metadata-protocol: none
    Responsibility: as the card body states
    Thread-read: none
    Premise: read from the card; the thread re-reads it on its base before code
    Serial constraints cleared: no open PR names the card, per the coordinator's dedupe

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Progress · 2026-11-23T20:37Z (answers triage#1's idle request): no code has been written yet. The first card thread, on opus, stopped at the dispatch gate, which mandates the fable tier for skills/**, and that thread was closed. The seat has asked for a fresh fable thread. Its premise reading is carried over: the only opt-in sentence is skills/objectstack-data/SKILL.md:110; the contract on main is enable.fieldHistory plus the per-field fieldHistory: false; the token budget is 6706 of 6710. The claim (7108048693) stands, and the branch record follows the new thread's first report.

  10. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
    os-dev-report
    {
    "issue": 36419,
    "status": "done",
    "branch": "claude/issue-36419-field-history-skill",
    "pr": "#36775",
    "session": "session_01JQwxbZeHNsF3RWcWpj7rGj",
    "premise_still_valid": true,
    "summary": "Head 710841d, base origin/main 70f454a, served tier: fable (the tier dispatch-gates --tier mandates for skills/). Premise re-read on the base: the only opt-in sentence in skills/objectstack-data/ was SKILL.md:110 (trackHistory, default false, 'Field-level audit trail'); the contract is enable.fieldHistory plus the field's own fieldHistory (packages/spec/src/data/field-history-default.ts, object.zod.ts, field.zod.ts). The enable table now has a fieldHistory row (on by default; false turns values off for the object; a field opts out with fieldHistory: false; media and structured fields show values only with true; a credential never; values served per the reader's field read rule; sys_audit_log keeps its own grant) and a trackHistory row that says what the flag still does (ledger view on the record page, the history API verb) and that it is not the values switch. examples-objects.md keeps enable.trackHistory: true. Paid in the same file without moving the ceiling: the aiReadable row is trimmed and twelve restating phrases are shortened; SKILL.md went 6706 to 6709 tokens against 6710, 471 to 471 lines; all skills SKILL.md 65222 to 65225 tokens, 4947 to 4947 lines. Changeset: patch for @objectstack/skills (the package publishes the skills tree). Worktree note: this run was placed by the harness in its own isolated worktree, so the branch was created there from origin/main instead of at ../objectstack-issue-36419; the empty branch was pushed first and answered normally.",
    "tests": "Wording-only diff on a published skill, no tested behaviour changed, so no ablation and no package test owed. On head 710841d: node scripts/check-skills-token-ratchet.mjs exit 0, 'skills/objectstack-data/SKILL.md is 6709 tokens (ceiling 6710; headroom 1)' and '60 authored bundle file(s) within their ceilings'. Before any cut the same gate read 6805 (over by 95); the first tightening read 6775 (over by 65).",
    "gates": "Local, head 710841d, exit codes captured by a runner before any pipe. dispatch-gates --commands derived 50; dispatch-gates --ran: '50 derived famil(ies) accounted for — 46 run, 4 NOT-MEASURED (4 DERIVED from a recorded exit 3)'. 46 exit 0, including check-skills-token-ratchet (scan and self-test), check:skill-links, check:skill-identifier-liveness, check:skill-frame-sync, check:skill-compatibility, check:pm-skill-id-lint, check:corpus-claim-drift, check:doc-authoring, check:role-word, check:nul-bytes, check:published-files, spec check:skill-docs, spec check:skill-served-sections, lint check:doc-formula-expressions (first run exit 3, package not built; exit 0 after building it), check-changeset-no-major, check-empty-changeset, check-adr-0087-registration. NOT MEASURED locally, exit 3 PREREQUISITE NOT MET (they read every package's dist; only spec and the lint closure were built, under the verify lock, VERDICT command-exit 0 both times): check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content; CI is their reading. Outside the derived list: check:skill-top-level-keys exit 0. No evals file was edited, so no evals schema reading is owed beyond the ratchet's own measure of them. PR check-runs at report time: in_progress for Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards, Lint (ESLint; repo and tooling gates; docs and code guards; PM dispatch-gates; CI, release and engine gates; three scoped lanes), Type Check (workspace; source gates; debt ledger; consumer gates) and filter; skipped: Queue verdict, Borrowed queue verdict, Schedule gate, Packed-tarball smoke, 18.x upgrade harness.",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "0",
    "api_writes": "2 — fleet-write relay pr_create (draft, assignees os-warren, no labels, no reviewers; read back identical, 6587 bytes) on objectstack-ai/objectstack; this os-dev-report comment through post-stamped. Plus git pushes of the branch (the empty branch, then one commit).",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "class: a · reach: exception: release-text — two shipped refusal texts in packages/spec/src/data/object.zod.ts (the retired-key guidance for enable.trash, near line 212, and for versioning, near line 1950) still send an author to per-field trackHistory 'for field-level history'; since the default flipped, that flag changes nothing on a field whose values already show, and it is not the off switch. Read from source, not reproduced through a public door. Dedupe words: trackHistory, retired key guidance, versioning, enable.trash, field-level history",
    "carrier: none · noted, not filed — the card's item 2 wording ('the full audit ledger stays admin only') was not written into the skill; per the dispatch order the row says the ledger keeps its own grant. The reading that a read-only viewer's wildcard grant covers sys_audit_log is the seat's; this run did not re-measure it."
    ]
    }

  11. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Claim: branch record · 2026-11-23T21:03Z · same session as claim 7108048693, which it completes
    Session: session_01JQwxbZeHNsF3RWcWpj7rGj
    Thread session: session_01JQwxbZeHNsF3RWcWpj7rGj
    Account: os-warren
    Branch: claude/issue-36419-field-history-skill
    Worktree: objectstack-issue-36419
    Domain: domain:skills
    Seat: repo:objectstack#1
    Area: card thread #36419 (w9-36419)
    File surface: skills/objectstack-data/SKILL.md (enable table: a fieldHistory row and a corrected trackHistory row; the aiReadable row and twelve restating phrases trimmed to stay within the 6710-token ceiling) and .changeset/36419-skills-field-history-default.md (patch, @objectstack/skills). Built by the seat's own os-dev subagent on fable, as the skills/** gate mandates; PR #36775
    Container & model: S, mode:thread, served opus, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: as the card body states
    Thread-read: none
    Premise: holds on main 70f454a: SKILL.md:110 was the only opt-in sentence; the contract is enable.fieldHistory plus the per-field fieldHistory: false
    Serial constraints cleared: no open PR names the card

  12. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Cleared · 2026-11-23T22:27Z: closed by the merge of #36775 (os-zhuang approved). The seat takes pm:dispatched and its assignee off. The follow-up on the spec refusal texts is #36776.

  13. removed
    pm:dispatched
    on Nov 23, 2026
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

    area:aidocumentationdomain:skillspriority:p1

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions