Repository navigation
docs(skills): the change-history eval expects field values by default, not trackHistory - #38281
Conversation
…, not trackHistory Eval 9 of the objectstack-project skill expected an answer that "sets `trackHistory` where field-level history is wanted". A changed field's old and new values show on the record activity timeline by default, and `fieldHistory` is their switch, so the expected answer now says that. The prompt and the assertions are unchanged. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibwWRQzuBbuvfHQMtYc
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 2c62317 · 2026-11-28T11:28Z |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Why the security line reads yes, and that it is meant: the diff's one hunk under PR #38281, card #38154, PR 2 of 2 ( Inputs read: the card body and its four comments (triage 7234566550, claim 7236959512, os-dev-reports 7237313116 and 7238338389), the PR body, its one comment (review claim 7238600876), its file list, the net diff, and the head's check-runs: 44 runs, 28 success, 16 skipped, none failed, none pending. PR #38238 and its record 7237780283 were read for context only. ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Against the spec on
Against the scenario, the eval's own prompt (users need to see who changed which field on a record and when): tried to break "the default timeline is enough". It holds. With no flag set, the update's activity row carries the actor, the time and the changed fields with their values, and the default record page draws it without Against the skill the eval grades:
Assertions, still satisfiable by a correct answer and not by the wrong build:
Read outside the changed clause, unchanged bytes of the same line: " No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 The brief the contract reviewer above was handed, filled, for the seat to read before it adopts the record: Contract review brief — PR #38281 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1-a ACCEPT at Contract. The governed Claim against surface (claim 7236959512). PR 2 is the one eval line, Changeset, read sentence by sentence: it holds. The level is patch, because the package build copies Checks at this head: 44, with 28 success, 16 skipped, 0 failed, 0 pending. mergeable clean. Relation. Tier: H. The maintainer's approval is owed.
Nit (record N1, accepted). "Values show by default" names no exception. Media and structured-JSON types, and credential fields, keep values off unless the field opts in. The scenario does not turn on it, because the field is still named by its label. Out of diff, for the seat. |
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-28T11:42Z. 维护者速读
席位意见:可以合。 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Tier H approval request at 2026-11-28T11:43Z. Seat record: the newest |
Requested by Tesla · project thread
Fixes #38154
repo:objectstack#3 · os-tesla · session_01L9qibwWRQzuBbuvfHQMtYc
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-project/evals/project-process.json, eval 9 (users need to see who changed which field on a record and when), one clause ofexpected_output:activitieson, setstrackHistorywhere field-level history is wanted, and points the users at the timeline;"activitieson, where a changed field's old and new values show by default (fieldHistory), and points the users at the timeline;"prompt, its other sentences and itsassertionsare byte-identical:must_containis stillsys_audit_log,sys_activity;must_not_containis stillname: 'audit_entry',event: 'afterUpdate'.claude-fable-5-2subagent (the tierskills/**mandates), read against the live source:resolveFieldHistoryandFIELD_HISTORY_DEFAULT_OFF_TYPESinpackages/spec/src/data/field-history-default.ts; theenable.trackHistory,enable.fieldHistoryandactivitiesdescribe text inobject.zod.ts; the fieldtrackHistory/fieldHistorydescribe text infield.zod.ts; and the plugin-audit writer, which mirrors tosys_activitywhenenable.activitiesis not false and decides values throughresolveFieldHistory.@objectstack/skillspatch changeset: the package's build copiesskills/**byte for byte into its publisheddist/.Tests
Readings at 2c62317 (base origin/main d994002a, which carries PR #38238)
skills/objectstack-project/evals/project-process.json: 176 → 176 lines; 11967 → 11987 bytes (+20).skills/*/SKILL.md: 4940 → 4940 lines (noSKILL.mdchanged). Eval fixtures are outside the shipped-token ratchet's budgeted population.must_containunchanged: read from the parsed file,['sys_audit_log', 'sys_activity'].grep -rn trackHistory skills/objectstack-project/→ 0 hits. With PR docs: the docs and spec comments describe trackHistory by the field-history model #38238 (PR 1 of this card) merged into this base, the card's grep overcontent/docs,packages/spec/src/systemand the project skill's evals has no sentence that callstrackHistorythe field-history switch.dispatch-gates --ranreconciles 44 derived, 43 run (all exit 0), 1 NOT MEASURED (exit 3), 0 unrun. Left to CI:check:dual-build-cjs-loads(needs a fullpnpm build; this diff moves no package's build shape). Built first:@objectstack/spec,formula,lint,objectql(14/14 tasks).Acceptance notes
sys_activity(the record timeline,enable.activities, on by default)" and "sys_audit_log(every write is recorded)" hold againstobject.zod.ts; nothing else in the eval is the same defect.Verification
Read first:
skills/objectstack-project/evals/project-process.jsoneval 9expected_output(the one changed clause).Two-minute check:
grep -rn trackHistory skills/objectstack-project/prints nothing.Generated by Claude Code