Repository navigation
docs(pm-dispatch): a zone boundary change is the seat's routing call, not a maintainer decision - #38444
Conversation
area-lease.md names the zone boundary among the routing acts the seat rules alone (widen, narrow, merge, release), each recorded by rewriting the lease table. A card that touches files outside its zone's lease goes to the seat, which picks one of three routes: widen the zone, let the zone claim that card alone on a file-level surface after the in-flight re-check, or route it to another seat. It is not presented to the maintainer and gets no independent review; the veto window stays. For a shared hot file the default is card-by-card claims with the lease paths unchanged. SKILL.md lists the zone boundary in the no-escalation class beside task order; the two bullets under it are joined and reworded to pay for the bytes. The area-lease.md ratchet row moves to the landed size. Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Final green head · 2026-11-29T02:19Z · area o5-fleet
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-fleet) · read 2026-11-29T02:21Z · Head-sha: This is the first L1 record on this PR, a full review. Checklist (l1-face
My readings, at this head
Nit (no action owed): the row comment reads "raised 6586 → 6990 (+404, the landed bytes)". The file at the merge base is 6562 B, so the landed bytes are +428. The +404 is the ceiling's move, after spending the 24 B of headroom the row had. The number is right, and the label "the landed bytes" is not. Left to the contract review, as the area asked: Owed before hand-off: the contract-tier L2 on this head (running). Then the seat does the Tier H hand-off. |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Contract reviewServed-tier: ① Derived judgmentsThe verified line reads The ruling and where it is recorded:
Each changed rule against those words:
Conflicts with other rules in pm-dispatch, read at this head:
Attempts to break it:
No accept-set, published schema or export changes. ② Semver level
③ Boundary flagsCeiling raise of +404 bytes on
Open question 2 (do the routes and the hot-file default count as a copy): no. Answered in ①. Two
No merge of
Out-of-scope note,
Other dev flags.
④ Design judgment
For the seat that adopts this record, none of it moving the head:
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr 维护者速读
席位意见:同意合并。两处请你一并知悉,均不挡合并:(N1) 「转他席」没写何时该转,由席位按情形判断;(N2) 选「只认领此卡」后,这张卡是否仍可再拆、并、延或改归区,文本未写明,席位按原有路由权处理。两处若你要写死,另开卡(已立跟进 #38455)。 席位核对 — ACCEPT · repo:objectstack#5 · Head-sha
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr Approval requested (Tier H,
|
… app (objectstack-ai#38461) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_ Refs objectstack-ai#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/main` is 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 objectstack-ai#35238. ## What changes `.claude/skills/dogfood-verification/SKILL.md` was walked step by step against the tree at `0c1b2ffe30` and 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: | Step | Was | Now | Evidence | | --- | --- | --- | --- | | §0 own port | avoid 3000/3001/3210 | avoid 3000 and the ports the tracked `.claude/launch.json` entries already use | `os dev` defaults 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 `/api` proxy). `git grep 3210` finds no port use outside this skill. | | §0 launch.json | add a named entry for this worktree | same, and ⛔ never commit it | `.claude/launch.json` is tracked at `0c1b2ffe30` (`git ls-files`), and `.claude/**` is a governed surface. | | §0 `OS_PORT` | "export `OS_PORT` too, `-p` alone is not enough" | `-p` is exported by `os dev` itself for its compile; the trap is `--no-compile` and a shifted port, both in RUNNER's connector entry | `dev.ts` exports the flag's port before the compile (`portFlagEnv`, `packages/cli/src/utils/port-contract.ts`: `OS_PORT` and `PORT`). Measured: with `OS_PORT` unset in the shell, `-p 41873` alone gave `GET /api/v1/meta/connector/showcase_status_api` a `baseUrl` of `http://127.0.0.1:41873`. | | §1 Console paths | `/_console/apps/APPID`, e.g. `com.objectstack.setup`, `com.objectstack.studio` | the package id is the address and the app name an alias; Studio is not an app, it lives at `/_console/studio/PKG` (the package's Overview; the pillar segments are retired) | `matchAppBySegment` (`ui/packages/app-shell/src/utils/appRoute.ts`) tries `_packageId`, then `name`. Measured: `GET /api/v1/meta/app` listed `showcase_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`). | | §1 `?id=` | a long paragraph that repeats RUNNER | same warning, compressed, pointing at RUNNER's entry | Measured: `?id=showcase_app` returns the app, `?id=com.example.showcase` and `?id=studio` return `{"type":"app","items":[]}`. | | §2 HMR console | `VITE_SERVER_URL=… DEV_PROXY_TARGET=… pnpm --filter @object-ui/console dev` | `DEV_PROXY_TARGET=…` only, browse `:5180`; ⛔ no `VITE_SERVER_URL` | With `VITE_SERVER_URL` set the Console calls the server cross-origin and skips the proxy (`ui/apps/console/src/App.tsx` and siblings read it as an absolute base). RUNNER records QA run objectstack-ai#33096: 401 that way, 200 through the proxy. AGENTS.md (*Fast iteration on `ui/` src*) names the proxy form only. | | §5 delivery | patch in `/tmp`; `git worktree add … /tmp/pr`; a `Co-Authored-By:` trailer; "dev container uses the REST endpoint"; `git worktree remove /tmp/pr` | patch under the scratchpad's `issue-N/`; `dev-worktree.sh`; the model-free trailer pair; the relay's `pr_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/health` answers 200; the seeded `admin@objectos.ai` / `admin123` signs in (200), and the boot says "seeded on empty DB"; `/api/settings` is 200 signed in and 401 without a session; `pkg.main` is `dist/index.js` for runtime, objectql, rest and cli; `pnpm console:build` builds `ui/apps/console` and copies it into `packages/console/dist` (`turbo.json`: `@objectstack/console#build:dist` depends 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_PORT` step changed because `os dev` changed. §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) 1. §0, the `-p` bullet: it replaces an instruction, it does not only re-point it. 2. §2, the HMR command: the one command an agent copies verbatim. 3. §5: the delivery steps now defer to `os-dev.md` and the relay. ## Tests Text only: no code, no test. The ratchet row is the only script edit. <details><summary>Local gates on head 60478bd (after merging origin/main): 39 derived, 39 run, all exit 0</summary> `node scripts/pm/dispatch-gates.mjs --commands` derived 39 commands for this diff against merge base `2052c8995a`. All ran in one batch under `scripts/pm/os-verify-lock.sh` (slot `issue-35238`; lock VERDICT `command-exit 0`). One gate, `check:doc-formula-expressions`, first exited 3 (PREREQUISITE NOT MET: `@objectstack/formula` and `@objectstack/lint` were not built in the recreated worktree). It passed under the lock after building them. `--ran` reconciliation: "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 0 - `node scripts/check-closing-keyword-parity.mjs --self-test` :: exit 0 - `node scripts/check-comment-mask-corpus.mjs` :: exit 0 - `node scripts/check-declaration-mirrors.mjs` :: exit 0 - `node scripts/check-declaration-mirrors.mjs --self-test` :: exit 0 - `node scripts/check-self-test-wired.mjs` :: exit 0 - `node scripts/check-self-test-wired.mjs --self-test` :: exit 0 - `node scripts/check-self-test-workflow-commands.mjs` :: exit 0 - `node scripts/check-self-test-workflow-commands.mjs --self-test` :: exit 0 - `node scripts/check-whole-set-label-write.mjs` :: exit 0 - `node scripts/check-whole-set-label-write.mjs --self-test` :: exit 0 - `node scripts/ci/plan-test-core-shards.mjs --self-test` :: exit 0 - `node scripts/pm/bare-root-worklist.mjs --self-test` :: exit 0 - `node scripts/pm/check-harness-current.mjs --self-test` :: exit 0 - `pnpm --filter @objectstack/lint run check:doc-formula-expressions` :: exit 0 - `pnpm check:adr-anchors` :: exit 0 - `pnpm check:agent-test-spelling` :: exit 0 - `pnpm check:bash32-floor` :: exit 0 - `pnpm check:ci-filter-parity` :: exit 0 - `pnpm check:cli-command-ids` :: exit 0 - `pnpm check:cross-package-test-inputs` :: exit 0 - `pnpm check:doc-authoring` :: exit 0 - `pnpm check:driver-memory-census` :: exit 0 - `pnpm check:entry-guard` :: exit 0 - `pnpm check:gitlink-declared` :: exit 0 - `pnpm check:nul-bytes` :: exit 0 - `pnpm check:parse-guard` :: exit 0 - `pnpm check:pm-dispatch-gates` :: exit 0 - `pnpm check:pm-governed-merges` :: exit 0 - `pnpm check:pm-record-recognisers` :: exit 0 - `pnpm check:pm-settings-deny-roster` :: exit 0 - `pnpm check:pm-skill-ratchet` :: exit 0 - `pnpm check:pnpm-filter-targets` :: exit 0 - `pnpm check:pnpm-flag-spellings` :: exit 0 - `pnpm check:ratchet-remedy-authority` :: exit 0 - `pnpm check:refd-timer-probe` :: exit 0 - `pnpm check:scripts-symbol-anchors` :: exit 0 - `pnpm check:skill-frame-sync` :: exit 0 - `pnpm check:watch-hint-literal` :: exit 0 </details> CI runs the full farm; this PR does not re-run it locally. `overlap-check` before each push: clean against `origin/main` and against objectstack-ai#38444, which also edits the ratchet script. ## Acceptance notes Each finding below has a carrier on objectstack-ai#35238, for one small follow-up PR `Part of` that card after this one. This PR edits none of those files. - Item e-runner (comment 7250083793 on objectstack-ai#35238): a fresh worktree has no Console build. `/_console/` answered **503** with the remedy text ("Console dist not found … Build it with `pnpm console:build`"), and the boot warned the same. RUNNER's `stale-console-bundle` trap row still says "a 404 `/_console/`". - Item e-build-dist (comment 7250083793 on objectstack-ai#35238): `packages/console/build-dist.sh` says to run it through "`pnpm console:build`, or the root `pnpm build`". The package declares only `build:dist`, so the root `pnpm build` never runs it, which is what the boot warning says too. - Item e-restatements (comment 7250187648 on objectstack-ai#35238): `docs/qa/studio-benchmark/SCENARIO.md:15` and `docs/qa/platform-checklist/areas/platform-core.json:16` still quote the §0 wording this PR removes ("`OS_PORT` exported, not only `-p`"; "not 3000/3001/3210"). - Item e-pillar-notes (comment 7250187648 on objectstack-ai#35238): the retired `/_console/studio/PKG/PILLAR` address still stands in comments in `packages/cli/src/commands/serve.ts`, `packages/plugins/plugin-dev/src/dev-plugin.ts` and `packages/apps/studio/src/index.ts`, and is quoted in `RUNNER.md`. - NOT MEASURED: §3 and §4 (driving a browser). This session had no preview browser, so those steps were read against the code, not run. The HMR dev server was not started either; the §2 change rests on the proxy config and RUNNER's measured run. ## Verification Two-minute check: `pnpm check:pm-skill-ratchet` prints `.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](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_ <!-- signed: repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Leehom · project thread
Fixes #38390
Clause-②: no
Metadata-protocol: none
Rule-change: yes
Ruling-ref: 「分区扩大这种问题用fable分析没有意义,座位可以自己决定,立卡更新skills」 — the maintainer, in the session of seat repo:objectstack#8, as quoted in the body of the rule card (filed 2026-11-28T23:20Z) and in triage record 7247665159 (2026-11-28T23:47Z)
维护者速读
File surface:,认领前--inflight复查;或转给别的席位);共享热文件默认逐卡认领、租约路径不动;以及area-lease.md字节上限上调 404(6586 到 6990)。What changes
Rule text only, on the governed face. Three files.
.claude/skills/pm-dispatch/references/area-lease.md, 〈区内规则〉 (card items 1 to 3). One line changed, two lines added, directly above the line that says which option sets get an independent review.Before:
After:
.claude/skills/pm-dispatch/SKILL.md, 〈升级与决策〉 (card item 4). The zone boundary is added to the no-escalation class beside task order.Before:
After:
The rule change is the one item
区边界;(+10 bytes). The other two edits pay for it and change no rule: the second and third bullets were one sentence split across two bullets and are joined (-3 bytes), and同属不升级类becomes同属此类, whose referent is the line directly above (-6 bytes).scripts/pm/check-skill-line-ratchet.mjs: thearea-lease.mdrow moves 6586 to 6990, the landed size. TheSKILL.mdrow is not moved.Byte budget
.claude/skills/pm-dispatch/references/area-lease.md.claude/skills/pm-dispatch/SKILL.mdLines:
area-lease.md66 to 68,SKILL.md322 to 321.SKILL.mdis paid by deletion inside the file (+10 for the item, -9 by the join and the reworded referent); the remaining +1 comes out of the 3 bytes of headroom the file had. Its row cannot rise in any case: it is the declared source of the cross-file move intodecision-analysis.md, which has 2 bytes of slack.area-lease.mdtakes a ruled raise of +404 bytes, the measured delta of the ruled text (+428) less the 24 bytes of headroom the file had. The ruling of record that orders this text into the skills is the one on theRuling-ref:line above (「立卡更新skills」); its record is the rule card's body and triage record 7247665159. No deletion pays for it: the file has no wrapped line to join, and the new lines displace no existing rule, so the only other currency was cutting rules the ruling does not name.Tests
No test pins this text. The gate that reads it is the byte ratchet (self-test and scan), run locally at the final head; see Verification.
Acceptance notes
Rule-change: yes, corrected fromruledby the seat after the contract review): the ruling is quoted by the card and by the triage record, with no comment by the maintainer's own account to cite. If the raise is refused, the alternative is to pay 404 bytes by deleting or tightening other lines ofarea-lease.md, which this PR does not attempt.SKILL.md: the dispatch named one item in the no-escalation class; the two bullets under it were also touched, to pay for the bytes. They are the continuation of the same passage and no rule in them changes.references/lanes/objectstack.mdtells a seat to read the other seats' lease tables before it opens, splits, merges or takes over a zone. It does not name widening. A seat that widens a zone under the new rule meets the same path-intersection question. That file is outside this card's surface.check-handover.mjs,overlap-check.mjs, the lease table's shape, the mailbox keys. The subject of the card queued behind this one (the decision-analysis served-tier line) is not touched either.Verification
Read first, by risk:
.claude/skills/pm-dispatch/references/area-lease.md, the second new line: it is the one that takes a question away from the maintainer and from the independent review..claude/skills/pm-dispatch/SKILL.md, the joined bullet: check that nothing but the join and the referent changed.scripts/pm/check-skill-line-ratchet.mjs, thearea-lease.mdrow: the raise and its citation.Two-minute check:
node scripts/pm/check-skill-line-ratchet.mjsexits 0 and printsarea-lease.md is 6990 bytes (ceiling 6990; headroom 0)andSKILL.md is 33349 bytes (ceiling 33351; headroom 2).Local gates at head 53f0817
node scripts/pm/dispatch-gates.mjs --commandsderived 44 commands from the three changed paths. All 44 were run underscripts/pm/os-verify-lock.sh(slotissue-38390), each exit code captured before any pipe; every hold endedVERDICT command-exit 0.pnpm --filter @objectstack/lint run check:doc-formula-expressionsfirst answered PREREQUISITE NOT MET (exit 3:@objectstack/formulanot built); afterpnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lint --concurrency=2(exit 0, 5 tasks) it exited 0.node scripts/pm/dispatch-gates.mjs --ran: "44 derived famil(ies) accounted for — 44 run, 0 NOT-MEASURED".pnpm check:pm-skill-ratchetexit 0: self-test 116 cases pass;area-lease.md is 6990 bytes (ceiling 6990; headroom 0);SKILL.md is 33349 bytes (ceiling 33351; headroom 2); "declared cross-file moves: 1, total ceilings down 2 bytes".pnpm check:pm-skill-id-lintexit 0 (134 files clean),pnpm check:pm-governed-proseexit 0,pnpm check:skill-frame-syncexit 0,pnpm check:nul-bytesexit 0,pnpm check:pm-dispatch-gatesexit 0 (fast tier, 2459 cases pass).pnpm check:skill-frame-freshnessexit 0 (the decision frame is unchanged againstorigin/main).node scripts/pm/overlap-check.mjsbefore each push: exit 0, "VERDICT clean".f42bcc18c6andorigin/mainhas moved since; it is not merged in (no conflict). One of the commits that landed edits the ratchet script too, so the ratchet was also read on the merged tree (this head merged withorigin/mainat3579cf136d, in a throwaway worktree, never pushed): self-test and scan exit 0 with the same two lines.test:repo, the type-check lanes, the artifact-roster and whole-root families the derivation names as outside its list.