Skip to content

v1.2.1 — portability (no hardcoded paths)

Choose a tag to compare

@scottconverse scottconverse released this 22 Jun 05:34
· 41 commits to main since this release

Portability release: the kit installs and runs on any machine — no path tied to the author's account.

Fixed

  • No hardcoded machine paths in shipped files:
    • ClaudeElevatedDevHelper.ps1 trusted roots resolve via $env:USERPROFILE (not C:\Users\<name>).
    • hooks.example.json notify hook: portable <YOUR-HOME> placeholder in the proven -File form (the installer wires the real absolute path automatically).
    • settings.autonomy.example.json additionalDirectories uses a YOUR_USERNAME edit-me placeholder.
    • The installer (Setup-Autonomy.ps1) was already portable.
  • Setup-Autonomy.ps1 now backs up an existing ~/.claude/CLAUDE.md before overwriting (was clobbered with no backup).

Added

  • tests/Test-NoHardcodedPaths.ps1 — portability regression guard; fails if any shipped file reintroduces a literal C:\Users\<account> path (catches both .ps1 single- and JSON double-backslash forms; placeholders + CHANGELOG history exempt).

Docs

  • README step 3 now states what the installer actually writes (only bypassPermissions + the Stop hook; it preserves existing ask/deny) vs. the optional manual example.
  • Elevated-helper addendum documents the real blast radius honestly: the user-writable trusted roots make RunTrustedPowerShellScript a no-UAC local-admin path for any code at the user's integrity level — an accepted single-owner trade-off, not a sandbox.

Quality gate

Cleared a GauntletGate full-lane (5-role adversarial) audit pre-push: it caught a broken notify-hook example and the missing portability guard; both fixed and re-verified. See CHANGELOG.md.