Skip to content

docs(skills): the objectstack-ui action-type table no longer lists ask_ai - #38226

Merged
os-zhuang merged 2 commits into
mainfrom
claude/project-thread-q0nzop
Nov 28, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/project-thread-q0nzop

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread

Fixes #37857

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:写界面元数据的作者(以及替他写的 AI)查界面技能文档里的「动作类型」表时,不再看到已经下线的「问 AI」动作类型;表下那句「哪些类型必须填目标」同步去掉了它。应用的使用者无感。
  • 为什么做:「问 AI 入口改造」专题已定全站只留页头的「问 AI」一个入口,页面不再自己声明 AI 按钮;这个动作类型已从平台撤掉,这是技能文档里剩下的最后两行。
  • 出错会怎样:只改了两行文档和一行额度账;删错的话,作者照文档会少知道一种动作类型,撤回这一个合并即可恢复。
  • 要你做什么:批准这个受管的技能文档改动。

What changes

This is the second and last pull request on the card. The first, #37937 (the objectstack-ai text and its eval case), merged as 4de4e3e9; #37924 (the pull request that retired the action type) merged as 9609c137, the base of this branch.

  • skills/objectstack-ui/SKILL.md, Action Types: the ask_ai row leaves the table, and the line under the table reads "Every type but script requires target." (it read "Every type but script and ask_ai requires target."). 1 line added, 2 removed.
  • scripts/check-skills-token-ratchet.mjs: the row of skills/objectstack-ui/SKILL.md follows 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/skills patch. 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:

  1. skills/objectstack-ui/SKILL.md, the one hunk at line 148: the whole published change.
  2. scripts/check-skills-token-ratchet.mjs, the one hunk: only the objectstack-ui row moves, down, to the measurement.
  3. .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; then pnpm check:skill-identifier-liveness && node scripts/check-skills-token-ratchet.mjs ends 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_ai action type, and on main ACTION_TYPE_VALUES in packages/spec/src/ui/action.zod.ts is script, 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_TYPES is ActionType.options without script, so every remaining type but script requires target.

Tests

Measured at head 47a39aad, merge base 9609c137 (origin/main at dispatch).

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

before after
skills/objectstack-ui/SKILL.md, lines 165 164
skills/objectstack-ui/SKILL.md, bytes 9075 8937
skills/objectstack-ui/SKILL.md, tokens 2262 2228
all 14 SKILL.md, lines 4953 4952
ratcheted authored files, tokens 199880 199846
whole shipped tree, tokens 303421 303387

Net 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
main 9609c137, file untouched:
  pnpm check:skill-identifier-liveness :: exit 0
  check-skill-identifier-liveness OK — Leg 1: 563 citation(s) over 76 published file(s) ...; Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(s).
head 47a39aad, the ask_ai row and its footnote words gone:
  pnpm check:skill-identifier-liveness :: exit 0
  check-skill-identifier-liveness OK — Leg 1: 562 citation(s) over 76 published file(s) ...; Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(s).
head 47a39aad with the `form` row also deleted on disk (a probe, restored from HEAD, blob hash identical):
  node scripts/check-skill-identifier-liveness.mjs :: exit 1
  [leg2-missing-row] skills/objectstack-ui/SKILL.md — ### Action Types is registered exhaustive over `ACTION_TYPE_VALUES` (packages/spec/src/ui/action.zod.ts) and does not document `form`.
restored:
  node scripts/check-skill-identifier-liveness.mjs :: exit 0

So on this tree the gate holds the table to ACTION_TYPE_VALUES, the live members, and the ask_ai row 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 main the 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
main 9609c137:                    node scripts/check-skills-token-ratchet.mjs :: exit 0   skills/objectstack-ui/SKILL.md 2262 / 2262 (+0)
text edited, row not yet moved:   node scripts/check-skills-token-ratchet.mjs :: exit 1
  ✗ check-skills-token-ratchet: skills/objectstack-ui/SKILL.md is 2228 tokens; its ratchet ceiling is 2262, above the measurement by 34. ... Lower the row to 2228 in this PR: lowering is shrink-only and is every author's to make, no ruling needed.
head 47a39aad:                    node scripts/check-skills-token-ratchet.mjs :: exit 0   skills/objectstack-ui/SKILL.md 2228 / 2228 (+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.

Hand audit: ceil((8937 - 27) / 4) = 2228, 27 being the release-stamp line's bytes.

Skill gates (each exit code captured before any pipe)
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-served-sections :: exit 0
  ✓ check-skill-served-sections: 24 served section(s), each heading exactly once in its file (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators.
pnpm --filter @objectstack/spec run check:skill-examples :: exit 0     (outside the derived list)
  ✅ 351 prose examples type-check across 3 surface(s)
pnpm --filter @objectstack/spec run check:skill-refs :: exit 0         (outside the derived list)
  ✅ 10 generated files in sync with packages/spec

@objectstack/spec and the @objectstack/client-react closure were built first, under the verify lock (47 turbo tasks, VERDICT command-exit 0).

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

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-bytes and check:pm-dispatch-gates. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, "Run pnpm build first. 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
pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts
 Test Files  1 passed (1)
      Tests  21 passed (21)
os-verify-lock: VERDICT command-exit 0

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

  • The card's acceptance, "git grep -n ask_ai -- skills/ is empty; skill checks pass", is met at 47a39aad: the grep exits 1 with no output, and the skill gates are quoted above.
  • The branch claude/project-thread-q0nzop was restarted from origin/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.
  • Noted, not acted on here: chore: version packages (next) (9d111a7f) landed on main between the first pull request's merge (4de4e3e9) and the type retirement's (9609c137), and the registry's next tag for @objectstack/skills reads 19.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: the objectstack-ai skill says no page declares an AI button, while the objectstack-ui table 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 about next.2 is the seat's and the maintainer's.
  • Not taken: the optional review nit on the first pull request (adding one more forbidden token to eval case 10 in the objectstack-ai bundle). It is outside this pull request's file surface.
  • content/docs/** and packages/** are untouched. No generated artifact moved: check:skill-docs and check:skill-refs are in sync without regeneration.

Verification

  • Local: the gates above, at 47a39aad. Repo-wide lint, the full type check, test:repo and 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.
  • This diff touches 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

  • 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; 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.)
  • 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 in Chinese by the fleet's rule.)
  • The Before Submitting list in CONTRIBUTING.md is done.

Generated by Claude Code

…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
@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 28, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

Contract review brief — PR #38226 @ 47a39aad02dabfa75b46df273826e6e0f50991b3 (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-ui/SKILL.md — 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 #38226: its body, its file list, and the net diff against main at 47a39aad02dabfa75b46df273826e6e0f50991b3
· the check-runs on 47a39aad02dabfa75b46df273826e6e0f50991b3: 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-ui/SKILL.md;
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-38226/ 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.
----- to here -----

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 47a39aad02dabfa75b46df273826e6e0f50991b3
Local-runs: none
Scope: skills/objectstack-ui/SKILL.md + scripts/check-skills-token-ratchet.mjs
Security-touching: no

PR #38226, card #37857, part 2 of 2. Net diff against main at 9609c137: 3 files, +15 / -3. Read from the tree at the head, the card with all 7 comments, the PR body and the 45 check-runs on the head. Nothing was built or run.

① Derived judgments

  • Accept-set: no change. Right. The diff touches no schema and no validator. ask_ai already left ACTION_TYPE_VALUES on main (packages/spec/src/ui/action.zod.ts:704, landed by feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924). This PR only stops the skill from listing a value the spec already refuses.
  • Public surface: one published file changes, skills/objectstack-ui/SKILL.md. Right. One table row leaves and one sentence loses three words. It ships in @objectstack/skills. No other published file moves.
  • Card acceptance: met. git grep -n ask_ai over skills/ at the head prints nothing. The skill checks ran in CI and are green (below).
  • Gate verdicts, read off the check-runs on the head: 29 success, 16 skipped, 0 failed, 0 pending. Green among them: Lint & Repo Gates, Lint · repo & tooling gates, Lint · docs & code guards, Lint · scoped · tooling self-tests, Lint · PM dispatch-gates, Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards, Build Core, Test Core (and shards 1 to 3 of 10), Test UI, Live E2E UI, Dogfood Regression Gate, and all Type Check lanes. The skipped runs are path-filtered or opt-in lanes (UI build and lint, docs build, queue verdicts, tarball smoke, temporal conformance).
  • Security line: no, and why. The removed row ended with "never ai.exposed: true". That clause applied only to the ask_ai type, which no longer exists. No line added or left behind by this hunk teaches permission, sharing, credential, token, authentication or AI-exposure behaviour. The standing ai.exposed teaching in rules/actions.md:50 is untouched.

② Semver level

  • Changeset .changeset/37857-skill-ui-action-types-no-ask-ai.md declares @objectstack/skills: patch. That matches what the diff publishes: a prose-only correction to one skill file, no new or removed capability.
  • Clause-②: no on the PR body and in the changeset. Right: this diff narrows nothing. The narrowing was feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924's.
  • Metadata-protocol: none. Right: no metadata shape moves.
  • Check Changeset is green on the head.

③ Boundary flags

  • open_questions: empty in the part-2 dev report (7236537217). The earlier open question (who deletes the two lines) was answered by the seat's route B in claim amendment 7218076053, and this PR is that route.
  • Dev deviations: none changes the contract. Plain push of a new branch, no assignee, the two files outside skills/** are the ones the amended claim names (the ratchet row and the changeset).
  • Out-of-scope finding, escalated to the seat and the maintainer, not a finding on this diff: the landing condition from part 1's reviews did not hold. @objectstack/skills 19.0.0-next.2 was cut between the two merges, so that prerelease carries a mixed state (the objectstack-ai skill says no page declares an AI button, the objectstack-ui table still lists the type). The head's stamp line reads version: "19.0.0-next.2", which agrees. This PR ends the mixed state for the next release. Whether next.2 needs a note is not this card's call.
  • Observation for a follow-up, not on this diff: the dev measured that check:skill-identifier-liveness stayed green on main with the retired row still in the table. Leg 2 catches a live member with no row, not a row with no live member. The gate script is not in this diff, so it is read, not reviewed.
  • SQL push-down: not applicable. The diff adds no query, no id materialisation and no join.

④ Design judgment

skills/objectstack-ui/SKILL.md (hits).

  • The table now lists script, url, modal, flow, api, form. That is exactly ACTION_TYPE_VALUES on main, in the same order.
  • "Every type but script requires target." holds against the code. TARGET_REQUIRED_TYPES is ActionType.options without script (action.zod.ts:714), and ActionSchema refuses a missing target for those five (action.zod.ts:3030). The script row still says "body, or target naming a registered function", so the footnote and the row agree.
  • The change repairs a count that was wrong on main: rules/actions.md:3 says "the six types" and links to this table, which had seven rows. It has six now.
  • Tried to break it: searched skills/ at the head for ask_ai and for other spellings. No ask_ai remains. "Ask AI" survives only in the prompt of the negative eval case 10 in the objectstack-ai bundle, where it belongs. No link, anchor or heading changed, and the ### Action Types heading the liveness gate and the token ratchet both key on is intact.
  • Against the card's scenario: an author who writes type: 'ask_ai' is still answered, by the spec's retired-value prescription (enumWithRetiredValues, action.zod.ts:705), and the "no page declares an AI button" sentence lives in skills/objectstack-ai/SKILL.md:173, with eval case 10 holding it.

scripts/check-skills-token-ratchet.mjs (implementing file).

  • Only the skills/objectstack-ui/SKILL.md row moves, 2262 to 2228, with a three-line note. It moves down only.
  • The figure agrees with the gate's own rule (ceil of UTF-8 bytes over 4, stamp line not priced). The file is 8937 bytes at the head and its stamp line is 27 bytes: ceil(8910 / 4) = 2228. Before: ceil((9075 - 27) / 4) = 2262. Every number in the note checks out.
  • The row is pinned at the measurement, which is what the gate demands of the PR that shrinks a file.

No must-fix, no should-fix.

  • N1 (nit) — skills/objectstack-ui/SKILL.md now says nothing about where the assistant entry lives. A request for "an AI button" matches this skill's description ("action buttons"), but the one sentence that answers it, and the eval case that holds it, are in the objectstack-ai bundle. Nothing the file says is wrong, so this has no effect on correctness or the contract. Leave as a follow-up card if the seat wants a one-line pointer; do not fix here.

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-28T08:46Z

席位核对 — L1 @ 47a39aad02dabfa75b46df273826e6e0f50991b3

Verdict: ACCEPT. The contract review was owed and is done. skills/objectstack-ui/SKILL.md is a governed skills/** path. Brief 7236766029, L2 record 7236793206: PASS, tier verified, No must-fix, no should-fix., one nit. I adopt its Security-touching: no. The removed clause "never ai.exposed: true" applied only to the retired type, and no line that is added or kept teaches security behaviour. So no security label.

Checklist

  • Shape and relation. Draft on main, first line Fixes #37857, no other closing keyword. Fixes is right. The card's acceptance is "git grep -n ask_ai -- skills/ is empty; skill checks pass". Both hold at this head. Part 1, docs(skills): objectstack-ai no longer teaches an authored AI button on a record page #37937, already merged.
  • The change against the spec.
    • The six table rows are exactly ACTION_TYPE_VALUES (packages/spec/src/ui/action.zod.ts:704).
    • "Every type but script requires target" is TARGET_REQUIRED_TYPES (:714, ActionType.options without script).
    • A side effect: rules/actions.md:3 ("the six types") is now true; on main the table had seven rows.
  • Scope. 3 files: the SKILL.md, the ratchet row, and one changeset. All are within the card and its route B amendment (7218076053).
  • Ratchet row. 2262 → 2228 follows the measurement down: ceil((8937 − 27) / 4) = 2228. The note above the row says why.
  • Changeset, read sentence by sentence (.changeset/37857-skill-ui-action-types-no-ask-ai.md). @objectstack/skills patch, Clause-②: no, Metadata-protocol: none, right for a prose-only diff. Each sentence holds at this head:
    • the type left ActionType;
    • the row and the footnote changed;
    • the footnote matches TARGET_REQUIRED_TYPES;
    • the shell's 「问 AI」 entry is the way in;
    • the ceiling is 2228.
  • Test and gate evidence. The os-dev-report (7236537217) is pinned to 47a39aad.
    • dispatch-gates: 67 run, all exit 0. 1 NOT-MEASURED, check:dual-build-cjs-loads, exit 3 on its prerequisite. The diff changes no package, and CI's reading stands.
    • The report corrects its own red-before claim: the liveness gate does not go red on a row for a retired member. The binding is shown live by a probe instead: deleting the form row gives exit 1, and restoring it gives exit 0.
    • Check-runs at this head: 45 runs, 29 success and 16 skipped, none failed or pending. No dogfood battery is owed.

Accepted deviations and notes for landing

  • N1 (nit, L2). The file no longer says where the assistant entry lives. That sentence lives in the objectstack-ai bundle. Follow-up card at most.
  • Tier H. The card is governed skills/** (domain:skills) and needs os-zhuang's approval before landing.
  • Part-1 landing condition broken. It was carried in the reviews of docs(skills): objectstack-ai no longer teaches an authored AI button on a record page #37937: "no @objectstack/skills release between the two merges". 19.0.0-next.2 shipped between 4de4e3e9 and 9609c137 with the mixed state. This PR closes it for the next release. Whether next.2 needs anything is the seat's and the maintainer's call, not this card's.
  • Liveness gate. Leg 2 does not go red on a row for a retired member, only on a live member with no row. The L2 escalated this in ③. It is the seat's call whether that is a card.
  • Base. main has moved since 9609c137. None of the three files, nor action.zod.ts, changed between it and the current base.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Recorded 2026-11-28T09:07Z.

维护者速读

  • 改了什么:objectstack-ui 技能的动作类型表里删掉已退役的 ask_ai 一行,脚注改成「除 script 外每种类型都要 target」,和代码里的类型清单一致。技能字数棘轮随之从 2262 调到 2228。
  • 为什么:ask_ai 动作类型已在 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 退役,技能还在教它,AI 照技能写会写出被拒收的元数据。
  • 风险:只改技能文字和棘轮数字,不改运行时行为,可以直接撤回。说明:19.0.0-next.2 是在 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 和本 PR 之间发出的,带着中间状态(技能还列着 ask_ai);下一个预发布由本 PR 和 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 一起补齐,不需要对 next.2 另做处理。
  • 要你做什么:请审阅批准(Tier H:改动含 scripts/check-skills-token-ratchet.mjs,不在低风险技能放权范围内)。批准后由本席照落地前检落地。

席位意见:可以合。

席位核对 — ACCEPT · repo:objectstack#3 · head 9762b4bd6c3a6008d4d86fabbc71f196682ab750

  1. 形态:Fixes #37857;Clause-②: no,Metadata-protocol: none;3 个文件 +15 / −3(changeset @objectstack/skills patch、棘轮脚本一行、skills/objectstack-ui/SKILL.md)。head 上 git grep -n ask_ai -- skills/ 为空。
  2. 审查:L2 PASS 7236793206(简报 7236766029,档位已核,Security-touching: no),L1-c ACCEPT 7236804633(47a39aad)。
  3. 合 main:9762b4bd = 47a39aa + origin/main ccdfe62,只合并、无冲突;合并前后净 diff 的 patch-id 相同(016b64ae),所以 47a39aa 上的 L1/L2 结论原样适用。landing-k 读出 K = 5。
  4. 门禁 check-runs:本 head 上 success=29,skipped=16,0 failed,0 pending。卡线程本地:token ratchet exit 0,check:skill-identifier-liveness exit 0;dispatch-gates 67/68 exit 0(dual-build-cjs 前置条件未测)。os-dev-report 7236537217。
  5. 接受的偏差:N1(文件不再说助手入口在哪)不在本 PR 做;liveness 门禁的 Leg 2 不会因为已退役成员留下的表格行转红,这是门禁的盲区,记在本记录,不挪 head。
  6. 落地条款:Tier H ⇒ GOVERNED_APPROVERS(os-zhuang)批准后本席照落地前检落地;head 再动就重新判。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 9762b4bd6c3a6008d4d86fabbc71f196682ab750
Local-runs: none
Scope: skills/objectstack-ui/SKILL.md + scripts/check-skills-token-ratchet.mjs
Security-touching: no

Merge-delta record for PR #38226, card #37857, part 2 of 2. It follows the PASS at 47a39aad (comment 7236793206), which had no must-fix and no should-fix, so there is no finding to close. The new head is a merge commit with parents 47a39aad and main at ccdfe626. Read from the tree at the new head and the 45 check-runs on it. Nothing was built or run.

① Derived judgments

  • The merge is clean and adds nothing of its own. The combined diff of the merge commit is empty: no conflict hunk and no hand edit. The net diff against main at ccdfe626 is the same 3 files, +15 / -3, and its stable patch-id equals that of the diff reviewed at 47a39aad (016b64ae). I recomputed both.
  • Accept-set: no change. Right. main did not move packages/spec/src/ui/action.zod.ts between 9609c137 and ccdfe626. ACTION_TYPE_VALUES is still the six values the table lists.
  • Public surface: unchanged from the earlier record. One published file changes in this PR, skills/objectstack-ui/SKILL.md. At the new head it is byte-for-byte the size reviewed before (164 lines, 8937 bytes).
  • Card acceptance: still met. git grep -n ask_ai over skills/ at the new head prints nothing.
  • Gate verdicts, read off the check-runs on the new head: 29 success, 16 skipped, 0 failed, 0 pending. The same split as on 47a39aad.
  • Security line: no, for the same reason as before. The PR's hunk is unchanged. The removed row's "never ai.exposed: true" clause applied only to the retired type, and no added or remaining line in the hunk teaches permission, sharing, credential, token, authentication or AI-exposure behaviour. What main brought is not this PR's change.

② Semver level

  • Unchanged. The changeset still declares @objectstack/skills: patch, with Clause-②: no and Metadata-protocol: none. All three still match a prose-only diff.
  • Check Changeset is green on the new head.

③ Boundary flags

  • open_questions: none new. The merge raises none.
  • What main brought under skills/objectstack-ui, read against this PR's table and footnote:
    • rules/actions.md (+2 / -2): one sentence about declared refusals near line 150 was reworded. It does not touch action types. Line 3 still says "the six types" and still links to ../SKILL.md#action-types, so it agrees with the six-row table.
    • rules/dashboards.md (+28 / -32): formatting, a tightened compareTo passage and a new "Date key" bullet. Its dashboard header actions use actionType values modal, url and script, all inside the six. Nothing there names ask_ai or contradicts the footnote.
  • Escalations carried from the earlier record, unchanged: the 19.0.0-next.2 prerelease that shipped the mixed state, and the liveness gate's Leg 2 not catching a row for a retired member. Neither is a finding on this diff.
  • SQL push-down: not applicable. No query, id materialisation or join is added.

④ Design judgment

skills/objectstack-ui/SKILL.md (hits).

  • The table and the footnote are as reviewed. Six rows, in the order of ACTION_TYPE_VALUES, and "Every type but script requires target." still matches TARGET_REQUIRED_TYPES in the spec, which main did not move.
  • The files main changed beside it do not disagree with it (see ③). The ### Action Types heading that rules/actions.md links to is intact.

scripts/check-skills-token-ratchet.mjs (implementing file).

  • main did not change this file, so the merge leaves the PR's one row as reviewed: skills/objectstack-ui/SKILL.md at 2228.
  • The figure still holds at the new head. The file is 8937 bytes and its stamp line is 27 bytes: ceil(8910 / 4) = 2228.

No must-fix, no should-fix.

  • N1 (nit) — carried unchanged from the earlier record: skills/objectstack-ui/SKILL.md does not say where the assistant entry lives; that sentence and its eval case are in the objectstack-ai bundle. No effect on correctness or the contract. A follow-up card at most; do not fix on this head.

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-28T09:10Z

席位核对 — L1 delta @ 9762b4bd6c3a6008d4d86fabbc71f196682ab750

Verdict: ACCEPT. This head only merges main into the branch.

  • The merge. Its parents are 47a39aad and ccdfe626, and the merge itself edits nothing.
  • The diff is unchanged. git patch-id --stable gives 016b64ae… for both git diff 9609c137 47a39aad and git diff ccdfe626 9762b4bd. The 3 files and +15 −3 are the same.
  • What main changed nearby. Main moved skills/objectstack-ui/rules/actions.md and rules/dashboards.md. Line 3 of actions.md still says "the six types", which matches the table. The dashboard examples use only the six types. Main did not touch SKILL.md, action.zod.ts or the ratchet script.
  • L2. Merge-delta record 7237056625 is PASS. Its tier is verified, it has No must-fix, no should-fix., and it says Security-touching: no.
  • Checks. At this head 29 runs succeeded and 16 were skipped. None failed and none are pending.

My ACCEPT at 47a39aad (7236804633) carries over. Tier H: os-zhuang's approval is still needed before landing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Recorded 2026-11-28T09:11Z.

维护者速读

  • 改了什么:objectstack-ui 技能的动作类型表里删掉已退役的 ask_ai 一行,脚注改成「除 script 外每种类型都要 target」,和代码里的类型清单一致。技能字数棘轮随之从 2262 调到 2228。
  • 为什么:ask_ai 动作类型已在 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 退役,技能还在教它,AI 照技能写会写出被拒收的元数据。
  • 风险:只改技能文字和棘轮数字,不改运行时行为,可以直接撤回。说明:19.0.0-next.2 是在 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 和本 PR 之间发出的,带着中间状态(技能还列着 ask_ai);下一个预发布由本 PR 和 feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 一起补齐,不需要对 next.2 另做处理。
  • 要你做什么:请审阅批准(Tier H:改动含 scripts/check-skills-token-ratchet.mjs,不在低风险技能放权范围内)。批准后由本席照落地前检落地。

席位意见:可以合。

席位核对 — ACCEPT · repo:objectstack#3 · head 9762b4bd6c3a6008d4d86fabbc71f196682ab750

  1. 形态:Fixes #37857;Clause-②: no,Metadata-protocol: none;3 个文件 +15 / −3(changeset @objectstack/skills patch、棘轮脚本一行、skills/objectstack-ui/SKILL.md)。head 上 git grep -n ask_ai -- skills/ 为空。
  2. 审查:L2 PASS 7236793206(简报 7236766029,档位已核,Security-touching: no),L1-c ACCEPT 7236804633(47a39aad);本 head 上同一位审核者的合 main delta PASS 7237056625,L1-c delta ACCEPT 7237063795。
  3. 合 main:9762b4bd = 47a39aa + origin/main ccdfe62,只合并、无冲突;合并前后净 diff 的 patch-id 相同(016b64ae),所以 47a39aa 上的 L1/L2 结论原样适用。landing-k 读出 K = 5。
  4. 门禁 check-runs:本 head 上 success=29,skipped=16,0 failed,0 pending。卡线程本地:token ratchet exit 0,check:skill-identifier-liveness exit 0;dispatch-gates 67/68 exit 0(dual-build-cjs 前置条件未测)。os-dev-report 7236537217。
  5. 接受的偏差:N1(文件不再说助手入口在哪)不在本 PR 做;liveness 门禁的 Leg 2 不会因为已退役成员留下的表格行转红,这是门禁的盲区,记在本记录,不挪 head。
  6. 落地条款:Tier H ⇒ GOVERNED_APPROVERS(os-zhuang)批准后本席照落地前检落地;head 再动就重新判。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Tier H approval request at 2026-11-28T09:11Z. Seat record: the newest ## 席位核对 above (ACCEPT, Head-sha: 9762b4bd6c3a6008d4d86fabbc71f196682ab750). L2 PASS 7236793206 and merge-delta PASS 7237056625 (same reviewer, this head); L1-c ACCEPT 7236804633 and merge-delta ACCEPT 7237063795; merge-main only, net diff patch-id unchanged.

@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 28, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 28, 2026 09:15
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit a262197 Nov 28, 2026
51 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-q0nzop branch November 28, 2026 10:03
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.

入口专题 C1s:技能文档与评测样例里的 ask_ai 删掉(受管 skills)

2 participants