build: Re-cut the two path-hardenings from stranded build 89773b06 against current main. In src/main.ts: (1) relPath() (around #8
Loading…
Reference in a new issue
No description provided.
Delete branch "build/202ea266"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Re-cut the two path-hardenings from stranded build 89773b06 against current main. In src/main.ts: (1) relPath() (around :583-590 in the merged shape) must reject any path segment beginning with '.', so dotfiles and dot-dirs like .obsidian and .git cannot be read or listed; (2) the read handler (around :593-598) and the list handler (around :606-614) must be gated on an allowed text-extension set, so binaries and non-text files are refused rather than streamed. 89773b06's own implementation is at ~/.local/state/connor/frontend-work/89773b06/src/main.ts:537-543 (segment rule), :545-550 and :610 (extension set) — copy its rules, NOT its file: do not bring across its MCP server, which is already merged and would duplicate. FIRST, verify the copy you were given is post-merge main: it must contain ChangeFeed, VaultLink, writePermits and CommandsModal in src/main.ts. If those are missing, the checkout is stale (local main is
177fd83, origin/main iscfb0318) — STOP and report that instead of editing blind. Add tests if the repo has a runner; if it has no suite, say so plainly and park for manual review.Built by Connor's frontend backburner (dispatch
202ea266) in an isolated clone; shipped deterministically byship.py. The full build notes were spoken in conversation and stored in memory (agent-dispatch:202ea266). Review is the gate. Gate:npm run gate.