You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two retired-key refusal texts in packages/spec/src/data/object.zod.ts still tell an author to use the per-field trackHistory flag for field-level history:
enable.trash guidance: "For history use per-field trackHistory (audit trail), and for retention a lifecycle policy."
versioning guidance: "Use per-field Field.trackHistory for field-level history, or a data lifecycle policy (lifecycle) for retention."
That is no longer how field history works on main:
Field-change values show by default. enable.fieldHistory is the object's off switch, and a field opts out with its own fieldHistory: false.
trackHistory on a field is not the values switch. The field schema itself says trackHistory: false is not an off switch.
enable.trackHistory on the object turns on the ledger view and the history verb. It does not decide whether values show.
So an author who hits either refusal is sent to a flag that does not do what the message says.
Where it came from
Flagged by the developer on #36419 (PR #36775, which fixed the same teaching in skills/objectstack-data) and confirmed on main by that PR's contract review. It was correctly left out of that PR's scope.
Done when
Both refusal texts point at the current model: field history is on by default; enable.fieldHistory: false turns it off for the object; a field opts out with fieldHistory: false; lifecycle stays the retention answer.
No other refusal or .describe() text in packages/spec still sends authors to per-field trackHistory for field-level history.
Any test or snapshot that pins those texts is updated.
A changeset for @objectstack/spec (wording only, patch).
Triage: lands in area:build · domain:spec · priority:p2 · Bug · pm:queue · size XS. Area moved from area:data. The filing seat's grade stands. Type set to Bug.
Rationale: the defect is the prescription in two retired-key refusals (enable.trash, versioning in object.zod.ts), which still send authors to per-field trackHistory for field history. "Wrong metadata is refused at the author's door, with a prescription" is an area:build core feature, so the card lands there even though the subject is field history. Under North Star Priority rule 2, a wrong shipped sentence is a Bug with the reach "builders, often", because AI copies the prescription into what it writes. An Impeded or Cosmetic severity at that reach is p2. The fix is a wording-only patch in packages/spec, as the card says.
Activity
objectstack-fleet commentedon Nov 23, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in
area:build·domain:spec·priority:p2· Bug ·pm:queue· size XS. Area moved fromarea:data. The filing seat's grade stands. Type set to Bug.Rationale: the defect is the prescription in two retired-key refusals (
enable.trash,versioninginobject.zod.ts), which still send authors to per-fieldtrackHistoryfor field history. "Wrong metadata is refused at the author's door, with a prescription" is anarea:buildcore feature, so the card lands there even though the subject is field history. Under North Star Priority rule 2, a wrong shipped sentence is a Bug with the reach "builders, often", because AI copies the prescription into what it writes. An Impeded or Cosmetic severity at that reach is p2. The fix is a wording-only patch inpackages/spec, as the card says.