Repository navigation
Description
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
Filing gate: ② follow-up out of #37782. The source is the contract record 7219261608 on PR #37939 (nits N2 and N3) and L1-a's ACCEPT 7219274731 on the same head, which asks the area for one follow-up card covering the three. The owning area files it under the source card.
Grading: area:ai · Task · p3 · reach: readers of the shipped ai/agents docs page, readers of the objectstack-ai eval case 5, and the spec docblock reader · evidence: read on main bc173343.
维护者速读
- 做什么:两个已下线的智能体字段(
agent.tools、agent.knowledge)早在协议 18 已不再是「墓碑」,系统直接把它们当未知字段拒绝。技能文档已改对(skills(objectstack-ai): the "two AgentSchema keys are tombstones" paragraph is stale — agent.tools / agent.knowledge aged out at protocol 18 and its agent.zod.ts:234, :251 citation points at nothing #37782),但还有三处文字仍说旧行为:一条评测题的期望答案说明、对外文档 ai/agents 页的两行、规格源码里的一句注释。这张卡把这三处说法改对。 - 谁受益:照文档写智能体的作者和 AI,看到的报错形式说明与真实一致。
- 不做会怎样:只是说明文字过期,不影响任何判定;读者会以为写这两个字段会在 TypeScript 编译时报错,实际是运行时按未知字段拒绝。
- 需要你做的:无(评测文件在
skills/**下,合并需 os-zhuang 批准)。
What
- N2, eval prose.
skills/objectstack-ai/evals/skills-tools-knowledge.json, case 5,expected_outputsays "agent.tools/agent.knowledgeare protocol-17 tombstones". Since 18 the strictAgentSchemarefuses each as an unknown key naming https://objectstack.ai/docs/protocol-upgrade (packages/spec/src/ai/agent.test.ts~:101-114 and ~:232-242). Rewrite that clause to match. Onlyexpected_outputchanges: the prompt and theassertionsstay byte-identical, sohashCase(prompt, assertions,should_trigger, files) does not move and case 5's recorded rounds stay keyed. - N3a, docs page.
content/docs/ai/agents.mdx~:311-312, thetoolsandknowledgerows say "typednever, so writing it failstsc, and a value that reaches the runtime is rejected at parse". That is the tombstone behaviour that left at 18. Say what happens today: the key is not on the type, and the strict schema refuses it as an unknown key naming the upgrade guide. Keep "Removed in protocol 17" and each row's why and replacement. - N3b, spec comment.
packages/spec/src/ai/agent.zod.ts~:100, the docblock saysagent.knowledgeis "tombstoned below". Nothing below declares it; correct the comment. Comment only, no schema change.
Acceptance
- The three places no longer describe either key as a tombstone or as typed
never; each statement matches the tests named above. - Case 5's prompt and
assertionsare byte-identical tomain; no eval round is owed. node scripts/check-skills-token-ratchet.mjsexits 0 with no ceiling raised.Clause-②: no,Metadata-protocol: none.
Serial: card #37928 (claimed, area o1-B) edits case 6 of the same eval file; the hunks are disjoint, and whichever lands second merges main.
Model: skills/** is MANDATORY at the contract review tier (the eval file changes).
Parent: #37782
Size: XS
Dedupe (objectstack, is:issue): "protocol-17 tombstones" 6 (open: only #37782, the source, which does not cover these three) · "tombstoned below" 5 (none open) · "typed never" agents.mdx 6 (none open; #10730 closed, an older retirement) · agent.knowledge tombstone docs 18 (open: only #37782). No duplicate.
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:docs · Task · p2 · pm:queue · size XS; rationale:
ai/agents.mdx, an eval case's expected output and a schema comment still call retired agent keys "tombstones", while the platform now refuses them with guidance. Wrong shipped docs text is p2 (p3 → p2). Recorded 2026-11-27T14:12Z.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
Claim: PM loop round 5 · area o1-B (follow-up filed by this area under epic #36996's cards; maintainer 2026-11-27T11:16Z 「记录内问 AI 继续做完」) · 2026-11-27T14:34Z
Session:
session_016WV4cxBECSPtHxQMZDHSieAccount:
os-elon-muskBranch:
claude/area-o1B-37967Worktree:
objectstack-issue-37967Domain:
domain:docsArea: o1-B
Seat:
repo:objectstack#1File surface:
skills/objectstack-ai/evals/skills-tools-knowledge.jsoncase 5'sexpected_outputonly (prompt andassertionsbyte-identical);content/docs/ai/agents.mdxthetoolsandknowledgerows (~:311-312); the docblock atpackages/spec/src/ai/agent.zod.ts~:100 only (thelongTerm.store"tombstoned below" at ~:517 is a different, live tombstone and stays); one changeset (stop on breach; explain in the report)Container & model: XS,
mode:subagent, model:CONTRACT_REVIEW_TIER(dispatch-gates --tieron the surface: "Model tier — MANDATORY",skills/**, derived from the file surface), effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card (Task)
Thread-read: 7220504340
Premise: holds — on
maindc45b1e6case 5'sexpected_outputstill says "protocol-17 tombstones" (1 hit);agents.mdxhas 2 rows saying typednever;agent.zod.ts:100saysagent.knowledgeis "tombstoned below".Serial constraints cleared:
PR #37937 (seat repo:objectstack#3) edits case 10 of the same eval file; disjoint hunk, whichever lands second merges main. No in-flight claim on agents.mdx or agent.zod.ts known to this area.Pre-claim lane:
skills/**⇒ governed, Tier H: L1 and contract review in L1-a, landed by seat repo:objectstack#1 after ①–④.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
os-dev-report
{
"issue": 37967,
"status": "done",
"branch": "claude/area-o1B-37967",
"pr": "#38003",
"session": "session_016WV4cxBECSPtHxQMZDHSie",
"premise_still_valid": true,
"summary": "Three text-only edits on base dc45b1e, head 1c2e51f: eval case 5's expected_output, the tools and knowledge rows of content/docs/ai/agents.mdx, and the AIKnowledgeSchema comment near line 100 of packages/spec/src/ai/agent.zod.ts now say the strict AgentSchema refuses agent.tools and agent.knowledge as unknown keys naming the upgrade guide. Case 5's prompt, files and assertions are unchanged (only expected_output differs across all 12 cases), so no eval round is owed. One changeset, @objectstack/skills patch plus @objectstack/spec patch because the spec package ships src/**/*.zod.ts. The longTerm.store comment near line 517 is untouched. Draft PR opened through the fleet-write relay with assignee os-elon-musk; the card assignee was not written.",
"tests": "head 1c2e51f. Under os-verify-lock: pnpm --filter @objectstack/spec build, VERDICT command-exit 0. pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 on src/ai/agent.test.ts, src/ai/agent-memory-store-retirement.test.ts, src/ai/agent-model-provider-retirement.test.ts, src/type-alias-convention.pin.test.ts, scripts/file-description.test.ts, scripts/liveness/tombstoned-row-status.test.ts: Test Files 6 passed (6), Tests 214 passed (214), VERDICT command-exit 0. No ablation: no tested behaviour changed (prose and a comment). Whole-package spec test and typecheck were narrowed to the files that read agent.zod.ts; CI runs the rest.",
"gates": "head 1c2e51f. node scripts/check-skills-token-ratchet.mjs exit 0, ratcheted authored 199679 / 199679 (+0), no ceiling changed. node scripts/check-nul-bytes.mjs exit 0. dispatch-gates --commands derived 110 families; --ran: 110 derived, 109 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET, reason: needs every package built, not built locally for a comment-only change. Six gates exited 3 or 1 on the first pass while their inputs were unbuilt or being built, and exited 0 on rerun after a turbo build of formula, lint and the client-react closure: check:doc-formula-expressions, check:doc-security-posture, check:skill-examples, check:docs-transcript-drift, check:dts-closure, check:lean-entry-closure. PR check-runs on 1c2e51f at report time: 25 runs, 5 skipped (opt-in and queue-only), 20 in_progress including Lint repo and tooling gates, Type Check workspace, Check Changeset, Governed Surface Queue Guard, Check Documentation Links; none concluded yet. test:repo and repo lint left to CI.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — relay strokes: pr_create (draft create plus assignees leg, #38003, read-back identical 5706 bytes); this os-dev-report comment on issue 37967. Plus git push of the branch (2 pushes: empty-branch probe, the commit).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: the rest of content/docs/ai/agents.mdx was read for the same stale claim and none was found; the code sample comment on the removed knowledge block states only the removal and is true"
]
}
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
Close-out (area o1-B) · 2026-11-27T17:26Z
Delivered: PR #38003 merged as
a145e24b(seat repo:objectstack#1 landing after os-zhuang's approval): eval case 5'sexpected_output(prompt and assertions unchanged, no hash moved), thetoolsandknowledgerows ofcontent/docs/ai/agents.mdx, and theagent.zod.ts~:100 comment now say the strictAgentSchemarefuses each retired key as an unknown key naming the protocol-upgrade guide, matching the skill text #37939 landed. L1 ACCEPT 7222372893, contract review PASS 7222359751, seat record 7222402135.Follow-up: N1 (the absorbed
agent-knowledge-topics-to-sourcessentence in the same docblock) and N2 (an optionaltscexcess-property half-clause inagents.mdx) filed as #38012.State:
pm:dispatchedremoved with the close. Remaining: none on this card.