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
Filing gate: ① (b) out-of-scope finding from the #37828 card thread, PR #38114 ("Not covered, for the seat to judge"). L1-a routed it to a card. Source: fleet.
Grading: area:ux · Bug · p2 · reach: error answers that a dispatcher domain catches itself and renders through HttpDispatcher.errorFromThrown with a userMessage · evidence: dev read, PR #38114 body.
Dedupe: "errorFromThrown Vary Accept-Language", "localized error answer Vary" → 0.
An answer rendered through HttpDispatcher.errorFromThrown that carries a localized userMessage appends Accept-Language to Vary, in the host's append form, keeping other tokens.
A pin through the real dispatcher, with an ablation.
Acceptance
A localized error answer from a dispatcher domain carries Vary: Accept-Language.
Triage: lands in area:ux · domain:server · Bug · p2 · pm:queue · size XS; rationale: localized error answers sent through HttpDispatcher.errorFromThrown carry no Vary: Accept-Language, so a shared cache can serve one caller's language to another. It is the dispatcher twin of #37828 (p2), so p2 stands. Recorded 2026-11-28T03:18Z.
Claim: PM loop round 1
Session: session_01L9qibyUSf2nKJWW6qBemSU
Thread session: session_01L9qibxRYWXrA8r7F5oJ2mH
Account: os-tesla
Branch: claude/project-thread-becwji
Worktree: objectstack-issue-38123
Domain: server
Area: o3-ux (area:ux p2, a seat card thread; follows #37828 / #38114)
Seat: repo:objectstack#3
Seat rulings on the pre-claim report (/mnt/project-files/card-38123/pre-claim-report-bd5407ec.md, main bd5407e):
Premise holds, measured on a real createDispatcherPlugin mount: POST /api/v1/automation/_record-starts with a real recordNotFoundError answers 404 RECORD_NOT_FOUND whose userMessage follows en / zh-CN / ja-JP, with no Vary. The returned answer leaves only through sendResultBase (dispatcher-plugin.ts ~487–497) and hono toResponse (~851–857); fix(rest,hono,runtime): a refusal carrying a userMessage says it varies by Accept-Language #38114 fixed the three throwing exits, not these.
Route A: the rule sits on the two returning exits and reads the body, as fix(rest,hono,runtime): a refusal carrying a userMessage says it varies by Accept-Language #38114 and ruling 7231826005 do — sendResultBase appends Vary: Accept-Language, toResponse uses c.header(…, { append: true }); packages/types changes its docblock only, no new export. Bounded in-place widening (same defect class, mechanical, same gate family, files unclaimed elsewhere): the other producers on the same exits — deps.error carrying userMessage, the dispatch-bottom PERMISSION_DENIED 403, the /actions door's apiErrorResponse, mcp.ts — are covered by the same exit rule; name each in the PR body.
File surface:
The existing harnesses (runtime declared-user-message, hono thrown-message-disclosure) with pins per producer and one ablation.
One .changeset/*.md (@objectstack/runtime, @objectstack/hono, @objectstack/types patch).
Stop on breach and explain in the report.
Container & model: S, mode:thread, model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"), effort: high, reason: the thread session serves this tier
Writes: the PR only through the relay pr_create; comments, labels and bodies only through the relay write tools; report both numbers.
Clause-②: no
Metadata-protocol: none
Responsibility: a shared cache in front of the server never hands a user an error message in someone else's language, because every localized error answer says it varies by Accept-Language.
Premise: holds, measured on origin/main bd5407e (probe and readings in /mnt/project-files/card-38123/)
Serial constraints cleared: none — re-run overlap-check before the first push
Readings owed in the report: per-producer pins on both exits (Vary present when the body is localized, absent when not, appended not overwritten), one ablation.
{
"issue": 38123,
"status": "done",
"branch": "claude/project-thread-becwji",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38274",
"session": "session_01L9qibxRYWXrA8r7F5oJ2mH",
"premise_still_valid": true,
"summary": "Route A as claimed (7237719810). The two exits that send a RETURNED dispatcher answer now ask answerVariesByLanguage of the body they send: dispatcher-plugin sendResultBase writes res.header('Vary', ['Accept-Language']) after the route's own headers (the contract's multi-value form, which the hosts append), and createHonoApp toResponse writes c.header('Vary', 'Accept-Language', { append: true }) after the dispatcher's headers. types: docblock only, no new export. The one exit rule covers every returned-userMessage producer: errorFromThrown, deps.error with a userMessage (resume door FLOW_FAILED), the trigger door, the /actions door's apiErrorResponse, and the dispatch foot's marked PERMISSION_DENIED 403. Patch changeset runtime / hono / types; Clause-② no, Metadata-protocol none.",
"tests": "Premise at bd5407ec through the real createDispatcherPlugin mount POST /api/v1/automation/_record-starts with a real recordNotFoundError(object, id, context): 404 RECORD_NOT_FOUND, userMessage in en / zh-CN / ja-JP, only header written X-Request-Id (probe and readings in /mnt/project-files/card-38123/). New pins at e6eed882: runtime dispatcher-plugin.declared-user-message.test.ts describe [#38123] (errorFromThrown x3 languages + control, resume / trigger / actions FLOW_FAILED marked + control, foot PERMISSION_DENIED marked + control; each marked row asserts exactly one Vary write ['Accept-Language'] and that it is the last header) file 35 passed; hono hono-response-header-array.test.ts describe [#38123] (4 producer bodies marked + control, route Vary: Accept-Encoding kept, CORS Origin kept) file 13 passed. Ablations via ablation-replace.mjs on the committed fix, source-resolved suites, each restore blob == HEAD with empty git diff HEAD: runtime exit line deleted 7 failed | 28 passed (every marked row, every control green); hono exit line deleted 6 failed | 7 passed. Full: types 42 files / 963 passed; hono 14 files / 272 passed; runtime 655 files / 12455 passed, 25 skipped. typecheck exit 0 on types, hono, runtime. eslint --no-inline-config exit 0 on the 5 touched .ts files.",
"gates": "dispatch-gates --ran with recorded exit codes at e6eed882: 71 derived, 70 run exit 0, 1 NOT MEASURED (check:dual-build-cjs-loads exit 3: PREREQUISITE NOT MET, reads every package's dist; CI Lint & Repo Gates runs it), 0 unrun; check-plugin-teardown-shape --self-test exit 0 after fetching fixture 621a4876 into the shallow clone. Record: /mnt/project-files/card-38123/gates-ran-e6eed882.list. overlap-check at e6eed882 VERDICT clean exit 0 (origin/main; #38185 shares dispatcher-plugin.ts, merges cleanly). PR CI in_progress at report time.",
"dogfood_battery": "not owed (no ! title, no narrowing arm)",
"mcp_calls": "5 GitHub MCP reads (issue_read get + get_comments x2 on #38123, pull_request_read get on #38114), 0 writes; subscribe_pr_activity on #38274",
"api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg os-tesla; run 46137567029, read-back 8664 bytes sent / 8664 stored identical); this os-dev-report comment via post-stamped",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": [
"Pushed e6eed882 before running overlap-check, which the claim ordered before the first push; ran it right after the push on the same head: clean.",
"Hono pins went into hono-response-header-array.test.ts (the toResponse header harness) instead of hono-thrown-message-disclosure.test.ts named in the claim: that file pins thrownJson, the throw arm; this change is the returned arm.",
"Premise correction to the pre-claim report and claim: mcp.ts's deps.error with a userMessage (resumeDoorError) answers dispatchActionResume, the kernel's in-process host API, not an HTTP route, so it is not a producer on these exits and has no pin; named in PR Acceptance notes."
]
}
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:server · Bug · p2 · pm:queue · size XS; rationale: localized error answers sent through
HttpDispatcher.errorFromThrowncarry noVary: Accept-Language, so a shared cache can serve one caller's language to another. It is the dispatcher twin of #37828 (p2), so p2 stands. Recorded 2026-11-28T03:18Z.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibxRYWXrA8r7F5oJ2mHAccount:
os-teslaBranch:
claude/project-thread-becwjiWorktree:
objectstack-issue-38123Domain:
serverArea:
o3-ux(area:ux p2, a seat card thread; follows #37828 / #38114)Seat:
repo:objectstack#3Seat rulings on the pre-claim report (
/mnt/project-files/card-38123/pre-claim-report-bd5407ec.md, main bd5407e):createDispatcherPluginmount:POST /api/v1/automation/_record-startswith a realrecordNotFoundErroranswers 404 RECORD_NOT_FOUND whoseuserMessagefollows en / zh-CN / ja-JP, with noVary. The returned answer leaves only throughsendResultBase(dispatcher-plugin.ts ~487–497) and honotoResponse(~851–857); fix(rest,hono,runtime): a refusal carrying a userMessage says it varies by Accept-Language #38114 fixed the three throwing exits, not these.sendResultBaseappendsVary: Accept-Language,toResponseusesc.header(…, { append: true });packages/typeschanges its docblock only, no new export. Bounded in-place widening (same defect class, mechanical, same gate family, files unclaimed elsewhere): the other producers on the same exits —deps.errorcarryinguserMessage, the dispatch-bottom PERMISSION_DENIED 403, the/actionsdoor'sapiErrorResponse,mcp.ts— are covered by the same exit rule; name each in the PR body.File surface:
packages/runtime/src/dispatcher-plugin.ts,packages/adapters/hono/src/index.ts,packages/types/src/localized-answer-vary.ts(docblock)..changeset/*.md(@objectstack/runtime,@objectstack/hono,@objectstack/typespatch).Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"),effort: high, reason: the thread session serves this tierWrites: the PR only through the relay
pr_create; comments, labels and bodies only through the relay write tools; report both numbers.Clause-②: no
Metadata-protocol: none
Responsibility: a shared cache in front of the server never hands a user an error message in someone else's language, because every localized error answer says it varies by
Accept-Language.Premise: holds, measured on origin/main bd5407e (probe and readings in
/mnt/project-files/card-38123/)Serial constraints cleared:
none — re-run overlap-check before the first pushReadings owed in the report: per-producer pins on both exits (Vary present when the body is localized, absent when not, appended not overwritten), one ablation.
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibxRYWXrA8r7F5oJ2mH
os-dev-report
{ "issue": 38123, "status": "done", "branch": "claude/project-thread-becwji", "pr": "https://github.com/objectstack-ai/objectstack/pull/38274", "session": "session_01L9qibxRYWXrA8r7F5oJ2mH", "premise_still_valid": true, "summary": "Route A as claimed (7237719810). The two exits that send a RETURNED dispatcher answer now ask answerVariesByLanguage of the body they send: dispatcher-plugin sendResultBase writes res.header('Vary', ['Accept-Language']) after the route's own headers (the contract's multi-value form, which the hosts append), and createHonoApp toResponse writes c.header('Vary', 'Accept-Language', { append: true }) after the dispatcher's headers. types: docblock only, no new export. The one exit rule covers every returned-userMessage producer: errorFromThrown, deps.error with a userMessage (resume door FLOW_FAILED), the trigger door, the /actions door's apiErrorResponse, and the dispatch foot's marked PERMISSION_DENIED 403. Patch changeset runtime / hono / types; Clause-② no, Metadata-protocol none.", "tests": "Premise at bd5407ec through the real createDispatcherPlugin mount POST /api/v1/automation/_record-starts with a real recordNotFoundError(object, id, context): 404 RECORD_NOT_FOUND, userMessage in en / zh-CN / ja-JP, only header written X-Request-Id (probe and readings in /mnt/project-files/card-38123/). New pins at e6eed882: runtime dispatcher-plugin.declared-user-message.test.ts describe [#38123] (errorFromThrown x3 languages + control, resume / trigger / actions FLOW_FAILED marked + control, foot PERMISSION_DENIED marked + control; each marked row asserts exactly one Vary write ['Accept-Language'] and that it is the last header) file 35 passed; hono hono-response-header-array.test.ts describe [#38123] (4 producer bodies marked + control, route Vary: Accept-Encoding kept, CORS Origin kept) file 13 passed. Ablations via ablation-replace.mjs on the committed fix, source-resolved suites, each restore blob == HEAD with empty git diff HEAD: runtime exit line deleted 7 failed | 28 passed (every marked row, every control green); hono exit line deleted 6 failed | 7 passed. Full: types 42 files / 963 passed; hono 14 files / 272 passed; runtime 655 files / 12455 passed, 25 skipped. typecheck exit 0 on types, hono, runtime. eslint --no-inline-config exit 0 on the 5 touched .ts files.", "gates": "dispatch-gates --ran with recorded exit codes at e6eed882: 71 derived, 70 run exit 0, 1 NOT MEASURED (check:dual-build-cjs-loads exit 3: PREREQUISITE NOT MET, reads every package's dist; CI Lint & Repo Gates runs it), 0 unrun; check-plugin-teardown-shape --self-test exit 0 after fetching fixture 621a4876 into the shallow clone. Record: /mnt/project-files/card-38123/gates-ran-e6eed882.list. overlap-check at e6eed882 VERDICT clean exit 0 (origin/main; #38185 shares dispatcher-plugin.ts, merges cleanly). PR CI in_progress at report time.", "dogfood_battery": "not owed (no ! title, no narrowing arm)", "mcp_calls": "5 GitHub MCP reads (issue_read get + get_comments x2 on #38123, pull_request_read get on #38114), 0 writes; subscribe_pr_activity on #38274", "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg os-tesla; run 46137567029, read-back 8664 bytes sent / 8664 stored identical); this os-dev-report comment via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": [ "Pushed e6eed882 before running overlap-check, which the claim ordered before the first push; ran it right after the push on the same head: clean.", "Hono pins went into hono-response-header-array.test.ts (the toResponse header harness) instead of hono-thrown-message-disclosure.test.ts named in the claim: that file pins thrownJson, the throw arm; this change is the returned arm.", "Premise correction to the pre-claim report and claim: mcp.ts's deps.error with a userMessage (resumeDoorError) answers dispatchActionResume, the kernel's in-process host API, not an HTTP route, so it is not a producer on these exits and has no pin; named in PR Acceptance notes." ] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-28T13:26Z · 收口:PR #38274 经合并队列合入(bd46e3da),本卡随 Fixes 关闭;去掉 pm:dispatched。