Repository navigation
Description
repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft
Filing gate: ① violation of a declared contract (class b), measured. Follow-up named by review record 6921035514 (N2) for the deviation PR #34347 declares under "Not moved" (review S1): the one-holder cell was pinned, not moved.
Seam: spec:ruling 6893582352 (the environment's own entry answers first) → runtime:packages/metadata-protocol/src/protocol-meta-item-reads.ts#refuseAmbiguousBareDocRead and readMetaItem step 2 (the bare doc read's code step) | consumer: the /meta/doc/NAME, /layers and /published doors of the dispatcher and RestServer.
Symptom
One enabled package A ships doc N, and a stamp-less runtime registration of N (no _packageId, no _provenance) sits in the registry's bare slot. registry.resolveItem('doc', 'N') and MetadataFacade.get answer the environment's entry. The protocol's bare plain read, /layers (as code and effective) and both /published doors answer A's doc. Two readers of one name in one environment give two different items.
Beside two or more enabled holders, #34347 makes every bare door serve the entry (ruling 6893582352). Beside one holder, the doors keep the holder: refuseAmbiguousBareDocRead returns the registry's package-less answer only when packageScopedHoldersOf('doc', N) names two or more packages, so with one holder no entry is returned, and the metadata service's copy (A's) answers step 2.
Location
packages/metadata-protocol/src/protocol-meta-item-reads.ts:refuseAmbiguousBareDocRead(the>= 2holder count),bareDocServiceCopyDisplacesEntry, andreadMetaItemstep 2.packages/metadata-protocol/src/protocol-meta-layered-reads.ts: the layered read's bare doc code layer (bareDocEnvironmentEntryis set only beside two holders)./published:packages/runtime/src/domains/meta.tsandpackages/rest/src/meta-item-history-routes.ts(their bare doc swap follows the layered read).
How it was found
Measured on the composed artifact rig (MetadataPlugin artifact door plus AppPlugin), dispatcher and RestServer, both registration orders, during #34347. It is pinned there as [measured, unresolved] one holder beside a stamp-less bare entry in packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts, and declared in .changeset/34247-exact-read-own-item-or-none.md under "Not moved". A hydrated package-less row (_provenance: 'org') beside one holder reads the same way on the bare doors, with the row as /layers overlay.
reach: GET /api/v1/meta/doc/:name (and /layers, /published) on a deployment where one installed package ships the name and a runtime registration of it carries no package. Measured.
Acceptance
- Decide first, and record the decision: whether ruling 6893582352 (the environment's own entry answers first) holds beside ONE enabled holder, as it does beside two. The ruling was argued beside two holders, and card metadata-protocol: a bare doc read of a name two packages ship, beside a package-less registry entry or hydrated row, serves the holder registered last #34248's acceptance names two or more, so the one-holder cell needs its own ruling before code changes.
- If it holds: beside one enabled holder and a stamp-less bare entry, the bare plain read,
/layers(entry ascodeandeffective) and both/publisheddoors serve the entry on both transports, in both registration orders. The holder's own address?package=Astill reads A's doc. - If it does not: the registry and
MetadataFacade.getanswer the holder in that state, so every reader agrees. The decision says which reader moves. - CONTROLs: one holder with no bare entry (the holder's doc, unchanged); two holders plus an entry (the entry, as fix(metadata-protocol)!: an exact
?package=read answers its own package's item or a 409 naming the holders, and a bare doc read beside two holders serves the environment's own entry #34347 pins); a hydrated_provenance: 'org'row beside one holder. - Declaration: the bare doors' FROM→TO for the moved reader, with
Clause-②:as measured.
Related
PR #34347 (#34247, #34248); ruling 6893582352; review records 6916685896 and 6921035514; #34041 (one enabled holder beside a disabled one); ADR-0150 D3.
Dedupe: searched open issues on 2026-11-16 for "stamp-less" doc holder (3 hits), refuseAmbiguousBareDocRead (1 hit) and "one holder" bare doc entry (19 hits); none reports the one-holder cell (closest: #34248, two or more holders; #34417, the exact address after hydration).
Activity
docs(changeset): the one-holder cell under "Not moved" names follow-u…
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
2026-11-17T08:34Z Ruled. Steve chose an option on this project's decision card for #34452 at 2026-11-17T08:26:17Z. Option text verbatim: 「全部按推荐」 — 「七张都按上面写的推荐回队开工,#33952 按包取翻译,#34427 只写文档后关卡。」. It answers the seat analysis on this card (this card is one of the seven, together with #34348). Freshness: no comment on this card is newer than that analysis, and the body was not edited after it.
Ruled: the environment's own item answers first
/metadoc doors move to agree with the registry.State:
pm:blockeduntil #34347 merges.Blocked-by: #34347
When it merges, re-measure every cell on
mainbefore any code; a cell that moved is reported here, not built over.objectstack-fleet commentedon Nov 17, 2026
director#1 · hotlong · session_b003f8166db74ab6b50632f4b346fe76
2026-11-17T19:04Z Unblocked: the blocker has landed.
objectstack#34347 merged at 2026-11-17T12:52Z as
89d5a41ff975onmain(read from the PR, verified againstorigin/main).The ruled rule stands: the environment's own item answers first, and reads and writes agree. The lane's first step is the one the card names: re-measure every cell on
mainat or after89d5a41fbefore any code; a cell that moved is reported here, not built over.pm:blocked→pm:queue(applied just before this comment). The grade is unchanged (p2).objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY
Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205
Grade: p3 (was p2) · area:package · Bug · impeded × rare · bare /meta doc doors beside one enabled holder
1 remaining item
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」
2026-11-20T05:13Z · This card now carries a fold group. Shared mechanism: multi-holder metadata-protocol reads: one name held by several packages (enabled, disabled, package-less) answers inconsistently across the doc, layered, listing and hydration doors. The cards below, unclaimed and unstarted, are closed into this one so a single claimant fixes them in one PR. Each row's source card keeps its full body; this card closes when every row below and its own ask are done. Grade stays the highest of the group.
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:package · domain:server · Bug · p2 · pm:queue · size S; rationale: beside one enabled holder, the bare
/metadoc doors serve the holder's doc while the registry andMetadataFacade.getserve another. Two readers give different answers for the same name with no error, a measured violation of a declared ruling, so p3 → p2. Graded, not chased (area:package has no seat). Audit restatement, tier 3. Recorded 2026-11-27T11:23Z.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Claim: PM loop round 1
Session:
session_01ADHkmSAjFEZHRpRq3WCj6zThread session:
session_01ADHkmQmQ1jpFsNcARMbY56Account:
os-steveBranch:
claude/project-thread-3bely6Worktree:
objectstack(the card thread's own container, fromorigin/main7213177)Domain:
domain:serverSeat:
repo:objectstack#3Area:
o3-PFile surface:
packages/metadata-protocol/src/protocol-meta-*,packages/runtime/src/domains/meta*.ts,packages/rest/src/meta-item-history-routes.ts, their tests, and root.changeset/34452-*.md(stop on breach; explain in the report)Container & model: L, mode:thread, model: default (dispatch-gates.mjs --tier: no path-derived mandate), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility:
the platform's metadata-protocol read doors in objectstack (packages/metadata-protocol, runtime, rest), so a platform card carries the fix | no platform path covers it: two readers of one name answer different items with no error | any deployment where one installed package ships a name beside a package-less registration or row reaches it through GET /api/v1/meta/doc/:name, /layers and /publishedThread-read: 7217023998
Premise: holds (ruled routes on the card; the thread re-measures every cell of #34452 and the seven folded rows on
origin/mainbefore code, per 6957994370, and a moved cell is reported, not built over)Serial constraints cleared: o3-P's in-flight #34261 (
_envdraft/layered reads, same packagemetadata-protocol) and #37915 (PR #38625, bare history read while a package is disabled) touch the protocol read doors; the thread runsoverlap-check.mjsbefore every push and queues behind a real overlap. #34348 (cell 2 widening) is serial behind this group.Fold: this card carries the fold group recorded by triage in 7031116882 (maintainer, verbatim 「只考虑合并没人认领的,没开始开发的,你负责处理」): #34440 #34417 #34346 #34258 #34190 #33904 #33127, closed into this card. Each member gets its own named criterion and commit; one PR (two only if the thread reports why first).
Prior rulings read: 6942962369 (Steve 2026-11-17 「全部按推荐」: "the environment's own item answers first, whatever number of packages hold the same name and whether they are enabled, and reads and writes give the same answer"), 6957994370 (re-measure every cell on main before code); ADR-0150 D3. No conflict.
Pre-claim lane:
packages/metadata-protocol/src/protocol-meta-item-reads.ts→domain:server(file ownership only); built in this seat's card thread.Pre-claim deps: #34347 merged (89d5a41); no open
Blocked-by:.Clause-② note: the moved reader follows the ruled side (no accept set widened); the thread measures the bare doors' FROM→TO and re-declares in its report if the measurement says otherwise.
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Claim: PM loop round 1 (amendment of 7258530754: File surface widened to the write doors and hydration; two PRs)
Session:
session_01ADHkmSAjFEZHRpRq3WCj6zThread session:
session_01ADHkmQmQ1jpFsNcARMbY56Account:
os-steveBranch:
claude/project-thread-3bely6Worktree:
objectstack(the card thread's own container, fromorigin/main7213177)Domain:
domain:serverSeat:
repo:objectstack#3Area:
o3-PFile surface:
packages/metadata-protocol/src/protocol-meta-*,packages/metadata-protocol/src/protocol-save.tsand the delete door,packages/metadata-protocol/src/protocol-package-bindings.ts,packages/metadata-protocol/src/protocol-registry-hydration.ts,packages/objectql/src/registry.ts(hydration slot only, for #33127),packages/runtime/src/domains/meta*.ts,packages/rest/src/meta-item-history-routes.ts, their tests, root.changeset/34452-*.md, and for PR 1 the ADR-0087 migration entry its narrowing owes underpackages/spec/src/migrations/entries/semantic/(stop on breach; explain in the report)Container & model: L, mode:thread, model: default (dispatch-gates.mjs --tier: no path-derived mandate), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility:
the platform's metadata-protocol read doors in objectstack (packages/metadata-protocol, runtime, rest), so a platform card carries the fix | no platform path covers it: two readers of one name answer different items with no error | any deployment where one installed package ships a name beside a package-less registration or row reaches it through GET /api/v1/meta/doc/:name, /layers and /publishedThread-read: 7258530754
Premise: holds (ruled routes on the card; the thread re-measures every cell of #34452 and the seven folded rows on
origin/mainbefore code, per 6957994370, and a moved cell is reported, not built over)Serial constraints cleared: o3-P's in-flight #34261 (
_envdraft/layered reads, same packagemetadata-protocol) and #37915 (PR #38625, bare history read while a package is disabled) touch the protocol read doors; the thread runsoverlap-check.mjsbefore every push and queues behind a real overlap. #34348 (cell 2 widening) is serial behind this group.Fold: the group in 7031116882 (maintainer, verbatim 「只考虑合并没人认领的,没开始开发的,你负责处理」), landed as two PRs: PR 1 the read doors (#34452, #34190, #34440, #33904 listing half), PR 2 the write doors and hydration (#34346, #34417, #33127, #33904 delete half). #34258: its target cell moved (now 404 on main); it is re-pointed to the measured CONTROL defect (same key, enabled holder + disabled holder + environment row reads 404) inside PR 2 when the mechanism is the same, else reported for a separate card.
Prior rulings read: 6942962369 (Steve 2026-11-17 「全部按推荐」: "the environment's own item answers first, whatever number of packages hold the same name and whether they are enabled, and reads and writes give the same answer"), 6957994370 (re-measure every cell on main before code); ADR-0150 D3. No conflict.
Pre-claim lane:
packages/metadata-protocol/src/protocol-meta-item-reads.ts→domain:server(file ownership only); built in this seat's card thread.Pre-claim deps: #34347 merged (89d5a41); no open
Blocked-by:.Clause-② note: the moved reader follows the ruled side (no accept set widened); the thread measures the bare doors' FROM→TO and re-declares in its report if the measurement says otherwise.
Ruling-ref: 6942962369 — Steve 2026-11-17 「全部按推荐」, the ruled rule verbatim: "the environment's own item answers first, whatever number of packages hold the same name and whether they are enabled, and reads and writes give the same answer". Where a folded card's acceptance contradicts it, the ruling wins and the acceptance is rewritten here (premise-and-ruling conflict, cut by the seat, not a new decision): #34440 acceptance 1 (the bare doors refuse) and #34417 acceptance 2 (the bare doors stay 409) become "the package-less environment row answers first on every bare door, both transports, both registration orders"; the holder's own address
?package=Xstill reads X.PR 1 carries a narrowing arm (#34440): the PR title takes
!, an ADR-0087 semantic entry, and one contract-review-tier L2 review before the queue (routed by the seat to a review seat; this project does not use the ceiling tier in-seat).objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmQmQ1jpFsNcARMbY56
Premise readings: #34452 and its seven folded rows, re-measured on
origin/main7213177e· 2026-11-29T16:13ZTaken before any code, per 6957994370. Measured, not read: scratch probes (not committed) drove
HttpDispatcher.dispatch,RestServer's registered handlers and the protocol in process, on the same rigs the cards name (the composed artifact rig ofmeta-disabled-holder-artifact-door.test.ts, the booted row kernel ofmeta-disabled-holder-served-stack.test.tswith a realsys_metadatastore and a reboot, and theSchemaRegistry+ protocol harness ofrest/src/meta-qualified-item-route.test.ts). Both registration orders in every cell.main/layers(code and effective) and both/publisheddoors, both transports: beta's doc;registry.resolveItemandMetadataFacade.get: the entry; in-processgetMetaItem/getMetaItemLayered: beta's doc_provenance: 'org'row/layersoverlay = the row, effective = beta's doc); registry and facade: the row/layersand?layers=trueprotocol.getMetaItemLayered({ type: 'doc', name })getMetaItemrefuses 409GET /meta/doc/NAME/diffbare and?package=alpha(REST)/diff(404)loadMetaFromDb)_provenance: 'package');?package=FIRSTplain read: 200 the environment row;/layers?package=FIRST: code = holder's doc, overlay = env row, effective = holder's doc;?package=SECOND: its own doc; bare doors: 409 naming both/published: the package-less row;/layers: 409 naming E, D, F (the disabled one too); same after a reboot/publishedthe package-less row,/layers409 naming E and D; saved pl,E,D: every bare door the package-less row; saved D,pl,E: every bare door 404 (execution read resolves empty)approveonaccount, EN enabled oncontact, env row onaccountaccount) + env rowapproveonaccount, env row (registry + stored) oncontactgetMetaItems({ type: 'action' }): only EN's;?package=_env: 409getPackageScopedItem(E)stays the package-less row until the next unscoped hydration (then E's code, as a reboot gives); every HTTP door (bare,?package=E,?package=F) answers 409 naming E and F in all three states?package=Fand bare serve the row,?package=E404, as the hydrator's answerWhere each row goes
The seat's claim amendment 7258713947 cuts the three open points: ruling 6942962369 wins where #34440 acceptance 1 and #34417 acceptance 2 read otherwise (the package-less environment row answers first on every bare door); PR 1 the read doors (#34452, #34190, #34440, #33904 listing half), PR 2 the write doors and hydration (#34346, #34417, #33127, #33904 delete half); #34258 re-pointed to its measured CONTROL defect above.
Probe files: kept in the thread container scratchpad, not pushed.
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Correction to the claim amendment 7258713947 (the seat's own over-reach, withdrawn): the #34440 acceptance rewrite is void; #34440 keeps its card text.
doc, a closed type with no overlay. metadata-protocol: a package-less row beside a disabled holder and served holders is served by save order on the plain read and /published, while /layers refuses naming the disabled package #34440's cells are an overridable type, where ADR-0150 R15 reads the package-less row on a held name as that holder's customization, not a second item. The disabled-holder-free twins of metadata-protocol: a package-less row beside a disabled holder and served holders is served by save order on the plain read and /published, while /layers refuses naming the disabled package #34440's cells are pinned onmainby metadata-protocol: a package-less row beside two packages' rows of one name (no shipper) is served by store order on the plain read while /layers refuses — follow-ups of PR #33182 (#32607) #33210 (PR fix(metadata-protocol,spec)!: the bare item read refuses a package-less row beside two row holders, and reads a row-held base at its dependent's added member (ADR-0150 D3) #34355,meta-disabled-holder-served-stack.test.ts443–514: two enabled row holders + a package-less row ⇒ every bare door 409 naming both; one row holder + a package-less row ⇒ the holder's row), and metadata-protocol: a name held only by stored rows of two packages, one disabled, answers by save order, and /layers takes the first composite when the environment holds its own item (ADR-0150 D3) #32354 says a disabled package holds no name. So metadata-protocol: a package-less row beside a disabled holder and served holders is served by save order on the plain read and /published, while /layers refuses naming the disabled package #34440's TO is "the answer as if the disabled holder were absent" (409 naming E and F; E's row), which is the card's own acceptance. Extending the doc ruling over those pinned cells would change merged visible behaviour; that is not the seat's to do, and nothing here asks for it.doccell) keeps the rewrite in 7258713947 under 6942962369.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
File surface addendum (to 7258713947): #33904's listing half moves whole into PR 2, with its delete half, keyed once by the D4 action key. PR 2's surface adds
packages/metadata-protocol/src/protocol-overlay-merge.ts(mergePackageAwareOverlayslots an action by name only) and, if the measurement needs it,listItemsinpackages/objectql/src/registry-package-addressing.ts. PR 1 keeps #34452, #34190 and #34440 (card text, per the correction above).objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Scope addendum (same-family finding, folded here instead of a single-point card): the L1 review of PR #38633 (#34261, 7259545125) reads that the
_envdraft/layered read's remaining 409 (an enabled package C holds a stored draft or an unhydrated row) names the DISABLED registered holder as the candidate and does not name C — a disabled package's name still shows, against #32354 (a disabled package holds no name and is never named). Pinned today as a CONTROL from the review#2 S4 record; PR #38633 does not worsen it. It is the same defect shape as this group's moved #34346 cell (the 409 names the disabled D), so PR 2 measures it beside #34346 and fixes it with the same candidate-naming rule if the mechanism is the same; if it is not, the thread reports and the seat files it on its own.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmQmQ1jpFsNcARMbY56
os-dev-report
{ "issue": 34452, "status": "done", "branch": "claude/project-thread-3bely6", "pr": "https://github.com/objectstack-ai/objectstack/pull/38640", "head": "ef33907bdfb427aa9c6966d289e6822bd59e8514", "session": "session_01ADHkmQmQ1jpFsNcARMbY56", "premise_still_valid": true, "gates": "dispatch-gates --commands (192) + 4 package typechecks, each < /dev/null; --ran reconciliation: 100 derived, 100 run, 0 NOT-MEASURED, 0 UNRUN; 11 first-run prerequisite failures (10 exit 3, 1 CLI exit 1) re-run green after pnpm build + fixture commit fetch; check:type-check-debt exit 0 under the lock; overlap-check VERDICT clean vs origin/main 1d19acfe; suites: metadata-protocol 23649 passed, runtime src/domains 7447 passed, rest 9065 passed; dogfood_battery: lock VERDICT command-exit 0, Test Files 495 passed / 3 skipped (498), Tests 4187 passed / 68 skipped (4255), no failure", "ablation": "4 legs red then restored (git diff HEAD empty, dist marker absent): #34452 4/4, #34190 2/2, #34440(a) rest 12/12 + runtime 12/12, #34440(b) runtime 2/12, rest 0/12", "line_budget": "11 files, +457 / -50", "deviations": [ "#34452 pin '[measured, unresolved]' in meta-disabled-holder-artifact-door.test.ts replaced: it pinned the FROM", "first ablation attempt of #34440 leg (a) was a refused no-op (replacement contained its anchor); re-run with a changed anchor" ], "files_changed": [ ".changeset/34452-same-name-bare-reads.md", "packages/metadata-protocol/src/protocol-meta-item-face.ts", "packages/metadata-protocol/src/protocol-meta-item-reads.ts", "packages/metadata-protocol/src/protocol-meta-layered-reads.ts", "packages/rest/src/meta-disabled-package-doors.test.ts", "packages/rest/src/meta-item-history-routes.ts", "packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts", "packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts", "packages/runtime/src/domains/meta.ts", "packages/spec/src/migrations/entries/semantic/19.disabled-holder-package-less-row-bare-read-judged-as-absent.ts", "packages/spec/src/migrations/entries/semantic/19.doc-bare-read-environment-entry-first.ts" ], "mcp_calls": "1 (issue_read, before this report) — no write tool", "api_writes": "3 via relay: comment #34452 (7258726351), pr_create #38640, this comment", "open_questions": [ { "question": "Contract review owed: the PR title carries ! and a (narrowing) arm; L2 at head ef33907bdf", "options": [ "route to a review seat per contract-review.md" ], "recommendation": "seat routes it" } ], "out_of_scope_findings": [ "class: b · reach: REST GET /api/v1/meta/TYPE/NAME/diff?package=ID answers the by-name document, ignoring ?package= (rest-server.ts fetchCurrentMetaDocument) · evidence: #34190 addendum reading · dedupe words: diff ignores package qualifier", "carrier: seat · noted, not filed" ] }