Skip to content

fix(rest): open a csv export with the UTF-8 byte-order mark so Excel reads non-ASCII text - #34357

Merged
objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/area-A5-34163
Nov 16, 2026
Merged

objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/area-A5-34163

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Fixes #34163

Clause-②: no
Metadata-protocol: none (no authorable key or value; the CSV export body gains a leading UTF-8 byte-order mark. The dev confirms against the diff.)

维护者速读

  • 改了什么:GET /api/v1/data/:object/export 导出 CSV 时,文件开头写一个 UTF-8 字节序标记(BOM,EF BB BF),只写一次,放在表头行之前(header=false 时放在第一行数据之前)。JSON、XLSX、响应头都不变,没有新参数。
  • 为什么改:Excel 打开没有 BOM 的 CSV 时按系统 ANSI 编码读,中文(以及任何非 ASCII)的表头和内容全部乱码;HTTP 头里的 charset=utf-8 不会跟着文件存到磁盘上。HotCRM 在 18.5.0 上实测复现。
  • 风险与回滚:把导出正文当文本逐字节比较、又不用会去掉 BOM 的解码器的客户端,会在第一个单元格前看到 U+FEFF;Response.text()、浏览器 Blob 下载、平台自己的 CSV 导入都不受影响。完全没有内容的导出仍是 0 字节。回滚即撤销本 PR,不涉及存储数据。
  • 先看:packages/rest/src/data-action-routes.ts 里 UTF8_BOM 常量和 CSV 分支的两处首次写入;packages/rest/src/export-csv-utf8-bom-34163.test.ts;packages/rest/src/import-template-route.test.ts 里改过的字节级期望值。
  • 两分钟验证:pnpm --filter @objectstack/rest exec vitest run src/export-csv-utf8-bom-34163.test.ts,预期 1 个文件、8 个用例全部通过。
  • 需要你做的:无,席位落地。

What changes

  • packages/rest/src/data-action-routes.ts: the format=csv leg (also the default format) prefixes UTF8_BOM ('\uFEFF', spelled as the escape; the file holds no raw EF BB BF bytes) to the body's FIRST write, exactly once: the first chunk (header row, or the first data row under header=false) or, at zero rows, the authoritative header row. It is written after the first read, as before, so a refused query still answers the 400 envelope. An export that writes nothing (zero rows and no authoritative header) stays a zero-byte file, with no lone mark. format=json and format=xlsx, every response header (Content-Type: text/csv; charset=utf-8, Content-Disposition, X-Export-*) and the closed query set are unchanged; no bom parameter and no option.
  • Round trip: the csv import already strips one leading mark (parseCsvToRows, packages/rest/src/import-prepare.ts), so an exported file re-imports unchanged; pinned.
  • .changeset/34163-csv-export-utf8-bom.md: @objectstack/rest patch with both declaration lines.

