Skip to content

install.sh: future improvements — uninstall, dry-run, backup, integrity checks #46

Description

@KlementMultiverse

Deferred from #39

These were identified by CodeRabbit review but deferred as nice-to-have. Track here for future implementation.

# Feature Why Deferred
1 git init -b main requires Git ≥ 2.28 Ubuntu 18.04 is EOL, most systems have 2.28+
2 No integrity verification (checksums on copy) Local install only, checksums in forge-core.json
3 --uninstall option rm -rf ~/.claude/{agents,commands,scripts,rules} works for now
4 --dry-run / --check mode Nice but low priority
5 Backup before overwriting (~/.claude.bak.timestamp) Nuke-and-replace + git source reduces need
6 Partial install rollback (atomic install) Nuke-and-replace is atomic per directory

When to Revisit

  • When forge has external users (not just us)
  • When install is fetched remotely (not local clone)
  • When someone reports a broken install on older system

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions