Skip to content

docs(skills): objectstack-ai no longer teaches an authored AI button on a record page - #37937

Draft
objectstack-fleet[bot] wants to merge 1 commit into
mainfrom
claude/project-thread-q0nzop
Draft

objectstack-fleet[bot] wants to merge 1 commit into
mainfrom
claude/project-thread-q0nzop

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Requested by Tesla · project thread

Part of #37857

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:对外发布的 AI 技能文档不再教作者在记录页自己放 AI 按钮,换成一句话:用页头的「问 AI」入口,它自动带上当前记录。应用的使用者无感。界面技能里动作类型表的那一行这次没动,要等类型本身撤掉才能删。
  • 为什么做:「问 AI 入口改造」专题已定全站只留一个入口,「页面里加按钮」的需求作废。
  • 出错会怎样:只改了文档和一条评测样例;写错的话,用这份技能的 AI 作者会答错怎么加 AI 按钮,撤回本 PR 即可恢复。
  • 要你做什么:批准这个受管 PR。它先合,撤掉该动作类型的 PR(feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924,撤类型本身)后合,两者同一个版本发出。

What changes

  • skills/objectstack-ai/SKILL.md: the subsection The Ask AI button under Actions as AI Tools leaves, with its os:check defineAction example (25 lines). One sentence stands in its place (3 lines):

    No page declares an AI button of its own, so there is no action to write for one: the shell's 「问 AI」 entry opens the in-app assistant and carries the current record automatically.

  • skills/objectstack-ai/evals/skills-tools-knowledge.json: case 10 keeps its id and its prompt (an Ask AI button on the contract record page) and now expects the opposite answer: no action is written, and the answer names the shell's 「问 AI」 entry. must_contain is 问 AI; must_not_contain is defineAction( and locations:.
  • scripts/check-skills-token-ratchet.mjs: the row of skills/objectstack-ai/SKILL.md follows the measurement down, 6799 to 6617. The gate asks for this in the PR that shrinks the file ("Lower the row to 6617 in this PR").
  • .changeset/37857-skill-no-authored-ai-button.md: @objectstack/skills patch. skills/** ships as that package's dist.

Not in this pull request, and why the first line says Part of. git grep -n ask_ai -- skills/ still prints two lines, both in skills/objectstack-ui/SKILL.md (151, the table row; 153, the sentence under the table). They cannot leave before the type does: pnpm check:skill-identifier-liveness holds the Action Types table row for row to the members of ActionType, and on main the member is still there. Measured on this branch with the row deleted:

[leg2-missing-row] skills/objectstack-ui/SKILL.md — ### Action Types is registered exhaustive over ActionType (packages/spec/src/ui/action.zod.ts) and does not document ask_ai.

The gate's other remedy, a gap entry in its ledger, is marked maintainer-only, so it was not taken. The two lines are restored here byte for byte, and the card stays open for them. The seat decides who deletes them: #37924 itself, where the member leaves, or a second small pull request on this card after #37924 merges.

Why

ADR-0160, seventh amendment (2026-11-27), D6 "Entry point": "the shell's 「问 AI」 button, and no other. Its text is the same in every application, and no application renames it. No page declares an AI button of its own". The maintainer's rulings behind it, as the ADR quotes them: 「"页面里加按钮"的需求 作废」 and 「撤掉 ask_ai(#37834 方案 B)」. The card asks for the teaching to leave the published skills and, where a sentence is needed, for one that says the shell's 「问 AI」 entry carries the current record automatically. The replacement sentence says that and nothing about the parse: what a legacy action meets is #37924's to build and to word.

Landing order

This pull request lands before #37924 (the pull request that retires the action type); both ship in the same release. Reason, measured by the card thread on #37924's head ca52b5be: pnpm --filter @objectstack/spec run check:skill-examples is red there with one error, skills/objectstack-ai/SKILL.md:188:3 TS2322, the os:check example this pull request deletes, which no longer type-checks once ActionType loses the member. With this merged first, that example is gone from main before #37924 needs it gone.

Between the two merges main holds a skill that says no page declares an AI button while the type still parses, and the objectstack-ui table still lists it. Both ship together, so no published version carries that state.

Tests

Head 7eb79ca6, merge base 73d5e347.

Published-skills size (lines; tokens in the ratchet's own convention, ceil(utf8 bytes / 4), stamp line excluded):

before after
skills/objectstack-ai/SKILL.md, lines 487 465
skills/objectstack-ai/SKILL.md, tokens 6799 6617
all 14 SKILL.md, lines 4959 4937
all 14 SKILL.md, tokens 65451 65269
whole shipped tree, tokens 301286 301061

Net lines across skills/**: +6 / -28 = -22 (the eval file is +3 / -3).

Skill gates (each exit code captured before any pipe)
node scripts/check-skills-token-ratchet.mjs :: exit 0
  ✓ check-skills-token-ratchet: 61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.
node scripts/check-skills-token-ratchet.mjs --self-test :: exit 0
  ✓ check-skills-token-ratchet self-test: 111 cases pass.
pnpm check:skill-identifier-liveness :: exit 0
  check-skill-identifier-liveness OK — Leg 1: 564 citation(s) over 76 published file(s) ...; Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(s).
pnpm check:skill-links :: exit 0
  ✓ check-skill-links: 272 relative link(s) in 76 published skill file(s) resolve; 140 fragment(s) name a real heading under GitHub's slug rule.
pnpm check:pm-skill-id-lint :: exit 0
  ✓ check-skill-id-lint: 134 file(s) clean
pnpm check:skill-compatibility :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm --filter @objectstack/spec run check:skill-docs :: exit 0
  ✅ Skill docs in sync
pnpm --filter @objectstack/spec run check:skill-refs :: exit 0
  ✅ 10 generated files in sync with packages/spec
pnpm --filter @objectstack/spec run check:skill-examples :: exit 0
  ✅ 351 prose examples type-check across 3 surface(s)
pnpm --filter @objectstack/spec run check:skill-served-sections :: exit 0
  ✓ check-skill-served-sections: 24 served section(s), each heading exactly once in its file

The last three are outside the derived list and were run because they read SKILL.md. check:skill-examples needed @objectstack/spec and the @objectstack/client-react closure built first (47 turbo tasks, under the verify lock).

Derived gate list and its reconciliation
node scripts/pm/dispatch-gates.mjs --commands   → 67 command(s)
node scripts/pm/dispatch-gates.mjs --ran RECORD → ✓ dispatch-gates --ran: 67 derived famil(ies) accounted for — 66 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).

66 exit 0. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, "PREREQUISITE NOT MET — this gate reads built output, and some package has no dist/". It needs the whole workspace built; this diff changes no package, so the build was not made for it and CI's run is the reading.

The eval case through the real reader and grader
loadSkillEvalCatalog(skills/): bundles 14 · cases 368 · refusals 0
case objectstack-ai/skills-tools-knowledge#10: must_contain ["问 AI"] · must_not_contain ["defineAction(", "locations:"]
its reference answer against its own grader: {"pass":true,"missing":[],"forbidden":[]}
an answer that writes the action:           {"pass":false,"missing":["问 AI"],"forbidden":["defineAction(","locations:"]}
The test that names the edited gate script
pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts
 Test Files  1 passed (1)
      Tests  20 passed (20)
os-verify-lock: VERDICT command-exit 0

No behaviour a test pins changed, so no ablation was made.

Acceptance notes

  • Acceptance is met in part. "git grep -n ask_ai -- skills/ is empty" is not reachable in a pull request that lands before the type leaves; two lines remain, as said above. "Skill checks pass" holds on this head.
  • File surface. The claim names skills/** only. Two files outside it are in the diff, each forced by a gate the card orders green: the ratchet row (one number and a three-line comment in scripts/check-skills-token-ratchet.mjs) and the changeset. Neither path is under packages/** or docs/adr/**.
  • Why case 10 is kept and turned, not deleted. The prompt is the request the maintainer voided, and it is the one an assistant will keep receiving; the case now measures whether the sentence above stops an authored action. The eval reader takes ids as given and asks only that they are unique in a file, so 11 and 12 keep their numbers. A must_not_contain on the type's literal name was not available (the card's grep forbids it under skills/); defineAction( and locations: are tokens only an authored action carries, and the reference answer spells neither.
  • The entry's name. The sentence and the eval use 「问 AI」, as the ADR and the card do. The console's English bundle labels the entry Ask AI today (ui/packages/i18n/src/locales/en.ts, askAI). Noted, not acted on: where the button is drawn and what it reads in each locale is 入口专题 C3:每页右上角改成带文字的「问 AI」按钮(桌面页头、记录页、手机顶栏、Home,无页头路由兜底) #37858's.
  • objectstack-ui gets no sentence here. A line saying no page declares an AI button would sit under a table row that teaches the type. It belongs with the deletion of that row.
  • Claim. The seat's Claim: comment on 入口专题 C1s:技能文档与评测样例里的 ask_ai 删掉(受管 skills) #37857 is 7217200370, naming this branch. (The drafter read the card before it landed and saw zero comments; the work ran on the dispatch order's claim block, which is the same text.)

Verification

Read first, by risk:

  1. skills/objectstack-ai/SKILL.md, the hunk at line 174: the replacement sentence is published text. Check it says no more than ADR-0160 D6 and nothing feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 has yet to build.
  2. skills/objectstack-ai/evals/skills-tools-knowledge.json, case 10: the two assertion lists.
  3. scripts/check-skills-token-ratchet.mjs: one row, 6799 to 6617, lowered only.

Two-minute verification: git grep -n ask_ai -- skills/ prints exactly two lines, both in skills/objectstack-ui/SKILL.md (151 and 153), and node scripts/check-skills-token-ratchet.mjs ends with its ✓ line.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (no schema touched)
  • 2. Every name I added uses the casing for its kind. (no name added)
  • 3. No formatter ran; pnpm lint passes. (no formatter ran; the repo-wide lint is CI's run)
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched; check:skill-docs and check:skill-refs report in sync)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (the maintainer summary is Chinese by the fleet's rule; quoted rulings are kept as written)
  • The Before Submitting list in CONTRIBUTING.md is done.

Generated by Claude Code

…on a record page

The subsection that taught the AI action type on a record page leaves
skills/objectstack-ai/SKILL.md with its os:check example (ADR-0160 D6,
"Entry point": the shell's entry is the only one). One sentence stands in
its place. Eval case 10 keeps its prompt and expects no authored action.
The file's token-ratchet row follows the measurement down, 6799 to 6617.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibwetA7wdKM2c8khHDC
@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 27, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

L1-c, the seat's L1 thread · 2026-11-27T12:15Z — the brief handed to the isolated contract reviewer whose record follows, posted for the seat to read before adopting it.

Contract review brief — PR #37937 @ 7eb79ca63cc00a4dd786cb9805ae911d13f7ea94 (card #37857)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --paths skills/objectstack-ai/SKILL.md skills/objectstack-ai/evals/skills-tools-knowledge.json — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #37857: its body and EVERY comment (rulings and earlier records included)
· PR #37937: its body, its file list, and the net diff against main at 7eb79ca63cc00a4dd786cb9805ae911d13f7ea94
· the check-runs on 7eb79ca63cc00a4dd786cb9805ae911d13f7ea94: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: skills/objectstack-ai/SKILL.md, skills/objectstack-ai/evals/skills-tools-knowledge.json;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — a hits path sits on the low-risk skills arm: when the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is SCRATCHPAD/pr-37937/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 7eb79ca63cc00a4dd786cb9805ae911d13f7ea94
Local-runs: none
Scope: skills/objectstack-ai/SKILL.md, skills/objectstack-ai/evals/skills-tools-knowledge.json + scripts/check-skills-token-ratchet.mjs
Security-touching: no

Read for this record: card #37857 (body and its two comments, the claim 7217200370 and the os-dev-report 7217889058), PR #37937 (body, four-file list, net diff against main, merge base 73d5e347), and the check-runs on the head. Cited code was read on main at f926dfab.

Check-runs on 7eb79ca6 as read (47 runs): 24 success, 18 skipped, 5 still running at the last read (7 at the first). Success, by name, among them the lanes that carry this diff's own gates: Type Check · source gates (holds check-skills-token-ratchet and its self-test, and check:skill-links), Lint · docs & code guards (holds check:skill-identifier-liveness), Lint · repo & tooling gates, Lint · scoped · query-options erasure, Lint · ESLint, Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards (claim · duplicate · Part-of · single-writer path), Build Core, TypeScript Type Check, Type Check · consumer gates, Type Check · workspace, Type Check · debt ledger, Test Core (3/10), Test UI, Live E2E UI, Dogfood Regression Gate, Plan Test Core shards, Auto Label, filter. Still in_progress, no conclusion read: Test Core (1/10), Test Core (2/10), Lint · PM dispatch-gates, Lint · scoped · slot lookup & corpus, Lint · CI, release & engine gates. No run has failed. The verdict below is on the design; the five running lanes are the adopting seat's to read to green before this record carries the PR anywhere.

① Derived judgments

  • Published skill text, objectstack-ai: one subsection out, one sentence in. Right. The subsection The Ask AI button and its os:check defineAction example leave; nothing else in the file linked to it (no other line of skills/objectstack-ai/** names the heading, the type or the example). The accept-set of the spec is not touched by this diff: ActionType on main (packages/spec/src/ui/action.zod.ts:706) still holds the member, and its removal is 入口专题 C1:撤掉 ask_ai 动作类型(enumWithRetiredValues、ADR-0087 三项、只为它存在的导出),19.0 正式版前 #37856 / PR feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924.
  • Eval case 10: same id, same prompt, opposite expected answer. Right. The reader takes ids as given, so cases 11 and 12 keep their numbers. The case still asserts something (cases.ts refuses a case with neither list), and the grader is a literal, case-sensitive substring match (packages/qa/scenarios/src/skill-evals/grade.ts), against which the reference answer passes and the old answer fails on all three tokens.
  • Token ceiling 6799 to 6617, lowered only. Right. By the script's own audit rule, ceil((bytes - stamp line) / 4): the head's file is 26493 bytes, its stamp line ( version: "19.0.0-next.0") 27, giving 6617; main's is 27222 bytes, giving 6799. The lane that runs the ratchet is green on the head.
  • skills/objectstack-ui/SKILL.md lines 151 and 153 stay. Right for this head. scripts/check-skill-identifier-liveness.mjs:388 registers the Action Types table as exhaustive over ActionType; with the member still on main, deleting the row is a [leg2-missing-row] failure, and the gap ledger is the maintainer's. So the card's acceptance, an empty git grep -n ask_ai -- skills/, is not met by this PR: the grep prints exactly those two lines on the head. Part of #37857 is the correct relation and the card must stay open.
  • Nothing else under skills/** on main teaches an authored AI button. git grep ask_ai -- skills/ on main names three files; this PR clears two. Greps for Ask AI, ai:chat, chatbot and in-app assistant under skills/ find no further teaching of a page AI button (the ai:chat menu entry is named only in a generated reference index and is a navigation entry, which D6 does not retire).

② Semver level

@objectstack/skills patch is right: the package exists under that name (packages/skills/package.json), skills/** is what it ships, and the diff changes published prose and one eval case, no key, value or type an author can write. Metadata-protocol: none is right for the same reason: what an author can write changes in PR #37924, not here. Clause-②: no stands, on the PR body and in the changeset, with no arm. No BREAKING banner is owed: nothing is removed from any accept-set by this diff.

Clause-②: no

③ Boundary flags

  • Open question, who deletes the two objectstack-ui lines: answer A. The row is bound by a gate to the enum member, so it leaves in the diff that removes the member (PR feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924), with the objectstack-ui token row following its measurement there. The sentence under the table (Every type but script and ask_ai requires target) goes with it. This card then closes on a re-read that the grep is empty. Not C: no reason here justifies a ledgered gap. The choice is the seat's to record on the card; this record only says A is consistent with the gate and the ADR.
  • Deviation, Part of in place of Fixes: correct, see ①.
  • Deviation, two files outside the claimed skills/** surface: both forced. The ratchet's row must follow the measurement down in the PR that shrinks the file, and a diff that publishes owes a changeset. Neither is under packages/** or docs/adr/**. The ratchet script is reviewed in ④ as the enforcing file; the changeset is the lane seat's ACCEPT.
  • Deviation, landing order reversed against the claim comment: the reason given (the os:check example stops type-checking once the member leaves) agrees with the tree: the example on main writes type: 'ask_ai' through defineAction. The claim comment's "lands after C1" line is stale and is the seat's to correct on the card.
  • Interim state on main between the two merges: objectstack-ai says no page declares an AI button while objectstack-ui still lists the type and the spec still parses it. Accepted as a deviation on one condition the seat owns: no release of @objectstack/skills, a next prerelease included, is cut between this merge and PR feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924's. If one could be, the two PRs should merge back to back.
  • Remaining deviations (no assignee, maintainer-summary form, worktree left in place, commit trailers) are process matters for the seat; none touches the contract.
  • Out-of-scope finding, the English label: see N1 below; its carrier is 入口专题 C3:每页右上角改成带文字的「问 AI」按钮(桌面页头、记录页、手机顶栏、Home,无页头路由兜底) #37858, as the dev says.
  • SQL push-down: not applicable. The diff holds no query, no id materialisation and no join.

④ Design judgment

No must-fix, no should-fix.

skills/objectstack-ai/SKILL.md. The replacement sentence, read against ADR-0160 on main (seventh amendment):

  • "No page declares an AI button of its own" is D6 "Entry point" word for word, and point 7 of the summary ("No page has an AI button of its own").
  • "so there is no action to write for one" follows from D7 (the type is retired; a legacy action is refused where metadata is authored). The sentence does not say the parse refuses anything, which is correct on this head: on main the type still parses, and the refusal is PR feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924's to build and word. It teaches nothing that is false on main and nothing feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 has yet to deliver.
  • "the shell's 「问 AI」 entry opens the in-app assistant" is D6's name for the entry and D7's own prescription text ("use the shell's 「问 AI」 entry").
  • "and carries the current record automatically" is the card's own wording (step 2) and holds on main in the sense the same file already teaches at its In-app ask assistant paragraph: the client sends recordId with the turn. The stronger reading, D6's default focus, is 入口专题 C5:记录焦点状态机重写,标签进输入框行首,去掉钉住与「改为问」,从会话 metadata 读回 #37861's and not yet built; the sentence does not claim it. It is unqualified where D6 is qualified (a list or dashboard has no record; a sent conversation keeps its own), which is acceptable for one sentence whose job is to stop an authored action.
  • Placement: last paragraph of Actions as AI Tools — the default path ☁️, the section an author reads when asked to "write the action". The section's cloud mark covers it, and D6 agrees that the open edition shows no AI button.
  • I tried to break it against the prompt: an author told to add an AI button to a record page now finds, in the section on actions, that there is none to write and what the user does instead. With objectstack-ui loaded beside it the table row still offers the type until PR feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924; that is the interim state in ③, not a defect of this file.

No changed hunk teaches permission, sharing, credential, token, authentication or other security behaviour. The removed text spoke of tool exposure (ai.exposed, run_action) only to say the retired type had none; the added sentence speaks of no access rule. Hence Security-touching: no.

skills/objectstack-ai/evals/skills-tools-knowledge.json, case 10. The expected answer agrees with D6 and D7 and with the sentence above. must_contain: ["问 AI"] matches the skill's and the ADR's spelling byte for byte. must_not_contain: ["defineAction(", "locations:"] catches the answer the old skill taught and an action embedded under an object's actions that declares locations. The type's own literal is unavailable as a forbidden token, since the card's acceptance wants that string out of skills/. The case discriminates the pair it exists for.

scripts/check-skills-token-ratchet.mjs (enforcing file). One row, lowered, to the measured value; the added comment states the cause correctly. The row's trailing comment (-18 (was 6824), then -5 ...) predates this PR and is left as it was.

Nits (no effect on correctness or the contract):

  • N1 (nit) — the skill is English prose and names the entry only as 「问 AI」. That is the ADR's name, but on main the label is per locale: Ask AI in ui/packages/i18n/src/locales/en.ts, 问 AI in zh-Hans.ts, AI に質問 in ja.ts. An English-locale author will not see the string the skill gives. Leave it here; 入口专题 C3:每页右上角改成带文字的「问 AI」按钮(桌面页头、记录页、手机顶栏、Home,无页头路由兜底) #37858 owns what the button reads, and the skill can follow that card.
  • N2 (nit) — case 10's forbidden tokens miss an action written as JSON ("locations": [ does not contain locations:), the form objectstack-ui uses in its own examples, and an action written with no locations key. Such an answer still fails unless it also names the entry, so the hole is an answer that names the entry and writes the action anyway. Adding record_header to must_not_contain would close most of it; the reference answer does not spell it.
  • N3 (nit) — must_contain is one CJK token with an inner space and the grader normalises nothing, so a correct answer that writes 问AI (the maintainer's own spelling in the rulings) or Ask AI fails. Accepted: the skill under test spells it exactly as the token does.

Conditions on adopting this PASS, none of them a finding on the diff: the five running check-runs named above conclude green on this head; the card stays open for the two objectstack-ui lines; the release condition in ③ holds.

Implemented-by: claude/project-thread-q0nzop
Reviewed-by: session_01L9qibvMMgnKA797JY46H9i

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

L1-c, the seat's L1 thread · 2026-11-27T12:26Z

席位核对 — L1 @ 7eb79ca63cc00a4dd786cb9805ae911d13f7ea94

Verdict: ACCEPT. Tier H (skills/**). The contract review on this head is PASS: comment 7218046640, CONTRACT_REVIEW_TIER, no must-fix and no should-fix. The seat now runs the end-game and hands off.

Checklist

  • Shape and relation. Draft, base main, first line Part of #37857. No closing keyword anywhere in the body (l1-face keyword scan clean). Part of is correct. The card's acceptance (git grep -n ask_ai -- skills/ empty) is not met on this head: skills/objectstack-ui/SKILL.md:151/:153 remain. scripts/check-skill-identifier-liveness.mjs:388 binds that table to ActionType, and ActionType still holds the member on main. 入口专题 C1s:技能文档与评测样例里的 ask_ai 删掉(受管 skills) #37857 keeps pm:dispatched for its second half (landing rule B). Route B was recorded on the card in claim amendment 7218076053.
  • Scope. Four files. The ratchet row and the changeset lie outside the original skills/** surface. Each is forced by a gate, and the claim amendment 7218076053 now names both. No other file is in the diff.
  • Changeset, read sentence by sentence (.changeset/37857-skill-no-authored-ai-button.md). @objectstack/skills is a published package (packages/skills/package.json: not private, files ships dist). patch is correct for prose plus one eval case. Each body sentence is true at this head:
    • the D6 quote;
    • the subsection's removal and the one-sentence replacement, matching the SKILL.md hunk byte for byte in meaning;
    • the ceiling 6799 to 6617, matching the ratchet row;
    • case 10's prompt kept, with must_contain 问 AI and must_not_contain defineAction( and locations:, matching the eval hunk;
    • the objectstack-ui table left unchanged, matching the diff.
  • Test and gate evidence. The os-dev-report (7217889058) pins its readings to 7eb79ca6, the current head. The eval carries a positive control and a negative control. The reference answer passes its grader. An answer that writes the action fails on all three tokens. The ratchet shows red before the row moved and green after. Check-runs at this head: 31 success, 18 expected skip, 0 failed, 0 pending. Lint & Repo Gates: success. TypeScript Type Check: success. No dogfood battery is owed (no ! in the title, no narrowing arm).
  • Value density (skills/**, read from a customer agent that loads the whole package). A 25-line subsection and an example that taught a type now being retired are replaced by one sentence. That sentence sends the agent to the shell entry. The file goes 6799 to 6617 tokens. The whole shipped tree goes 301286 to 301061 tokens.
  • The replacement sentence is true on main. It does not claim that the parse refuses ask_ai. That refusal is feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924's job. L2 ④ checked the sentence against ADR-0160 D6/D7.

Accepted deviations

Landing condition (carried from L2 ③)

No @objectstack/skills release, a next prerelease included, may be cut between this PR's merge and #37924's. This PR lands first.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Recorded 2026-11-27T12:27Z.

席位意见:可以合。删除范围对得上卡:示例代码那一行正是 C1 分支上技能示例检查报红的 SKILL.md:188;技能文本净减 22 行,token 棘轮行同步下调;changeset 为 @objectstack/skills patch。

席位核对 — ACCEPT · repo:objectstack#3 · head 7eb79ca63cc00a4dd786cb9805ae911d13f7ea94

  1. 形态:Part of #37857(不是 Fixes,卡有第二部分);Clause-②: no、Metadata-protocol: none;正文有「落地顺序」一节写明先于 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924、同一版本。
  2. 前提实测:起草由隔离的 claude-fable-5-2 子代理完成(skills/** 强制档);本地 dispatch-gates 67 条里 66 条 exit 0,1 条(dual-build-cjs)缺前置未测,CI 已跑过。
  3. 门禁 check-runs:31 success、18 按设计跳过、0 失败、0 pending(L1-c 7218248959 读)。skills/** 受管 ⇒ Tier H。
  4. 接受的偏差:两份门禁逼出的 skills 外文件(token 棘轮行、changeset),已写进认领修订 7218076053;三条审核 nit(英文标签 "Ask AI"、用例 10 的 must_not_contain 未覆盖 JSON 写法、must_contain 只有一个字面量)不改,以免动 head。L1-c ACCEPT 7218248959。
  5. 范围外去向:objectstack-ui SKILL.md:151、:153 的 ask_ai 等 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 合并后由本卡第二个 PR 删(认领修订 7218076053 写明路线;L2 ③ 倾向放进 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924,但不认为此路线错)。
  6. 落地条款:Tier H ⇒ 维护者亲手合并,或 GOVERNED_APPROVERS(os-zhuang)批准后本席照落地前检落地;先于 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924;两次合并之间不发 @objectstack/skills。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

维护者速读

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 27, 2026

This branch has not been deployed

No deployments
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue 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.

1 participant