Repository navigation
Labels
area:builddocumentationImprovements or additions to documentationdomain:docspriority:p2Medium: important, M3
Description
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Filing gate: ① (b) follow-ups named by the contract review on PR #38064 (#36776), record 7231559159 §③ and N3, left out of that card's packages/spec scope. Rechecked on origin/main after #38064 merged (1f1cd21). Source: fleet.
Grading: area:build · Docs · p2 · reach: every author or AI reading the data-modeling docs, the ObjectQL protocol pages, the generated security-context reference or the project skill's eval about field history · evidence: grep on main, sentence by sentence against #38064's model.
Dedupe: "trackHistory docs field history", "trackHistory oversell" → 0 open.
维护者速读
- 问题:fix(spec): retired-key refusals prescribe the field-history model, not trackHistory #38064 已经把拒绝提示改成正确的字段历史说法:字段改动的新旧值默认就会显示在记录时间线上,对象上的 trackHistory 只管审计台账视图。但文档、协议页、两处源码注释和项目技能的一道评测题,还把 trackHistory 讲成「字段历史开关」。照着写的人或 AI 会以为不开它就没有字段历史,或者以为把它设为 false 能关掉。
- 修法:逐句改成和 fix(spec): retired-key refusals prescribe the field-history model, not trackHistory #38064 一样的说法,指向 fieldHistory。只改文字,不改行为。
- 要你做的:无。
Lines (origin/main after 1f1cd21)
content/docs/data-modeling/field-types.mdx:1063: fieldtrackHistoryis described as the timeline switch.content/docs/data-modeling/objects.mdx:81,:94;content/docs/data-modeling/schema-design.mdx:68;content/docs/protocol/objectql/schema.mdx:239;content/docs/protocol/objectql/index.mdx:89;content/docs/concepts/metadata-driven.mdx:487: objecttrackHistoryis glossed as "field history tracking".packages/spec/src/system/index.ts:45–46andpackages/spec/src/system/security-context.zod.ts:17: the comment "object/fieldtrackHistory". The second is rendered intocontent/docs/references/system/security-context.mdx:16, so regenerate it.skills/objectstack-project/evals/project-process.json:145: the expected output says it "setstrackHistorywhere field-level history is wanted". This is governedskills/**.- N3: the folded spellings of
trackChanges/feedTrackedin the alias table. Check that each refusal reads thefieldHistorymodel, astrackeddoes.
Ask
- Each line above says what fix(spec): retired-key refusals prescribe the field-history model, not trackHistory #38064's refusals say: a changed field's values show by default (except the default-off types, which need
fieldHistory: true). FieldtrackHistory: falseturns nothing off. ObjecttrackHistorygates the ledger view and thehistoryverb, not the values. - Regenerate the security-context reference. The spec comment edit ships a patch changeset (comment-only zod.ts edits ship bytes).
- The eval line changes in the same PR. That makes it Tier H by path (
skills/**), or split it into a skills-only PR if the seat prefers.
Acceptance
git grep -n "trackHistory"overcontent/docs,packages/spec/src/systemand the project skill's evals has no sentence that calls it the field-history switch.- Related: 退役键提示:enable.trash 和 versioning 的报错文案仍让作者去用字段级 trackHistory 记录字段历史 #36776, PR fix(spec): retired-key refusals prescribe the field-history model, not trackHistory #38064.
Metadata
Metadata
Assignees
Labels
area:builddocumentationImprovements or additions to documentationdomain:docspriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:build · domain:docs · Task · p2 · pm:queue · size S; rationale: the docs, protocol pages, a generated reference and a skill eval still call
trackHistorythe "field history switch", contrary to the model #38064 ships. Wrong shipped text is p2, as filed. Recorded 2026-11-28T05:15Z.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibwWRQzuBbuvfHQMtYcAccount:
os-teslaBranch:
claude/project-thread-ir3cn9Worktree:
objectstack-issue-38154Domain:
docsArea:
o3-build(area:build p2, a seat card thread)Seat:
repo:objectstack#3Seat rulings on the pre-claim report (
/mnt/project-files/card-38154/pre-claim-report-9957484d.md, main 9957484):protocol/objectql/schema.mdx~254 (write overhead — false, the ledger always records) and ~258 join the scope (same file, same defect class).Part of #38154): the docs pages and the two spec comments (packages/spec/src/system/index.ts,security-context.zod.ts+ its regenerated reference page), one@objectstack/specpatch changeset. Served tier.Fixes #38154), after PR 1 merges: the oneskills/objectstack-project/evals/project-process.jsonline (eval id 9), drafted by an isolatedclaude-fable-5-2subagent (the path's mandated tier), Tier H.trackHistory; the case/underscore variants get only the generic refusal. AguidanceSetsentry is runtime text and out of this card.releases/**, generated references other than the regenerated one,ui/pages.mdx,packages/lint/src/rule-explanations.ts~5028 (object meaning, correct).File surface:
content/docs/data-modeling/field-types.mdx,objects.mdx,schema-design.mdx,content/docs/protocol/objectql/schema.mdx,index.mdx,content/docs/concepts/metadata-driven.mdx,packages/spec/src/system/index.ts,security-context.zod.ts,content/docs/references/system/security-context.mdx(regenerated), one.changeset/*.md.skills/objectstack-project/evals/project-process.jsononly.Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate" for PR 1's paths),effort: high, reason: the thread session serves this tier, and the PR 2 skills line is drafted by an isolated claude-fable-5-2 subagent (see rulings)Writes: the PRs only through the relay
pr_create; comments, labels and bodies only through the relay write tools; report both numbers.Clause-②: no
Metadata-protocol: none
Skills-docs: PR 2 is the skills change.
Responsibility: an author reading the docs or the spec comments learns that field history is captured always and shown by
fieldHistory, and thattrackHistoryonly adds the value display on media/structured fields (field) or the record-page Changes view (object), instead of switching it on to get history.Premise: holds, read on origin/main 9957484 (probe 59058075, 10 files +20/−15)
Serial constraints cleared:
overlap-check clean on 59058075; 0 open PRs touch these files; re-run before the first pushReadings owed in the report: the card's acceptance grep at zero, the regenerated page diff, derived gates, and for PR 2 the eval's
must_containunchanged.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibwWRQzuBbuvfHQMtYc
os-dev-report
{ "issue": 38154, "status": "done", "branch": "claude/project-thread-ir3cn9", "pr": "https://github.com/objectstack-ai/objectstack/pull/38238", "session": "session_01L9qibwWRQzuBbuvfHQMtYc", "premise_still_valid": true, "summary": "PR 1 of route A (Part of #38154), head 92b38c06. Restates trackHistory in the field-history model in field-types.mdx, objects.mdx (comment + enable row), schema-design.mdx, protocol/objectql/schema.mdx (example comment + the false 'write overhead' bullet + 'when to enable'), protocol/objectql/index.mdx and concepts/metadata-driven.mdx; the two packages/spec/src/system comments (index.ts, security-context.zod.ts) no longer list field trackHistory as audit authoring surface; security-context.mdx regenerated; one @objectstack/spec patch changeset. 10 files, +31/-14. N3 not built, recorded as checked: since #38064 no refusal points an author at trackHistory; case/underscore variants get only the generic refusal. PR 2 (Fixes #38154, the eval id 9 line, fable subagent) waits for this PR to merge.", "tests": "No test changes: prose and comments only, no test pins the edited sentences. pnpm --filter @objectstack/spec build: lock VERDICT command-exit 0. Acceptance grep (git grep -n -i trackHistory over content/docs, packages/spec/src/system, project-skill evals, minus releases/ and references/, filtered for field history / history track / track field / field-level history / timeline switch / object/field): 0 hits in content/docs and packages/spec/src/system; the 1 remaining hit is the eval line owed by PR 2. Regenerated page diff: security-context.mdx:16 '+ object/field trackHistory +' -> '(an object's enable.trackHistory shows its field changes on the record page) +', the only file gen:schema + gen:docs changed.", "gates": "Local at 92b38c06: dispatch-gates --ran reconciles 101 derived, 99 run (all exit 0), 2 NOT MEASURED (exit 3), 0 unrun; list /mnt/project-files/card-38154/gates-ran-92b38c06.list. 5 gates first exit 3 (prereq) were re-run exit 0 after turbo build of formula, lint..., objectql, client, client-react (47/47): check:doc-formula-expressions, check:doc-security-posture, check:skill-examples, check:docs-transcript-drift, check:lean-entry-closure. check:generated and check:docs exit 0. NOT MEASURED, left to CI: check-plugin-teardown-shape.mjs --self-test (fixture commit outside the shallow clone), check:dual-build-cjs-loads (needs full pnpm build). overlap-check on 92b38c06: VERDICT clean exit 0, 0 open PR heads. PR check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls", "api_writes": "2 relay strokes — pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/38238/assignees) via fleet-write run 46130859693, and this os-dev-report comment (POST /issues/38154/comments) via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: PR 2 of this card (claim route A) · skills/objectstack-project/evals/project-process.json eval id 9 'sets trackHistory where field-level history is wanted' · the line for the fable subagent; reference draft /mnt/project-files/card-38154/pr2-eval-line.patch, must_contain unchanged"] }Generated by Claude Code
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibwWRQzuBbuvfHQMtYc
os-dev-report
{ "issue": 38154, "status": "done", "branch": "claude/project-thread-ir3cn9", "pr": "https://github.com/objectstack-ai/objectstack/pull/38281", "session": "session_01L9qibwWRQzuBbuvfHQMtYc", "premise_still_valid": true, "summary": "PR 2 of route A (Fixes #38154), head 2c623172 on origin/main d994002a (PR 1 #38238 merged). One clause of skills/objectstack-project/evals/project-process.json eval 9 expected_output: 'sets `trackHistory` where field-level history is wanted' -> 'where a changed field's old and new values show by default (`fieldHistory`)'. The clause was drafted by an isolated claude-fable-5-2 subagent (effort medium) read against field-history-default.ts, object.zod.ts, field.zod.ts and the plugin-audit writer; this thread applied it verbatim. Plus one @objectstack/skills patch changeset (the package's build copies skills/** byte for byte into dist). The branch was deleted on PR 1's merge, so the commit (e95f960d rebased to 2c623172) was pushed as a fresh branch of the same name; no force push.", "tests": "No test changes: an eval fixture. must_contain read back from the parsed file: ['sys_audit_log', 'sys_activity'] (unchanged); must_not_contain unchanged; the diff is one -/+ line pair. grep -rn trackHistory skills/objectstack-project/ -> 0 hits. Skills readings: project-process.json 176 -> 176 lines, 11967 -> 11987 bytes; bundle (all skills/*/SKILL.md) 4940 -> 4940 lines, no SKILL.md changed.", "gates": "Local at 2c623172 (re-run after the rebase): dispatch-gates --ran reconciles 44 derived, 43 run (all exit 0), 1 NOT MEASURED (check:dual-build-cjs-loads, exit 3, needs a full pnpm build — left to CI), 0 unrun; list /mnt/project-files/card-38154/gates-ran-2c623172.list. Built first under the lock: spec, formula, lint, objectql. overlap-check before the push: VERDICT clean exit 0. PR check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls", "api_writes": "2 relay strokes — pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/38281/assignees) via fleet-write run 46138260510, and this os-dev-report comment (POST /issues/38154/comments) via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }Generated by Claude Code
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-28T12:59Z · 收口:PR #38238(第一步)和 PR #38281(第二步,经 os-zhuang 批准)都已合入,本卡随 Fixes 关闭;去掉 pm:dispatched。L2 另指出的文档页说法不一致,立在 #38298。