Skip to content

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

In progress

Description

@objectstack-fleet

epic:#5055#1 · hotlong · session_01Q4EjjMmczBEaeiAQ48oDtz

Filing gate: ② review finding follow-up · Source: contract review of #37765 (card #37711), finding S1 (should-fix), outside that PR's claimed surface and pre-existing.
Grade: p3 · domain:skills · Task · evidence: read (main agent.zod.ts, agent.test.ts)
Reader: domain:skills lane.
Dedupe: searched open issues for the paragraph and the citation: none.

维护者速读

  • 是什么:AI 技能文档里有一段说 agent 的 tools / knowledge 两个旧字段是「墓碑」(写了会报错并给迁移提示),还引用了 schema 的两个行号。那两个墓碑在协议 18 就已经撤掉了,现在只是普通的「未知字段」报错,行号也早就对不上。
  • 影响:AI 照文档写会得到正确的报错,只是文档描述的报错方式和行号不对。
  • 要你做什么:无。

What is wrong

skills/objectstack-ai/SKILL.md (~:453-455 on main) says "Two AgentSchema keys are tombstones … authoring either is a parse error carrying its migration (packages/spec/src/ai/agent.zod.ts:234, :251)". On main:

What to do

Rewrite the paragraph (and its table header, "REMOVED in protocol 17") to teach what main does: both keys are refused as unknown keys by the strict AgentSchema, the refusal names https://objectstack.ai/docs/protocol-upgrade, and their replacements (skills for tools, the table's knowledge prescription) stay as taught. Cite the test or the strict-object refusal, not stale line numbers. The file sits at its token ceiling (6801/6801 after #37765), so pay for the words in the same section.

Acceptance

  • Every agent.zod.ts / agent.test.ts citation in the section matches main; skills gates green.

Activity

  1. added
    documentation
    pm:queue
    domain:skills
    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:skills · Task · priority:p3 · pm:queue · size XS; rationale: the objectstack-ai skill still calls agent.tools / agent.knowledge tombstones with a migration message and cites dead line numbers. The tombstones aged out at protocol 18, and an AI that follows the text still gets the correct (unknown-key) refusal. Its behaviour is not misled, only the description and the citation, so p3 as filed. area:ai added (it had no area).

  3. added
    area:ai
    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 3 · area o1-B (handed over by hotlong's seat, mailbox comment 7209013967, taken by seat 1 on the maintainer's 「全接,开新专区」) · 2026-11-27T11:31Z
    Session: session_016WV4cxBECSPtHxQMZDHSie
    Account: os-elon-musk
    Branch: claude/area-o1B-37782
    Worktree: objectstack-issue-37782
    Domain: domain:skills
    Area: o1-B
    Seat: repo:objectstack#1
    File surface: skills/objectstack-ai/SKILL.md — the "Two AgentSchema keys are tombstones" paragraph, its citation, and the table header "REMOVED in protocol 17" only (the two table rows below it are PR #37797's and stay untouched); the skills/objectstack-ai/SKILL.md row of scripts/check-skills-token-ratchet.mjs lowered to the measurement if the file shrinks; a changeset for @objectstack/skills (patch). The file sits at headroom 0, so the words are paid for in the same section (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: CONTRACT_REVIEW_TIER (dispatch-gates --tier skills/objectstack-ai/SKILL.md scripts/check-skills-token-ratchet.mjs: "Model tier — MANDATORY", derived from the file surface), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (Task)
    Thread-read: 7208787937
    Premise: holds — on main the paragraph (skills/objectstack-ai/SKILL.md ~:455-459) still calls the keys tombstones and cites agent.zod.ts:234, :251; packages/spec/src/ai/agent.test.ts (the agent.tools retirement describe, ~:115) says the tombstone "left the shape at 18 (#25767)" and the strict AgentSchema refuses the key as unknown, naming the upgrade guide.
    Serial constraints cleared: PR #37797 (card #37419) edits two rows of the same table and the same ratchet row; it is parked in the decision box (release 7217161987), so this card goes first rather than waiting. Whichever of the two lands second merges main and re-measures the row.
    Pre-claim lane: skills/** ⇒ governed, Tier H: L1 and contract review in L1-a, landed by seat repo:objectstack#1 after ①–④.
    Prior rulings read: none on this paragraph.

  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": 37782,
      "status": "done",
      "branch": "claude/area-o1B-37782",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37939",
      "session": "session_016WV4cxBECSPtHxQMZDHSie",
      "premise_still_valid": true,
      "summary": "Rewrote the paragraph above the retired-key table in skills/objectstack-ai/SKILL.md and its header cell: the two keys are no longer called tombstones with a migration-carrying parse error; the text now says the strict AgentSchema refuses each as an unknown key and the refusal names https://objectstack.ai/docs/protocol-upgrade. The dead agent.zod.ts line citation is gone; the citation is the strict-object refusal in words (the test-file path did not fit: the five replaced lines are 244 bytes before and after). Header cell reads 'Removed in 17, tombstone gone in 18'. The two table rows are untouched. File stays 487 lines / 27222 bytes / 6799 tokens at ceiling 6799, so the ratchet row is NOT edited and scripts/check-skills-token-ratchet.mjs is not in the diff. Patch changeset for @objectstack/skills with both declaration lines. Premise corrections: main's row is 6799 (the card says 6801); agent.test.ts has no 'agent.knowledge' describe (the knowledge refusal is pinned by two tests in AgentSchema / Tools and Capabilities); 'removed in protocol 17' is still true (content/docs/ai/tools.mdx), the tombstones left at 18. Served model tier matches the tier dispatch-gates --tier mandates for skills/**. PR assignee os-elon-musk rode pr_create; no labels sent. Worktree removed after the PR opened.",
      "tests": "No test changed (prose plus changeset; no tested behaviour moved, so no ablation). Claims verified by reading main 73d5e347f7: packages/spec/src/ai/agent.zod.ts builds AgentSchema with strictObject and declares no tools or knowledge key; packages/spec/src/ai/agent.test.ts describe 'agent.tools retirement (ADR-0064) — aged out; tools move into skills' asserts the refusal matches the key name and the guide URL; test 'the refusal is the strict unknown-key one, naming the guide where the scoping prescription lives' asserts unrecognized_keys, the key name knowledge and the guide URL. Head 46fb66389f.",
      "gates": "Local union at head 46fb66389f, after the final commit, exit codes captured before any pipe, heavy steps under os-verify-lock (VERDICT command-exit 0 on both runs; one queue-timeout exit 99 in between, re-queued under the same slot). dispatch-gates --commands: 49 derived. --ran: '49 derived, 45 run, 0 NOT-MEASURED, 4 UNRUN'; the 45 exited 0, among them check-skills-token-ratchet ('skills/objectstack-ai/SKILL.md is 6799 tokens (ceiling 6799; headroom 0)') and its --self-test, check:skill-docs ('Skill docs in sync'), check:skill-compatibility, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-links, check:nul-bytes, check:doc-authoring, check-empty-changeset, check-adr-0087-registration. Outside the derivation, run because the dispatch names them: check:skill-examples exit 0 ('352 prose examples type-check across 3 surface(s)'), skill-evals --dry-run exit 0. NOT MEASURED: check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content, reason: each exits 3 PREREQUISITE NOT MET without a whole-repository build and reads built output of packages this diff does not touch; declared narrowing, left to CI. overlap-check: VERDICT clean exit 0; origin/main merges cleanly; PR 37797 and PR 37661 share skills/objectstack-ai/SKILL.md and both merge cleanly by text. CI on PR 37939 at 46fb66389f when read: 22 check-runs, 15 in_progress, 2 queued, 5 skipped, 0 concluded red or green (Lint families, Type Check families, Check Changeset, Check PR Size, PR-body guards, Governed Surface Queue Guard all in_progress or queued).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes — pr_create (POST /repos/objectstack-ai/objectstack/pulls, then POST /repos/objectstack-ai/objectstack/issues/37939/assignees); comment (POST /repos/objectstack-ai/objectstack/issues/37782/comments, this report). Plus 2 git pushes (empty branch probe, one commit).",
      "open_questions": [
        {
          "question": "The dispatch asked for a citation of the test or of the strict-object refusal. The test-file path costs 36 bytes the paragraph cannot pay at headroom 0 without dropping the URL or touching text outside the claimed surface, so the paragraph cites the strict-object refusal in words. Acceptable?",
          "options": [
            "A keep as shipped: the strict schema is named, no path",
            "B add the agent.test.ts path and pay for it by deleting text elsewhere in the file, which widens the claimed surface"
          ],
          "recommendation": "A, because the dispatch allows either citation, a path is what drifted last time, and B needs a wider file surface than the claim grants."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: PR 37797 (card 37419) · noted, not filed — the agent.tools row still says 'the migration deletes the key and names each tool that was listed'; on main the entries agent-tools-to-skills and agent-knowledge-removed appear only in packages/spec/src/conversions/retired-after.census.json as retired, so that sentence describes a conversion that aged out with the tombstone. Read-only inference, no public-door measurement. The row is that PR's line.",
        "carrier: none · noted, not filed — skills/objectstack-ai/SKILL.md Model Configuration cites packages/spec/src/ai/agent.zod.ts:87-95; the range still covers the keys it names but has drifted by a few lines. Read-only observation; in the PR's Acceptance notes."
      ]
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidocumentationdomain:skillspm:dispatchedpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions