Skip to content

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

Description

@objectstack-fleet

epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7

Filing gate: ③ maintainer-directed task (build retirement epic objectstack-ai/cloud#5024) · Source: contract review S3 on #37720 (comment 7206932534).
Grade: p2 · area:ai · domain:spec · Task · evidence: read (PR #37720 head 18cec5f)

维护者速读

  • 是什么:spec 里的 build 进度帧(build-progress.zod.ts)原来的唯一消费方是刚删掉的 build 对话前端,现在没有任何代码读它,按 enforce-or-remove 退役。
  • 要你做什么:无。

Current state

  • packages/spec/src/ai/build-progress.zod.ts names ui/packages/plugin-chatbot mapMessages.ts / ChatbotEnhanced.tsx as its consumer; feat(chatbot): retire the build chat frontend #37720 deleted that code, and nothing in the repo reads BUILD_PROGRESS_FRAME_TYPE any more. The cloud producer is deleted by objectstack-ai/cloud#5046.

Do

  1. Premise: exact-name grep for every export of the file over this repo and the pinned cloud tree; confirm zero readers.
  2. Retire it per the spec-property-retirement playbook (ADR-0049 enforce-or-remove; liveness ledger, generated baselines, ADR-0087 conversion, changeset).
  3. ⛔ Order after objectstack-ai/cloud#5046 if cloud still produces the frame at that time.

Acceptance

  • No export of build-progress.zod.ts remains or is referenced; the spec gates and baselines green.

Activity

  1. added
    priority:p2
    domain:spec
    area:ai
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:spec · Task · priority:p2 · pm:queue · size S; rationale: retire the spec's build-progress frame now that no consumer reads it (build retirement, cloud#5024). A spec retirement through ADR-0087: p2.

  3. added
    pm:queue
    on Nov 27, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 9 · 2026-11-28T13:47Z
    Picked from pm:queue on the maintainer's order in this seat's project, verbatim: 「OK 那你派吧」 (ai-area queue cards); concurrency 「ai 并发10」.
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgVih5qknszNdfFQwYb
    Account: os-sales
    Branch: claude/project-thread-akskmv (from main)
    Domain: domain:spec
    Seat: repo:objectstack#2
    Area: s2-ai
    File surface: packages/spec/src/ai/build-progress.zod.ts and build-progress.test.ts (removed), the packages/spec/src/ai/index.ts re-export, the generated baselines (packages/spec/api-surface/ai.json, packages/spec/export-origins/ai.json) and any pin test naming the file, the ADR-0087 conversion entry the playbook requires, comment references that name the removed export; one changeset.
    Container & model: S, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate" (Clause ② SUSPECT hint on packages/spec/src/**), effort: high (reason: the thread session serves effort high)
    Clause-②: no (narrowing: a published export is removed; one contract-review-tier review owed before the queue; Tier H)
    Metadata-protocol: none
    Responsibility: no export of build-progress.zod.ts remains in or is referenced by @objectstack/spec; the spec gates and baselines are green.
    Thread-read: 7207945442
    Premise: an exact-name grep for every export of the file, over this repo and the pinned cloud tree, finds zero readers. If cloud still produces the frame (objectstack-ai/cloud#5046 not done), the thread stops and forks back to this seat; nothing is removed ahead of it.
    Serial constraints cleared: no open PR of this seat edits these files (seat read); the thread runs scripts/pm/overlap-check.mjs before its first push.

    The PR says Fixes #37753.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  6. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Progress · 2026-11-28T20:47Z

    Answers the triage knock 7245534960. In flight under claim 7240193396; nothing is idle on this repo's side. The thread (branch claude/project-thread-akskmv) finished the premise read here: an exact-name grep of all six exports of build-progress.zod.ts finds no reader outside the module, its own test, the generated baselines and prose mentions. The retirement is committed locally (c51a15d3) and not pushed.

    The one open fact is cloud's: whether objectstack-ai/cloud#5046 has landed and cloud main no longer imports these exports or emits the frame, per Do item 3. Neither this seat nor the thread can read cloud. It was asked at 2026-11-28T13:50Z with Request: cloud-confirm on repo:cloud#5's mailbox (7240222916) and has no answer yet. The push and draft PR follow the answer; if cloud still produces the frame, this card waits for cloud#5046.

  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgVih5qknszNdfFQwYb
    os-dev-report

    {
      "issue": 37753,
      "status": "done",
      "branch": "claude/project-thread-akskmv",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38398",
      "session": "session_01L6bhgVih5qknszNdfFQwYb",
      "premise_still_valid": true,
      "summary": "As claimed: packages/spec/src/ai/build-progress.zod.ts and its test deleted with the ai/index.ts re-export; the six exports leave @objectstack/spec/ai. Whole-def removal on the playbook's 'nobody parses it' route: RETIRED_DEFS_BY_MAJOR[19] ai/BuildProgressFrame + ai/BuildProgressPhase, D3 semantic ai-build-progress-frame-retired (changeset marker registered), json-schema.manifest and authorable-surface ai rows deleted deliberately (authorable-surface.base.json anchor untouched), api-surface/export-origins/declaration-map/strictness-ledger counts/reference docs regenerated, type-alias pin 881 -> 879 (M188 slot vacant), three prose citations reworded. Changeset @objectstack/spec patch, Clause-②: no (narrowing), Metadata-protocol: none, BREAKING with FROM -> TO per export group. Premise: zero code readers in this repo (exact-name grep at 600197a6 and after merging main ff69bcab; control KnowledgeBuildProgress has live readers); cloud not readable from this thread, cloud#5046 merged per the maintainer's word relayed by the seat at 23:24Z.",
      "tests": "vitest at 5036e03f: 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. spec typecheck (tsc + scripts + test-typecheck) exit 0. Full spec pnpm test and test:repo left to CI (Test Core).",
      "gates": "Local at 5036e03f: spec build exit 0; check:generated 14/14 current; check:adr-0087-registration exit 0; check-platform-checklist --changed-from origin/main OK (3 anchors, 0 lost); overlap-check VERDICT clean. dispatch-gates --commands derived list, 16 run: doc-anchors, doc-authoring, doc-frontmatter, docs-redirects, docs-single-h1, docs-spec-enumerations, spec-docblock-symbol-anchors, spec-parsed-alias, skill-identifier-liveness, issue-citations, nul-bytes, role-word, corpus-claim-drift, closed-ceremony-text, docs-audit-scope exit 0; published-readme-exports exit 3 NOT MEASURED (prerequisite). The rest of the derived list UNRUN, left to CI.",
      "dogfood_battery": "45c0e273 · os-verify-lock VERDICT command-exit 0 (pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test) · Test Files 495 passed | 3 skipped (498) · Tests 4183 passed | 68 skipped (4251) · no failures. Browser pass at 45c0e273 (app-showcase on :3417, --seed-admin, console built from this head): boot log has zero build-progress lines (one unrelated knowledge sync-state ERROR), /_console/apps/com.example.showcase renders with 0 console errors and 0 build-progress errors; 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 NOT MEASURED (no model provider key in this container, seat agreed)",
      "mcp_calls": "0 writes",
      "api_writes": "2 - fleet-write relay pr_create (POST pulls + POST issues/38398/assignees); this os-dev-report comment (POST issues/37753/comments)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #38402 - docs/adr/0037 still describes data-build-progress parts as shipped; the three ui/packages/plugin-chatbot comments (chat/liveness.tsx twice, toolResultParsers.ts:138) cite the part name; outside this card's surface, filed by the seat"
      ]
    }

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim amendment · 2026-11-28T23:42Z · amends claim 7240193396

    Writes: Metadata-protocol: narrowed, and the changeset is minor. Removing ai/BuildProgressFrame drops three rows of the authorable surface (ai/BuildProgressFrame:hop, :phase, :tool), which the Check Changeset gate reads as a metadata-protocol narrowing; ADR-0087 registration ai-build-progress-frame-retired covers it. Clause-②: no (narrowing) and Tier H stand. The PR is #38398 (branch claude/project-thread-akskmv). The cloud premise is met: the maintainer said in this seat's project at 2026-11-28T23:24Z, verbatim, 「5046 已合并」. Every other line of the claim stands.

    Reason: the gate on PR #38398's first head (Check Changeset, none refused) found the narrowing; the claim's none was the seat's misreading.

  9. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-29T01:20Z

    PR #38398 merged at 2026-11-29T01:20Z through the merge queue on the maintainer's approval after the seat's ACCEPT (7248322317) and Tier H hand-off (7248328736), as 5df10eccaa, and its Fixes line closed this card. What changed:

    • packages/spec/src/ai/build-progress.zod.ts and its exports are gone from @objectstack/spec, with the reference page; the retirement has its ADR-0087 entries (two retired defs and ai-build-progress-frame-retired).
    • Clause-②: no (narrowing), Metadata-protocol: narrowed, @objectstack/spec minor.

    ADR-0037's stale text is #38402. pm:dispatched is cleared on this card, and pm:awaiting-merge on the PR.

  10. removed
    pm:dispatched
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions