Repository navigation
docs(skills): the objectstack-ui action-type table no longer lists ask_ai - #38226
Conversation
…k_ai The type left ActionType (ADR-0160 D7). The table row goes, the line under it reads "Every type but `script` requires `target`", and the file's token ceiling follows the measurement down, 2262 to 2228. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibwetA7wdKM2c8khHDC
|
repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i Contract review brief — PR #38226 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i Contract reviewServed-tier: PR #38226, card #37857, part 2 of 2. Net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i L1-c, the seat's L1 thread · 2026-11-28T08:46Z 席位核对 — L1 @
|
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibwetA7wdKM2c8khHDC
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-28T09:07Z. 维护者速读
席位意见:可以合。 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i Contract reviewServed-tier: Merge-delta record for PR #38226, card #37857, part 2 of 2. It follows the PASS at ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i L1-c, the seat's L1 thread · 2026-11-28T09:10Z 席位核对 — L1 delta @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-28T09:11Z. 维护者速读
席位意见:可以合。 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Tier H approval request at 2026-11-28T09:11Z. Seat record: the newest |
Requested by Tesla · project thread
Fixes #37857
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
This is the second and last pull request on the card. The first, #37937 (the
objectstack-aitext and its eval case), merged as4de4e3e9; #37924 (the pull request that retired the action type) merged as9609c137, the base of this branch.skills/objectstack-ui/SKILL.md, Action Types: theask_airow leaves the table, and the line under the table reads "Every type butscriptrequirestarget." (it read "Every type butscriptandask_airequirestarget."). 1 line added, 2 removed.scripts/check-skills-token-ratchet.mjs: the row ofskills/objectstack-ui/SKILL.mdfollows the measurement down, 2262 to 2228, with a three-line note above it. The gate asks for this in the pull request that shrinks the file..changeset/37857-skill-ui-action-types-no-ask-ai.md:@objectstack/skillspatch.skills/**ships as that package's content.After this,
git grep -n ask_ai -- skills/prints nothing (exit 1), which is the card's acceptance.Read first, by risk:
skills/objectstack-ui/SKILL.md, the one hunk at line 148: the whole published change.scripts/check-skills-token-ratchet.mjs, the one hunk: only theobjectstack-uirow moves, down, to the measurement..changeset/37857-skill-ui-action-types-no-ask-ai.md: the sentence that ships in the package changelog.Two-minute verification:
git grep -n ask_ai -- skills/prints nothing; thenpnpm check:skill-identifier-liveness && node scripts/check-skills-token-ratchet.mjsends with both gates' success lines (quoted under Tests).Why
ADR-0160, seventh amendment, D6 "Entry point": the entry to the in-app assistant is the shell's 「问 AI」 entry, and no page declares an AI button of its own. D7 retired the
ask_aiaction type, and onmainACTION_TYPE_VALUESinpackages/spec/src/ui/action.zod.tsisscript,url,modal,flow,api,form. The seat's route for this card (claim amendment 7218076053 on the card) left these two lines for a second pull request after the type left, because the liveness gate held the table to the type's members while the member was still there.The footnote is written from the tree, not from the card:
TARGET_REQUIRED_TYPESisActionType.optionswithoutscript, so every remaining type butscriptrequirestarget.Tests
Measured at head
47a39aad, merge base9609c137(origin/mainat dispatch).Published-skills size (lines; tokens in the ratchet's own convention,
ceil(utf8 bytes / 4), the release-stamp line not priced):skills/objectstack-ui/SKILL.md, linesskills/objectstack-ui/SKILL.md, bytesskills/objectstack-ui/SKILL.md, tokensSKILL.md, linesNet lines across
skills/**: +1 / -2 = -1 (budget: net added lines at most 0). Whole pull request: +15 / -3.The table binding: green with the row gone, red when a live member's row goes
So on this tree the gate holds the table to
ACTION_TYPE_VALUES, the live members, and theask_airow is free to leave. The red reading for deleting that row was taken before the type left, on the first pull request's branch (quoted in #37937, the first pull request on this card).One reading that differs from what a reader might expect: on
mainthe gate was green with the retired row still in the table. It reds on a live member with no row; it did not red on a row for a retired member.Token ratchet: before, after the text edit, after the row moved
Hand audit:
ceil((8937 - 27) / 4) = 2228, 27 being the release-stamp line's bytes.Skill gates (each exit code captured before any pipe)
@objectstack/specand the@objectstack/client-reactclosure were built first, under the verify lock (47 turbo tasks,VERDICT command-exit 0).Derived gate list and its reconciliation
67 exit 0, among them
check-empty-changeset("1 declaring changeset(s) added"),check-changeset-no-major,check-adr-0087-registration,check:doc-authoring,check:nul-bytesandcheck:pm-dispatch-gates. NOT MEASURED:pnpm check:dual-build-cjs-loads, exit 3, "Runpnpm buildfirst. This is NOT a pass: nothing was measured." 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 test that names the edited gate script
No tested behaviour changes (two lines of published prose, one ceiling row, one changeset), so there is no ablation of a fix; the probe above is a reading of the gate, not of this diff.
Acceptance notes
git grep -n ask_ai -- skills/is empty; skill checks pass", is met at47a39aad: the grep exits 1 with no output, and the skill gates are quoted above.claude/project-thread-q0nzopwas restarted fromorigin/main. It no longer existed on the remote after docs(skills): objectstack-ai no longer teaches an authored AI button on a record page #37937 merged, so it was pushed as a new branch; nothing was force-pushed.chore: version packages (next)(9d111a7f) landed onmainbetween the first pull request's merge (4de4e3e9) and the type retirement's (9609c137), and the registry'snexttag for@objectstack/skillsreads19.0.0-next.2. The reviews of the first pull request carried a landing condition that no release of that package, a prerelease included, fall between those two merges. That prerelease therefore carries the in-between state: theobjectstack-aiskill says no page declares an AI button, while theobjectstack-uitable still lists the type and the type still parses. This pull request and the type retirement close it in the next one. What, if anything, to do aboutnext.2is the seat's and the maintainer's.objectstack-aibundle). It is outside this pull request's file surface.content/docs/**andpackages/**are untouched. No generated artifact moved:check:skill-docsandcheck:skill-refsare in sync without regeneration.Verification
47a39aad. Repo-wide lint, the full type check,test:repoand the dogfood battery are CI's runs and were not repeated locally. No dogfood run is owed: the title has no breaking marker and the declaration has no narrowing arm.skills/**, a governed surface: it is opened as a draft and waits for its tier's record. Nothing here readies, queues or arms it.Human Minimum
packages/specholds no runtime logic. (No schema touched.)pnpm lintpasses. (No formatter ran; repo-wide lint is CI's run.)main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed. (Not touched.)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code