Skip to content

37611 跟进:评测第 12 题的必含词比标准答案严,并修正 SKILL.md 一处差一行的源码引用 #37688

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

Filing gate: ② follow-up out of #37611. The source is seat 5's contract record 7202388684 on PR #37674: nit N1, plus an out-of-scope note on a line citation. The seat asked the area to file one card for both (handoff 7202422701). 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 · p3 · reach: objectstack-ai skill eval case 12 and one source citation in its SKILL.md · evidence: read.

维护者速读

  • 做什么:评测第 12 题有两个必含词比标准答案还严,会把正确答案判错,改成与答案一致;顺手修正 SKILL.md 里一处差一行的源码行号引用。
  • 谁受益:技能评测结果的可信度;读文档追源码的人。
  • 不做会怎样:用通配符绑定工具、或不提 MCP 参数的正确答案会被判失败;引用指偏一行。
  • 需要你做的:无。

What

  1. Eval case 12 in skills/objectstack-ai/evals/skills-tools-knowledge.json (added by PR docs(skills): the AI skill teaches a skill's context key and its MCP record argument #37674) has two must_contain tokens stricter than its own expected_output:
    • the literal get_record_context, while the expected answer admits a wildcard binding that matches it;
    • recordId, a client-side MCP argument the skill file never spells, so a correct defineSkill with no prose about the MCP argument fails.
      Relax both so every answer the expected_output admits passes. Keep the tokens that pin the teaching: defineSkill, context:, policy_document.
  2. skills/objectstack-ai/SKILL.md line 108 cites skill.zod.ts:37-51, 139-202. The cited blocks sit at 38-52 and 140-203 on PR docs(skills): the AI skill teaches a skill's context key and its MCP record argument #37674's head, so the citation is one line low. Re-read the lines on main when you fix it.
  3. skills/objectstack-ai/references/context-packs.md lists the ai-context-* rule ids in a table (lines 108-113). It lacks ai-context-field-unprovisioned, the warning PR fix(lint): warn when a context pack reads an injected column with no storage on an external object #37699 (37415 跟进:资料包校验对外部对象的注入字段给出「无存储」提醒,并合并测试文件 #37432) adds for an injected column with no storage on an external object. Add its row. This came from the os-dev report 7203921910 on 37415 跟进:资料包校验对外部对象的注入字段给出「无存储」提醒,并合并测试文件 #37432.

Acceptance

  • Case 12's assertions accept a wildcard binding and an answer with no MCP-argument prose, and the grader (packages/qa/scenarios/src/skill-evals/grade.ts) still passes the expected answer.
  • The SKILL.md citation matches the blocks on main.
  • The context-packs rule table lists ai-context-field-unprovisioned with its severity.
  • The skills token ratchet holds, with no row edited.
  • Clause-②: no, Metadata-protocol: none.

Blocked-by: #37611 (PR #37674), #37432 (PR #37699)
Parent: #37611
Size: XS
Dedupe (objectstack, is:issue is:open): "must_contain" recordId → only #37611 (source) · "skill.zod.ts" SKILL.md citation → only #37611 and seat ledgers. No duplicate.

Activity

  1. added
    pm:blocked
    domain:skills
    area:ai
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:skills · Task · priority:p3 · pm:blocked · size XS; rationale: skill eval case 12's required words are stricter than its reference answer, and one SKILL.md source citation is off by a line. Eval and citation hygiene: p3 as filed. Blocked by #37611.

  3. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

    Unblocked: PR #37674 merged at 61a65440 and PR #37699 merged; the eval case, the SKILL.md citation and the new ai-context-field-unprovisioned rule are all on main. pm:blocked → pm:queue.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie

    Claim: PM loop round 1 · area o1-B (epic #36996 follow-ups, handed over by seat 5 in mailbox #37561 comment 7206307064) · 2026-11-27T00:26Z
    Session: session_016WV4cxBECSPtHxQMZDHSie
    Account: os-elon-musk
    Branch: claude/area-o1B-37688
    Worktree: objectstack-issue-37688
    Domain: domain:skills
    Area: o1-B
    Seat: repo:objectstack#1
    File surface: skills/objectstack-ai/evals/skills-tools-knowledge.json (case 12 only), skills/objectstack-ai/SKILL.md (the line-108 citation only), skills/objectstack-ai/references/context-packs.md (one rule-table row); a changeset for @objectstack/skills. Net line budget: ≤ +3 lines across skills/** (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: dispatch-gates --tier skills/objectstack-ai/SKILL.md skills/objectstack-ai/evals/skills-tools-knowledge.json prints "Model tier — MANDATORY: claude-fable-5-2" (skills/**, clause ①; no one-line exit), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (Task)
    Thread-read: 7206284158
    Premise: holds, two refinements read on origin/main 579b857 — the context-packs.md rule table sits at lines 110-116 (not 108-113); recordId is spelled in context-packs.md:74 and :92 but not in SKILL.md for the MCP argument. Citation on SKILL.md:108 is skill.zod.ts:37-51, 139-202; the blocks sit at 38-52 and 140-203 on main. ai-context-field-unprovisioned: packages/lint/src/validate-ai-context.ts:86, severity warning (:150).
    Serial constraints cleared: overlap-check on a probe branch touching the three files exit 0; #37676 (draft) and #37661 (Version Packages) share SKILL.md with no textual conflict; #37419 (this area) edits the same eval file only after this PR
    Pre-claim lane: skills/** ⇒ domain:skills (file ownership only); governed surface ⇒ Tier H: built and L1-read in o1-B / L1-a, landed by seat repo:objectstack#1 after ①–④.
    Pre-claim deps: #37611 / PR #37674 and #37432 / PR #37699 merged.
    Prior rulings read: check-prior-rulings.mjs --card 37688 --paths 'skills/objectstack-ai/**': ruling 0 · Ruling-ref 0 · maintainer 0 · ⛔ 0; no ruling-hit lines.
    Fold-or-serial: not folded with #37419 (measure-first; its fix, if any, rides this branch while this PR is open, else goes after it).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
    os-dev-report

    {
      "issue": 37688,
      "status": "done",
      "branch": "claude/area-o1B-37688",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37739",
      "pr_number": 37739,
      "head_sha": "409d5e1b80387cea859eb538f985dede5c5f3480",
      "session": "session_016WV4cxBECSPtHxQMZDHSie",
      "premise_still_valid": true,
      "summary": "Case 12 of skills-tools-knowledge.json drops the must_contain literals get_record_context and recordId (the grader is a literal substring match with no any-of form; defineSkill, context: and policy_document stay). SKILL.md line 108 cites skill.zod.ts:38-52, 140-203, the blocks as they sit on main 579b8577. The context-packs rule table gains ai-context-field-unprovisioned; severity (warning) is carried by the table's lead sentence, which says os validate warns, and all eight rows are warnings. context-packs.md sat at zero token headroom, so the row is paid for by deletion in the same file (four sample fields of the example, three sentences tightened, no fact removed); no ceiling row edited. Draft PR, left draft (Tier H). Card assignee not written.",
      "tests": "head 409d5e1b. gradeAnswer (grade.ts) via tsx: expected_output pass under new assertions; a defineSkill with context: 'policy_document' and tools: ['get_record_*'] and no MCP-argument prose: new pass, old fail (missing get_record_context, recordId); control with the context line replaced by a permissions key: fail (missing context:, policy_document; forbidden permissions:). skill-evals --self-test exit 0, '34 rows pass'. skill-evals --skills objectstack-ai --dry-run exit 0, 'objectstack-ai: 12 case(s)'. vitest test/skill-evals/skill-evals.test.ts under the lock: Test Files 1 passed (1), Tests 38 passed (38), VERDICT command-exit 0. No model-calling eval round. No ablation: no tested runtime behaviour changed.",
      "gates": "dispatch-gates --commands derived 50 families at 409d5e1b; --ran: '50 derived, 50 run, 0 NOT-MEASURED, 0 UNRUN' (record carries no exit codes). Exit codes captured before any pipe: 48 exit 0, including check-skills-token-ratchet (context-packs.md 1453 tokens, ceiling 1454, headroom 1; SKILL.md 6799, ceiling 6801), its --self-test, spec check:skill-docs and check:skill-refs (after a spec build), check:skill-links, check:skill-identifier-liveness, check:nul-bytes, check-empty-changeset, check-changeset-no-major. NOT MEASURED: check:dual-build-cjs-loads and check:lean-entry-closure, exit 3, reason: no full workspace build on this box; CI carries them. check:doc-formula-expressions exit 3 before @objectstack/formula was built, 0 after. overlap-check --branch=claude/area-o1B-37688: VERDICT clean exit 0 (before the one content push). PR check-runs at report time: 17 in_progress (Lint lanes, Type Check lanes, Governed Surface Queue Guard, Check Changeset, Check PR Size, PR-body guards, filter), 5 skipped, none concluded red or green.",
      "line_budget": "skills/**: +9 / -8 = net +1 line (budget +3). SKILL.md 486 to 486; skills-tools-knowledge.json 125 to 125; context-packs.md 118 to 119. Tokens: 6799 to 6799; 3343 to 3335; 1454 to 1453. Whole package, 14 SKILL.md files: 4961 lines and 262136 bytes, unchanged.",
      "files_changed": [
        ".changeset/37688-ai-skill-eval-case-12-and-context-rule-row.md",
        "skills/objectstack-ai/SKILL.md",
        "skills/objectstack-ai/evals/skills-tools-knowledge.json",
        "skills/objectstack-ai/references/context-packs.md"
      ],
      "deviations": [
        "context-packs.md edits go beyond the one rule-table row the claim's file surface names: lines 18, 22, 41, 63-64 and the ai-context-field-unknown row were trimmed to pay the token ratchet (headroom was 0). Same file, no other file added.",
        "The new row states no severity word of its own; the table's lead sentence carries it for every row.",
        "The suggested replacement token was not used: the two literals are dropped, since the grader has no any-of form and the reference answer's own prose would not contain a token such as 'tools:'.",
        "test:repo, lint and typecheck lanes not run locally; CI owns them.",
        "A harness reminder asked for a model-named commit trailer and a different PR footer; AGENTS.md forms were used (model-free trailer pair, session-URL footer)."
      ],
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft, plus POST /issues/37739/assignees) and this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/37688/comments). git push: 2 (empty-branch probe, one content push).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  8. 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-27T02:28Z
    Delivered: PR #37739 merged: eval case 12 keeps defineSkill, context: and policy_document and no longer requires the literals get_record_context and recordId; SKILL.md cites skill.zod.ts:38-52, 140-203; the context-packs rule table lists ai-context-field-unprovisioned, paid for by deletion in the same file. L1 ACCEPT 7207771685, contract review PASS 7207760824, seat record and hand-off 7207803268, approved by os-zhuang.
    State: pm:dispatched removed with the close. Remaining: nit N3 (case 12 no longer pins the tool binding) is carried on #37419 (comment 7207779687).

  9. 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:skillspriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions