Repository navigation
fix(install): keep checkout on uninstall, keep kit.toml mode - #1260
Merged
Merged
Conversation
Fix three installer bugs and add two out-of-place copy trims: - Skip deleting checkout files under dwarves-kit/ during in-place --uninstall (direct clone or symlinked checkout). - Replace ls-1 pipelines in the install summary with glob loops so --force-both after compat install exits 0 under pipefail. - Preserve existing kit.toml permissions (or source mode on fresh install) before moving mktemp output into place. - Exclude lib/*/tests and lib/*/*/tests when copying lib/ out of place. - Copy only the 9 referenced docs/impl-playbook files into out-of-place installs.
Resolve review blockers B1 and B2: - Compare KIT_DIR and CLAUDE_DIR/dwarves-kit by inode (-ef) in --uninstall so case-variant paths on macOS APFS stay protected. - Add red-team-engagement.md (linked from threat-modeling.md) to KIT_IMPL_PLAYBOOKS and widen tests/test-install-fixes.sh to follow playbook-to-playbook links transitively. - Add a case-variant in-place uninstall regression test (skipped on case-sensitive filesystems) and refresh docs/reference/FEATURES.md.
# Conflicts: # docs/reference/FEATURES.md
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.
What
Three installer bugs and two copy trims in install.sh.
Demo
In-place uninstall with a case-variant path: 41 checkout files deleted before, none after.
Proof
docs/verification/l312-install-fixes.md
Bookkeeping
no-board-row: leftover audit slice tracked on the devkit leftovers item