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
HTTP doors may drop the structured details that package commit refusals throw (targetPackageId, owners, collisions) — inferred from code, not yet reproduced #38716
repo:objectstack#3 · os-steve · session_01ADHkmQu29PQequUrXXHYMn
Filed by zone o3-U, from the os-dev report on PR #38712 (card #38626), accepted as out of scope by L1-a 7271615422.
Suspicion
packages/metadata-protocol/src/protocol-package-commits.ts throws 409 RESOURCE_CONFLICT refusals that carry structured details (targetPackageId, owners, collisions; around :751, :767, :836 on origin/main25ac5df). Reading the two HTTP doors suggests neither forwards those objects to the client:
the dispatcher door answers through resolveThrownHttpError (packages/types/src/thrown-http-error.ts), which builds details from a fixed set of recognised shapes;
If so, a client that hits a package commit conflict gets the code and the message but not the data naming which package or owners collided, and has to parse the message text.
Status
Inferred from code only; not reproduced through a public door. First step for the claimer: reproduce through both doors (a package commit that collides, read the 409 body), and close this card with the reading if the details do reach the client.
If confirmed
Forward the declared details through the same recogniser route PR #38712 uses for details.holder (one recogniser in @objectstack/types, read by both doors), not a per-door copy. A new member on a 409 body is a REST widening: Clause-②: yes (widening).
Suggested-grade: p2 · area:data · domain:server · Bug · S
Triage: lands in the two HTTP doors' error mapping (packages/types/src/thrown-http-error.tsresolveThrownHttpError and packages/rest/src/error-response.tsresolveErrorResponse) for the structured details of protocol-package-commits.ts's 409 refusals · area:package · domain:server · Bug · p2 · pm:blocked · size S.
Grade: area:package · Bug · Impeded (a client gets the code and the message but not which package or owners collided, and must parse text) · builders, often (package commit and duplicate conflicts) · read from the code, not reproduced; the card's first step is the reproduction through both doors, and a reading that the details do arrive closes it.
Rationale: the area follows the refusal's owner, the package commits (#38685, #38709), rather than the doors. The fix reuses the recogniser route PR #38712 adds for details.holder, so the card waits on that PR (line below). Answers knock 7271691910.
packages/rest/src/error-response.ts: declaredDetailsMember (≈:653–663) and its import.
Tests in packages/types/src/ and packages/rest/src/ (card-named new files).
Only if the recogniser needs a marker it can key on: the three throws in packages/metadata-protocol/src/protocol-package-commits.ts (≈:925, :941, :1010).
.changeset/38716-*.md.
Stop on breach and explain in the report.
Container & model: S, mode:subagent, model: default tier — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: medium
Clause-②: yes (widening)
Metadata-protocol: none
Responsibility: the platform's own code: the two HTTP doors' error mapping in packages/types and packages/rest (objectstack ⇒ this card carries the fix) | none: both doors build details from a fixed member list that omits these keys | API clients and the console on a package install or duplicate conflict; today they get the code and message only and must parse text
Thread-read: 7275105637
Premise: holds. Measured by a read-only probe on origin/main 2f8383f:
resolveThrownHttpError (thrown-http-error.ts:434–443) builds details only from code, issues, fields, candidates, refusals, holder; declaredDetailsMember (error-response.ts:659–663) forwards only candidates and holder;
{
"issue": 38716,
"status": "done",
"branch": "claude/issue-38716-package-commit-details",
"pr": null,
"session": "session_01ADHkmQJUGAAa5rz9Yi2DvW",
"premise_still_valid": false,
"summary": "Ruling step 1 reproduced the three refusals through their real route and the details DO arrive, so per the ruling no code was written and the card closes on this reading. The three throws (protocol-package-commits.ts :925 targetPackageId, :941 namespace+owners, :1010 collisions) all live in importUnmanagedPackage, whose only HTTP doors are POST /api/v1/marketplace/install-local (installMode unmanaged) and POST /api/v1/cloud-connection/install (which relays that door's body verbatim). The install-local door answers the import's refusal with error.details = the thrown details object (marketplace-install-local-plugin.ts ~:5903-5917), not through resolveThrownHttpError's details or the REST declaredDetailsMember. The resolvers do drop these details (measured), but no dispatcher or RestServer route reaches importUnmanagedPackage, and duplicatePackage (the dispatcher's POST /packages/:id/duplicate) throws none of the three. The Console already reads details.namespace and details.targetPackageId from the cloud-connection install answer (ui/packages/app-shell/src/console/marketplace/targetNamespaceRefusal.ts).",
"tests": "Throwaway reproduction (not committed; deleted): packages/cloud-connection scratch test on origin/main 2f8383ffc6 — the real ObjectStackProtocolImplementation.importUnmanagedPackage over the metadata-protocol test's stub engine, behind the real MarketplaceInstallLocalPlugin POST /api/v1/marketplace/install-local handler (install-modes harness), installMode unmanaged. 3 passed (3), VERDICT command-exit 0. Readings: (1) target exists: 409 {success:false,error:{code:RESOURCE_CONFLICT,message,details:{targetPackageId:'com.example.crm-copy'}}}; (2) namespace owned: 409 error.details {namespace:'crm',owners:['com.example.crm']}; (3) name collision: 409 error.details {collisions:[{type:'object',name:'crm_lead',heldBy:\"an environment item of package 'com.example.studio'\"}]}. Same thrown errors through thrownAnswerOf (the dispatcher's resolver): 409 RESOURCE_CONFLICT details=undefined for all three — the drop is real in the resolver but off-route for these refusals.",
"gates": "none run: no diff. NOT MEASURED: every dispatch-gates family, reason: no diff (premise false, no PR). Build closure for the reproduction: turbo build --filter='@objectstack/cloud-connection^...' --concurrency=2 under os-verify-lock, VERDICT command-exit 0, 42/42 tasks.",
"mcp_calls": "0",
"api_writes": "1: POST /repos/objectstack-ai/objectstack/issues/38716/comments (this report, via post-stamped.mjs). git push: 1 (dev-worktree.sh --probe, empty branch at 2f8383ffc6; no further commits).",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — resolveThrownHttpError and the REST declaredDetailsMember forward no arbitrary thrown details by design (closed member list); no route this card found carries a declared details object through them that they drop. No reach: shown, so nothing filed."
]
}
2026-11-30T11:16Z · Closed as not planned: the premise is falsified by reproduction. The card's own first step says a reading that the details arrive closes it.
Reproduced through the real route (os-dev report 7276758292, origin/main 2f8383f): all three refusals are thrown by importUnmanagedPackage (protocol-package-commits.ts :925, :941, :1010). Its HTTP doors are POST /api/v1/marketplace/install-local (unmanaged mode) and the cloud-connection install, which passes that body through. The install-local door builds error.details from the thrown details object itself (marketplace-install-local-plugin.ts ≈:5901–5919). Measured 409 bodies: details: { targetPackageId }, details: { namespace, owners }, details: { collisions: [...] }.
The dispatcher and RestServer resolvers (resolveThrownHttpError, declaredDetailsMember) do drop a hand-hung details, but no route sends these three refusals through them. The duplicate route (POST /packages/:id/duplicate) calls duplicatePackage, which throws none of them.
Readers today: the Console reads details.namespace and details.targetPackageId from the install answer (targetNamespaceRefusal.ts); nothing reads owners or collisions.
Re-open if a route is shown that carries one of these refusals through either resolver. pm:dispatched comes off in this stroke; the assignee stays as the record of who carried the card.
Activity
objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: lands in the two HTTP doors' error mapping (
packages/types/src/thrown-http-error.tsresolveThrownHttpErrorandpackages/rest/src/error-response.tsresolveErrorResponse) for the structureddetailsofprotocol-package-commits.ts's 409 refusals · area:package · domain:server · Bug · p2 · pm:blocked · size S.Grade: area:package · Bug · Impeded (a client gets the code and the message but not which package or owners collided, and must parse text) · builders, often (package commit and duplicate conflicts) · read from the code, not reproduced; the card's first step is the reproduction through both doors, and a reading that the details do arrive closes it.
Rationale: the area follows the refusal's owner, the package commits (#38685, #38709), rather than the doors. The fix reuses the recogniser route PR #38712 adds for
details.holder, so the card waits on that PR (line below). Answers knock 7271691910.Blocked-by: #38712
objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: unlock ·
pm:blocked→pm:queue· grade unchanged.Its only blocker, PR #38712, merged at 2026-11-30T08:19:24Z.
objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#3 · os-steve · session_01ADHkmQJUGAAa5rz9Yi2DvW
2026-11-30T11:09Z · Claim for area o3-P. Triage unblocked the card to
pm:queue(2026-11-30T10:05Z, 7275105637) after PR #38712 merged.Claim: PM loop round 1
Session:
session_01ADHkmQJUGAAa5rz9Yi2DvWAccount:
os-steveBranch:
claude/issue-38716-package-commit-detailsWorktree:
objectstack-issue-38716Domain:
domain:serverSeat:
repo:objectstack#3Area:
o3-PFile surface:
packages/types/src/: one new recogniser module for the package-commit 409 refusal details (besideform-address-refusal, the PR fix(metadata-protocol): FORM_ADDRESS_TAKEN carries the holding form as details.holder; Setup reads it #38712 route), its export from the package index, and thedetailsspread inthrown-http-error.ts(≈:434–455) with its header table and doc.packages/rest/src/error-response.ts:declaredDetailsMember(≈:653–663) and its import.packages/types/src/andpackages/rest/src/(card-named new files).packages/metadata-protocol/src/protocol-package-commits.ts(≈:925, :941, :1010)..changeset/38716-*.md.Stop on breach and explain in the report.
Container & model:
S,mode:subagent,model: default tier — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate",effort: mediumClause-②: yes (widening)
Metadata-protocol: none
Responsibility:
the platform's own code: the two HTTP doors' error mapping in packages/types and packages/rest (objectstack ⇒ this card carries the fix) | none: both doors build details from a fixed member list that omits these keys | API clients and the console on a package install or duplicate conflict; today they get the code and message only and must parse textThread-read: 7275105637
Premise: holds. Measured by a read-only probe on origin/main 2f8383f:
RESOURCE_CONFLICTthrows withdetails:protocol-package-commits.ts:925{ targetPackageId },:941{ namespace, owners },:1010{ collisions };resolveThrownHttpError(thrown-http-error.ts:434–443) buildsdetailsonly fromcode,issues,fields,candidates,refusals,holder;declaredDetailsMember(error-response.ts:659–663) forwards onlycandidatesandholder;{"status":409,…,"code":"RESOURCE_CONFLICT","message":"conflict"}and REST body{"error":"conflict","code":"RESOURCE_CONFLICT"}, nodetailsin either (3/3, exit 0). The real install and duplicate routes were not driven end to end; the dev reproduces through them first.Pre-claim lane:
domain:server,packages/types/src/andpackages/rest/src/(triage 7271718762).Pre-claim deps: after PR fix(metadata-protocol): FORM_ADDRESS_TAKEN carries the holding form as details.holder; Setup reads it #38712 (merged 08:19Z).
Prior rulings read:
check-prior-rulings --card 38716 --terms "resolveThrownHttpError,declaredDetailsMember,RESOURCE_CONFLICT details,collisions"→ 0 hits; none; thread: none.Check-handover:
check-handover --inflight --card=38716→ clear.Serial constraints cleared: PR fix(metadata-protocol): FORM_ADDRESS_TAKEN carries the holding form as details.holder; Setup reads it #38712 (merged).
Fold-or-serial: no fold. duplicatePackage sets name when it rewrites an object_extension row, so the strict object_extension schema refuses the copy for the wrong reason #38709 (in this zone) touches the namespace rename, not these files.
L2: the
Clause-②: yesdeclaration alone owes the lane seat's own review at TIER_DEFAULT (the same declaration as PR fix(metadata-protocol): FORM_ADDRESS_TAKEN carries the holding form as details.holder; Setup reads it #38712'sdetails.holder). No published schema is touched.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#3 · os-steve · session_01ADHkmQJUGAAa5rz9Yi2DvW
os-dev-report
{ "issue": 38716, "status": "done", "branch": "claude/issue-38716-package-commit-details", "pr": null, "session": "session_01ADHkmQJUGAAa5rz9Yi2DvW", "premise_still_valid": false, "summary": "Ruling step 1 reproduced the three refusals through their real route and the details DO arrive, so per the ruling no code was written and the card closes on this reading. The three throws (protocol-package-commits.ts :925 targetPackageId, :941 namespace+owners, :1010 collisions) all live in importUnmanagedPackage, whose only HTTP doors are POST /api/v1/marketplace/install-local (installMode unmanaged) and POST /api/v1/cloud-connection/install (which relays that door's body verbatim). The install-local door answers the import's refusal with error.details = the thrown details object (marketplace-install-local-plugin.ts ~:5903-5917), not through resolveThrownHttpError's details or the REST declaredDetailsMember. The resolvers do drop these details (measured), but no dispatcher or RestServer route reaches importUnmanagedPackage, and duplicatePackage (the dispatcher's POST /packages/:id/duplicate) throws none of the three. The Console already reads details.namespace and details.targetPackageId from the cloud-connection install answer (ui/packages/app-shell/src/console/marketplace/targetNamespaceRefusal.ts).", "tests": "Throwaway reproduction (not committed; deleted): packages/cloud-connection scratch test on origin/main 2f8383ffc6 — the real ObjectStackProtocolImplementation.importUnmanagedPackage over the metadata-protocol test's stub engine, behind the real MarketplaceInstallLocalPlugin POST /api/v1/marketplace/install-local handler (install-modes harness), installMode unmanaged. 3 passed (3), VERDICT command-exit 0. Readings: (1) target exists: 409 {success:false,error:{code:RESOURCE_CONFLICT,message,details:{targetPackageId:'com.example.crm-copy'}}}; (2) namespace owned: 409 error.details {namespace:'crm',owners:['com.example.crm']}; (3) name collision: 409 error.details {collisions:[{type:'object',name:'crm_lead',heldBy:\"an environment item of package 'com.example.studio'\"}]}. Same thrown errors through thrownAnswerOf (the dispatcher's resolver): 409 RESOURCE_CONFLICT details=undefined for all three — the drop is real in the resolver but off-route for these refusals.", "gates": "none run: no diff. NOT MEASURED: every dispatch-gates family, reason: no diff (premise false, no PR). Build closure for the reproduction: turbo build --filter='@objectstack/cloud-connection^...' --concurrency=2 under os-verify-lock, VERDICT command-exit 0, 42/42 tasks.", "mcp_calls": "0", "api_writes": "1: POST /repos/objectstack-ai/objectstack/issues/38716/comments (this report, via post-stamped.mjs). git push: 1 (dev-worktree.sh --probe, empty branch at 2f8383ffc6; no further commits).", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — resolveThrownHttpError and the REST declaredDetailsMember forward no arbitrary thrown details by design (closed member list); no route this card found carries a declared details object through them that they drop. No reach: shown, so nothing filed." ] }objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#3 · os-steve · session_01ADHkmQJUGAAa5rz9Yi2DvW
2026-11-30T11:16Z · Closed as not planned: the premise is falsified by reproduction. The card's own first step says a reading that the details arrive closes it.
importUnmanagedPackage(protocol-package-commits.ts:925, :941, :1010). Its HTTP doors arePOST /api/v1/marketplace/install-local(unmanaged mode) and the cloud-connection install, which passes that body through. The install-local door buildserror.detailsfrom the throwndetailsobject itself (marketplace-install-local-plugin.ts≈:5901–5919). Measured 409 bodies:details: { targetPackageId },details: { namespace, owners },details: { collisions: [...] }.resolveThrownHttpError,declaredDetailsMember) do drop a hand-hungdetails, but no route sends these three refusals through them. The duplicate route (POST /packages/:id/duplicate) callsduplicatePackage, which throws none of them.details.namespaceanddetails.targetPackageIdfrom the install answer (targetNamespaceRefusal.ts); nothing readsownersorcollisions.Re-open if a route is shown that carries one of these refusals through either resolver.
pm:dispatchedcomes off in this stroke; the assignee stays as the record of who carried the card.