Repository navigation
Commit 741a280
committed
fix(skills): fail closed on pre-rename resolution and make queued writes disposal-aware
Review follow-ups: the pre-rename realpath has no fallback to the stale path (the error propagates, the owned sidecar is removed, and the rename is skipped), the update rename-rejection test asserts the existing SKILL.md and directory survive, and queued writes reject when the manager is disposed before the operation starts and re-check disposal after acquiring the directory lock and before staging/validation/rename. Descriptor-relative publication is tracked in Zoo-Code-Org#2203. SkillsManager.spec.ts 128 passed; tsc clean.1 parent ca68406 commit 741a280
2 files changed
Lines changed: 67 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
746 | | - | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
747 | 751 | | |
748 | 752 | | |
749 | 753 | | |
| |||
774 | 778 | | |
775 | 779 | | |
776 | 780 | | |
| 781 | + | |
777 | 782 | | |
778 | 783 | | |
779 | 784 | | |
| 785 | + | |
780 | 786 | | |
781 | 787 | | |
782 | 788 | | |
| 789 | + | |
783 | 790 | | |
784 | 791 | | |
785 | 792 | | |
| |||
1235 | 1242 | | |
1236 | 1243 | | |
1237 | 1244 | | |
1238 | | - | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
1239 | 1248 | | |
1240 | 1249 | | |
1241 | 1250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2632 | 2632 | | |
2633 | 2633 | | |
2634 | 2634 | | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
2635 | 2640 | | |
2636 | 2641 | | |
2637 | 2642 | | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
2638 | 2682 | | |
2639 | 2683 | | |
2640 | 2684 | | |
| |||
4158 | 4202 | | |
4159 | 4203 | | |
4160 | 4204 | | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
| 4210 | + | |
| 4211 | + | |
| 4212 | + | |
| 4213 | + | |
| 4214 | + | |
| 4215 | + | |
| 4216 | + | |
4161 | 4217 | | |
4162 | 4218 | | |
4163 | 4219 | | |
| |||
0 commit comments