Skip to content

Commit 32ba36e

Browse files
committed
docs(skills): changeset, eval 10 and ratchet note follow the narrowed ask-back rule
The changelog lines, the so-far eval's expected output and the ceiling comment still described the earlier "no numerals" rule and 6977/6957 bytes; they now match the skill text (6979/6959, still 1740 tokens). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
1 parent b431dc0 commit 32ba36e

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎.changeset/34996-ask-skill-iter-2.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'@objectstack/mcp': patch
44
---
55

6-
docs(skills): the `objectstack-ask` skill loads for every question about the app's records, asks back without numerals, keeps terms whole and declines a record kind it cannot see
6+
docs(skills): the `objectstack-ask` skill loads for every question about the app's records, asks back without a figure of its own, keeps terms whole and declines a record kind it cannot see
77

88
Clause-②: no
99
Metadata-protocol: none
@@ -12,7 +12,7 @@ The `objectstack-ask` skill, and the page at `GET /mcp/skill` that is generated
1212

1313
- The skill is for every question answered from the app's records, before the first data tool call, even one that names no metric: what has been claimed, spent, sold or paid so far, as well as a number, a total, a ranking, a breakdown, a trend or a list ("how much", "so far", 「一共」 join the trigger words).
1414
- A term sent to `list_datasets` is the user's noun phrase for the thing, kept whole ("travel budget", not "travel" and "budget") and without the verbs, time words and question words around it ("trip days", not "trip days requested").
15-
- A reply that asks the user back carries no numerals at all: each option is named by its label in a bullet, never as "1." or "option 2", with no counts, dates or years. It asks only about matches or candidates for words the user wrote; a word with no match and no candidates goes to the object fallback instead of a question about another word's matches.
15+
- A reply that asks the user back states no figure of its own (no count, total or option number): each option is named by its label in a bullet, and its description is quoted as written. It asks only about matches or candidates for words the user wrote; a word with no match and no candidates goes to the object fallback instead of a question about another word's matches.
1616
- The object fallback opens with one rule: when the question names a kind of record that no listed object or dataset is, the client says it cannot see those records here (they may be hidden from it) and stops, and never answers from a different object that merely links to them.
1717

1818
Two sentences in the `candidates` row of step 2 that restated step 1 and the paragraph under the table are removed. The skill's eval cases add a question about what has been claimed so far and a question about a record kind no listed object shows. `packages/mcp/src/ask-skill.generated.ts` is regenerated from the skill; no code path changes.

‎scripts/check-skills-token-ratchet.mjs‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,16 +1726,18 @@ export const CEILINGS = new Map([
17261726
// (Part of #34996), measured on the travel_expense ask round before it was
17271727
// kept: the description triggers on every question answered from the app's
17281728
// records ("so far", 「一共」); a term is the user's noun phrase kept whole; an
1729-
// asked-back reply carries no numerals and asks only about the user's own
1730-
// words; step 4 declines a record kind no listed object shows instead of
1729+
// asked-back reply states no figure of its own, quotes each description as
1730+
// written and asks only about the user's own words; step 4 declines a record kind no listed object shows instead of
17311731
// answering from a linked one. Raise path the standing ruling
17321732
// 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B). PAID DOWN
17331733
// FIRST — two restatements cut from step 2's `candidates` row, each keeping
17341734
// its other home: ", and never treat a candidate as a match" (step 1's "A
17351735
// candidate is not a match.") and "Compute nothing yet." (the paragraph under
17361736
// the table: "no figure, and no tool call until the user answers"). Text
1737-
// +1057 bytes, cuts -61: 5981 -> 6977 bytes, less the 20-byte stamp line:
1738-
// ceil(($(wc -c < skills/objectstack-ask/SKILL.md) - 20) / 4) == ceil(6957 / 4)
1737+
// +1057 bytes, cuts -61, the reviewed narrowing of the ask-back sentence +2
1738+
// (re-measured before it was kept): 5981 -> 6979 bytes, less the 20-byte
1739+
// stamp line:
1740+
// ceil(($(wc -c < skills/objectstack-ask/SKILL.md) - 20) / 4) == ceil(6959 / 4)
17391741
// = 1740 (+249), the measured remainder only. Pinned AT the measurement, zero
17401742
// headroom; no other row moves.
17411743
['skills/objectstack-ask/SKILL.md', 1740],

‎skills/objectstack-ask/evals/metric-selection-fallback.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
{
9595
"id": 10,
9696
"prompt": "The user asks: \"What has been claimed so far?\" It names no metric. You called `list_datasets({ terms: ['claimed'] })`. The answer lists one dataset, `expense_analysis` (label Expense Analysis), with `matches: []`; its measures are `total_claimed`, labelled Claimed Amount and described as \"Sum of submitted expense claim amounts\", and `claim_count`, labelled Claims. The answer also carries `candidates: [{ term: 'claimed', dataset: 'expense_analysis', member: 'measures.total_claimed' }]`. What is your reply?",
97-
"expected_output": "A question about what has been claimed is answered from the app's records, so this skill applies before the first data call even though no metric is named. The word matches nothing and `candidates` lists one member for it, so the reply is a question and nothing else, asking whether that candidate is the one meant, such as \"Do you mean Claimed Amount (in Expense Analysis: sum of submitted expense claim amounts)?\", with the option named by its label in a bullet. It carries no numerals at all: no figure, no count of claims, no date or year, and no numbered option. It makes no tool call until the user answers.",
97+
"expected_output": "A question about what has been claimed is answered from the app's records, so this skill applies before the first data call even though no metric is named. The word matches nothing and `candidates` lists one member for it, so the reply is a question and nothing else, asking whether that candidate is the one meant, such as \"Do you mean Claimed Amount (in Expense Analysis: sum of submitted expense claim amounts)?\", with the option named by its label in a bullet. It states no figure of its own: no total, no count of claims and no numbered option, and the candidate's description is quoted as written. It makes no tool call until the user answers.",
9898
"files": [],
9999
"assertions": {
100100
"must_contain": ["Claimed Amount", "Expense Analysis", "?"],

0 commit comments

Comments
 (0)