Skip to content

test(skills): ask-skill eval for a matched measure beside a grouping word that names nothing - #35847

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-34996-ask-skill-iter-3
Nov 20, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-34996-ask-skill-iter-3

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread

Part of #34996

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感,只是给问数技能的自测题库加了一道题,并把另一道题的判分收紧了一处。
  • 为什么做:属于「MCP 二期与问数」专题里问数技能的快速迭代,这一轮核对了「指标词对上了、分组词什么都没对上」的问法,技能原文已经写明该怎么答,所以只补测题、不改技能文字。
  • 出错会怎样:题库只供维护者给技能打分、不参与任何用户的问答,最坏情况是新题判分偏严或偏松,撤回本次改动即可恢复。
  • 要你做什么:合同审核在最新版本上没有未结意见之后,批准这次受管目录(问数技能的测题)的改动,在那之前无需动作。

What changes

Item (b) of the third iteration on #34996 (claim 7032861157, scoped to (b) by 7033067647): a question whose measure word matches and whose grouping word matches nothing in any dataset and has no candidates. Eval cases only; this PR leaves the card open.

  • No skill text. skills/objectstack-ask/SKILL.md on main (d6ce9ba6) already says it in words, so nothing is added and the ratchet row is not touched. Three places carry the case:
    • step 2, first table row: "Each word for a thing measured matches exactly one measure | Compute: step 3."
    • under the table: "When the answer has nextStep, follow its decision and note." For this case the executor's one_measure note names the unknown word and its labelled fallback itself (packages/services/service-analytics/src/dataset-next-step.ts, leftOutSentences; pinned by dataset-tools.test.ts, "one_measure beside an unknown word and a grouping word").
    • the next paragraph: "Ask only about matches or candidates for words the user wrote; when their word matched nothing and has no candidates, go to step 4 instead of asking about some other word's matches."
  • Agreement with the rule's other homes, read on main. No disagreement found.
    • ADR-0149 D3 rule 2 for the measure ("One hit → it wins") and rule 4 for the word ("No hit → fall back to the object query the AI runs today … and the answer's source says so in words"). Rule 5 is the opposite shape (a dimension hit with no measure hit) and is not this case.
    • The 2026-11-17 note: "With no candidate, rule 4 is unchanged. No hit and nothing offered is the labelled fallback to the object query, as written".
    • The 2026-11-19 note, under "What does not change": "Rule 4, for a term with no hit and no candidate." A measure candidate is still asked about and never selected (ruling record 7024577075); this case has no candidate of either kind.
    • DATASET_SELECTION_RULE (packages/mcp/src/mcp-server-runtime.ts): "No match and no candidates: fall back to query_records / aggregate_records and say the answer is not from a governed metric."
    • LIST_DATASETS_DESCRIPTION (packages/services/service-analytics/src/dataset-tools.ts): "No match and no candidates: fall back to the object query tools and say in the answer that no governed metric was used (非指标口径)".
  • Eval case 20, new (skills/objectstack-ask/evals/metric-selection-fallback.json, in the file's existing shape). The user asks 「各仓库的营收是多少?」. list_datasets matches 营收 to one measure; 仓库 matches nothing and the answer has no candidates. The prompt quotes the answer's nextStep as the executor writes it for these inputs.
    • Expected: query_dataset for the measure, with no dimension put in the word's place; describe_object then aggregate_records for the breakdown; the per-warehouse figures under the line saying they are not from a governed metric (非指标口径); the dataset-hint line; no question back.
    • must_contain: query_dataset, describe_object, aggregate_records, 非指标口径. must_not_contain: the six ask-back phrasings case 16 already forbids.
  • Eval case 19, tightened (N3 of contract record 7034165368 on PR docs(skills): the ask skill says what to do after the user answers an ask-back #35775). Its must_not_contain gains the call spelling list_objects(, a tool name with its opening parenthesis and no bare identifier. Step 4 opens with that call, so an answer that started the fallback there and mentioned list_datasets in passing used to pass the literal grader.
  • Changeset .changeset/34996-ask-skill-unknown-grouping-eval.md: @objectstack/skills at patch. The catalog package copies skills/** whole, eval fixtures included, so the published tree moves. @objectstack/mcp is not in it: packages/mcp/src/ask-skill.generated.ts is generated from SKILL.md, which does not change.

Skills size readings

Reading Before (d6ce9ba6) After (163a8a6c)
skills/objectstack-ask/evals/metric-selection-fallback.json lines 195 205
same file, bytes 25328 28028
same file, tokens (measured, not ratcheted) 6332 7007
skills/objectstack-ask/SKILL.md lines / bytes / priced tokens (ceiling) 128 / 7520 / 1875 (1877) 128 / 7520 / 1875 (1877)
All 14 SKILL.md files, lines summed 4941 4941
Whole shipped bundle, tokens (the ratchet's own total) 285583 286258

The only file that grows is an eval fixture, which the ratchet measures and does not price (ruling record 6513306068, part 1). No ceiling is raised or edited.

Tests

All at head 163a8a6c. No package source changes, so there is no package test to run; the readings are the ones that read the two changed files.

Eval file: shape, self-consistency, and the quoted note
ids 1..20 unique true
case 19: every must_contain token is in expected_output, no must_not_contain token is
case 20: every must_contain token is in expected_output, no must_not_contain token is
case 20: same five keys as every other case (id, prompt, expected_output, files, assertions)
case 19 must_not_contain: ["list_objects(","describe_object(","aggregate_records(","非指标口径"]
composeDatasetNextStep(terms ['营收','仓库'], the prompt's dataset, no candidates, locale en)
  -> decision one_measure, terms ["营收"]; the composed note is a substring of prompt 20: true

The note was composed by composeDatasetNextStep from the source at this head, with the locale picker stubbed to en in a scratch copy (the copy strings are the file's own).

skill-evals dry run
$ pnpm --filter @objectstack/scenarios skill-evals --dry-run --skills objectstack-ask   (exit 0)
skills: workspace skills/
  objectstack-ask: 20 case(s)
20 behaviour case(s) × 2 arms, × 1 = 40 turn(s), 2 at once
dry run: no login read, no model called, nothing written

A first try before the build closure existed answered ERR_MODULE_NOT_FOUND (exit 1) and measured nothing; the reading above is after pnpm --filter '@objectstack/scenarios^...' build.

Ratchet, served copy, catalog build
$ node scripts/check-skills-token-ratchet.mjs   (exit 0)
skills/objectstack-ask/SKILL.md is 1875 tokens (ceiling 1877; headroom 2)
skills/objectstack-ask/evals/metric-selection-fallback.json is 7007 tokens — eval fixture, measured but not ratcheted
60 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 41 eval fixture(s) measured, not ratcheted

$ node scripts/gen-mcp-ask-skill.mjs --check   (exit 0)
packages/mcp/src/ask-skill.generated.ts is current with skills/objectstack-ask/SKILL.md.

$ pnpm --filter @objectstack/skills build   (under the verify lock, VERDICT command-exit 0)
sync-catalog self-test: 9 cases pass.
@objectstack/skills: 113 file(s) across 14 skill(s) copied from skills/** into dist/skills and read back byte-identical.
Derived gate list and its reconciliation
$ node scripts/pm/dispatch-gates.mjs --commands     (tree objectstack-ai/objectstack at 163a8a6c, 2 paths vs merge base d6ce9ba6f)
44 command(s) — 26 pnpm, 18 direct node

$ node scripts/pm/dispatch-gates.mjs --ran ran.list   (exit 0)
Run reconciliation — 44 derived, 40 run, 4 NOT-MEASURED, 0 UNRUN.
✓ dispatch-gates --ran: 44 derived famil(ies) accounted for — 40 run, 4 NOT-MEASURED (4 DERIVED from a recorded exit 3).

40 commands exit 0, among them check:nul-bytes, check:doc-authoring, check:skill-links, check:skill-compatibility, check:skill-frame-sync, check:skill-identifier-liveness, check:published-files, check-empty-changeset ("1 declaring changeset(s) added") and check-changeset-no-major. check:doc-formula-expressions first exited 3 (@objectstack/formula not built) and exits 0 after that build.

NOT MEASURED, four families, each exit 3 PREREQUISITE NOT MET because they read every package's dist/ and need a whole-workspace build: check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content. This diff changes no package source, so the whole build was not run locally; CI carries them.

Overlap
$ node scripts/pm/overlap-check.mjs   (exit 0)
claude/issue-34996-ask-skill-iter-3 (163a8a6c21) changes 2 file(s); against origin/main (de25d585bb) and 0 PR head(s)
  ✓ origin/main: merges cleanly
VERDICT clean exit 0

Acceptance notes

  • Live rounds stay with the eval domain. No model turn ran here for case 19 or case 20. The card's 5-rep rounds and its no-skill arm stay with the runner owners (o2-C / c6-B), as the claim says; this PR ships fixtures only.
  • Case 20 pins both halves. query_dataset and aggregate_records are both in must_contain: the note says to answer the matched measure with query_dataset and to use the object tools for the unknown word. An answer that takes the whole question to the fallback and never computes the governed measure fails the case.
  • Case 20 is the first case whose prompt quotes nextStep. Cases 1 to 19 describe matches and candidates only. A server on main sends nextStep whenever terms were sent, and the skill line this case rests on is "follow its decision and note", so the prompt carries the note as written. The English note is quoted beside a Chinese question so that the label 非指标口径 in the answer comes from the skill's step 4 and not from the prompt.
  • Noted, not filed (wording, no carrier): LIST_DATASETS_DESCRIPTION says the one_measure note "also names the words left out with their candidates or possible groupings" and lists the unknown word only for candidates_only, while the executor writes the unknown word's fallback under one_measure too. The description's own rule ("No match and no candidates: fall back …") already covers the case, so nothing a client does changes.
  • Tier H. The diff is under skills/**. This PR stays a draft; landing is the seat's and the maintainer's.

Verification

  • Read first (by risk):
    1. skills/objectstack-ask/evals/metric-selection-fallback.json, case 20's assertions hunk: must_contain holds query_dataset beside aggregate_records (the do-both reading of the note).
    2. The same file, case 20's prompt: the quoted note (the first prompt in the file to carry one).
    3. .changeset/34996-ask-skill-unknown-grouping-eval.md: one package, patch.
  • Two-minute check: git diff --stat d6ce9ba6 163a8a6c -- skills packages/mcp lists one file, the eval fixture, at 11 insertions and 1 deletion; SKILL.md and the generated page are absent from it.

Generated by Claude Code

…de a grouping word that names nothing

Case 20: the measure word equals one measure and the grouping word has no
match and no candidates; the measure is computed through query_dataset and
the breakdown comes from the object tools under the not-a-governed-metric
line, with no question about the word. Case 19 also forbids the
list_objects( call spelling. No skill text changes.

Claude-Session: https://claude.ai/code/session_016WV4d1Dv2AVwokgRqfdKp2
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 20, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1Dv2AVwokgRqfdKp2

Final head for L1 (2026-11-20T11:53Z): 163a8a6c21375978ab960853e732edbda51a661b. CI on this head: 44 check-runs, 28 success, 16 skipped, 0 failed, 0 pending. Eval fixtures and a changeset only (case 20 new; case 19 carries N3 of record 7034165368); SKILL.md unchanged because main already covers item (b) in words. Dev report 7038544796. Tier H (skills/**), the area does not land.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1eW7iLBvc8c6xv9Fx

L1 verdict (L1-a): ACCEPT at head 163a8a6c21375978ab960853e732edbda51a661b (Part of #34996, item (b) per claim 7032861157 as scoped by 7033067647: the ask-skill eval for a matched measure beside a grouping word that names nothing).

Gates on this head: l1-face --pr 35847 CLEAN (13 items, none flagged): open, draft, base main, first line Part of #34996, no closing keyword, Clause-②: no / Metadata-protocol: none. Check-runs at 163a8a6: 28 success, 16 expected skip, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check both success. Mergeable: clean. Dogfood battery not owed.

What I checked (holds):

  • Scope. The PR has two files: skills/objectstack-ask/evals/metric-selection-fallback.json (+11/-1) and a '@objectstack/skills': patch changeset. It changes no skill text, so packages/mcp/src/ask-skill.generated.ts does not move and @objectstack/mcp is correctly left out. The ask skill has not changed on origin/main since the base d6ce9ba6.
  • Every bare token against its case's own expected_output (the feat(skills): objectstack-mcp-build, the order of work for a client that builds through the MCP draft door #35665 lesson). I checked this with a script on the head blob.
    • Case 19: must_contain list_datasets and ARR are both present. must_not_contain list_objects(, describe_object(, aggregate_records( and 非指标口径 are all absent.
    • Case 20: must_contain query_dataset, describe_object, aggregate_records and 非指标口径 are all present. All six ask-back phrasings in must_not_contain are absent.
    • Ids run 1..20.
  • Prompt 20 quotes the server's real note. The quoted note is, word for word, what dataset-next-step.ts composes in en (service-analytics):
    • oneHit (""营收" equals one measure: 营收 (dataset: 销售分析), queried as datasetName …, measure …")
    • oneTail(1) ("Answer with query_dataset using that measure, and cite the answer's sourceLine as its source.")
    • unknownHit (""仓库" equals no measure and has no possible reading.")
    • leftFallbackTail ("For those words, use the object query tools … no governed metric was used for them."), pushed when an unknown word is left out (:389).
    • decision: 'one_measure', terms: ['营收'] matches the module's case order: rule 2 wins over the unknown word, which keeps its labelled fallback under one_measure.
  • Expected answer vs the skill and tool text on main.
    • SKILL.md:57 ("Each word for a thing measured matches exactly one measure | Compute: step 3") covers the measure.
    • SKILL.md:65 ("When the answer has nextStep, follow its decision and note") brings in the note's fallback for 仓库.
    • SKILL.md:71-73 ("when their word matched nothing and has no candidates, go to step 4 instead of asking about some other word's matches") forbids offering 行业 / 成交季度 as a reading of 仓库.
    • The answer's last line, naming 销售分析 because sales_order is its object, is LIST_DATASETS_DESCRIPTION's "when the object you fall back to is a listed dataset's object, add one line naming that dataset and its measures" (dataset-tools.ts:115-116).
    • No rule is added, and none is contradicted.
  • The dev's deviation (case 20 requires both query_dataset and aggregate_records) follows the note literally: the measure through the governed metric, the unknown word through the object tools. I read it as right for this note. An answer that takes the whole question to the fallback would ignore oneTail. The PR body leaves the seat free to drop query_dataset if it reads the dispatch as fallback-only. That is the seat's call in the contract read.
  • Changeset, sentence by sentence.
    • "Two changes to the eval fixtures … the skill text and the page at GET /mcp/skill are unchanged": holds. No SKILL.md and no generated file in the diff.
    • Bullet 1 (case 20: measure via query_dataset with its source; breakdown via describe_object then aggregate_records under 非指标口径; no question back; ADR-0149 D3 rule 2 and rule 4 "as list_datasets' nextStep.note already writes it"; "no rule and no skill sentence is added") holds against the expected output and the note composer.
    • Bullet 2 (case 19 forbids list_objects() holds.
  • Gates I ran on 163a8a6:
    • check-skills-token-ratchet: 60 authored files within ceilings, 41 eval fixtures measured.
    • check-adr-0087-registration: one non-breaking changeset.
    • pnpm skill-evals --dry-run --skills objectstack-ask (packages/qa/scenarios): "20 behaviour case(s) × 2 arms … = 40 turn(s)", "dry run: no login read, no model called, nothing written".

NOT MEASURED: no live eval round. Live rounds stay with the eval domain (o2-C / c6-B), as the claim routes them, so case 20's pass rate under either arm is unknown.

Non-blocking note: the dev's out-of-scope observation is right. LIST_DATASETS_DESCRIPTION says the one_measure note names left-out words "with their candidates or possible groupings". It does not say the note also names an unknown word with its fallback, which the composer does (leftFallbackTail). The description's own "No match and no candidates: fall back" covers client behaviour, so nothing differs. This is a wording gap only, left unfiled as the body says.

Landing: governed, Tier H (skills/**). It goes to the seat for the contract read. Part of #34996 (p1): pm:dispatched stays on the card at landing while other items remain.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1PJ4isQ3eD7Fk1fnF

Served-tier: CONTRACT_REVIEW_TIER

Contract review — PASS at 163a8a6

Head-sha: 163a8a6c21375978ab960853e732edbda51a661b
Local-runs: none
Scope: skills/objectstack-ask/evals/metric-selection-fallback.json + none
Security-touching: no

Isolated, read-only sub-agent record, written 2026-11-20T12:09Z. Full review, the first record on this PR. Face: rules (skills/**). Inputs: card #34996 with all ten comments (round-3 claim 7032861157, its scope update 7033067647, scope note 7032849227, dev report 7038544796); the PR body, its file list (two files, +24 / -1) and the net diff against the merge base d6ce9ba6; the PR's two comments (final head 7038875969, L1-a ACCEPT 7038917586); the 44 check-runs on this head. Read to judge the fixture, not reviewed: skills/objectstack-ask/SKILL.md; composeDatasetNextStep and its en copy in packages/services/service-analytics/src/dataset-next-step.ts, with the test that pins it; LIST_DATASETS_DESCRIPTION; DATASET_SELECTION_RULE; ADR-0149 D3 with its notes of 2026-11-17 and 2026-11-19; the grader and the case reader under packages/qa/scenarios/src/skill-evals/; packages/skills/scripts/sync-catalog.mjs; contract record 7034165368 on PR #35775 for its N3. Between this head and main at e1143241, none of those files differs except the fixture itself. The changeset is the lane seat's ACCEPT and is read here for ② only.

No must-fix, no should-fix. Three nits, N1 to N3; none moves the head.

① Derived judgments

  1. Public surface. Right. No tool, field, argument, export, schema or skill sentence moves. SKILL.md and packages/mcp/src/ask-skill.generated.ts are not in the diff, so the page at GET /mcp/skill is unchanged. The skill directory holds two files, SKILL.md and this fixture, so there is no references file to disagree with.

  2. What the fixture changes. Right. Compared as JSON against main: case 19 gains one must_not_contain token, list_objects(; case 20 is new; cases 1 to 18 are untouched. Ids run 1 to 20 and are unique, and case 20 has the five keys every case has.

  3. The quoted note is the executor's. Right. Read sentence by sentence against the en copy:

    • oneHit with the label 营收. The prompt's matchedOn: 'label' is what makes that label 营收, so the prompt agrees with its own note.
    • oneTail(1), then unknownHit for 仓库, then leftFallbackTail, joined by one space.
    • readTerm gives 营收 one_measure and 仓库 no_measure with no dimension; the precedence reports one_measure; terms is ['营收']. All three are as the prompt states them.
    • dataset-tools.test.ts pins this note shape ("one_measure beside an unknown word and a grouping word").
  4. Case 20 grades what the skill says. Right. Three sentences on main carry it, each read in the file:

    • the first row of the step 2 table: a word for a thing measured that matches exactly one measure goes to step 3;
    • "When the answer has nextStep, follow its decision and note.";
    • "when their word matched nothing and has no candidates, go to step 4 instead of asking about some other word's matches".

    The parts of the expected answer map to steps 3, 4 and 6: sourceLine cited as given, describe_object before aggregate_records, one aggregate in place of paging query_records, the 非指标口径 line with the object and fields, the dataset line because sales_order is the dataset's object, and a reply in Chinese. No sentence of the skill is contradicted.

  5. Case 20 against ADR-0149 D3. Right. Read per term: rule 2 for 营收 ("One hit → it wins") and rule 4 for 仓库, which has no hit and no candidate. The 2026-11-19 note lists "Rule 4, for a term with no hit and no candidate" under what does not change. Rule 5 is the opposite shape. Both door texts say "No match and no candidates: fall back".

  6. Tokens, against cases 7, 9 and 16. Right.

    • must_contain is the governed token of cases 7 and 16 (query_dataset) plus the three fallback tokens of case 9 (describe_object, aggregate_records, 非指标口径), all bare identifiers as in those cases.
    • must_not_contain is exactly the six ask-back phrasings of case 16, in the same order.
    • Cases 7 and 16 forbid aggregate_records and 非指标口径, and case 9 forbids query_dataset; case 20 requires all three. That is the case's point and not a conflict: 7 and 16 have no unmatched word without a candidate, and 9 has no measure match.
    • Every must_contain token is in the expected output and no must_not_contain token is.
    • describe_object and 非指标口径 are absent from the prompt, so an answer can take them only from the skill. This is what separates the two arms.
  7. Case 19. Right. The added token is the call spelling with its parenthesis, like the two beside it, and it closes N3 of record 7034165368 as that record routed it. The expected output says "no object tool" and does not carry the token. The case hash covers the token lists, so a round recorded on the old case 19 is told apart on regrade.

  8. Gate readings. 44 check-runs on this head: 28 success, 16 skipped, none red, none pending. Check Changeset, Lint & Repo Gates, Governed Surface Queue Guard, PR-body guards, TypeScript Type Check, Build Core and Test Core are success. The four families the dev could not run locally are named in the CI workflows. The PR is a draft and merges cleanly.

  9. Security line: no. Neither hunk teaches permission, sharing, credential, token or authentication behaviour. Case 20 is metric selection and the labelled fallback; membersWithheld, withheldFields and the hidden-record bullet of step 4 are in neither hunk.

② Semver level

  • @objectstack/skills at patch. Right. sync-catalog.mjs copies skills/** into the package's publish tree byte for byte, eval fixtures included, so the diff publishes and a changeset is owed (AGENTS.md: "Add a changeset for anything that publishes"; skip-changeset is for a diff that publishes nothing). Metadata-protocol: none takes patch.
  • @objectstack/mcp is rightly absent: its generated copy follows SKILL.md, which does not move.
  • Clause-②: no and Metadata-protocol: none. Each is one bare line at the start of a line in the PR body and one in the changeset, and neither key is mentioned a second time in either text. Right for a fixture-only diff: no accept set changes, and nothing a metadata author writes changes.
  • The body opens Part of #34996 and carries no closing keyword. Right: the card is done on two live rounds, which this PR does not run.

③ Boundary flags

  • open_questions. None in report 7038544796.
  • Deviation: a prompt quotes nextStep for the first time. Accepted. The skill line the case rests on is "follow its decision and note", so the note has to be in the prompt. Quoting the en note beside a Chinese question keeps 非指标口径 out of the prompt, so the token grades the skill and not an echo. en is the floor a caller with no locale on the request or the workspace is served.
  • Deviation: query_dataset and aggregate_records are both required. Sound; keep both. Judged in ④.
  • Deviation: no skill text, though the claim's surface allowed it. Accepted. The three sentences in ① 4 exist as quoted. Whether they are enough for the with-skill arm is a live reading this PR does not have (NOT MEASURED, below).
  • Out-of-scope note: LIST_DATASETS_DESCRIPTION names the unknown word only under candidates_only. Confirmed as read: the composer writes unknownHit and leftFallbackTail under one_measure too. The description's own "No match and no candidates: fall back" covers what a client does. Its carrier is this card, whose surface includes the tool descriptions once a round measures a gain from them; no separate card.
  • NOT MEASURED. No model round ran for case 19 or case 20. The pass rate of either arm is unknown and stays with the eval round.
  • Author. The PR is the fleet bot's; no other login to name.
  • SQL push-down. Not applicable: the diff has no query, no id materialisation and no join. The case itself asks for one aggregate_records in place of paging rows.

④ Design judgment

skills/objectstack-ask/evals/metric-selection-fallback.json, against the skill on main, the note composer and item (b) of the card's round-3 claim.

Requiring both tools holds. I tried the three answers a reader could give:

  • Both: the governed total through query_dataset, and the breakdown through the object tools under the label. It passes. It is the note read whole, and the claim's own words: "the labelled record fallback for that grouping".
  • Fallback only. It lacks query_dataset and is refused, rightly: it skips the note's first instruction and the first row of step 2, and it gives a figure worked out by hand where a governed one exists, against the skill's opening rule.
  • Governed total only, with the breakdown declined. It lacks the three fallback tokens and is refused, rightly: D3 rule 4 and the note give the unknown word its labelled fallback.

Dropping query_dataset would let the second answer pass, so the list stays as it is.

Other ways I tried to break the case:

  • Step 4's first bullet (a kind of record that no listed object is: say so and stop). It does not apply. The records measured are sales orders, which are listed; 仓库 is what they are grouped by. Case 11 is the other shape, where the records asked about are themselves missing.
  • Case 16 beside case 20. They are the same question shape, with a dimension candidate (16: group inside the dataset, no object tool) and with none (20: object tools for the grouping). The rows of step 2 and the composer's sentences differ in the same way, so the pair grades the boundary from both sides.
  • The opening line. Step 4 says to open the answer with the 非指标口径 line; the expected answer of case 20 puts it over the per-warehouse figures only. That is the note's "for them", and D3's reason for the label: a reader can tell a governed number from an estimate. The literal grader takes either placement.
  • The grouping silently replaced by 行业 or 成交季度. No token catches it, and none can, because the expected answer names both labels. Case 16 has the same limit.
  • A reply that quotes an ask-back phrasing while declining to ask would be refused. Case 16 carries the same accepted risk.

Notes:

  • N1 (nit) — case 20 pins no label. Cases 7 and 9 require 销售分析, and case 9 requires 赢单金额 for the dataset line. Case 20 requires only tool names and the fallback label, so neither the cited source nor the dataset line is graded. It changes nothing about which answers pass today. Left as is; a token can be added the next time the fixture moves.
  • N2 (nit) — the last sentence of the expected answer adds the dataset line "so the user can ask for the governed figure" to an answer that already carries that figure. It is step 4 by the letter, and expected_output is neither sent to the model nor graded. Accepted as written.
  • N3 (nit) — outside the diff, for the card's next round. The composer writes the same fallback sentence for every unmatched word with no candidate, a time word included. Cases 1 and 7 send 本季度 and 本月 as terms, forbid the fallback tokens and quote no nextStep, so the fixture file does not contradict itself. Case 20 is the first case to grade obedience to that sentence, so a later text change tuned to pass it has no case guarding the time-word side. A companion case would: case 1's shape with its own note quoted. It belongs to the next round on ask skill: iterate the objectstack-ask skill and the MCP tool descriptions against the travel_expense ask round until it meets a fixed target #34996, whose claim covers evals/**.

Implemented-by: claude/issue-34996-ask-skill-iter-3
Reviewed-by: session_016WV4d1PJ4isQ3eD7Fk1fnF

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1PJ4isQ3eD7Fk1fnF

席位核对 — ACCEPT · repo:objectstack#4 · head 163a8a6c21375978ab960853e732edbda51a661b

  • 速读:只给问数技能题库加第 20 题(指标词命中、分组词无匹配无候选)并收紧第 19 题判分,技能原文不动。
  • 档:H(skills/** 命中;低风险 skills 臂其余各条皆满足,现 head 达档 PASS 记录带 Security-touching: no 后读 S);L1 ACCEPT 7038917586;合约复审 PASS 7039173308(CONTRACT_REVIEW_TIER,F/S 无,Security-touching: no)
  • Security-touching: no。
  • 席位意见:可合。
  1. 形态 — 两文件:skills/objectstack-ask/evals/metric-selection-fallback.json(M,同 mode,+11/-1)与 .changeset/34996-ask-skill-unknown-grouping-eval.md('@objectstack/skills': patch,正文带裸 Clause-②: no / Metadata-protocol: none)。PR 正文同两行各一条、Part of #34996、无关闭词、draft、非 fork。SKILL.md 与 packages/mcp/src/ask-skill.generated.ts 不动,@objectstack/mcp 不入 changeset 正确;evals 随 catalog 出包,patch 档对。Metadata-protocol: none ⇒ 不欠 Skills-docs: 行。
  2. 前提实测 — 席位在 head 上脚本复核:ids 1..20 唯一;第 19、20 题每个 must_contain 都在其 expected_output 中,must_not_contain 无一在内。第 20 题 prompt 引的 note 即 dataset-next-step.ts 的 oneHit+oneTail(1)+unknownHit+leftFallbackTail(en),decision: 'one_measure' 合其优先序。期望答案对 SKILL.md 第 2 步首行、"follow its decision and note"、"matched nothing and has no candidates, go to step 4" 及第 4 步(非指标口径、数据集提示行)皆成立,未增规则。
  3. 门禁 — head 上 check-runs 44 条:28 success、16 skipped、0 failed、0 pending;mergeable clean。check-governed-merges --pr 35847:governed skills/** ×1,Tier H,低风险臂仅缺记录阶段。未测:活轮次通过率(归评测域 o2-C / c6-B)。
  4. 接受的偏差 — 第 20 题 must_contain 同列 query_dataset 与 aggregate_records:接受。认领 7032861157(经 7033067647 收窄)写的是"该分组词走带标注的记录回退",回退只管 仓库,营收 已精确命中一个度量(ADR-0149 D3 规则 2);one_measure note 原文先令 "Answer with query_dataset using that measure",再令 "For those words, use the object query tools",SKILL.md 令照 note 行事。只留回退会放过一个忽略 oneTail、把整题甩给对象查询的答案。与第 7、9、16 题同用工具名作判分词。
  5. 范围外去向 — LIST_DATASETS_DESCRIPTION 未写 one_measure note 也会带未知词的回退句(leftFallbackTail):措辞缺口,客户端行为由其 "No match and no candidates: fall back" 已覆盖,不立卡(L1 同判)。活轮次与卡的 Done-when 留评测域,卡不关。
  6. 落地条款 — Part of #34996,卡不关;现 head 末条同形 CONTRACT_REVIEW_TIER PASS(带 Security-touching: no)在案、无未闭 must-fix/should-fix 后由席位翻 ready、加 pm:awaiting-merge、请 os-zhuang/hotlong 复核入队(低风险臂读 S;本区尚无 Elon 落地行,席位不自入队);head 若移动,本记录与 L2 记录皆失效重核。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-elon-musk · session_016WV4d1PJ4isQ3eD7Fk1fnF

Seat landing — #35847 at 163a8a6c21375978ab960853e732edbda51a661b

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 20, 2026 15:49
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 8c18a36 Nov 20, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-34996-ask-skill-iter-3 branch November 20, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants