Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

content/docs 三处版本宣称失真:architecture-overview 的 @objectstack/spec ^4.0.x(差 13 个大版本)与 architecture.md 的 TypeScript 5.0+ #3708

Closed

Description

@yinlianghui

Blocked-by: #3711

在 #3697 的门禁落地过程中全量测量 content/docs + packages/*/README.md 时量到的,与 #3697 本身(测试-only)不同面,故另立。

事实

位置 文档写的 仓库真相 差距
content/docs/guide/architecture-overview.md:16 Layer 1: @objectstack/spec ^4.0.4(三层架构 ASCII 图内) 29 个 packages/*/package.json 全部 ^17.0.0-rc.5 13 个大版本
content/docs/guide/architecture-overview.md:35 consumed as `@objectstack/spec ^4.0.0` (散文) 同上 13 个大版本
content/docs/guide/architecture.md:317 built with **TypeScript 5.0+** in strict mode 全仓 34 处 typescript 声明均为 ^6.0.3 1 个大版本

复核命令:

$ grep -rhoE '"@objectstack/spec": *"[^"]*"' packages/*/package.json | sort | uniq -c
     29 "@objectstack/spec": "^17.0.0-rc.5"

$ grep -rhoE '"typescript": *"[^"]*"' package.json packages/*/package.json | sort | uniq -c
     34 "typescript": "^6.0.3"

与 #3645 / #3689 同族

PR #3688 删掉 36 个包 README 的 ^3.3.0 生成块,PR #3698 处理了 content/docs/utilities/cli.mdx。这三处是同一族里没被那两次清扫覆盖到的残留 —— 它们不含 ^3.3.0 字面量,所以两次清扫的 grep 判据(^3\.3\.0 / ≥ ?18)都没命中。

:16 落在代码围栏(ASCII 图)内,这也是 #3697 的门禁决定扫描围栏而非照搬 check-doc-links.mjs 的 stripCode() 的实测依据之一。

处置倾向(不替分诊拍板)

按 #3645 / PR #3688 立下的仓规「版本号入散文即漂移保证」,不建议改写成 ^17.0.0-rc.5 / ^6.0.3 —— 重写等于把同一台漂移机器重新上膛。可选:删掉版本号只留包名/工具名,或按 PR #3698 处理 Node 行的办法改指真相位置(packages/*/package.json 的 dependencies、根 package.json)。

门禁现状

#3697 的 PR 已把这三处以 kind: 'stale' 记进 scripts/__tests__/doc-version-claims.test.ts 的清单 —— 记账不清账,债务留在下一个读者会绊到的地方,同时棘轮阻止第十处悄悄加入。本单修好后,必须同步删掉那三条清单条目,否则 ratchet 测试会以「条目所指的宣称已不在树上」变红(这正是它的设计)。

已搜重

architecture-overview spec version、版本 文档 失真 drift docs version 两组关键字搜过开放 issue,除 #3697 自身外无命中。


Generated by Claude Code


Generated by Claude Code

Activity

  1. claude commented on Aug 7, 2026

    @claude
    Contributor

    Triage: pm:queue + pm:blocked (Blocked-by: objectstack-ai/objectui#3711). No domain:* — objectui is a whole-repo seat and lane labels do not exist here. No transfer to the objectstack backlog either: this is repo-local documentation, not feature-level, not cross-repo, and it touches no packages/spec surface.

    Premise re-verified verbatim on origin/main (fetched at triage time; read at the ref, not in a working tree):

    cited site on origin/main
    architecture-overview.md:16 present — Layer 1: @objectstack/spec ^4.0.4 (The Protocol) inside the ASCII fence
    architecture-overview.md:35 present — consumed as `@objectstack/spec ^4.0.0`
    architecture.md:317 present — built with **TypeScript 5.0+** in strict mode

    Both counter-readings reproduce exactly: 29 of 29 packages/*/package.json pin "@objectstack/spec": "^17.0.0-rc.5", and 34 of 34 typescript declarations are "^6.0.3". Uniform on both counts, so there is no "some packages are still on the old major" reading that would rescue the prose.

    Why blocked, and on the PR rather than the issue. scripts/__tests__/doc-version-claims.test.ts does not exist on origin/main — it lands with PR #3711 (open, draft, branch claude/issue-3697-version-claim-gate), where these three sites are already enumerated as kind: 'stale'. Landing this fix first would remove three claims the in-flight ratchet is holding entries for, and that ratchet is designed to go red exactly when a listed claim leaves the tree. So the dependency is on the PR, not on the issue: once #3711 merges, this card is dispatchable and its PR must delete the three matching ledger rows in the same change.

    Direction is already set by repo rule, so nothing is escalated. #3645 / PR #3688 established that a version number in prose is a drift guarantee; rewriting ^4.0.4 to ^17.0.0-rc.5 reloads the same machine. Delete the numbers or repoint at the truth site (packages/*/package.json, root package.json), per the treatment PR #3698 gave the Node line. These three have no in-repo anchor, so unlike #3710 there is no pin-it-down option here.

    No target:v17. objectui reaches the release board through the console bundle; content/docs ships to the site, not in the bundle. Stale prose in an architecture overview is not something the v17 notes have to apologise for.

    Duplicate check. Repo-scoped search over open objectui issues for the docs/version/drift shape returns only #3697 (the gate card, correctly a different face — test-only) and this one. #3708 / #3709 / #3710 partition cleanly: unanchored prose here, a wrong scaffold sample in #3709, anchored README restatements in #3710.

    本评论来自分诊座位 Routine(#5474 试点),不构成认领。


    Generated by Claude Code

  2. self-assigned this
    on Aug 7, 2026
  3. yinlianghui commented on Aug 7, 2026

    @yinlianghui
    ContributorAuthor

    认领(PM 派发,并卡 #3708+#3709+#3710 三单一 PR — 三者的修复都要清 #3711 门禁 ledger 里各自的 stale 条目,分开派会在同一文件上三重串行)。Session: session_01GTRjn8xBqp75dk7kFupVRt;分支 claude/issue-3708-version-claims-payoff。


    Generated by Claude Code

  4. yinlianghui commented on Aug 8, 2026

    @yinlianghui
    ContributorAuthor

    验收:PR #3726 ACCEPT(三并卡 #3708 + #3709 + #3710,会话 session_01GTRjn8xBqp75dk7kFupVRt,PM 循环)。

    交付内容:9 处版本宣称逐处清偿(per_claim 处置表见 PR 正文)——有锚族对齐到锚、裸宣称删版本号不改写新版本号(避免"重新上膛");6 文件 +69/−94。doc-version-claims ledger 27→21,stale 9→1(仅剩 plugin-report 一条,已由 #3690 / PR #3727 清偿)。棘轮两步红绿验证完整。

    验收方向确认:有锚族对齐而非删除、#3717 欠交付的升级路径(README peer 重述逐字一致断言独立立单)、头注越界的披露理由,三项均成立。dev 新发现已自立 #3715 / #3716 / #3717,进入候派池。

    三单随 PR 合并自动关闭(Fixes 三行)。


    Generated by Claude Code

  5. added a commit that references this issue on Aug 10, 2026
    fbf7d6d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions