Repository navigation
Commit beeaea4
committed
refactor(assail): move atomic writes out to the generation-directory follow-up
The owner chose to keep this PR to the KYAML copy and its preflight alias
checks. Race-resistant and crash-safe publishing moves to a stacked
follow-up that publishes a generation directory for every output mode, so
it covers the plain JSON path too.
- Remove src/atomic_write.rs; outputs are written with fs::write as on main.
- Keep every preflight check: .json name, symlink refusal, non-regular
refusal, unknown-is-not-absent, hard-link detection.
- Drop the companion-permissions test, which tested atomic_write's mode
carrying; it moves with that code.
- Document the remaining time-of-check/time-of-use and partial-write
limits in the doc comment and CHANGELOG.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PFaqv6iBXrt3W5Akd1Fq5k1 parent e895f6a commit beeaea4
5 files changed
Lines changed: 12 additions & 431 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
0 commit comments