Skip to content

docs: carried doc-truth lines name what main does today - #38476

Draft
objectstack-fleet[bot] wants to merge 2 commits into
mainfrom
claude/issue-35238-e-doc-truth
Draft

objectstack-fleet[bot] wants to merge 2 commits into
mainfrom
claude/issue-35238-e-doc-truth

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Part of #35238

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户无感:只改内部测试文档、构建脚本说明和代码注释,把几处过时的说法改成当前主干的真实情况。
  • 属于「各仓规则回各仓、dogfood 技能更新」这一步的收尾,替跑测试的开发代理纠正误导性的地址和端口说明。
  • 出错只会让代理读到一句不准的说明,不影响任何运行行为;可直接撤回。
  • 无。

What changes

Text and comments only, no behaviour change. Each carried line from the two carrier comments on the card (7250083793, 7250187648), plus the add-on from the delta L2 on PR #38461 (N5, N6), now says what main does. Line numbers are at this head; every claim was checked against the code cited in the last column at merge base 4d07ddbf5d.

carried item file:line old claim new claim code read
e-runner docs/qa/platform-checklist/RUNNER.md:1010 an unbuilt Console shows as a 404 at /_console/ it answers 503 with "The ObjectStack Console is not built" and the pnpm console:build remedy packages/cli/src/utils/console.ts:1400-1402, :1446, :1460-1462, :435
e-pillar-notes RUNNER.md:297-301 quotes the boot note naming /_console/studio/PKG/PILLAR quotes the corrected note, /_console/studio/PKG, and says the bare address lands on 概览 Overview while old pillar segments only redirect ui/packages/app-shell/src/views/studio-design/studioPillarRedirectModel.ts:15, :102-111
e-build-dist packages/console/build-dist.sh:5, :8-10 turbo keys @objectstack/console#build; the root pnpm build runs this script the key is @objectstack/console#build:dist; only pnpm console:build runs it, the root build does not (the package declares build:dist, not build) turbo.json:99-100, package.json:7, :27, packages/console/package.json:28, console.ts:435
e-restatements docs/qa/studio-benchmark/SCENARIO.md:15 boot needs OS_PORT exported, not only -p -p alone reaches the compile; os dev exports it as OS_PORT (the OS_PORT=PORT prefix dropped from the boot line) packages/cli/src/commands/dev.ts:557-567, packages/cli/src/utils/port-contract.ts:500-503
e-restatements docs/qa/platform-checklist/areas/platform-core.json:16 own port "not 3000/3001/3210" not 3000, not one a tracked .claude/launch.json entry holds, checked with lsof (the §0 wording of PR #38461) dev.ts:570, ui/apps/console/vite.config.ts:1716, PR #38461 head .claude/skills/dogfood-verification/SKILL.md §0
e-pillar-notes packages/cli/src/commands/serve.ts:4741 Studio surface at /_console/studio/PKG/PILLAR /_console/studio/PKG studioPillarRedirectModel.ts:102-111; ui/apps/console/src/components/StudioRoute.tsx:329
e-pillar-notes packages/plugins/plugin-dev/src/dev-plugin.ts:741 same same same
e-pillar-notes packages/apps/studio/src/index.ts:24 same same same
e-pillar-notes (N6) ui/apps/console/src/components/StudioRoute.tsx:285 /studio/:packageId lands on its object list lands on its 概览 Overview (a pair's, its base's) studioPillarRedirectModel.ts:102-111, studioOverviewAddress.ts:47
e-pillar-notes (N6) StudioRoute.tsx:219 the recent entry's bare href lands on the object list lands on its 概览 Overview (/studio/PKG/overview) same
e-pillar-notes (N5) platform-core.json:665, :674 quote and use /_console/studio/PKG/PILLAR /_console/studio/PKG (665 quotes the corrected boot note, so it stays verbatim) same
e-pillar-notes (N5) platform-core.json:746 change record says the note named /_console/studio/PKG/PILLAR kept as history (true when written), with a parenthesis that the family has since retired and the live address is /_console/studio/PKG same

No carried line was already true on main; none was dropped.

Tests

No test pins any of these lines. Gates: see Verification.

Acceptance notes

  • check-governed-merges --test on the eight paths: NOT governed (0 of 8 paths hit the register), so Tier S.
  • skip-changeset: every changed line in a published package is a comment (serve.ts, dev-plugin.ts, studio/src/index.ts) or sits in a file outside its package's files[] (build-dist.sh; packages/console ships dist, README.md, CHANGELOG.md). The rest are QA documents and a private UI app.
  • Same family, outside this surface: several QA area files still tell a runner to export OS_PORT as well as -p (areas/automation.json:140, :1766, :2121, :2237, :2393, :3005; areas/api-backend.json:4030, :4120; areas/access-security.json:3517). The extra export is harmless, and automation.json:1504 is a dated change record. Reported to the seat, not touched here.
  • .claude/skills/dogfood-verification/SKILL.md and its ratchet row are PR docs(dogfood-verification): re-measure the boot steps against today's app #38461's and are not touched.

Verification

Two-minute check: git grep -nE 'studio/.pkg./.pillar.' on this head returns only the history line platform-core.json:746, which now names the live address.

Local gates at head 0a5b9c812a (merge base 4d07ddbf5d; origin/main merged, already up to date). node scripts/pm/dispatch-gates.mjs --commands derived 69 commands; all 69 ran in one batch under os-verify-lock.sh (lock verdict: VERDICT command-exit 0, held 1233s on a shared box).

60 exit 0 · 8 NOT MEASURED (prerequisite) · 1 NOT MEASURED (unbuilt spec)
  • 60 commands exit 0, among them check:platform-checklist, check:doc-authoring, check:issue-citations, check:nul-bytes, check:published-files, check:changeset-no-major, check-drift-comment, check-affected-docs, check-adr-links.
  • NOT MEASURED, exit 3 PREREQUISITE NOT MET (no dist/ in this fresh worktree; the diff is comments and text only): @objectstack/lint check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:i18n, check:i18n-coverage, check:i18n-walk-parity, check:lean-entry-closure, check:sourcemap-no-sources-content.
  • NOT MEASURED: pnpm --dir ui exec vitest run scripts/ exited 1 with 22 of 174 files failing, all on an unbuilt packages/spec/dist (for example the spec-symbol ledger tests read an empty name set). The one script there that reads StudioRoute.tsx (check-eager-closure-budget.mjs) reads imports, not comments. CI's Test UI runs it on a built tree.
  • dispatch-gates --ran with exit codes recorded: 69 derived famil(ies) accounted for — 61 run, 8 NOT-MEASURED (8 DERIVED from a recorded exit 3).
  • check-governed-merges --test on the eight paths: 0 of 8 path(s) hit the register ... NOT governed.
  • overlap-check: VERDICT clean exit 0.

CI families are read from this PR's check-runs, not re-run locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn


Generated by Claude Code

The stale-console-bundle row names the 503 and its remedy text, the
build-dist.sh header no longer says the root build runs it, two QA
restatements follow the dogfood-verification boot step, and the Studio
pillar notes name the live /_console/studio/<pkg> address.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 29, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 4 package(s): @objectstack/studio, @objectstack/cli, @objectstack/console, @objectstack/plugin-dev, touching 1 documentable anchor(s). ⚠️ 2 changed file(s) yielded no anchor (packages/apps/studio/src/index.ts, packages/console/build-dist.sh), 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/kernel/services-checklist.mdx (via DevPlugin (symbol, a top-level class))

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

  • content/docs/releases/v18/18-6.mdx (via DevPlugin (symbol, a top-level class))

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
  • 2 changed file(s) yielded no anchor (packages/apps/studio/src/index.ts, packages/console/build-dist.sh) — pages documenting those are invisible to this run
  • 1 anchor(s) matched too much of the corpus to be a work list: os serve (command, 52 pages)
  • 1 name(s) were too generic to anchor anything (single lowercase words)
  • 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 — 52 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 d89d3e2356688c2bc5e82c5ff395d488bc3fcab9 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 4c4a6147edd32987a1209e52cd6ba599552dc619 — the merge of head 0a5b9c812a6c84433aa4f55a0228db335a4a1ef2 into base d89d3e2356688c2bc5e82c5ff395d488bc3fcab9, 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 4c4a6147edd32987a1209e52cd6ba599552dc619 && git checkout 4c4a6147edd32987a1209e52cd6ba599552dc619
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin d89d3e2356688c2bc5e82c5ff395d488bc3fcab9 0a5b9c812a6c84433aa4f55a0228db335a4a1ef2 && git checkout -B drift-repro d89d3e2356688c2bc5e82c5ff395d488bc3fcab9 && git merge --no-ff 0a5b9c812a6c84433aa4f55a0228db335a4a1ef2

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

⚠️ 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 d89d3e2356688c2bc5e82c5ff395d488bc3fcab9 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

This branch has not been deployed

No deployments
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 size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants