Repository navigation
Description
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Filing gate: ② follow-up out of #37141. The source is seat 5's REWORK 7196154770 on PR #37552, which asks for the skills-docs card that PR's Skills-docs: follow-up owed line names. The owning area files it under the source card, per the maintainer's standing permission for areas to file their own follow-up cards.
Grading: area:ai · Task · p2 · reach: every assistant that learns skill authoring and context packs from the published objectstack-ai skill · evidence: read.
维护者速读
- 做什么:技能新增了
context键(指定用哪个资料包;外部 AI 经 MCP 调用时可带记录编号)。把这个写进对外发布的 AI 技能文档,教 AI 和作者怎么用。 - 谁受益:写记录问询类技能的作者,以及靠技能文档学习的 AI 助手。
- 不做会怎样:新能力已上线但文档里没有,作者不知道可以这样用。
- 需要你做的:无(受管文件,按 Tier H 流程走)。
What
After PR #37552 lands (ADR-0160 D8, row 8), teach in skills/objectstack-ai:
SKILL.md: a skill may declarecontext(a pack's bare name); it must bindget_record_contextintools(by name or wildcard) or parse refuses it; the pack resolves by package then closure (ADR-0150 D3).references/context-packs.md: how a skill withcontextis offered over MCP — one optionalrecordIdargument when the pack resolves, the message carries a fixed line and a JSON object, never the record inlined; without the argument the prompt is unchanged; the two lint warnings (ai-skill-context-unknown,ai-skill-context-omitted).- Teach only what
maindoes. Pay for growth within each file's ratchet row; raise no ceiling.
Acceptance
- Both files teach the key and the MCP argument as
mainhas them;node scripts/check-skills-token-ratchet.mjsexits 0; skills gates andcheck:generatedgreen. Clause-②: no,Metadata-protocol: none.
Blocked-by: #37141 (PR #37552)
Parent: #37141
Size: XS
Dedupe (objectstack, is:issue): skill context key skills docs 0 · context-packs.md recordId argument 0.
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:skills · Task · priority:p2 ·
pm:blocked· size XS; rationale: the objectstack-ai skill should teach the skillcontextkey and the MCP record parameters once #37141 lands. That is an omission, not a misteaching, so p2. Blocked-by #37141.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Unblocked: PR #37552 merged at
ddd5941898; the key and the MCP argument this card teaches are onmain.pm:blocked→pm:queue.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Claim: PM loop round 12 · area ai-36996 (topic #36996 non-cloud rows; the maintainer, verbatim, 2026-11-25T12:57Z project thread: 「开一个 36996 专题,接手剩余任务」; area concurrency 3 under the maintainer's total of 10, 2026-11-26T13:44Z: 「后续并发降到10」) · 2026-11-26T18:59Z
Session:
session_01Utp6CbeF2saT6wUBV4E9ucAccount:
os-billArea: ai-36996
Branch:
claude/project-thread-79bd63Thread session:
session_01Utp6CYC7pf2mDNT5AVFPLLDomain:
domain:skillsSeat:
repo:objectstack#5File surface:
skills/objectstack-ai/SKILL.mdandskills/objectstack-ai/references/context-packs.md(teach the skillcontextkey and the MCP record argument asmainhas them), the generated skill-docs mirror they move, and a changeset only if a gate requires one. No ratchet-row change: pay for growth inside each file. Stop on breach and report.Container & model:
XS,mode:thread,model: claude-fable-5-2 — dispatch-gates --tier prints "Model tier — MANDATORY: claude-fable-5-2" (skills/**); the thread serves claude-fable-5-2 (get_session last_served_model),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
skills/objectstack-ai(teaches no skillcontextkey and no MCP record argument) leaves the shipped surface untaught | no platform path covers it | every assistant that learns skill authoring and context packs from the published skillPremise: holds — on
origin/mainddd5941898: PR #37552 merged (SkillSchema.context, therecordIdprompt argument, the two lint warnings); the skill names neither.Serial constraints cleared: #37141 (PR #37552) merged. Siblings #37598 (
packages/types,packages/core) and #37562 (ui/**): disjoint. No sibling touchesskills/**.Pre-claim deps: #37141 closed
Prior rulings read: seat REWORK 7196154770 on PR #37552 (Skills-docs line); ADR-0160 D8; ADR-0150 D3
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Claim amendment · 2026-11-26T19:06Z · claim 7201080288 · widens the surface at the card thread's question, so that
Skills-docs: updated hereholds in full (its evals exercise the key).skills/objectstack-ai/evals/skills-tools-knowledge.json(one case: adefineSkillwithcontextandget_record_contextintools). No ratchet-row change.Clause-②: noandMetadata-protocol: nonestand.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CYC7pf2mDNT5AVFPLL
os-dev-report
{ "issue": 37611, "status": "done", "branch": "claude/project-thread-79bd63", "pr": "https://github.com/objectstack-ai/objectstack/pull/37674", "head": "0c30388830c1367b24bb5f90a01752e41bd2657f", "session": "session_01Utp6CYC7pf2mDNT5AVFPLL", "served_tier": "CONTRACT_REVIEW_TIER — get_session last_served_model, read before the first edit, equals the model the claim's Container & model line names; the identifier itself is in the area thread, not here", "premise_still_valid": true, "summary": "Draft PR 37674, head 0c303888, 4 files against base 6592546c. skills/objectstack-ai/SKILL.md lists `context` among a skill's optional keys: the bare name of the context pack the skill works from, resolved in the skill's package and then its dependency closure, refused at parse unless `tools` binds get_record_context by name or wildcard. references/context-packs.md says how such a skill is offered over MCP (where the name resolves to a pack and the server serves get_record_context the prompt takes an optional recordId; with it the message is the instructions, a fixed line asking for that call and its arguments as JSON, never the record; without it the prompt is unchanged) and names the two os validate warnings, ai-skill-context-unknown (the stack's own packs only) and ai-skill-context-omitted. evals/skills-tools-knowledge.json gains case 12 (claim amendment 7201200927; the maintainer chose on a decision card, 2026-11-26T19:22Z, to carry it in this PR). A patch changeset for @objectstack/skills carries both declaration lines. Both prose files stay inside their ratchet rows; no row is edited.", "files_changed": [ "skills/objectstack-ai/SKILL.md", "skills/objectstack-ai/references/context-packs.md", "skills/objectstack-ai/evals/skills-tools-knowledge.json", ".changeset/37611-skills-context-key.md" ], "acceptance": [ { "bullet": "Both files teach the key and the MCP argument as main has them", "check": "pass", "evidence": "read at 6592546c: skill.zod.ts (context optional bare name; refuseUnboundRecordContext; skillBindsRecordContextTool), packages/mcp/src/skill-prompts.ts (skillPromptRecordContext resolves own package then closure; recordId optional; skillPromptResult = instructions, blank line, fixed line, one JSON object), packages/lint/src/validate-ai-tool-references.ts (both rule ids, warnings; unknown reads the stack's own aiContexts only)" }, { "bullet": "node scripts/check-skills-token-ratchet.mjs exits 0; no ceiling raised", "check": "pass", "evidence": "exit 0 at 0c303888; SKILL.md 6799 / 6801, context-packs.md 1454 / 1454; scripts/check-skills-token-ratchet.mjs not in the diff" }, { "bullet": "skills gates and check:generated green", "check": "pass", "evidence": "local at 0c303888: check:skill-docs, check:skill-refs, check:skill-examples (352 prose examples), check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync exit 0; spec check:generated exit 0 (14 artifacts up to date); no generated mirror moved" }, { "bullet": "Clause-②: no, Metadata-protocol: none", "check": "pass", "evidence": "both lines line-initial in the PR body and in the changeset body; Check Changeset success" } ], "line_budget": { "skills/objectstack-ai/SKILL.md": "lines 487 to 486; bytes 27217 to 27221; tokens 6798 to 6799 (ceiling 6801)", "skills/objectstack-ai/references/context-packs.md": "lines 113 to 118; bytes 5813 to 5814; tokens 1454 to 1454 (ceiling 1454)", "skills/objectstack-ai/evals/skills-tools-knowledge.json": "tokens 3008 to 3343 (measured, not ratcheted); cases 11 to 12", "all SKILL.md lines summed": "4961 to 4960", "bundle total tokens": "299752 to 300088" }, "tests": "Documentation and an eval fixture only: no package source changed, no package test suite owed, no ablation (no tested behaviour changed). The eval case's reference answer carries its five must_contain tokens and neither must_not_contain token (script check against literal match).", "gates": "local at 0c303888, every derived family run after the last commit, exit codes captured before any pipe: dispatch-gates --ran = 50 derived, 49 run, 1 NOT-MEASURED, 0 UNRUN. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 (needs the whole-workspace build; the diff changes no package source), read from CI. Outside the derivation and run: check:skill-examples exit 0, spec check:generated exit 0, check-commit-card-trailers --range origin/main..HEAD exit 0, overlap-check VERDICT clean. CI check-runs on 0c303888: 44 check runs, all completed, 0 failed: 28 success (Lint & Repo Gates, TypeScript Type Check, Test Core with shards 1/10 and 2/10, Build Core, Governed Surface Queue Guard, Test UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards, Check PR Size, Auto Label, filter, Plan Test Core shards, and every Lint · and Type Check · lane), 16 skipped (path-filtered UI, docs and dogfood jobs on a skills-only diff; queue-only, schedule and opt-in jobs). mergeable_state clean; the PR is draft.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "6 — issue_read x3 (card and its comments), pull_request_read x3 (check runs twice, the pull once); reads only, no write tool", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg, run 45885334483), relay comment (POST /repos/objectstack-ai/objectstack/issues/37611/comments, this report)", "deviations": [ "Commit trailer: Claude-Session names this card thread's own session (harness-stamped) where the dispatch order printed the area's session; the pair is model-free and check:commit-card-trailers passes.", "Surface: evals/skills-tools-knowledge.json joined by claim amendment 7201200927. The auto-mode classifier refused the write until the maintainer answered the decision card; nothing was worked around.", "No reviewer requested and the PR stays draft, per the dispatch order; the harness's standing 'request the requester's review' step was skipped for that reason.", "Two cuts in context-packs.md are consequence or lead-in wording rather than word-for-word restatement (', so nothing is cut silently at call time' and 'Which rows:'); flagged to the area before the PR and accepted (area note 2026-11-26T19:22Z)." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — SKILL.md cites packages/spec/src/ai/skill.zod.ts:37-51, 139-202 under Trigger Conditions; the merged parent change added an import, so the ranges sit one line low. Drift of a line citation in published prose, no wrong behaviour taught; in the PR's Acceptance notes." ] }objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Merged: PR #37674 at
61a65440(maintainer-side approval and queue by os-zhuang) closed this card. Delivered:skills/objectstack-ai/SKILL.mdandreferences/context-packs.mdteach a skill'scontextkey (bare pack name, resolved in the skill's package then its closure, refused unlesstoolsbindsget_record_context) and the MCP prompt's optional record argument; eval case 12 covers it (maintainer's choice, 2026-11-26 19:22Z). Left: #37688 (eval case 12 assertions, SKILL.md line 108 citation, the context-packs rule-table row), unblocked now.pm:dispatchedremoved.