Skip to content

skills/docs: retired agent keys still called tombstones in eval case 5's expected_output, ai/agents.mdx and an agent.zod.ts comment #37967

Description

@objectstack-fleet

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.

维护者速读

What

  1. N2, eval prose. skills/objectstack-ai/evals/skills-tools-knowledge.json, case 5, expected_output says "agent.tools / agent.knowledge are protocol-17 tombstones". Since 18 the strict AgentSchema refuses 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. Only expected_output changes: the prompt and the assertions stay byte-identical, so hashCase (prompt, assertions, should_trigger, files) does not move and case 5's recorded rounds stay keyed.
  2. N3a, docs page. content/docs/ai/agents.mdx ~:311-312, the tools and knowledge rows say "typed never, so writing it fails tsc, 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.
  3. N3b, spec comment. packages/spec/src/ai/agent.zod.ts ~:100, the docblock says agent.knowledge is "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 assertions are byte-identical to main; no eval round is owed.
  • node scripts/check-skills-token-ratchet.mjs exits 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

  1. added
    area:ai
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    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.

  3. added
    pm:queue
    priority:p2
    and removed on Nov 27, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    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_016WV4cxBECSPtHxQMZDHSie
    Account: os-elon-musk
    Branch: claude/area-o1B-37967
    Worktree: objectstack-issue-37967
    Domain: domain:docs
    Area: o1-B
    Seat: repo:objectstack#1
    File surface: skills/objectstack-ai/evals/skills-tools-knowledge.json case 5's expected_output only (prompt and assertions byte-identical); content/docs/ai/agents.mdx the tools and knowledge rows (~:311-312); the docblock at packages/spec/src/ai/agent.zod.ts ~:100 only (the longTerm.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 --tier on the surface: "Model tier — MANDATORY", skills/**, derived from the file surface), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (Task)
    Thread-read: 7220504340
    Premise: holds — on main dc45b1e6 case 5's expected_output still says "protocol-17 tombstones" (1 hit); agents.mdx has 2 rows saying typed never; agent.zod.ts:100 says agent.knowledge is "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 ①–④.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    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"
    ]
    }

  7. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    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's expected_output (prompt and assertions unchanged, no hash moved), the tools and knowledge rows of content/docs/ai/agents.mdx, and the agent.zod.ts ~:100 comment now say the strict AgentSchema refuses 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-sources sentence in the same docblock) and N2 (an optional tsc excess-property half-clause in agents.mdx) filed as #38012.
    State: pm:dispatched removed with the close. Remaining: none on this card.

  8. removed
    pm:dispatched
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:docspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions