Repository navigation
Description
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Filing gate: the L1/L2 follow-up exception, one card per PR with each item ticked · Source: fleet. These are the review nits of PR #39076 (#38894, merged 516105671c), from contract records 7340755868 and 7356709230. The ACCEPT is 7356829401.
Business reason: these keep the record-print download honest at every door and every console road. Two items (8 and 10) are user-visible: a click that says success while delivering no file, and a saved file named from inside the header's fallback. The rest are test and text gaps that would let a regression in the print path pass unseen.
Reader: the next dev on packages/services/service-print/** or the console's attachment door (ui/packages/app-shell, apiActionDoor.ts / RecordDetailView.tsx); batch it there, or take it in the area's weekly sweep.
User-visible first:
- 8. An api click that the record page fetches itself (not a declared object-bound action) reads the PDF as an empty answer and reports success with no file (
RecordDetailView.tsx). feat(runtime): the REST action door delivers a target's attachment, and the console saves it as a download #39141's changeset declares it and says another claim holds the file; find that claim before building. One sentence in the print changeset or doc would also name it. - 10 (app-shell). The console's
attachmentFilenamedoes not understand quoted strings. A file name that itself holds;filename*=is read from inside the route's quoted ASCII fallback; measured:报价; filename*=UTF-8''evil.exe; y.pdfis saved asevil.exe. Only the requester's ownfilenamecan hold the token (a display value has*replaced), so no boundary is crossed. Still, a parser that respects quotes is the fix. - 9. A cross-origin console cannot read
Content-Disposition(it is not in the CORS exposed headers) and saves the file asdownload. feat(runtime): the REST action door delivers a target's attachment, and the console saves it as a download #39141 declared this. Expose the header, or say so where the console's deployment is documented.
Texts:
- 7. The print texts name MCP as the door that answers a print action
502. The host door'sdispatchActionanswers the same. - 11.
print-pages.mdxlostmain'sdefineActionsample. Now that the action delivers, restore a sample an author can copy. - 12. The new conformance pin's comment says only the renderer is replaced; the stub replaces the whole
printRecordToPdfverb. Correct the comment. - 4.
scripts/check-route-envelope.mjs:282: the comment still says every body is written bysendOk/sendError/sendServerFault.
Tests:
- 1.
print-door-member.test.ts: the "binary tail" payload is valid UTF-8, so a text round-trip would pass. Use bytes that are not valid UTF-8. - 2 (narrowed). No test drives a PDF answer through the runtime dispatcher's
/printdomain behind the action door, end to end. The new pin forwards to the kernel's ownhttp.servermount on both transports. - 3.
print-service-archive.dogfood.test.ts: the last "control" no longer controls anything a print does. - 5. The unit pin for "edit access is never asked" is
findOnecalled once. The dogfood auditor test is the real proof; pin it at unit level too, or say so. - 6. A lone surrogate in
appanswers500fromprintPageUrlbefore the mint (unchanged frommain). A400at validation would be tidier.
Dedupe: "PR #39076" (2 hits: #38894, the seat post), attachmentFilename (0), printPageUrl lone surrogate (1: #38894). No other open card covers these.
Grading: area:workflow · Task · p3 · reach: review reads and probes (records 7340755868, 7356709230). Item 8 is user-visible success-with-no-file; re-grade it if a customer reaches that road.
Activity
objectstack-fleet commentedon Dec 2, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
First touch · 2026-12-02T22:06Z
定级:
area:workflow · Bug · p3 · 记录打印 PR #39076 的审阅尾项,其中第 8、10 条用户可见(点了显示成功却没有文件、文件名取错)· 读码domain:server(另涉控制台 ui)、类型 Bug,进pm:queue。