Commit d5e1815
feat!: scan↔rollback duality — full-state rollback default, --preserve-state, path targeting (#231)
* wip: rollback duality — core replay module, RevertOpts threading, rollback multi-leg orchestration
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* wip: rollback duality — scan PATHS, remove preserve/hosted legs, contract doc, suite green (163/163)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* wip: rollback duality — hosted-only remove path, 36 new behavior tests, suite 168/168
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: review-driven hardening of the rollback duality
- P0: line-aware fragment removal (gem DEPENDENCIES/CHECKSUMS indent corruption)
- dry-run hosted previews compose like wet runs (per-purl reverts claim the
in-memory ledger; replay never refuses their edits)
- remove hosted legs persist the mutated ledger before partial-failure exits
- all three state stores loaded under apply.lock (pre-lock = existence probes)
- vendoredFailed envelope key; vendored reserved-empty; any drift-keep makes
remove a partialFailure; wiring-unknown guards apply under --preserve-state
- vacuous anchor-original probe refuses; gem section-move record fails closed
- FIFO/regular-file guards on replay reads+writes; error-class prints escape
--silent; leftover-edit replays are prompted
- hosted-only remove path (manifest-less redirect projects) + contract sync
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(ci): clippy lints + extend GEM_UUIDS with the fifth activestorage 6.0.3 patch
The hosted-e2e pin drifted independently of this branch: production
published a fifth free-tier activestorage@6.0.3 patch on 2026-08-24
(GHSA-xr9x-r78c-5hrm / CVE-2026-66066, the Active Storage libvips
variant-processing advisory) and the server-ranked selection now wires
it. Live-verified via the public proxy /patch/view before pinning.
Suite green locally (16 passed).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(windows): classify rooted-but-driveless path patterns as absolute
Path::is_absolute() is false on Windows for /global/store (rooted, no
drive letter), so PathScope::parse classified it relative and it could
never match an out-of-cwd path. A rooted pattern can never be
cwd-relative — classify on has_root() (identical to is_absolute on
Unix). Fixes path_scope::absolute_pattern_matches_paths_outside_cwd on
the windows-latest runner.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 3a2b06d commit d5e1815
58 files changed
Lines changed: 8422 additions & 340 deletions
File tree
- crates
- socket-patch-cli
- src
- commands
- scan
- tests
- socket-patch-core/src
- patch/redirect
- vendor
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
20 | 110 | | |
21 | 111 | | |
22 | 112 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments