Repository navigation
Conversation
Entire-Checkpoint: 6d59a5224f06
Entire-Checkpoint: b228aabb8342
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/lib/ownership-gate.ts: per-sitewriteFile(scan (awaited or not, any function form), keyedfile#fn#destExpr.templates.test.tsnow uses it; registry re-keyed (12 sites), site-count cross-check added. The block stays in place (same describe) so the AC-4 command still counts it.Acceptance criteria
fs.writeFile sites are registered (ownership-gate.test.ts, 6 cases named1106)const name = async () => {…}attributed to itselftemplates.test.ts+ new file: 65 passed.-t "ownership policy covers"still runs side a and side b (2 tests)Mutation-verified: AC-1 — matched
await writeFile(only; src/lib/ownership-gate.test.ts > ownership gate write-site scan > 1106 AC-1: registers a non-awaited writeFile( and names its destination failed; restored.Only the two named test files were run, plus build and lint (per runner context); the full suite is left to the runner.
Closes #1106
🤖 Generated with Claude Code
Runner verification (guard-2026-09 wave 1, 2026-09-20)
templates.test.tshunks sit at lines 31 and 230–311 (the old side-(b) block); fix(#1053): copy-mode sync replaces foreign scripts/dev symlinks #1111 appends at 1215. Trial merge: clean.writeFile(was not filed; the guard-the-guard count can misfire on a comment mentioningwriteFile(.npm testfrom a clean shell on this branch: 323 files, 6555 passed, 1 expected fail, 3 skipped, 386 s.