Repository navigation
docs(skills): objectstack-ask step 2 answers from the records when no candidate's dataset carries the asked grouping - #39328
Conversation
…'s dataset lacks A word with a measure among its candidates, in a breakdown or ranking no candidate's dataset carries in full, is not asked about: the records answer (step 4) and each candidate is named as a declared metric with the grouping its dataset lacks (ADR-0149 D3, the grouping note of 2026-12-03). Paid for inside the file; packages/mcp/src/ask-skill.generated.ts regenerated. Claude-Session: https://claude.ai/code/session_01Utp6CZyaZyJWdzKPF2U7EQ Co-authored-by: Claude <noreply@anthropic.com>
…'s dataset carries only in part; changeset Claude-Session: https://claude.ai/code/session_01Utp6CZyaZyJWdzKPF2U7EQ Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 12 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 56738ee2b11773a35b8d3f8255a9d4e5c0013fc2 && git checkout 56738ee2b11773a35b8d3f8255a9d4e5c0013fc2
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 6b2e596027c7d4f9b01efab0766e3cfd4f2ba7df 5fbd110b69d5a7ec710a57b6e3b3c462a06b2f8d && git checkout -B drift-repro 6b2e596027c7d4f9b01efab0766e3cfd4f2ba7df && git merge --no-ff 5fbd110b69d5a7ec710a57b6e3b3c462a06b2f8d
node scripts/docs-audit/affected-docs.mjs --json 6b2e596027c7d4f9b01efab0766e3cfd4f2ba7df |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZyaZyJWdzKPF2U7EQ Contract-review-claim: session_01Utp6CZyaZyJWdzKPF2U7EQ · head d8005d2 · 2026-12-03T12:37Z Zone ai-1203 of seat |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZyaZyJWdzKPF2U7EQ Contract reviewServed-tier: PR #39328 for card #39285, the skill row ruled term 4 of record 7363768737 puts last ("the ADR note first, through the approvers; then the executor and the tool description; then the skill row"). Read for this record: the card body and its four comments (7371945387, 7373392886, the claim 7377416252, the dev report 7378562639); ruling record 7363768737 on #39152; the pull request body, its file list (four files) and its two comments (7378581216, the advisory docs-drift bot; 7378600913, the review claim); the net diff from merge base ① Derived judgments
② Semver level
③ Boundary flagsCheck-runs, read last, at 2026-12-03T12:45Z. 55 runs on the head: 28 SQL push-down. The diff adds no query, no id materialisation and no join. Nothing to judge. Author. The PR's Flags, each answered. The report's
④ Design judgmentFile: The row, left cell then right cell: "Such a word in a breakdown or ranking, and no candidate's dataset carries all it is split or ranked by ( Held against the executor's sentence on
One answer breaks it, and it is finding S1: a File:
No cut drops a taught behaviour. File: Shape: File: Findings. S1 (should-fix) — On a N1 (nit) — Case 28 does not tell the old skill text from the new, as the dev reports: with the skill it passes on this head and on the base with the case copied in, and the arm without the skill fails for not naming N2 (nit) — Case 28's literals are loose in two places. The ask-back is forbidden as "Do you mean", "do you mean", "Which one do you", "which one do you": the skill's own form for a single candidate ("ask whether it is the one meant", so "Did you mean …", "Is … the one you mean?") hits none of them. A reply that only asks still fails on N3 (nit) — Two cuts leave N4 (nit) — The row says "no candidate's dataset" and "each candidate", where the note, the spec and the executor read the measure candidates only: a word with a measure among its candidates can also have a dimension candidate in another dataset. Read literally with such a dataset carrying the grouping, the row keeps the question and the note on the answer drops it; and "each candidate as a declared metric" takes in a dimension. The note governs and the error is toward asking. These are N1 and N4 of record 7370830784, carried over from the door's sentence the row follows. Closing the round: S1 is open on this head and earns a delta review of its fix. The nits are in governed text, so a fix to any of them moves the head; N3 and N4 can ride with the fix for S1 or be left, N1 is answered by the case S1 asks for, and N2 can be left. The 9 check-runs named in ③ had not concluded when this record was written. Implemented-by: VERDICT: PASS |
… a partial answer still asks The row's condition is tied to the groupings nextStep.note lists, so on a partial: true answer, where the note lists none, the word is asked about as before (ADR-0149 D3, the grouping note of 2026-12-03). Eval case 29 pins it; case 28 also refuses the single-candidate ask-back forms; six reference answers drop the reasons cut from the skill. Claude-Session: https://claude.ai/code/session_01Utp6CZyaZyJWdzKPF2U7EQ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZyaZyJWdzKPF2U7EQ Contract-review-claim: session_01Utp6CZyaZyJWdzKPF2U7EQ · head 5fbd110 · 2026-12-03T12:51Z Zone ai-1203: the same isolated |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZyaZyJWdzKPF2U7EQ Contract reviewServed-tier: Delta record for PR #39328 (card #39285), answering record 7378813195 on head ① Derived judgments
② Semver levelUnchanged and still right: ③ Boundary flagsCheck-runs, read last, at 2026-12-03T12:54Z. 54 runs on the head: 14 SQL push-down. The delta adds no query, no id materialisation and no join. Nothing to judge. Author. The PR's Flags, each answered. The delta report's
④ Design judgmentFile: Left cell: "Such a word in a breakdown or ranking, when
File:
File: Findings. S1: closed No must-fix, no should-fix. The first record's nits: N1 is answered by case 29, the one answer on which the row and the earlier texts can differ, though it has no live reading yet (③). N2 is closed for the ask-back literals; the N5 (nit) — "(a date one keeps its calendar buckets)" is hard to parse: "one" has "dataset" as its nearest noun and means a date grouping. The meaning is recoverable, since the row applies only when the note's list is present and the list marks such a dimension "(a date: by day, week, month, quarter or year)" itself. A plainer form costs bytes the file does not have (headroom 0). Left as an accepted deviation. N6 (nit) — Case 29 forbids the records route only as calls written with a parenthesis ( Closing the round: nits only, so this is the final round for this head. A fix to N5 or N6 would be in governed text and would move the head. The 22 check-runs named in ③ had not concluded when this record was written, and the PR body is the seat's to bring to this head. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZyaZyJWdzKPF2U7EQ Zone L1 ACCEPT — zone ai-1203 of seat 席位核对
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd 维护者速读
席位核对ACCEPT · head
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd Review request: 2026-12-03T13:25Z · |
Requested by Bill · project thread
Fixes #39285
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ask/SKILL.md, step 2, gains one table row under the row for a word with a measure among itscandidates. It teaches the step the ruling on #39152 (option P, step 2; ruling record 7363768737) orders and ADR-0149 D3 records in its grouping note of 2026-12-03, in the wordslist_datasetswrites innextStep.noteonmain(groupingCheckinpackages/services/service-analytics/src/dataset-next-step.ts):partial: trueanswer carries no such list (the executor'sgroupingSentenceswrites nothing there), so the word is asked about as before. This is finding S1 of the contract review, fixed in the row's condition.packages/mcp/src/ask-skill.generated.tsis regenerated from the skill (node scripts/gen-mcp-ask-skill.mjs), so the page atGET /mcp/skillcarries the same text.skills/objectstack-ask/evals/metric-selection-fallback.jsongains two cases, each with thenotetaken from a probe run oflist_datasetson this branch:partial: trueanswer, whose note lists no groupings. The expected reply is the question about the word and nothing else.The reference answers of cases 9, 20, 21, 22, 24 and 26 no longer repeat the reasons cut from the skill.
The row is paid for inside the file
The ratchet row stays
['skills/objectstack-ask/SKILL.md', 2040], andscripts/check-skills-token-ratchet.mjsis not touched.dc4a2cdb)5fbd110b)skills/objectstack-ask/SKILL.md, linesskills/objectstack-ask/SKILL.md, bytesskills/objectstack-ask/SKILL.md, priced tokensSKILL.mdinskills/, linesSKILL.mdinskills/, bytesThe new row is 291 bytes. Five cuts, 289 bytes in all, pay for it, and the priced bytes land on 8160, which is the 2040 ceiling exactly. No instruction leaves with the cuts:
list_datasetsamong your tools: go to step 4."orderByandlimit: N.Tests
At head
5fbd110b, except where a line namesd8005d20, the head before the review round.skill-single-source-34686.test.tsin@objectstack/mcp, which holds the generated module equal to the skill: 1 file, 3 tests passed.node scripts/gen-mcp-ask-skill.mjs --check: the module is current with the skill.node scripts/check-skills-token-ratchet.mjs:skills/objectstack-ask/SKILL.md is 2040 tokens (ceiling 2040; headroom 0).skill-evals --skills objectstack-ask --dry-run: the reader takes the bundle's 29 behaviour cases and 7 trigger cases, and refuses none.d8005d20:pnpm --filter @objectstack/mcp test, 89 files, 1662 tests passed;pnpm --filter @objectstack/mcp typecheck, exit 0. Neither was re-run on5fbd110b: the round changed skill text, the generated string and an eval fixture.Gates
5fbd110b, each with exit 0:node scripts/check-skills-token-ratchet.mjsand its--self-test,node scripts/gen-mcp-ask-skill.mjs --check,pnpm --filter @objectstack/spec run check:skill-docs,pnpm check:skill-links,pnpm check:skill-identifier-liveness,pnpm check:skill-compatibility,pnpm check:skill-frame-sync,pnpm check:nul-bytes,pnpm check:doc-authoring,pnpm check:issue-citations,pnpm check:pm-skill-id-lint,pnpm check:role-word.d8005d20:node scripts/pm/dispatch-gates.mjs --ranread "73 derived famil(ies) accounted for — 71 run, 2 NOT-MEASURED". The 71 exited 0.node scripts/check-plugin-teardown-shape.mjs --self-test, exit 3, reason: its fixture commit is outside the shallow clone. The scan itself exited 0.pnpm check:dual-build-cjs-loads, exit 3, reason: it needs a whole-workspace build. CI'sLint & Repo Gatesruns it.5fbd110b, reason: a declared narrowing to the families that read the changed files. CI runs the farm on this head.Live check
pnpm --filter @objectstack/scenarios skill-evals --case 'objectstack-ask/metric-selection-fallback#28,objectstack-ask/metric-selection-fallback#29' --model haiku --effort medium --repeats 1, on5fbd110b, subscription login (oauth_token, no API key), servedclaude-haiku-5-5. One repetition, so it shows whether the behaviour appears and claims no rate.describe_object)partial: trueanswerNotional cost the CLI reported: $0.01. Nothing was billed.
On the head before the review round (
d8005d20), case 28 gave the same two results, and it also passed with the skill on the base text (dc4a2cdb, case copied in). The prompt of each case quotes the platform'snote, and the skill says to follow it, so at this model and one repetition the note alone carries both behaviours: case 29 passes without the skill too. What the row changes is that the skill no longer says "ask" where the note says not to, and after the review round it no longer says "do not ask" where the note asks.Review records
d8005d20: PASS, with S1 (the row acted on apartial: trueanswer) and nits N1 to N4.5fbd110b: PASS, S1 closed.Acceptance notes
grep -rn "ask back\|asks back\|candidates_only" skills/objectstack-ask/, still hits the eval file only. The row uses the words of step 2's other rows ("Do not ask").nextStep.noteends its grouping sentence with "Otherwise:" before the question.Verification
skills/objectstack-ask/SKILL.md(the new row at step 2, then the five cuts),skills/objectstack-ask/evals/metric-selection-fallback.json(cases 28 and 29),.changeset/39285-ask-skill-grouping-lacked.md.packages/mcp/src/ask-skill.generated.tsis generated.node scripts/gen-mcp-ask-skill.mjs --check && node scripts/check-skills-token-ratchet.mjs | grep objectstack-ask/SKILL.md. Expected: "is current with" and "2040 tokens (ceiling 2040; headroom 0)".Generated by Claude Code