Skip to content

fix(spec)!: retire the build-progress stream frame now that no code reads it - #38398

Merged
os-zhuang merged 6 commits into
mainfrom
claude/project-thread-akskmv
Nov 29, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/project-thread-akskmv

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Fixes #37753

Clause-②: no (narrowing)
Metadata-protocol: narrowed
Skills-docs: none — no skills/** file names any of the six exports or data-build-progress (git grep -n -i "build-progress\|BuildProgress\|BUILD_PROGRESS" -- skills/ returns nothing)

维护者速读

  • 是什么:spec 里给 build 对话进度面板用的流式帧定义(ai/build-progress.zod.ts,6 个导出)整个删掉。它唯一的读方(控制台的 build 进度面板)已随 build 对话前端删除,云端产生它的 build 循环也已删除(cloud#5046 已合并),现在没有任何代码读它。
  • 为什么:没人读的导出 schema 会被下一个读者当成平台还有这个能力(ADR-0049 留或删)。
  • 出错会怎样:用户无感,元数据作者无感(它从来不是可编写的元数据)。若有宿主代码还 import 这 6 个名字,升级后编译报错,changeset 里写了改法:删掉 import。可整体撤回。
  • 要你做什么:批准这个拉取请求——它收窄了 @objectstack/spec 的公开导出,属 Tier H。

What changes

packages/spec/src/ai/build-progress.zod.ts and its test are deleted, with the ai/index.ts re-export. The six exports leave @objectstack/spec/ai: BuildProgressFrameSchema, BuildProgressFrame, BuildProgressPhaseSchema, BuildProgressPhase, BUILD_PROGRESS_PHASES, BUILD_PROGRESS_FRAME_TYPE.

Route: the playbook's "nobody parses it" row (spec-property-retirement §2). The frame was a stream payload, never a metadata type, so there is no tombstone, no D2 conversion and no liveness-ledger row. What the build asks for a whole-def removal is there:

  • RETIRED_DEFS_BY_MAJOR[19]: retired-defs/19.ai__BuildProgressFrame.ts, retired-defs/19.ai__BuildProgressPhase.ts (the manifest deletion gate names both).
  • D3 semantic ai-build-progress-frame-retired (semantic/19.ai-build-progress-frame-retired.ts), so the upgrade guide tells a host what to delete. The changeset's ADR-0087 marker is registered ai-build-progress-frame-retired. runtime-export-retired does not fit: its predicate 2 refuses an operand declared in a *.zod.ts.
  • Deliberate baseline deletions: json-schema.manifest/ai.json (2 defs) and authorable-surface/ai.json (3 keys). The build's check (c) accepts the second because the whole def leaves. authorable-surface.base.json is the pinned anchor and is not touched.
  • Regenerated: api-surface/ai.json (−6), export-origins/ai.json (−6), declaration-map/ai.json (−4), the reference docs (content/docs/references/ai/build-progress.mdx removed, both indexes), and the strictness-ledger counts.
  • type-alias-convention.pin.test.ts: the M188 import leaves (slot stays vacant, as for M166), the two Iso_ai_buildProgress__* pins leave, and the count goes 881 → 879 in the assertion and both prose counts.
  • Three comments that cited the module as a precedent are reworded: contracts/ai-service.ts (onProgress), ai/record-citation.zod.ts, ui/component.zod.ts (which now says its remaining precedent, DashboardWidgetConfigSchema, is declared in ui/packages/types).
  • packages/spec/llms.txt (hand-kept, ships in the tarball): the schema inventory count 233 → 232, the ai row 18 → 17 and its "Build Progress" entry removed (contract review 7247625401 M2; check:llms-txt).

Changeset .changeset/37753-build-progress-frame-retired.md: @objectstack/spec minor (kind narrowed), BREAKING banner, one FROM → TO line per export group. The claim said Metadata-protocol: none; Check Changeset reads the three removed authorable-surface/ai.json rows as a narrowing and refuses none (run 46202350592 on 5036e03), so the line and the level follow the gate (7b40319).

Premise

  • This repo, exact-name git grep of all six exports at main 600197a and again after merging main ff69bca: zero code readers. Hits were only the module, its test, the type-alias pin, the generated baselines, the reference page, CHANGELOGs and three prose citations. Control, same instrument: KnowledgeBuildProgress has live readers in service-knowledge and cli. Under ui/, only three comments (plugin-chatbot/src/chat/liveness.tsx twice, plugin-chatbot/src/toolResultParsers.ts:138) and one test fixture literal 'data-build-progress' in useObjectChat.setMessagesHonest-8342.test.tsx remain; none imports the spec.
  • Cloud: objectstack-ai/cloud is outside what this thread can read. The premise that cloud no longer produces or imports the frame rests on the maintainer's word, relayed by seat 2 on 2026-11-28 23:24Z: 「5046 已合并」 (cloud#5046, the cloud producer's removal, has merged). Card step 3 ("order after cloud#5046") is therefore met.

Verification

runs

Head 5036e03 (after git merge origin/main, no rebase); 7b40319 changes only the changeset's level and kind line, and check:adr-0087-registration was re-run on it (exit 0, metadata-protocol-narrowed). Rework for contract review 7247625401: 1d77b3a (M2, llms.txt) and 45c0e27 (S1, the changeset's fix line names ToolExecutionContext.onProgress; N1, the component.zod.ts comment). At 45c0e27, after a fresh spec build: check:generated 14/14, check:llms-txt 98 claims re-derived (232 schemas), check:adr-0087-registration exit 0.

  • pnpm --filter @objectstack/spec build: exit 0. The first two runs went red on purpose, first on the manifest rows and then on the authorable-surface rows, and each remedy above was applied.
  • pnpm --filter @objectstack/spec check:generated: exit 0, 14/14 current.
  • pnpm check:adr-0087-registration: exit 0 (self-test 871 assertions; registered ai-build-progress-frame-retired (new here)).
  • pnpm --filter @objectstack/spec typecheck (tsc, scripts typecheck, test-typecheck): exit 0.
  • vitest run on src/type-alias-convention.pin.test.ts src/migrations scripts/build-schemas-check-mode.deletion-proofs.test.ts src/ai: 31 files, 791 tests passed.
  • node scripts/pm/overlap-check.mjs: VERDICT clean.

Dogfood battery at 45c0e27: pnpm --filter @objectstack/dogfood test under the verify lock after building its closure, VERDICT command-exit 0, 495 test files passed (3 skipped), 4183 tests passed (68 skipped). Browser pass on app-showcase (own port, --seed-admin, console built from this head): the boot log has no build-progress line, the showcase app renders with zero console errors, and discovery reports services.ai enabled: false (no AI service ships in the open framework), so no assistant entry renders. A real tool-calling assistant turn is NOT MEASURED: this container has no model provider key.

Out of scope

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (a module removed, nothing added)
  • 2. Every name I added uses the casing for its kind. (entry ids only)
  • 3. No formatter ran.
  • 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.
  • 7. No hand edits to content/docs/releases/.
  • 8. Title, body and comments are in English. (the 维护者速读 summary is the seat's Chinese summary for the maintainer)

The branch is claude/project-thread-akskmv, assigned by the platform rather than the repo's claude/issue-<n>-… convention.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgVih5qknszNdfFQwYb

ai/build-progress.zod.ts declared the payload of the data-build-progress
stream part for the build chat's progress panel. The panel was removed with
the build chat front end (#37720) and the cloud build loop that emitted the
frame with it, so no code reads any of the module's six exports. Removed
whole under ADR-0049 enforce-or-remove: RETIRED_DEFS_BY_MAJOR[19] rows for
ai/BuildProgressFrame and ai/BuildProgressPhase, D3
ai-build-progress-frame-retired, baselines regenerated, the manifest and
authorable-surface rows deleted deliberately, pin count 881 -> 879.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgVih5qknszNdfFQwYb
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation protocol:ai protocol:ui tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/spec, touching 9 documentable anchor(s). ⚠️ 10 changed file(s) yielded no anchor (packages/spec/api-surface/ai.json, packages/spec/authorable-surface/ai.json, packages/spec/declaration-map/ai.json, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/protocol/knowledge.mdx (via ToolExecutionContext (symbol, a top-level interface))

⛔ 2 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v15.mdx (via ToolExecutionContext (symbol, a top-level interface))
  • content/docs/releases/v9.mdx (via ToolExecutionContext (symbol, a top-level interface))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 10 changed file(s) yielded no anchor (packages/spec/api-surface/ai.json, packages/spec/authorable-surface/ai.json, packages/spec/declaration-map/ai.json, …) — pages documenting those are invisible to this run
  • 3 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 253 client-bound route-ledger rows — the other 184 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 184: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 125 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 181 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json c610020e2f2b0c06aab7d092b19b2e77622815ac → packageMentionDocs.

Which tree this was computed on

This run read content/docs from ccf917a0833dd60b8bfb571bae44447621320504 — the merge of head 45c0e2737b420a270424b8fa08559622d9a61d80 into base c610020e2f2b0c06aab7d092b19b2e77622815ac, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin ccf917a0833dd60b8bfb571bae44447621320504 && git checkout ccf917a0833dd60b8bfb571bae44447621320504
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin c610020e2f2b0c06aab7d092b19b2e77622815ac 45c0e2737b420a270424b8fa08559622d9a61d80 && git checkout -B drift-repro c610020e2f2b0c06aab7d092b19b2e77622815ac && git merge --no-ff 45c0e2737b420a270424b8fa08559622d9a61d80

node scripts/docs-audit/affected-docs.mjs --json c610020e2f2b0c06aab7d092b19b2e77622815ac

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs c610020e2f2b0c06aab7d092b19b2e77622815ac → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…inor

The authorable-surface ai shard loses three rows, which Check Changeset reads
as a metadata-protocol narrowing.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgVih5qknszNdfFQwYb
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 7b40319dd7c2e17ce2c0a03d1ad3278ae4ef8dbe
Local-runs: none
Scope: packages/spec/src/ai/build-progress.zod.ts, packages/spec/src/ai/index.ts, packages/spec/src/ai/record-citation.zod.ts, packages/spec/src/contracts/ai-service.ts, packages/spec/src/migrations/entries/retired-defs/19.ai__BuildProgressFrame.ts, packages/spec/src/migrations/entries/retired-defs/19.ai__BuildProgressPhase.ts, packages/spec/src/migrations/entries/semantic/19.ai-build-progress-frame-retired.ts, packages/spec/src/ui/component.zod.ts + packages/spec/src/type-alias-convention.pin.test.ts, packages/spec/src/ai/build-progress.test.ts, packages/spec/json-schema.manifest/ai.json, packages/spec/authorable-surface/ai.json, packages/spec/api-surface/ai.json, packages/spec/export-origins/ai.json, packages/spec/declaration-map/ai.json

Read: card #37753 with its five comments, the PR body and file list, the net diff of 21 files against main ff69bca (the merge base), and the check-runs. This head is one commit on 5036e03; that commit changes two lines of the changeset and nothing else, so every other file is byte-identical to the head read first. On this head, at the read, seven check-runs had concluded success and none had failed; Check Changeset, Type Check · source gates and the Build, Lint, Test Core and remaining Type Check lanes were still in progress, so they are not gate verdicts yet. On 5036e03, Check Changeset and Type Check · source gates concluded failure.

① Derived judgments

  • Six exports leave @objectstack/spec/ai: BuildProgressFrameSchema, BuildProgressFrame, BuildProgressPhaseSchema, BuildProgressPhase, BUILD_PROGRESS_PHASES, BUILD_PROGRESS_FRAME_TYPE. Right. An exact-name grep of the head tree finds no reader of any of the six outside this PR's own retirement entries, the changeset, CHANGELOG files and authorable-surface.base.json; on main the only holders were the module, its test, the pin test, the five baselines, the reference page and index, and the two precedent comments. packages/**, ui/**, examples/**, skills/**, packages/cli/** and content/docs/** (outside releases) hold no import. The control KnowledgeBuildProgress / BUILD_PROGRESS_LOG_INTERVAL_MS in service-knowledge is a different family and is untouched.
  • No code in this repo emits or parses a data-build-progress part: no caller of ToolExecutionContext.onProgress exists under packages/** at the head, and ui/ keeps the literal only in three comments (plugin-chatbot/src/chat/liveness.tsx twice, plugin-chatbot/src/toolResultParsers.ts:138) and one test fixture that uses it as an arbitrary part name. Right to remove.
  • Two defs leave the emitted JSON schema: ai/BuildProgressFrame, ai/BuildProgressPhase, each with a RETIRED_DEFS_BY_MAJOR[19] entry file in the house shape. Right.
  • Three authorable-surface rows leave authorable-surface/ai.json (ai/BuildProgressFrame:hop, :phase, :tool); authorable-surface.base.json keeps them, as its own gate requires. The removal is right, and the declaration now says so, see ②.
  • Baseline rows removed are exactly the module's: api-surface 6, export-origins 6, declaration-map 4, json-schema.manifest 2, authorable-surface 3. No other row moves in any of the five shards.
  • Reference docs: page removed, meta.json and both indexes follow (18 → 17 pages, 104 → 102 schemas, 224 → 223, 1744 → 1742); strictness-ledger count 121 → 120. Consistent with one module and two defs leaving.
  • packages/spec/llms.txt still declares the module. Wrong, see M2.
  • Cloud premise (card Do item 3): not readable from this review. It rests on the maintainer's sentence quoted in the PR body and the seat note, 「5046 已合并」. Nothing in this repo contradicts it.

② Semver level

Clause-②: no (narrowing) — right. A published export set shrinks and nothing is added.

Metadata-protocol: narrowed — right. The changeset at this head carries '@objectstack/spec': minor with Metadata-protocol: narrowed, and the PR body carries the same two declarations and says "minor (kind narrowed)". The diff removes three rows from packages/spec/authorable-surface/ai.json, which the ratchet records as an authorable key leaving; narrowed with the (narrowing) arm is the kind that shard records, and minor is the level that kind takes during the launch window (major is refused). The playbook's changeset row says the same. The frame was never a key on a governed metadata type, as the body says, and the declaration still follows the ratchet, which is the rule the gate applies. Check Changeset refused the earlier none and patch on 5036e03; its run on this head had not concluded at the read.

M1: closed — the changeset and the PR body both read narrowed and minor at this head.

The BREAKING text has the banner, a FROM → TO line per export group and a one-line fix, and the ADR-0087 marker registered ai-build-progress-frame-retired matches the semantic entry id. Its fix line names AIToolContext.onProgress; no symbol of that name exists in the tree, the interface is ToolExecutionContext (contracts/ai-service.ts:1259). This is S1.

③ Boundary flags

  • open_questions: empty in the dev report. Nothing to answer.
  • Dev flag, published-readme-exports exit 3 locally (prerequisite missing): not measured by the dev; its CI lane had not concluded at the read. Left to the check-run.
  • Dev flag, out of scope: docs/adr/0037-live-canvas-draft-preview.md still lists data-build-progress parts as shipped, and the ui/packages/plugin-chatbot comments still cite the part. Agreed that both are outside this card's surface. The report says carrier: none; an ADR that states a removed stream as shipped needs a carrier, so this is escalated to the seat to file as a follow-up card. The premise text counts two ui comments; the tree has three (toolResultParsers.ts:138 is the third). None imports the spec.
  • Dev flag, dogfood battery owed at the final head: agreed, the head will move.
  • SQL push-down: not applicable. The diff adds no query, id materialisation or join.

④ Design judgment

M2 (must-fix) — packages/spec/llms.txt is not in the diff and still advertises the removed module at this head: line 95 says ai | 18 and lists "Build Progress", while packages/spec/src/ai/ holds 17 *.zod.ts modules; line 80 says 233 schemas, one more than the gate counted. check:llms-txt turned Type Check · source gates red on 5036e03 for exactly this, and neither llms.txt nor packages/spec/src/ moved between that head and this one; the lane's run on this head had not concluded at the read. It is a shipped file of the package, so it belongs to the retirement. Fix by hand (there is no generator): both counts and the "Build Progress" entry.

S1 (should-fix) — still open at this head: the changeset's fix line (line 20) cites AIToolContext.onProgress. That name is not declared anywhere in the repo; the contract is ToolExecutionContext.onProgress. The line ships in the package CHANGELOG as the instruction an upgrader greps for. The name was carried from the removed module's own prose. The semantic entry says ctx.onProgress and is unaffected.

N1 (nit) — ui/component.zod.ts: the rewritten sentence now names DashboardWidgetConfigSchema as "the house precedent" alone. That schema is declared in ui/packages/types, not in packages/spec; the citation predates this PR, and the rewrite leaves it as the sentence's only anchor without saying where it lives.

Per file:

  • ai/build-progress.zod.ts (deleted): holds. The module's own docblock recorded verify, hop and tool as declared ahead with zero emitters and zero readers, and named the plugin-chatbot panel as the one consumer; with that consumer gone (feat(chatbot): retire the build chat frontend #37720) nothing in this repo parses the frame, which is the ADR-0049 remove arm. Whole-module removal with no tombstone is the playbook's whole-def shape: the frame was never a key on a governed metadata type, so there is no liveness-ledger row and no D2 conversion to write, and the four ratchets must move, which they do.
  • ai/index.ts: holds. The re-export and its header bullet leave together; no other line moves.
  • migrations/entries/retired-defs/19.ai__BuildProgressFrame.ts, 19.ai__BuildProgressPhase.ts: hold. File names, the single entry export and the def ids match the neighbouring 19.ai__* entries and the two manifest rows removed.
  • migrations/entries/semantic/19.ai-build-progress-frame-retired.ts: holds. surface names all six exports, replacement is none with the action, and the id matches the changeset marker. A D3 entry is the right register for a removal with no data half; the three authorable rows were a projection of the frame's object shape, not a key any metadata source carries.
  • contracts/ai-service.ts: holds. The onProgress signature is unchanged; the jsdoc loses the data-build-progress example and the apply_blueprint sample, which described a producer this repo does not contain. The remaining sentences agree with the signature.
  • ai/record-citation.zod.ts: holds. The dropped precedent pointer named a removed constant; the remaining sentence is true of RECORD_CITATIONS_PART_TYPE.
  • ui/component.zod.ts: holds apart from N1. Comment only; no schema line moves.
  • type-alias-convention.pin.test.ts: agrees. M188 import removed with the slot left vacant, two Iso_ai_buildProgress__* pins removed, 881 → 879 in the assertion, the title and the header.
  • ai/build-progress.test.ts (deleted) and the five baselines: agree with the removal; row counts as in ①.

Implemented-by: claude/project-thread-akskmv
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA (isolated contract-review sub-agent)

VERDICT: FAIL

…say where the precedent schema lives

Contract review 7247625401 S1 and N1.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgVih5qknszNdfFQwYb
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 45c0e2737b420a270424b8fa08559622d9a61d80
Local-runs: none
Scope: packages/spec/src/ai/build-progress.zod.ts, packages/spec/src/ai/index.ts, packages/spec/src/ai/record-citation.zod.ts, packages/spec/src/contracts/ai-service.ts, packages/spec/src/migrations/entries/retired-defs/19.ai__BuildProgressFrame.ts, packages/spec/src/migrations/entries/retired-defs/19.ai__BuildProgressPhase.ts, packages/spec/src/migrations/entries/semantic/19.ai-build-progress-frame-retired.ts, packages/spec/src/ui/component.zod.ts + packages/spec/llms.txt, packages/spec/src/type-alias-convention.pin.test.ts, packages/spec/src/ai/build-progress.test.ts, packages/spec/json-schema.manifest/ai.json, packages/spec/authorable-surface/ai.json, packages/spec/api-surface/ai.json, packages/spec/export-origins/ai.json, packages/spec/declaration-map/ai.json

Delta review of record 7247625401 (head 7b40319). Read: the range 7b40319..45c0e27 (two commits, three files, 6 insertions and 5 deletions), the PR body at this head, and the check-runs on this head. Every file outside those three is byte-identical to the head record 7247625401 covers, so its ①, ③ and per-file ④ readings stand for them. Net diff against main ff69bca is now 22 files.

Check-runs on this head at the read: Check Changeset concluded success (a second run of it was still in progress), Spec property liveness, Governed Surface Queue Guard, Dogfood Regression Gate and five others success, none failed, one PR-body guards run cancelled beside one that succeeded. Type Check · source gates and the Build, Lint, Test Core and other Type Check lanes were still in progress, so they are not gate verdicts yet.

① Derived judgments

  • No accept-set or public-surface change in the delta. Right: the three hunks are a changeset sentence, two count lines and one row of llms.txt, and a comment in ui/component.zod.ts. No schema line, export, baseline or migration entry moves.
  • packages/spec/llms.txt now describes the package without the removed module: heading 232, ai | 17, "Build Progress" gone from the row. Right. packages/spec/src/ai/ holds 17 *.zod.ts modules at this head, and 232 is the count check:llms-txt reported for the tree on 5036e03, whose src/ is unchanged since.
  • The derived judgments of record 7247625401 are unchanged.

② Semver level

Clause-②: no (narrowing) — right, unchanged.

Metadata-protocol: narrowed, @objectstack/spec minor — right, unchanged in the changeset frontmatter and the PR body. Check Changeset concluded success on this head.

The delta's one changeset edit replaces a symbol name in the fix line and moves no level, kind or marker.

③ Boundary flags

④ Design judgment

M2: closed — packages/spec/llms.txt lines 80 and 95 read 232 and ai | 17, and the row no longer lists "Build Progress" (1d77b3a). No other line of the file moves.

S1: closed — the changeset's fix line names ToolExecutionContext.onProgress, the interface declared at contracts/ai-service.ts:1259 (45c0e27). AIToolContext no longer appears anywhere in the tree.

N1: closed — the ui/component.zod.ts comment now says where the precedent lives, and the pointer is true: DashboardWidgetConfigSchema is declared at ui/packages/types/src/zod/complex.zod.ts:1767 as a z.looseObject with declared members, which is what the sentence claims of it. Comment only; no schema line moves.

M1 was closed in record 7247625401 and stays closed.

The delta introduces nothing new. No must-fix, no should-fix.

Implemented-by: claude/project-thread-akskmv
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA (isolated contract-review sub-agent)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head 45c0e27 · card #37753 · area s2-ai · 2026-11-29T00:44Z

L1 checklist

  • Shape and checks. Every check on the head is green apart from expected skips (65 success, 14 skipped; the one cancelled PR-body guards run is superseded by a later success of the same check); mergeable clean. The PR is a draft. It removes packages/spec/src/ai/build-progress.zod.ts and its test, the ai/index.ts re-export, the reference page, and regenerates the spec baselines; it adds two retired-def entries and one semantic migration entry (ADR-0087), corrects the hand-kept llms.txt counts, fixes the comments that named the removed export, and adds one changeset. Dev report 7247570184.
  • Contract review at CONTRACT_REVIEW_TIER. Record 7247625401 FAILed on M2 (llms.txt counts), S1 (the changeset named the wrong context type) and N1 (a precedent comment); delta record 7247739823 on this head is a PASS with nothing open. The seat adopts both records.
  • Premise. Zero readers of the removed exports in this repo; the cloud producer is gone per the maintainer's 「5046 已合并」 in this seat's project.
  • Dogfood on this head. The dogfood battery exits 0 (495 files passed, 3 skipped; 4,183 tests passed, 68 skipped). The showcase app boots on this head with no build-progress line in its log and no console error; the in-app assistant is not served in this edition, so a live tool-call turn is NOT MEASURED (no model key in the container).
  • Declarations. Clause-②: no (narrowing), Metadata-protocol: narrowed, @objectstack/spec minor. Fixes #37753 is right. ADR-0037's stale text is out of scope and carded as docs/adr/0037: stop listing data-build-progress parts as shipped now the build progress frame is retired (#37753) #38402.
  • Governance. A narrowing of a published surface is Tier H, so the maintainer's approval lands it.

Tier: H. Landing: hand-off to the maintainer follows this record.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Tier H hand-off · 2026-11-29T00:45Z · head 45c0e27 · approver os-zhuang

维护者速读

  • 改了什么: 从规范包里删掉「构建进度帧」这一套已经没人用的数据格式(AI 搭建应用时推送进度的消息格式)。云端那边的发送方你已确认合并(「5046 已合并」),本仓库里也查过零读者。
  • 用户会看到什么: 正常使用看不到变化。对写代码引用这个格式的开发者,它不再从 @objectstack/spec 导出,所以版本按 minor 发,迁移记录里写明了它已退休。
  • 审核: 契约审核(最高档)第一轮 FAIL(7247625401,计数和一处类型名写错),修完后复审 PASS(7247739823)。CI 全绿,dogfood 测试全过,示例应用在这个版本上启动正常。席位 L1 ACCEPT 在本评论前一条。
  • 没测到的: 开源版不带 AI 服务、容器里也没有模型密钥,所以没跑真实的 AI 工具调用对话。
  • 要你做什么: 需要你批准后才能合并。撤回这一次合并即恢复原样。

@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 29, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 29, 2026 00:51
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit 5df10ec Nov 29, 2026
88 of 90 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-akskmv branch November 29, 2026 01:20
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 29, 2026
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 protocol:ai protocol:ui size/l tests 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.

Retire the build-progress frame from the spec now that no consumer reads it (build retirement, cloud#5024)

3 participants