Repository navigation
docs(skills): objectstack-ask iteration 2: trigger on every records question, ask back with no figure of its own, whole terms, hidden record kinds declined - #35038
Conversation
…s back without numerals, keeps terms whole, declines hidden record kinds The ask-skill iteration loop's first kept change set, measured on the travel_expense ask round (datasets 17/25 -> 25/25). Two restatements in step 2's candidates row are cut to pay the token ratchet; the row is raised by the measured remainder (1491 -> 1740). The served /mcp/skill module is regenerated from the skill. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
…a so-far question and a hidden record kind Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
📓 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 669f28332e79d97d8e93bb09eed4ad71552f6715 && git checkout 669f28332e79d97d8e93bb09eed4ad71552f6715
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 743308b90c3a5877db980607c9cffd69ba6e5cd4 32ba36e004d5ab43cce19cc30e5fc4444ea5ca23 && git checkout -B drift-repro 743308b90c3a5877db980607c9cffd69ba6e5cd4 && git merge --no-ff 32ba36e004d5ab43cce19cc30e5fc4444ea5ca23
node scripts/docs-audit/affected-docs.mjs --json 743308b90c3a5877db980607c9cffd69ba6e5cd4 |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT · 2026-11-18T00:11ZHead-sha: 7f6156c 席位核对PR shape.
Governed / size. CI. All green on this head. The edits, each against the text it changes:
The cuts that pay the ratchet down. Each removed clause keeps another home, as the
Ceiling. 1491 → 1740. Evals. I self-checked both new cases. Every
Case 10's fixture is consistent with the executor's near rule: Measurement. On the body's table (pre-#34997 grader), datasets went from 17/25 at iteration 0 to 25/25 at iteration 2. At iteration 5, which is this exact text, 问数 is 24/25 and datasets 25/25. The regraded rows follow once #35023 lands, as a body edit only. Must-fixNone. Should-fix
Notes
Next: S1, a skill-text change that takes a ceiling re-measure and an L1-c delta read. Then the seat's fable L2 (published-skill rule change), the Tier H record and os-zhuang. The body's regraded rows after #35023 need no re-read unless the head moves. |
…description as written Narrows the measured "no numerals" sentence per L1 review: a candidate's description may carry a number, and option places and dates are no longer graded as figures. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT (delta) · 2026-11-18T00:38ZHead-sha: b431dc0 席位核对Delta. One commit on top of my ACCEPTed head. It touches two paths, +6/-6: the skill's ask-back sentence and the regenerated S1, in the skill: closed. The sentence now reads: "State no figure of your own in it (no count, total or option number): name each option by its label in a bullet, and quote its description as written."
Ceiling. 6979 bytes, so Measurement. Iteration 6, offline on grader rev 2 (the #35023 branch): 问数 25/25, datasets 24/25, asked-back 9/10, 0 leaks. Overall it equals iteration 5. The body names the one miss, a correct Chinese ask-back with no "?", as a grader false negative. That is plausible, but I have not checked it against the recording. If it holds, it belongs to a grader follow-up, not to this skill. CI. It was running on this head when I read it (25 pending, nothing failed). This verdict holds on the condition that Must-fixNone. Should-fix
Notes
Next: S1′, then the seat's fable L2, the Tier H record and os-zhuang. |
… 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
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT (delta) · 2026-11-18T00:41ZHead-sha: 32ba36e 席位核对Delta. One commit on top of my ACCEPTed head. It touches three paths, +9/-7, and moves neither the skill text nor the generated module. S1′: closed.
CI. This verdict holds on the condition that Must-fixNone. Should-fixNone. NotesNone new. Next: the seat's fable L2 (a published-skill rule change), then the Tier H record and os-zhuang. The low-risk arm is refused because of the |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract reviewServed-tier: PR #35038 (Part of #34996), net diff against This review is rendered at Why the security line reads yes: the step 4 hunk teaches behaviour on a permission boundary. It tells the client that records of a kind it cannot list "may be hidden from you" and that it must never answer from a different object that merely links to them, i.e. not to reconstruct a withheld object through a lookup on a visible one. That is permission behaviour the path name does not show. The direction is the restrictive one (it narrows what the client answers), and it agrees with the ① Derived judgments
② Semver level
Clause-②: no — correct. Nothing a consumer compiles or parses against narrows or moves. ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Tried to break it. Findings, all nits: none changes what the skill makes a client do wrongly, and none touches the contract.
No sentence of the diff contradicts a tool description, the Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG 席位记录 · 2026-11-18T01:08ZHead-sha: 维护者速读(终稿)
席位意见:建议批准。每句教学都对照了数据集工具的代码,生成文件与源文逐行一致,实测分数没有因为压缩上限而下降。 席位核对
|
Requested by Yibo Wang · project thread
Part of #34996
Clause-②: no
Metadata-protocol: none
Served-tier: TIER_DEFAULT
维护者速读
objectstack-ask技能(及由它生成的GET /mcp/skill页面)四处措辞:凡用应用记录回答的问题都先加载本技能(含「一共」「so far」);术语按用户原名词短语整段传;反问不写自己的数字(计数、合计、选项编号),选项按标签列出、描述原文引用;看不到的记录类型直接说明看不到,不拿关联对象顶替。skills/objectstack-ask/SKILL.md(第 2 步表格下的反问段与第 4 步首条)、scripts/check-skills-token-ratchet.mjs(抬升行与注释)、skills/objectstack-ask/evals/metric-selection-fallback.json(新增 10、11 号用例)。node scripts/check-skills-token-ratchet.mjs && node scripts/gen-mcp-ask-skill.mjs --check,预期两者均以 0 退出,ask 技能读数 1740 / 1740。What changes
skills/objectstack-ask/SKILL.mdtakes the measured iteration-2 text (/mnt/project-files/issue-34869/skill-iter/iter2/SKILL.v2.md), applied as its diff onto currentmain(the file is byte-identical to its state at99bd2203, so the patch applied unchanged; the result was byte-identical toSKILL.v2.mdbefore the cuts below):b431dc04: the measured text said "without any numerals at all ... leave out counts, dates and years", which forbade quoting a description that carries a date or a number; narrowed to the figure the reply would add, measured as iteration 6 below, same token count. Follow-up32ba36e0(L1 S1′) brings the changeset, eval 10's expected output and the ceiling comment (6979 / 6959 bytes) in line; no skill or ceiling change.)list_datasetsterm is the user's noun phrase kept whole ("travel budget", not "travel" and "budget") and without verbs, time words and question words ("trip days", not "trip days requested").Token ratchet, raise path the standing ruling 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B). PAID DOWN FIRST, two restatements cut from step 2's
candidatesrow, each keeping its other home:These two cuts are the only wording outside the measured text, forced by the ratchet. The area measured the text with the cuts as iteration 5: same scores as v2's rounds (the candidates row the cuts touch is the one
dq_claimed_so_farexercises, 5/5). Arithmetic in priced bytes (20-byte stamp line excluded): the text adds 1057 bytes, the cuts remove 61, and the reviewed narrowing of the ask-back sentence (S1,b431dc04) adds 2: 5961 -> 6959 priced bytes (file 6979 bytes),ceil(6959 / 4) = 1740; the row moves 1491 -> 1740 (+249), the measured remainder only, pinned AT the measurement, zero headroom; no other row moves.Also in the diff:
packages/mcp/src/ask-skill.generated.tsregenerated withnode scripts/gen-mcp-ask-skill.mjs(never hand-edited);content/docs/ai/skills-reference.mdxregenerated withpnpm --filter @objectstack/spec gen:skill-docs.trip_requestlookup onexpense_claim)..changeset/34996-ask-skill-iter-2.md:@objectstack/skillsand@objectstack/mcppatch, as the earlier ask-skill PRs did.Measurements
travel_expense ask mode, with-skill only, 5 reps, template
b7ab31a7, the model and medium effort the round record names, subscription login,--packages workspaceat main99bd2203(the published 18.5.0 door serves nolist_datasetscandidates), grader before the ordinal/date grader change of #34997. Records under/mnt/project-files/issue-34869/skill-iter/, logged on #34869.7f6156c2)b431dc04: iteration 5 with the narrowed ask-back sentence), grader rev 2 (live run on #35023's head090a48eb, the merged code)Iteration 6 ran live on #35023's head
090a48eb, the code that merged as339c2f42, so its graders are rev 2; the score equals iteration 5 overall. Its one datasets miss isdq_travel_spendrep 3: the reply asks back correctly (lists both spend measures, no figure, 「…我不替你选,请确认你要哪一个:」) butasked-back:asksaccepts请确认only at the start of the text or after.。!!or a newline, not after a full-width comma, so it reads as not asking. That is a grader false negative, filed as #35058, not a skill miss.Regraded on grader rev 2. Every recording above replayed on main's grader after #35023 merged (
--driver recorded:, same turns and same replies, only the grade changes; build worktree090a48eb, records underiterN/regrade-rev2/):On rev 2 the baseline's asked-back reads 5/10 (was 3/10:
dq_claimed_so_farrep 2 anddq_travel_spendrep 1 were failed only for option numbers, "1" and "1, 2, 3", which the old grader counted as figures), so the kept change set moves datasets 19/25 -> 25/25 and asked-back 5/10 -> 10/10. Iteration 4's v3 regrades from 24/25 to 25/25, a tie with v2, so it stays not kept. The replay's operation column counts only the operations whose recorded writes replay; a filing's later turns name a row the replay created, which #35048 fixes, so the live column (2/3, the submit defect below) stays the operation score.The operation miss is
file_and_submit_from_text: on workspace packages the filing applies, then the build's owndemotravel_submit_claimanswers HOOK_ABORTED (it passesstatusas an update option); it is fixed with the fresh verified build (#34920 / #34896), and #35025 changes the card's line-shape check. Iteration 3's 问数 miss (department_budgetsas dept_manager: never described Department) and iteration 5's (as employee:travel_budgetis withheld, the reply said "no budget field") are left for the next text batch (#35004). Seed 173/757 (#34897, PR #34985): 8 questions and 3 operations are unmeasured.Tests
Readings (head 7f6156c; re-run at b431dc0 where marked)
pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2 src/skill-single-source-34686.test.ts: Test Files 1 passed (1), Tests 3 passed (3); re-run atb431dc04: 3 passed (3).pnpm --filter @objectstack/mcp test: Tests 1252 passed (1252);pnpm --filter @objectstack/mcp typecheck: exit 0 (check:test-typecheck: OK).must_containis inexpected_output, nomust_not_containis in it, ids 1-11 distinct;loadSkillEvalCatalog('skills')frompackages/qa/scenariosloads 11objectstack-askcases with no refusals.Verification
Gates (head 7f6156c)
pnpm --workspace-concurrency=2 --filter '@objectstack/lint...' --filter '@objectstack/client-react...' --filter '@objectstack/mcp...' build, VERDICT command-exit 0.node scripts/pm/dispatch-gates.mjs --commands: 112 derived families, all run;--ranwith exit codes: 110 run, 2 NOT MEASURED (exit 3), 0 unrun.pnpm check:dual-build-cjs-loads, reason: needs a fullpnpm build;node scripts/check-plugin-teardown-shape.mjs --self-test, reason: shallow checkout cannot read its pinned positive-control commit. Both left to CI.node scripts/check-skills-token-ratchet.mjs: exit 0,skills/objectstack-ask/SKILL.md is 1740 tokens (ceiling 1740; headroom 0);--self-testexit 0. Re-run atb431dc04: still 1740 / 1740, headroom 0.pnpm --filter @objectstack/spec run check:skill-docs: exit 0;check:skill-refs: in sync;node scripts/gen-mcp-ask-skill.mjs --check: clean; all three re-run atb431dc04: in sync, clean.node scripts/pm/overlap-check.mjs --branch=HEAD: VERDICT clean (origin/main merges cleanly; the Version Packages PR shares the skill file and merges cleanly).node scripts/pm/check-governed-merges.mjs --branch claude/issue-34996-ask-skill-iter-2: GOVERNED, Tier H (skills/**x2).Size readings
skills/objectstack-ask/SKILL.md: 101 -> 115 lines; 1491 -> 1740 tokens.SKILL.md: 4730 -> 4744 lines.Acceptance notes
partial: true..."); it is kept as measured rather than re-wrapped.339c2f42). The replay operation counts stay labelled as such until scenarios replay: RecordedDriver createdIdOf reads only a top-level id, so a row created by run_action (result.id) is never remapped and the replayed follow-up operation gets RECORD_NOT_FOUND #35048 lands.