Repository navigation
docs(skills): objectstack-ai eval case 12 matches its reference answer; citation and rule row corrected - #37739
Conversation
…r; citation and rule row corrected Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie Final head for review: |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · head 409d5e1 · 2026-11-27T01:56Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: PR #37739 for card #37688. Inputs read: the card body and its four comments (triage 7203532249, unblock 7206284158, claim 7206464091, os-dev-report 7206803381; no ruling and no earlier record on the card), the PR body and its four-file list, the net diff against ① Derived judgments
② Semver levelA ③ Boundary flags
SQL push-down (Prime Directive 5): not applicable. The diff holds no query, no id materialisation and no join. Security: no changed hunk teaches permission, sharing, credential, token, authentication or other security behaviour. The permission paragraph of ④ Design judgmentNo must-fix, no should-fix.
Area point (1), the trimmed example. It is a valid pack, accepted by the spec and by the render service, and still teachable.
Area point (2), the severity of the new row. Holds. The rule's severity is The three tightened sentences, read for a lost fact: none. "A lookup is answered with its target's name" equals the schema's "the name of the record it points at". "cut at the bound and marked
Area point (3), the two dropped literals. The case still tests what the card asks, and the drop is the only form that meets the card's Acceptance.
Line 108 cites Attempts to break it, all failed: an Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT at head 席位核对Shape and gates. Contract review. PASS at The area's three points, with the record.
Fixes is right. The card's Acceptance items are all in the diff: the row, the corrected citation ( Changeset (TIER_DEFAULT remainder), sentence by sentence. An Out of scope. The record's N3: case 12 no longer pins the Landing: Tier H. ACCEPT plus the same-head PASS are both on record. This goes to seat 1 for handoff ①–④. This thread does not land it. |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat record · 2026-11-27T02:03Z · PR #37739 (Fixes #37688) · head 维护者速读
Seat opinion: land. 席位核对 — ACCEPT · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Approval request · Tier H · PR #37739 (Fixes #37688) · head @os-zhuang — governed |
Requested by Elon · project thread
Fixes #37688
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ai/evals/skills-tools-knowledge.json, case 12:must_containdrops the literalsget_record_contextandrecordId. The reference answer admits a wildcard tool binding and a skill file with no prose on the MCP argument, and the grader is a literal, case-sensitive substring match with no any-of form, so each literal failed an answer the reference admits.defineSkill,context:andpolicy_documentstay, as do bothmust_not_containtokens.skills/objectstack-ai/SKILL.mdline 108: the citation readsskill.zod.ts:38-52, 140-203. Onmainat579b8577the two operator constants sit on lines 38 to 52, andcheckSkillTriggerConditionValueShapethrough the end ofSkillTriggerConditionSchemaon lines 140 to 203.skills/objectstack-ai/references/context-packs.md: the rule table gainsai-context-field-unprovisioned, worded from the rule's own verdict clause (unprovisionedAnchorVerdictinpackages/lint/src/system-fields.ts). Its severity iswarning, which the table's lead sentence states for every row ("os validatewarns on"); all eight rows are warnings inpackages/lint.fieldslists, and three sentences are tightened (thefieldskey row, the long-body sentence, theai-context-field-unknownrow). No fact is removed. The file now reads 1453 of 1454.patchchangeset for@objectstack/skills.Skills size readings (lines, and tokens as the ratchet prices them):
skills/objectstack-ai/SKILL.mdskills/objectstack-ai/evals/skills-tools-knowledge.jsonskills/objectstack-ai/references/context-packs.mdSKILL.mdfiles summedNet across
skills/**: 9 lines added, 8 removed, so +1 line against a budget of +3.Tests
All readings are from head
409d5e1b.Case 12 under the real grader
gradeAnswerfrompackages/qa/scenarios/src/skill-evals/grade.ts, run throughtsx, with the case's assertions as they are now ("new") and as they were ("old"):The second row is a
defineSkillfile withcontext: 'policy_document'andtools: ['get_record_*']and nothing else. The third is the same file with thecontextline replaced by apermissionskey: it still fails.The eval runner's own checks (no model call)
pnpm --filter @objectstack/scenarios skill-evals --self-test: exit 0,skill-evals self-test: 34 rows pass.pnpm --filter @objectstack/scenarios skill-evals --skills objectstack-ai --dry-run: exit 0,objectstack-ai: 12 case(s). The file loads and plans.pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2 test/skill-evals/skill-evals.test.ts:Test Files 1 passed (1),Tests 38 passed (38); the lock printedVERDICT command-exit 0.No eval round that calls a model was run.
Gates
node scripts/pm/dispatch-gates.mjs --commandsderived 50 families for this change set, and--ranreconciled50 derived, 50 run, 0 NOT-MEASURED, 0 UNRUN(that record carries no exit codes). By exit code captured before any pipe: 48 exited 0. Two,pnpm check:dual-build-cjs-loadsandpnpm check:lean-entry-closure, exited 3 and are NOT MEASURED, reason: they read every package's built output and this box holds no full workspace build; CI carries them.check:doc-formula-expressionsexited 3 before@objectstack/formulawas built and 0 after.node scripts/check-skills-token-ratchet.mjs: exit 0.skills/objectstack-ai/references/context-packs.md is 1453 tokens (ceiling 1454; headroom 1),skills/objectstack-ai/SKILL.md is 6799 tokens (ceiling 6801; headroom 2).pnpm --filter @objectstack/spec run check:skill-docsandcheck:skill-refs: exit 0, after a spec build.node scripts/pm/overlap-check.mjs --branch=claude/area-o1B-37688:VERDICT clean exit 0.Acceptance notes
context-packs.mdnow orders its related list byclose_datewithout listing that field among the shown columns. A pack may order by a field it does not show.os explain ai-context-field-unprovisionedsays which.Verification
Read first, by risk:
skills/objectstack-ai/evals/skills-tools-knowledge.json, the onemust_containline of case 12: check that nothing the teaching needs was dropped.skills/objectstack-ai/references/context-packs.md: the three tightened sentences, for a lost fact.skills/objectstack-ai/SKILL.mdline 108.Two-minute check: run
node scripts/check-skills-token-ratchet.mjsand expect exit 0 withcontext-packs.md is 1453 tokens (ceiling 1454; headroom 1), andgit diff origin/main --statlisting three files underskills/and one changeset, so no ceiling row moved.Generated by Claude Code