Tests

  • New packages/rest/src/export-csv-utf8-bom-34163.test.ts (8 cases), through the real HonoHttpServer over a real SqlDriver (SQLite), reading the body as BYTES (arrayBuffer()): Response.text() drops a leading mark, so a text read could not tell the fix from the defect.
    • csv: exactly one EF BB BF, then the Chinese header row and cells; the headers unchanged. Also the default format and header=false.
    • csv with zero rows and fields=: one mark, then the header row alone. Zero rows with no authoritative header: zero bytes.
    • json opens with [ and xlsx with PK: no mark.
    • round trip: the exported text, mark kept, parses through parseCsvToRows to the same header names and cells as the same text without the mark.
  • 14 existing rest test files read the csv export body in-process as text and compared or split its first line. Each now strips exactly ONE leading U+FEFF at that read (an anchored regex, spelled as an escape); no assertion is otherwise changed. The three byte-identical csv pins in import-template-route.test.ts take the mark into their expected bytes (bytes + 3, sha256 recomputed over the marked body; each old hash was first re-verified against its old text). The round-trip tests that feed the export straight to the import (csv-text-cell-round-trip, export-boolean-locale) still import the file WITH its mark. The list is in Acceptance notes. Two of them (rest.test.ts, rest-14078-invalid-date-total-arm.test.ts) also gain a module-top import '@objectstack/objectql', which check:test-source-alias asks of an edited test whose source reaches that dynamic import.
  • One consumer outside packages/rest reads the same export body: packages/plugins/plugin-auth/src/admin-import-users.test.ts:802 (the rest: one record export format may not neutralize a stored value for the context its consumer reads it in (reach not measured; detail withheld under the disclosure ruling) #25078 export-then-admin-import round trip, caught red by Test Core (7/8) at 4de0e1e). Its header check now strips exactly one leading U+FEFF (anchored regex, spelled as the escape) and the admin import still receives the file with its mark, so this door's round trip covers the mark too. Test-only; plugin-auth publishes only dist, so no changeset. Fixed at 6e2297c.

Acceptance notes

  • Decision inside the order: a csv export that writes NOTHING (zero rows and a schema-derived header with no readable projection, so the header stays unwritten to keep FLS-hidden names out) stays a zero-byte file rather than a lone mark. This keeps the pinned "headerless empty file" of that path true byte for byte; pinned in the new file.
  • Pins flipped, every one only past or into the leading mark (file:line at the head):
    • csv-text-cell-round-trip.test.ts:171 csv.split(...)[0] to csv.replace(/^\uFEFF/, '').split(...)[0] (the import still receives the marked file).
    • admin-import-users.test.ts:802 (plugin-auth): csv.split(...)[0] to csv.replace(/^\uFEFF/, '').split(...)[0] (the admin import still receives the marked file); caught by Test Core (7/8) at 4de0e1e.
    • export-boolean-locale.test.ts:153 (csvRows), export-hidden-columns.test.ts:92 (parseCsv), export-integration.test.ts:178 (parseCsv), export-lookup-title-field.test.ts:167 (parseCsv): the csv-only parse helper strips one leading mark.
    • export-date-year-pad.test.ts:219, import-business-timezone.test.ts:438, import-date-cell-iso-real-day.test.ts:252, import-datetime-year-below-100.test.ts:254, import-time-cell-fraction.test.ts:302, rest-14078-invalid-date-total-arm.test.ts:202: the csv read before the header compare strips one leading mark.
    • export-json-fields.test.ts:145, :176, :209: the three csv reads (the shared exportOf also serves json, so the strip sits at the csv call sites).
    • rest.test.ts:1080, :1232, :1249, :1392, :1402: the in-process csv body reads.
    • import-template-route.test.ts:692-694 csvDefault bytes 123 to 126, sha256 26d25190 to f5287f81, text gains CSV_MARK; :718-720 csvFields 54 to 57, 62cd1868 to af30704a; :725-727 csvNoHeader 78 to 81, 7f8f78c0 to 696b5d73. csvEmptyNoProjection (0 bytes) unchanged.
  • Not changed here (ui/** is out of this PR's surface; same family, carried by follow-up card Console CSV downloads built in the browser have no UTF-8 byte-order mark, so Excel shows non-ASCII text garbled #34420): the Console's client-side CSV writers without a mark, ui/packages/plugin-list/src/ListView.tsx:5886 (client-side fallback), ui/packages/plugin-grid/src/ObjectGrid.tsx:1617, ui/packages/components/src/renderers/complex/data-table.tsx:2309, ui/packages/plugin-report/src/ReportExportEngine.ts:54, ui/packages/app-shell/src/views/IdentityImportPanels.tsx:87. The Console's server export path saves the body with res.blob(), so this fix reaches its files. No other server-side CSV download writer exists in packages/**; no spec or docs text states the CSV body's first bytes.

Verification

Head 6750049 (merge-only round, os-dev-report 6922999882 on #34163): origin/main 9e6fee1 merged into 6e2297c as a plain merge commit, pushed without force; no conflict, no os-regen path. The PR's own diff against the new merge base 9e6fee1 is byte-identical to its diff at 6e2297c against 951ecee (sha256 624ff264, 18 files, +287 / -31). CI at 6750049: 51 check-runs, 35 success, 16 skipped, 0 failed. Test Core (5/8) ran @objectstack/rest fresh: Test Files 414 passed (414), Tests 8564 passed / 350 skipped, export-csv-utf8-bom-34163.test.ts 8 passed. Test Core (7/8) ran plugin-auth fresh: admin-import-users.test.ts 43 passed, Test Files 280 passed, Tests 5762 passed / 11 skipped. @objectstack/rest:typecheck ran fresh in Type Check · workspace and passed. Local test and typecheck runs this round NOT MEASURED (verify-lock queue timeout, 3 tries); CI is the reading of record.

Previous head 6e2297c (fix round, report 6921751590 on #34163): adds only the plugin-auth test fix above on 4de0e1e, pushed without force; not merged with main (mergeable_state clean, the red was this PR's own). CI at 6e2297c: 55 check-runs, 37 success, 18 skipped, 0 failed; Test Core (7/8) ran plugin-auth fresh, admin-import-users.test.ts 43 passed, plugin-auth 280 files / 5762 tests passed. Local test runs and typechecks for this round NOT MEASURED (verify-lock queue timeout, 3 tries); CI at both heads is the reading of record: at 4de0e1e the old line failed (1 failed / 5699 in plugin-auth), at 6e2297c it passes.

Previous head 4de0e1e (origin/main 951ecee merged at b9f5979; a driver-less bare-clone merge-tree probe answered exit 0, no conflicted path). Stopped by the maintainer's hand-off order: what was not re-run on the final head is named below as NOT MEASURED.

Main measured first, then the fix
  • On main (the new pin file against the base route, under the verify lock): Tests 6 failed, 2 passed (8). The csv body's first bytes were [ 229, 144, 141 ] (the Chinese header), never [ 239, 187, 191 ]; json and xlsx passed.
  • Ablation (scripts/ablation-replace.mjs; the test imports the route from source, so no dist leg): removing the mark from the first-chunk write gave Tests 4 failed, 4 passed (8); removing it from the zero-row header write gave Tests 1 failed, 7 passed (8), the zero-row case. Both restored: the blob equals HEAD, git diff HEAD empty.
Suites
  • pnpm --filter @objectstack/rest test at b9f5979, after a fresh install and a rebuild of the rest closure, under the verify lock: VERDICT command-exit 0, Test Files 414 passed (414), Tests 8560 passed, 350 skipped.
  • 4de0e1e adds only a module-top import '@objectstack/objectql' to two of the edited test files (check:test-source-alias asked for it): rest.test.ts and rest-14078-invalid-date-total-arm.test.ts gave Test Files 2 passed, Tests 225 passed. The full rest suite on 4de0e1e: NOT MEASURED (stopped by the hand-off order).
  • pnpm --filter @objectstack/rest typecheck at b9f5979: exit 0. eslint --no-inline-config on every touched ts file: exit 0.
Derived gates (dispatch-gates --commands, 68 families)
  • At b9f5979, all 68 ran: 66 exit 0; check:dual-build-cjs-loads exit 3 (prerequisite: the whole workspace unbuilt, nothing measured); check:test-source-alias exit 1 on the two edited files above, fixed in 4de0e1e, where it answered exit 0.
  • At 4de0e1e, 57 of 68 ran, all exit 0 (check:dual-build-cjs-loads included). Stopped by the hand-off order; --ran reconciliation: 68 derived, 57 run, 0 NOT-MEASURED, 11 UNRUN: slot-lookup, sourcemap-no-sources-content, system-context-census, test-source-alias, tier-file-adoption, type-check-coverage, type-check-debt, undeclared-dep-imports, vouch-for-reference-callers, watch-hint-literal, where-matcher. Those 11 were exit 0 at b9f5979 except test-source-alias (above); CI carries them.
  • PR body gates on this body: check-changeset-no-major, check-adr-0087-registration, check-closing-keyword-parity, check-partof-closing-keyword.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5

Excel reads a csv without the mark in the system ANSI code page, so
every non-ASCII header and cell of an export opened garbled. The csv
leg now writes U+FEFF once, after the first read and ahead of the
header row; json and xlsx are unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
…xport stays empty

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
The export pins that read the csv body as text strip exactly one leading
U+FEFF at that read; the byte-identical pins take the mark into their
expected bytes.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

2 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run.

What this run could not see
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 19 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 9e6fee19ea358232196e1f704198612a2de34710 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 120fdfca1f2f9e43971f2078f62169889720c6f5 — the merge of head 67500498c83365efb8748cd065088e749a34e7bf into base 9e6fee19ea358232196e1f704198612a2de34710, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 120fdfca1f2f9e43971f2078f62169889720c6f5 && git checkout 120fdfca1f2f9e43971f2078f62169889720c6f5
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 9e6fee19ea358232196e1f704198612a2de34710 67500498c83365efb8748cd065088e749a34e7bf && git checkout -B drift-repro 9e6fee19ea358232196e1f704198612a2de34710 && git merge --no-ff 67500498c83365efb8748cd065088e749a34e7bf

node scripts/docs-audit/affected-docs.mjs --json 9e6fee19ea358232196e1f704198612a2de34710

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

…der mark

The admin user import round trip exports through the real rest export
route, which now opens a csv body with one U+FEFF. The header compare
strips exactly that one mark; the import still receives the file with
its mark, as exported, so the round trip also covers the mark.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5kgF3mo9f7LXuv5hac
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Final head for landing · PR #34357 · 2026-11-16T16:09Z

Head-sha: 6e2297c2acbf8d820618899aa0c40bf89a4b9b97 (dev report 6921751590 on #34163). One commit on 4de0e1e3:

  • 6e2297c2: the Test Core (7/8) red at 4de0e1e3 was this PR's own: packages/plugins/plugin-auth/src/admin-import-users.test.ts:800 (the rest: one record export format may not neutralize a stored value for the context its consumer reads it in (reach not measured; detail withheld under the disclosure ruling) #25078 export-then-admin-import round trip) compared the exported first line to email,name and got the leading byte-order mark. The header check now strips exactly one leading mark (anchored regex, written as the escape), the same catch-up as the 14 rest test files; the admin import still receives the file with its mark. Test-only; plugin-auth publishes only dist, so no changeset.
    Not merged with main: mergeable_state clean, the red was this PR's own.
    Checks at this head: Test Core (7/8) green with plugin-auth run fresh (admin-import-users.test.ts 43 passed); 51 check-runs, 0 failed. PR body patched to this head (also: the two raw U+FEFF characters in the body are now spelled as the escape).
    File surface: the plugin-auth test file is outside the claimed surface; edited under the bounded in-place exemption (same kind of fix as the granted catch-up, mechanical, same Test Core family).
    Gates: Clause-②: no, no packages/spec/src/** path in the diff, so no L2 is owed. Owed for landing: L1 on this head.

Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn

席位核对 · PR #34357 · L1-b · 2026-11-16T16:12Z

Head-sha: 6e2297c2acbf8d820618899aa0c40bf89a4b9b97

L1 · REWORK(1 项,只改 PR 正文,不动代码) · area o1-C 定稿评论 6921861946 所钉 head;本 PR 首次 L1(继承件)。merge-base 951eceee,8 个提交,18 个文件。

已核、无问题的部分

  • PR 形态:Fixes #34163,单卡,与卡的 Suggestion 一致:写 mark,不加参数。
  • 代码:mark 只出现在两处首次写入。一处是首个 chunk;另一处是零行时的权威表头。零行时循环在写入前 break(rows.length === 0),所以 header=false 加零行不会写出孤立的 mark。schema 推导表头、又没有可读投影时,零行仍是 0 字节。json 与 xlsx 分支未改。仓内服务端写 text/csv 的只有这一处。
  • changeset 逐句核对:触发条件(首个 chunk、header=false 下的首行数据、fields= 或可读投影下的零行表头)与代码条件一致。"csv import already strips one leading mark"有 import-prepare.ts:49 为证。响应头与参数确实没变。关于 Response.text() 与 WHATWG 解码器会去掉 mark 的说法属实,对客户端的提示也写清了。没有 docs 句子描述 CSV 正文的首字节,所以不欠 docs。
  • 测试:新文件走真实 Hono 与 SQLite,按字节读取,pin 住 EF BB BF 只出现一次、默认格式、header=false、零行表头、0 字节空文件、json 与 xlsx 不带 mark,以及带 mark 的往返导入。PR 正文给了 main 上 6 红 2 绿的读数,并对两处写入分别做了 ablation。14 个 rest 测试文件和 plugin-auth 的 1 个测试文件,只在读取处剥掉一个前导 U+FEFF(锚定的正则),往返测试仍把带 mark 的文件喂给导入,没有放宽断言。import-template-route 中三组 csv 的字节数都加了 3,sha 已重算;0 字节那组未改。两个测试文件新增 module-top 的 import '@objectstack/objectql',这是 check:test-source-alias 的要求,增长有交代。plugin-auth 测试在 surface 之外,按 bounded in-place 豁免改动,已在正文写明。
  • 门禁:本 head 共 55 条 check-runs,37 条 success、18 条 skipped、0 条失败,包括 Test Core 1–8 与聚合 job、Lint & Repo Gates、TypeScript Type Check、Check Changeset。
  • 标题不带 !,没有 narrowing arm,不欠 battery。

R1 · 同类缺陷缺去处。 Acceptance notes 的"Not changed here"列了 5 个 Console 端没有 mark 的 CSV writer(ListView.tsx:5886、ObjectGrid.tsx:1617、data-table.tsx:2309、ReportExportEngine.ts:54、IdentityImportPanels.tsx:87),并说明"noted for the seat, same family"。这是同一类用户可见缺陷,只记给席位不算去处。服务端导出路径用 res.blob(),能拿到本修复,这一点已说明,但不覆盖这 5 处客户端生成的文件。请二选一:给一张卡(#N),或者写明一条可核对的理由说明它们不需要 mark(例如哪些 writer 的文件不会被 Excel 打开)。只改 PR 正文即可,不需要新 head。

非阻塞:Verification 一节写"51 check-runs, 35 success, 16 skipped",本 head 现在读到 55 / 37 / 18。数字过时了,不影响结论。

落地条款:非受管路径,Clause-② no,没有 packages/spec 路径,不欠 L2。R1 在 PR 正文收口后告诉我,我核正文即可。分支落后 main,合入 main 后把 merge-only delta 发我;本核对作为该 delta 的基线。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn

席位核对 · PR #34357 · L1-b · 2026-11-16T16:15Z

Head-sha: 6e2297c2acbf8d820618899aa0c40bf89a4b9b97

L1 delta · ACCEPT · 对照 L1 REWORK 6921943962,head 未变。只核 PR 正文。

落地条款:非受管路径,不欠 L2。分支落后 main,合入 main 后把 merge-only delta 发我;本 ACCEPT 作为该 delta 的基线。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Final head for landing · PR #34357 · 2026-11-16T16:54Z

Supersedes announce 6921861946 (head 6e2297c2).
Head-sha: 67500498c83365efb8748cd065088e749a34e7bf (dev report 6922999882 on #34163): a plain merge of origin/main 9e6fee19 into 6e2297c2, pushed without force. No conflict, no os-regen path. The PR's own diff against the new merge base is byte-identical to its diff at 6e2297c2 (sha256 624ff264, 18 files, +287/-31). Main brought no new in-process reader of the csv export body.
Checks at this head: 51 check-runs, 35 success, 16 skipped, 0 failed. @objectstack/rest:test (Test Core 5/8), plugin-auth (Test Core 7/8) and the rest typecheck ran fresh. PR body patched to this head.
Owed for landing: L1-b merge-only delta on this head (base: ACCEPT 6922042068). No L2 owed (Clause-②: no, no packages/spec/src/** path).


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn

席位核对 · PR #34357 · L1-b · 2026-11-16T16:55Z

Head-sha: 67500498c83365efb8748cd065088e749a34e7bf

L1 merge-only delta · ACCEPT · area o1-C 定稿评论 6923053928 所钉 head;对照 L1 ACCEPT 6922042068(@ 6e2297c2)。

  • 本 head 是 6e2297c2 与 origin/main 9e6fee19 的合并,父提交就是这两个。本 L1 亲核了 PR 自身 diff:两个 head 各对自己的 merge-base(951eceee 与 9e6fee19)取 diff,git patch-id --stable 都是 b3b0cc5b…,逐字节相同。仍是 18 个文件,+287/−31。
  • 门禁:本 head 读到 55 条 check-runs,36 条 success、18 条 skipped,没有失败;Check Changeset 在本核对时为 in_progress。入队前由区线程确认它为绿;读数不对应本 head 的,不算数。
  • 标题不带 !,没有 narrowing arm,不欠 battery。

落地条款:非受管路径,由区线程自行落地;不欠 L2。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac

Landing · PR #34357 · 2026-11-16T16:57Z

Probe Reading
Head 67500498c83365efb8748cd065088e749a34e7bf (announce 6923053928): merge of origin/main 9e6fee19 into 6e2297c2; the PR's own diff is byte-identical
L1 merge-only ACCEPT 6923075384 (L1-b) at this head; base ACCEPT 6922042068 (R1 closed by #34420)
L2 not owed: Clause-②: no, no packages/spec/src/** path in the diff
check-governed-merges --pr 34357 NOT governed · 318 lines ≤ 3000
Checks at head 35 success, 18 skipped, none red, none running (Check Changeset and PR-body guards green); mergeable clean
K (first-parent commits since PRBASE 9e6fee19, the Affected-set diff base of this head's Test Core run) 0 < 15; not a label or shared-budget PR
Battery not owed: no !, no narrowing arm

State change: ready for review + auto-merge (merge queue). On MERGED, Fixes #34163 closes the card; the area removes pm:dispatched and lease:o1-C in the close stroke. Follow-up #34420 carries the Console client-side CSV writers.


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 16, 2026 16:57
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit c9ef653 Nov 16, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/area-A5-34163 branch November 16, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rest export: CSV has no UTF-8 BOM, so Excel opens a Chinese (or any non-ASCII) export as garbled text

1 participant