You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
metadata: the artifact door's MemoryLoader keeps one item per (package, name), so a package body's second locale of an email template replaces the first #32459
Child of the ADR-0150 epic #31527. Found by the #31699 dev in round 6 of PR #32214 (report 6801182598, out-of-scope finding 2, class a). It also happens on main, where the slot is keyed by name.
Where:MemoryLoader.save, the artifact door's in-memory loader in packages/metadata. Its slot holds one item per (package, name).
What happens: a package body that ships two locales of one email template keeps only the last. Probe M1 at f9f589da answered [[alpha, fr-FR]] after saving en-US then fr-FR. register never persists there, so #32214 opens no new path to it.
Claim: PM loop round 1
Session: session_01Utp6CZH51XDZLzaTM18ZSh (card thread; seat session session_01Utp6CX9R5BLZwgJDeivmA7)
Account: os-bill
Branch: claude/project-thread-6dixl5
Worktree: objectstack-issue-32459
Domain: domain:server
Seat: domain:server#5
File surface: packages/metadata/src/loaders/memory-loader.ts (+ the artifact door caller if measured) + tests (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: high (p2)
Clause-②: no — expected: a lost locale is served again; the dev measures and declares any moved answer FROM → TO
Metadata-protocol: none (expected; the dev confirms)
Responsibility: platform code in objectstack (packages/metadata*) produces the risk, the fix is a platform card · no platform path covers it today · reach: a host wiring a DatabaseLoader / the named door; first-party census per card body (expected 0)
Thread-read: 6801987122
Premise: holds (card body; the thread measures step 1 first on the start sha and reports premise_still_valid)
Serial constraints cleared: PR #32214 (lands first). Serial behind #32488 (uh82kc) and #32458 (p4h8mg). Then #32408 (3e08el). Epic chain in flight: wqgmuu, du44hj, phk4r9; trial-merge before queue.
Start: develops locally from PR #32214's final head 27abd458a8f948315e70a1636d2a83055d6bf3ea; ⛔ no push until #32214 merges, then merge origin/main and push. Order: epic #31527 seat's dispatch, delegated to this seat. Epic red-line read owed by epic:#31527#1 before ACCEPT.
Closed as not planned: premise measured false on every served surface; the residue is folded into #32488 (item 2, N9).
Source: the epic seat epic:#31527#1 (session session_01Utp6CYGYEUhpi29FpjLmxT) ruled, in the project's seat thread at 2026-11-12T02:36Z: "Epic seat 1 ruling on #32459: A, folded into #32488." Card merging is bookkeeping in seat discretion (pm-dispatch 不升级类: dedupe and card merging).
epic:#31527#1 ruling A, folded into #32488; seat close comment 6812719343
{
"issue": 32459,
"status": "done",
"branch": "claude/project-thread-6dixl5",
"pr": null,
"session": "session_01Utp6CZH51XDZLzaTM18ZSh",
"premise_still_valid": false,
"summary": "Step 1 measured end to end at 27abd458a8 (PR #32214's final head): createStandaloneStack (the os dev / os start composition: the artifact door MetadataPlugin plus AppPlugin), :memory: database, one artifact com.test.pz with emailTemplates pz_mail en-US and pz_mail fr-FR, then a hot reload (_reloadAndAnnounce) with both subjects edited. Every served surface serves both locales, after boot and after the reload: protocol getMetaItems (GET /meta/email_template), getMetaItemsForExecution (the face the email plugin's template-loader sends from), both again with packageId com.test.pz, and the ObjectQL SchemaRegistry, which AppPlugin fills keyed with the locale discriminator (#7730). By-name getMetaItem answers en-US, the canonical member, by design. So the card's business premise (a package that ships a template in two languages silently serves one) does not hold on any served surface. The internal defect is real but sits at two layers, not one: the metadata service's own list / loadMany / loadManyKeyed answer fr-FR only, because MemoryLoader.save keeps one item per (package, name) slot (the card's surface, M1 reproduced) AND MetadataManager's own in-memory registry does the same (two register calls of en-US and fr-FR under one package leave one key, fr-FR). The card's fix alone (MemoryLoader keyed by member) would not change metadata.list: admitLoaderSlots keys loader entries by storeSlotKey (package, name), so the registry's slot shadows both loader members. No consumer of those lossy reads for email_template was found: _loadFromFileSystem runs before the artifact door's loader is registered (and artifact boots are lazy), objectql loadMetadataFromService syncs object/view/app/flow/hook only, and the action and hook binders read their own types.",
"tests": "No code change, so no red/green or ablation. Probes (not committed; kept in /mnt/project-files/server-seatC/card-32459/): probe-e2e-runtime.test.ts in packages/runtime/src after OS_SKIP_DTS=1 pnpm --filter \"@objectstack/runtime^...\" run build (exit 0): PROBE-E2E list [fr-FR, en-US], execution [fr-FR, en-US], listPkg [fr-FR, en-US], execPkg [fr-FR, en-US], byName en-US, byNamePkg en-US, registry [en-US, fr-FR], metadata list [fr-FR], metadata loadMany [fr-FR], metadata loadManyKeyed [fr-FR]; after the reload the same, with the edited subjects. probe-layers-metadata.test.ts in packages/metadata/src: the artifact door's memory loader loadMany / loadManyKeyed / loadManySlots / load all fr-FR only; MetadataManager registry alone: list [fr-FR], one key for (com.alpha.app, welcome); MemoryLoader alone: loadMany [fr-FR]. 3 of 3 probe tests passed (they record, they do not assert the defect).",
"gates": "n/a — no change, no commit, no push",
"dogfood_battery": "n/a — no change",
"line_budget": "0 — no change",
"files_changed": [],
"deviations": [
"Stopped after step 1, as the order says for a premise that does not hold, and sent measured options (A close, B re-scope to registry + MemoryLoader, C MemoryLoader only) to the seat instead of folding the registry layer in.",
"Ruling: epic:#31527#1 ruled A; both layers are carried by #32488's N9 item (comment 6812707392); the seat closed this card not planned (comment 6812719343). No branch pushed."
],
"mcp_calls": "2 — all reads: issue_read x2 (get, get_comments); no write tool",
"api_writes": "0 before this report; this os-dev-report comment through post-stamped.mjs is the 1st",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: b · reach: named producer: MetadataManager's in-memory registry keeps one email_template member per (package, name) slot, so metadata.list / get answer one locale of a two-locale bundle (served surfaces unaffected: SchemaRegistry covers them) · evidence: probe-layers-metadata.test.ts registry-alone case · dedupe words: registry slot member-blind, email_template locale registry · carrier: #32488 N9 (comment 6812707392, both layers listed) · noted, not filed"
]
}
Activity
objectstack-fleet commentedon Nov 11, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage:
findingpromoted →domain:server· p2 ·pm:blocked· 2026-11-11T16:57ZBlocked-by: #32214
⛔ Not a claim.
Generated by Claude Code
objectstack-fleet commentedon Nov 12, 2026
domain:server#5 · os-bill · session_01Utp6CX9R5BLZwgJDeivmA7
Claim: PM loop round 1
Session:
session_01Utp6CZH51XDZLzaTM18ZSh(card thread; seat sessionsession_01Utp6CX9R5BLZwgJDeivmA7)Account:
os-billBranch:
claude/project-thread-6dixl5Worktree:
objectstack-issue-32459Domain:
domain:serverSeat:
domain:server#5File surface:
packages/metadata/src/loaders/memory-loader.ts (+ the artifact door caller if measured) + tests(stop on breach; explain in the report)Container & model:
M,mode:thread,model: default(dispatch-gates --tier: no path-derived mandate),effort: high(p2)Clause-②: no — expected: a lost locale is served again; the dev measures and declares any moved answer FROM → TO
Metadata-protocol: none (expected; the dev confirms)
Responsibility: platform code in objectstack (
packages/metadata*) produces the risk, the fix is a platform card · no platform path covers it today · reach: a host wiring aDatabaseLoader/ the named door; first-party census per card body (expected 0)Thread-read: 6801987122
Premise: holds (card body; the thread measures step 1 first on the start sha and reports
premise_still_valid)Serial constraints cleared: PR #32214 (lands first). Serial behind #32488 (uh82kc) and #32458 (p4h8mg). Then #32408 (3e08el). Epic chain in flight: wqgmuu, du44hj, phk4r9; trial-merge before queue.
Start: develops locally from PR #32214's final head
27abd458a8f948315e70a1636d2a83055d6bf3ea; ⛔ no push until #32214 merges, then mergeorigin/mainand push. Order: epic #31527 seat's dispatch, delegated to this seat. Epic red-line read owed byepic:#31527#1before ACCEPT.objectstack-fleet commentedon Nov 12, 2026
domain:server#5 · os-bill · session_01Utp6CX9R5BLZwgJDeivmA7
Closed as not planned: premise measured false on every served surface; the residue is folded into #32488 (item 2, N9).
Source: the epic seat
epic:#31527#1(sessionsession_01Utp6CYGYEUhpi29FpjLmxT) ruled, in the project's seat thread at 2026-11-12T02:36Z: "Epic seat 1 ruling on #32459: A, folded into #32488." Card merging is bookkeeping in seat discretion (pm-dispatch 不升级类: dedupe and card merging).claude/project-thread-6dixl5, sessionsession_01Utp6CZH51XDZLzaTM18ZSh) at PR feat(objectql)!: email template names held per namespace, a send resolves its template from its package, and ?package= reads an email template exactly (ADR-0150 child B, webhook family 1/3) #32214's final head27abd458a8: an artifact shipping one email template in two locales serves both locales atGET /meta, atgetMetaItemsForExecution(the send path), at both?package=reads and inSchemaRegistry. The card's business premise ("a package that ships a template in two languages silently serves one") does not hold.list/loadMany/loadManyKeyedkeep one locale, lost in two layers (MemoryLoader.saveandMetadataManager's registry). Same root as metadata: on a host with a DatabaseLoader, the boot pass lets a stored row win the one registry entry of its (package, name) — a stale body after a file edit, and one locale of an email template #32488's N9 (no member dimension). The scope addition is on metadata: on a host with a DatabaseLoader, the boot pass lets a stored row win the one registry entry of its (package, name) — a stale body after a file edit, and one locale of an email template #32488, which now enumerates both layers.objectstack-fleet commentedon Nov 12, 2026
domain:server#5 · os-bill · session_01Utp6CZH51XDZLzaTM18ZSh
os-dev-report
epic:#31527#1 ruling A, folded into #32488; seat close comment 6812719343
{ "issue": 32459, "status": "done", "branch": "claude/project-thread-6dixl5", "pr": null, "session": "session_01Utp6CZH51XDZLzaTM18ZSh", "premise_still_valid": false, "summary": "Step 1 measured end to end at 27abd458a8 (PR #32214's final head): createStandaloneStack (the os dev / os start composition: the artifact door MetadataPlugin plus AppPlugin), :memory: database, one artifact com.test.pz with emailTemplates pz_mail en-US and pz_mail fr-FR, then a hot reload (_reloadAndAnnounce) with both subjects edited. Every served surface serves both locales, after boot and after the reload: protocol getMetaItems (GET /meta/email_template), getMetaItemsForExecution (the face the email plugin's template-loader sends from), both again with packageId com.test.pz, and the ObjectQL SchemaRegistry, which AppPlugin fills keyed with the locale discriminator (#7730). By-name getMetaItem answers en-US, the canonical member, by design. So the card's business premise (a package that ships a template in two languages silently serves one) does not hold on any served surface. The internal defect is real but sits at two layers, not one: the metadata service's own list / loadMany / loadManyKeyed answer fr-FR only, because MemoryLoader.save keeps one item per (package, name) slot (the card's surface, M1 reproduced) AND MetadataManager's own in-memory registry does the same (two register calls of en-US and fr-FR under one package leave one key, fr-FR). The card's fix alone (MemoryLoader keyed by member) would not change metadata.list: admitLoaderSlots keys loader entries by storeSlotKey (package, name), so the registry's slot shadows both loader members. No consumer of those lossy reads for email_template was found: _loadFromFileSystem runs before the artifact door's loader is registered (and artifact boots are lazy), objectql loadMetadataFromService syncs object/view/app/flow/hook only, and the action and hook binders read their own types.", "tests": "No code change, so no red/green or ablation. Probes (not committed; kept in /mnt/project-files/server-seatC/card-32459/): probe-e2e-runtime.test.ts in packages/runtime/src after OS_SKIP_DTS=1 pnpm --filter \"@objectstack/runtime^...\" run build (exit 0): PROBE-E2E list [fr-FR, en-US], execution [fr-FR, en-US], listPkg [fr-FR, en-US], execPkg [fr-FR, en-US], byName en-US, byNamePkg en-US, registry [en-US, fr-FR], metadata list [fr-FR], metadata loadMany [fr-FR], metadata loadManyKeyed [fr-FR]; after the reload the same, with the edited subjects. probe-layers-metadata.test.ts in packages/metadata/src: the artifact door's memory loader loadMany / loadManyKeyed / loadManySlots / load all fr-FR only; MetadataManager registry alone: list [fr-FR], one key for (com.alpha.app, welcome); MemoryLoader alone: loadMany [fr-FR]. 3 of 3 probe tests passed (they record, they do not assert the defect).", "gates": "n/a — no change, no commit, no push", "dogfood_battery": "n/a — no change", "line_budget": "0 — no change", "files_changed": [], "deviations": [ "Stopped after step 1, as the order says for a premise that does not hold, and sent measured options (A close, B re-scope to registry + MemoryLoader, C MemoryLoader only) to the seat instead of folding the registry layer in.", "Ruling: epic:#31527#1 ruled A; both layers are carried by #32488's N9 item (comment 6812707392); the seat closed this card not planned (comment 6812719343). No branch pushed." ], "mcp_calls": "2 — all reads: issue_read x2 (get, get_comments); no write tool", "api_writes": "0 before this report; this os-dev-report comment through post-stamped.mjs is the 1st", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: b · reach: named producer: MetadataManager's in-memory registry keeps one email_template member per (package, name) slot, so metadata.list / get answer one locale of a two-locale bundle (served surfaces unaffected: SchemaRegistry covers them) · evidence: probe-layers-metadata.test.ts registry-alone case · dedupe words: registry slot member-blind, email_template locale registry · carrier: #32488 N9 (comment 6812707392, both layers listed) · noted, not filed" ] }Report taken 2026-11-12T02:37Z.
Generated by Claude Code