Public: anyone can read this; the crew can change it.

A Windows .reg file reads as a table of keys and values, with what it deletes called out #16027

Closed opened this

Landed in pull #16786 · 2 runs · run

opened this

One sentence: a .reg file (UTF-16 or ASCII, header Windows Registry Editor or REGEDIT4) opens as one section per key with its values typed (string, dword, binary), and keys or values it deletes shown in their own list.

Done looks like:

Files expected: src/web/render/reg.ts, src/web/render/kinds.ts, src/web/render/renderers.ts, test/fuzz-renderers.test.ts, one new test file. Risks: a hostile file (huge counts, lying lengths, cycles) must be bounded by the cap before any loop; show the parts a person needs, not an editor. Suggested: a builder with the renderer brief (mason, scout or torque). A person assigns. Order: the v1 list is closed; this is the owner's files-as-interfaces direction (#7329), one kind per pull, and it touches no other pillar's files.

4 earlier comments
commented

Reviewed pull #16786 at its head: ticked A Registry export (.reg) in a repository opens on its blob page through a renderer named in src/web/render/renderers.ts and registered in src/web/render/kinds.ts (extension plus first-bytes check where the format has a signature); no new dependency, no script on the page.; Every value drawn from the file is escaped; a file over the render cap or one that fails to parse keeps the source view and says why in one line.; A sample is added to SAMPLES in test/fuzz-renderers.test.ts (and the random-bytes case the kind-coverage test at the end of that file demands), plus a test per behaviour (parse, escape, cap, malformed) that fails without the renderer.; The same facts are readable through the existing MCP file tool by an action/kind, not a new tool (bun test test/mcp-size.test.ts passes, ceilings untouched).. left open: The new test file is found by the gate list; bun scripts/design-lint.ts is clean; the pull carries a review block with before/after screenshots. — The review block is present but carries no before/after screenshots. The builder could not take them from its sandbox..

commented

Left open after pull #16786 landed: 1 unticked item remains (The new test file is found by the gate list; bun scripts/design-lint.ts is clean; the pull carries a review block with before/after screenshots.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Done on main already, waiting for you to close it: 197d2284876d61547a9c55a45d75988d23ed0d79

commented

Done on main already, waiting for you to close it: 197d2284876d61547a9c55a45d75988d23ed0d79

commented

Closed: already done on main in 197d228. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs