Repository navigation
Commit be10cdf
committed
fix(presets): clean up a deleted standalone override's stale script
reconcile_all_script_chains()'s worklist was built from script names
a preset manifest declares plus override files currently on disk. A
deleted standalone override's name drops out of that scan entirely,
so the stale canonical script it left behind survives even an
explicit reconcile call forever -- nothing ever learns the name
needs re-checking again.
Also fold in every name with a provenance sidecar (recorded the last
time this manager generated a canonical script for it), not only
names still declared somewhere today. _reconcile_script_chain()
already restores-to-core or removes a name nothing provides any
more, and already preserves a canonical file the user edited after
the fact via the same provenance hash check -- this just makes sure
a deleted override's name actually reaches that logic again.
Assisted-by: Claude Code (model: Claude Sonnet 5, autonomous)1 parent d1b55df commit be10cdf
2 files changed
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
976 | 989 | | |
977 | 990 | | |
978 | 991 | | |
| |||
994 | 1007 | | |
995 | 1008 | | |
996 | 1009 | | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
997 | 1016 | | |
998 | 1017 | | |
999 | 1018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2089 | 2089 | | |
2090 | 2090 | | |
2091 | 2091 | | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
2092 | 2122 | | |
2093 | 2123 | | |
2094 | 2124 | | |
| |||
0 commit comments