Repository navigation
fix: lint, rest and notify-node copies of the spec sentences name App Studio - #39244
Conversation
… Studio Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZQVVFKDKH894psuGy
📓 Docs Drift CheckThis PR changes 3 package(s): 12 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 5 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 31 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 a70fac085a7d331971bc9506dd6f522684512d67 && git checkout a70fac085a7d331971bc9506dd6f522684512d67
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 1fe9c6287f2f058c7d1f1972cdfa4ebcd58803b6 a4bf9b3bd3a697aef09e730927f137634af7f578 && git checkout -B drift-repro 1fe9c6287f2f058c7d1f1972cdfa4ebcd58803b6 && git merge --no-ff a4bf9b3bd3a697aef09e730927f137634af7f578
node scripts/docs-audit/affected-docs.mjs --json 1fe9c6287f2f058c7d1f1972cdfa4ebcd58803b6
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZQVVFKDKH894psuGy 席位核对ACCEPT at 2026-12-03T03:38Z · head
|
Fixes #39222
Clause-②: no
Metadata-protocol: none
维护者速读
os explain说明、元数据保存被拒的报错和通知节点的模板说明里,看到的名字从旧的 Studio 变成 App Studio,与规格里的同一句话一致。What changes
Display text only, matching the spec twins merged in #39218 (ADR-0084's 2026-11-26 amendment, decision 2: the name is App Studio; identifiers,
?surface=studio, the/studioaddress stay):packages/lint/src/validate-view-containers.ts: bothview-container-shapehints now read "the metadata door (App Studio /PUT /api/v1/meta/view)", asstack.zod.tsviewItemsrefusal does.packages/lint/src/rule-explanations/view-containers.ts: theos explain view-container-shapetext, same door wording.packages/rest/src/meta-save-request.ts: the three?surface=refusals now say "a person editing in App Studio" / "not made in App Studio", as the specsurfaceprose does.packages/services/service-automation/src/builtin/notify-node.ts: the notify node's Template help now says "authored in App Studio", asio-node-config.zod.tsdoes.packages/lint/src/validate-view-containers.test.ts: the one test pinning the ViewItem-arm hint verbatim follows the new wording (still under the 200-char hint cap).Left alone on purpose: code comments in these files that name the editor (
notify-node.tsform comments,meta-save-request.tsdocblock), per the card's user-visible-strings scope.Tests
Local runs (head a4bf9b3)
pnpm --filter @objectstack/lint test: 261 files / 10345 tests passed.pnpm --filter @objectstack/rest test: 451 files passed; 9352 passed, 351 skipped.pnpm --filter @objectstack/service-automation exec vitest run --maxWorkers=2 src/builtin: 97 files / 1371 tests passed.pnpm --filter @objectstack/lint --filter @objectstack/rest --filter @objectstack/service-automation run typecheck: exit 0.Acceptance notes
meta-save-preconditions-parity.test.tsasserts onlytoContain('copilot')/toContain('mcp')on the refusals.git grep -nP '(?<!App )\bStudio\b'over the four files now hits code comments only.Verification
Read first:
packages/rest/src/meta-save-request.ts(the HTTP-visible refusals), thenpackages/lint/src/validate-view-containers.ts.Two-minute check:
PUT /api/v1/meta/view/x?surface=copiloton a dev server answers 400 whose message says "a person editing in App Studio".🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CZQVVFKDKH894psuGy