Repository navigation
docs(dogfood-verification): re-measure the boot steps against today's app - #38461
Conversation
… app Each step that no longer matches the tree is brought up to date: the port choice, the launch.json entry (the file is tracked now), the -p port that os dev exports for its own compile, the Console app path (package id first, the name an alias, Studio its own surface), the HMR console proxy (no VITE_SERVER_URL), and the delivery steps (dev-worktree.sh, the model-free trailer pair, the relay's pr_create). Growth is paid by deleting an incident narrative and a duplicated shell rule. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
…nal; lower the ratchet row The `server bound to port` line prints only when the requested port was taken, so the step reads it as the shift signal rather than a line every boot prints. The file shrank from 9525 to 9522 bytes; its ceiling follows. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Final green head · 2026-11-29T03:25Z · area o5-fleet
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-fleet) · read 2026-11-29T03:28Z · Head-sha: This is the first L1 record on this PR, a full review. Checklist (l1-face
Readings that hold, at this head
Must-fix
Nit (no action owed): §0 drops 3001, and the evidence row speaks only to 3000 and 3210. Left to the contract review: After the fix: a delta L1 at the new head. |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Contract reviewServed-tier: PR #38461, card #35238 item (e), rules face. Inputs read: the card body and all 8 comments (claim 7249014105, split note 7249071164, os-dev report 7249843186, carrier note 7249956033), the PR body, its one comment (7250046383), its 2 files, the net diff against merge-base Ruling trace: the card body quotes the maintainer's 「同意」 (2026-11-18 16:19Z) to the fleet skills review and its order, and the step 7 words 「cloud 是不是应该放回cloud仓库」「包括 hotcrm 每个仓库的规则都在自己仓库」. The record of both is comment 6988162359 on epic #35205 (2026-11-18T18:45Z), which says the order is children #35229 to #35238. The step 7 words rule where repo rules live. They say nothing about the content of dogfood-verification, so item (e) stands on the 「同意」 to the order alone, and no hunk here copies a ruling. The PR body rightly carries no ① Derived judgmentsEach changed instruction, against the tree. §0 起飞前
§1 启动
§2 构建/运行时模型
§5 交付
§6: the second bullet is folded into the first as a clause, not removed. The PR body calls it a deletion. The rule is still in the file. Ratchet row: the file is 9522 bytes at the head ( The explicit answer on the rule-change line: the tree supports
Landing tier that follows. The only governed hit is the skill file, on the How the body should read. Line 6 becomes the bare line with the value ② Semver level
③ Boundary flagsCheck-runs on the head: 49 in all, 26 success, 23 skipped, none red and none pending. Deviations in os-dev report 7249843186:
Open questions in the report, both about hotcrm:
Out-of-scope notes, both real, both for a follow-up and not this PR:
SQL push-down: no query and no code path in the diff, nothing to check. Author: the PR's The Security-touching line reads Reviewer note: one unplanned ④ Design judgmentAccepted against the card's Done-when: "dogfood-verification matches today's app". S1 (should-fix) — §1 line 44 puts Studio at Everything else in the two scoped files holds against the code it cites, as ① lists line by line. The ratchet row agrees with the contract in its script header: a lowering, equal to the landed size, with no raise.
S1 owes a delta review of its fix. The new head needs its own record, with the verified line written again. Implemented-by: VERDICT: PASS |
…ep7-hotcrm-dogfood
…age path The pillar segment under /_console/studio/PKG is retired: the four old pillars only redirect and any other segment is the not-found state. The bare package address is the live one and opens the package's Overview. The file shrinks to 9513 bytes and its ceiling row follows. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Final green head (round 2) · 2026-11-29T04:19Z · area o5-fleet
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-fleet) · read 2026-11-29T04:21Z · Head-sha: This is a delta from my REWORK 7250076380 at
Owed: nothing from L1. After the delta contract L2, the tier it reads decides who lands it. |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Contract reviewServed-tier: DELTA review from Inputs read: record 7250178674 and L1-a REWORK 7250076380 on the PR; carrier comments 7250083793 and 7250187648 on #35238; the round-2 diff of the two scoped files ( What round 2 is: a merge of ① Derived judgments
② Semver level
③ Boundary flagsCheck-runs on the head: 48 in all, 26 success, 22 skipped, none red and none pending. The PR is open, draft, and The three items of L1-a REWORK 7250076380:
The acceptance notes' carriers are real. Both comments exist on issue #35238, written by The note "NOT MEASURED: §3 and §4" is unchanged and still honest. Round 2 touches neither section. The Studio address was not opened in a browser in either round (the dev's boot had no Console build), so its reading here rests on the route code alone. Round-1 nits: N1 is carried as Item e-restatements. N2 is answered in the body, as ① reads. N3 is carried as Item e-pillar-notes. SQL push-down: no query and no code path in the diff, nothing to check. The Security-touching line reads ④ Design judgmentAccepted against the card's Done-when: "dogfood-verification matches today's app".
The fix is the one record 7250178674 asked for. §1 names the bare package address, which the route table serves and the product itself treats as a package's address ( No must-fix, no should-fix.
Nits only. This round owes no further delta. Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr 席位核对 — ACCEPT · repo:objectstack#5 · Head-sha
|
…ai#38476) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_ Part of objectstack-ai#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 objectstack-ai#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 objectstack-ai#38461) | `dev.ts:570`, `ui/apps/console/vite.config.ts:1716`, PR objectstack-ai#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 objectstack-ai#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). <details><summary>60 exit 0 · 8 NOT MEASURED (prerequisite) · 1 NOT MEASURED (unbuilt spec)</summary> - 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`. </details> CI families are read from this PR's check-runs, not re-run locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Leehom · project thread
Refs #35238 (item e)
Clause-②: no
Metadata-protocol: none
Rule-change: none
维护者速读
Round 2 (head 60478bd): S1 fixed. §1 now gives Studio's live address,
/_console/studio/PKG, not the retired pillar form, and the ratchet row was lowered to the landed 9513 bytes.origin/mainis merged in (merge, no rebase). Body corrections: the rule-change line declares none, as the contract review (7250178674) verified; the 维护者速读 line says the seat lands this PR; the §6 claim now says folded, not deleted; the acceptance notes now name their carriers on #35238.What changes
.claude/skills/dogfood-verification/SKILL.mdwas walked step by step against the tree at0c1b2ffe30and against a real showcase boot from this branch (objectstack dev --ui --seed-admin -p 41873 -d file:SCRATCH/data.db, in a fresh worktree, after a cached build of the showcase's dependency closure). What the skill is for is unchanged. Every step that no longer matched is listed with what moved it:.claude/launch.jsonentries already useos devdefaults to 3000 (packages/cli/src/commands/dev.ts,requestedPort = port ?? '3000') and the Console dev proxy targets it (ui/apps/console/vite.config.ts, the/apiproxy).git grep 3210finds no port use outside this skill..claude/launch.jsonis tracked at0c1b2ffe30(git ls-files), and.claude/**is a governed surface.OS_PORTOS_PORTtoo,-palone is not enough"-pis exported byos devitself for its compile; the trap is--no-compileand a shifted port, both in RUNNER's connector entrydev.tsexports the flag's port before the compile (portFlagEnv,packages/cli/src/utils/port-contract.ts:OS_PORTandPORT). Measured: withOS_PORTunset in the shell,-p 41873alone gaveGET /api/v1/meta/connector/showcase_status_apiabaseUrlofhttp://127.0.0.1:41873./_console/apps/APPID, e.g.com.objectstack.setup,com.objectstack.studio/_console/studio/PKG(the package's Overview; the pillar segments are retired)matchAppBySegment(ui/packages/app-shell/src/utils/appRoute.ts) tries_packageId, thenname. Measured:GET /api/v1/meta/applistedshowcase_app/com.example.showcase,setup/com.objectstack.setup,account/com.objectstack.account, and no Studio. Studio's bare package address opens the package's 概览 Overview, and the old pillar segments only redirect (ui/packages/app-shell/src/views/studio-design/studioPillarRedirectModel.ts).?id=?id=showcase_appreturns the app,?id=com.example.showcaseand?id=studioreturn{"type":"app","items":[]}.VITE_SERVER_URL=… DEV_PROXY_TARGET=… pnpm --filter @object-ui/console devDEV_PROXY_TARGET=…only, browse:5180; ⛔ noVITE_SERVER_URLVITE_SERVER_URLset the Console calls the server cross-origin and skips the proxy (ui/apps/console/src/App.tsxand siblings read it as an absolute base). RUNNER records QA run #33096: 401 that way, 200 through the proxy. AGENTS.md (Fast iteration onui/src) names the proxy form only./tmp;git worktree add … /tmp/pr; aCo-Authored-By:trailer; "dev container uses the REST endpoint";git worktree remove /tmp/prissue-N/;dev-worktree.sh; the model-free trailer pair; the relay'spr_create;rm -rf TREE/node_modules && git worktree remove TREE.claude/agents/os-dev.md(basic rule 1, resource rule 4, rule 3's write channel) and AGENTS.md (commit trailer). The pre-push hook refused this PR's own first commit for a card relation in its message.Paid for by deletion, so the file shrinks 9525 → 9513 bytes and its ceiling row follows (
scripts/pm/check-skill-line-ratchet.mjs, 9526 → 9513): an incident narrative in §2 (AGENTS.md: rules carry no incident narrative), §6's second bullet folded into the first as one clause (it repeated §5's explicit-paths rule, which it now points at), §0's PR bullet cut down to a pointer at §5, and the bullets this PR rewrote are no longer hard-wrapped (the ratchet counts bytes and allows full lines).Re-measured and unchanged:
/api/v1/healthanswers 200; the seededadmin@objectos.ai/admin123signs in (200), and the boot says "seeded on empty DB";/api/settingsis 200 signed in and 401 without a session;pkg.mainisdist/index.jsfor runtime, objectql, rest and cli;pnpm console:buildbuildsui/apps/consoleand copies it intopackages/console/dist(turbo.json:@objectstack/console#build:distdepends on@object-ui/console#build); that dist carries no SHA stamp; ADR-0124 is the server-enforces record §3 cites.Declared none because every changed hunk is a boot or delivery process step. None changes what an agent may do without the maintainer, what gets done or in what order, or what must go to him. The
OS_PORTstep changed becauseos devchanged. §5 keeps its one authority sentence: ready, queue and merge belong to the dispatching seat. The contract review on this PR verified the same value.Read these first (by risk)
-pbullet: it replaces an instruction, it does not only re-point it.os-dev.mdand the relay.Tests
Text only: no code, no test. The ratchet row is the only script edit.
Local gates on head 60478bd (after merging origin/main): 39 derived, 39 run, all exit 0
node scripts/pm/dispatch-gates.mjs --commandsderived 39 commands for this diff against merge base2052c8995a. All ran in one batch underscripts/pm/os-verify-lock.sh(slotissue-35238; lock VERDICTcommand-exit 0). One gate,check:doc-formula-expressions, first exited 3 (PREREQUISITE NOT MET:@objectstack/formulaand@objectstack/lintwere not built in the recreated worktree). It passed under the lock after building them.--ranreconciliation: "39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED (a DERIVED zero — all 39 recorded an exit code and none of them is 3)".node scripts/check-closing-keyword-parity.mjs:: exit 0node scripts/check-closing-keyword-parity.mjs --self-test:: exit 0node scripts/check-comment-mask-corpus.mjs:: exit 0node scripts/check-declaration-mirrors.mjs:: exit 0node scripts/check-declaration-mirrors.mjs --self-test:: exit 0node scripts/check-self-test-wired.mjs:: exit 0node scripts/check-self-test-wired.mjs --self-test:: exit 0node scripts/check-self-test-workflow-commands.mjs:: exit 0node scripts/check-self-test-workflow-commands.mjs --self-test:: exit 0node scripts/check-whole-set-label-write.mjs:: exit 0node scripts/check-whole-set-label-write.mjs --self-test:: exit 0node scripts/ci/plan-test-core-shards.mjs --self-test:: exit 0node scripts/pm/bare-root-worklist.mjs --self-test:: exit 0node scripts/pm/check-harness-current.mjs --self-test:: exit 0pnpm --filter @objectstack/lint run check:doc-formula-expressions:: exit 0pnpm check:adr-anchors:: exit 0pnpm check:agent-test-spelling:: exit 0pnpm check:bash32-floor:: exit 0pnpm check:ci-filter-parity:: exit 0pnpm check:cli-command-ids:: exit 0pnpm check:cross-package-test-inputs:: exit 0pnpm check:doc-authoring:: exit 0pnpm check:driver-memory-census:: exit 0pnpm check:entry-guard:: exit 0pnpm check:gitlink-declared:: exit 0pnpm check:nul-bytes:: exit 0pnpm check:parse-guard:: exit 0pnpm check:pm-dispatch-gates:: exit 0pnpm check:pm-governed-merges:: exit 0pnpm check:pm-record-recognisers:: exit 0pnpm check:pm-settings-deny-roster:: exit 0pnpm check:pm-skill-ratchet:: exit 0pnpm check:pnpm-filter-targets:: exit 0pnpm check:pnpm-flag-spellings:: exit 0pnpm check:ratchet-remedy-authority:: exit 0pnpm check:refd-timer-probe:: exit 0pnpm check:scripts-symbol-anchors:: exit 0pnpm check:skill-frame-sync:: exit 0pnpm check:watch-hint-literal:: exit 0CI runs the full farm; this PR does not re-run it locally.
overlap-checkbefore each push: clean againstorigin/mainand against #38444, which also edits the ratchet script.Acceptance notes
Each finding below has a carrier on #35238, for one small follow-up PR
Part ofthat card after this one. This PR edits none of those files./_console/answered 503 with the remedy text ("Console dist not found … Build it withpnpm console:build"), and the boot warned the same. RUNNER'sstale-console-bundletrap row still says "a 404/_console/".packages/console/build-dist.shsays to run it through "pnpm console:build, or the rootpnpm build". The package declares onlybuild:dist, so the rootpnpm buildnever runs it, which is what the boot warning says too.docs/qa/studio-benchmark/SCENARIO.md:15anddocs/qa/platform-checklist/areas/platform-core.json:16still quote the §0 wording this PR removes ("OS_PORTexported, not only-p"; "not 3000/3001/3210")./_console/studio/PKG/PILLARaddress still stands in comments inpackages/cli/src/commands/serve.ts,packages/plugins/plugin-dev/src/dev-plugin.tsandpackages/apps/studio/src/index.ts, and is quoted inRUNNER.md.Verification
Two-minute check:
pnpm check:pm-skill-ratchetprints.claude/skills/dogfood-verification/SKILL.md is 9513 bytes (ceiling 9513; headroom 0); then read §0 and §2 of the skill against the table above.Generated by Claude Code