AltimateAI / AltimateAI/altimate-code

upgrade: extend patch-only auto-upgrade gate to explicit `altimate upgrade` + pre-migration DB backup

Abierto
#998 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
811
Forks
134
Merge medio
3 d 2 h
PR fusionados (30 d)
50

Descripción

Found during v0.9.1 release review (Chaos-Gremlin). (1) The new patch-only gate (`installation/index.ts:~59`, `cli/upgrade.ts:~147`) only protects the SILENT background auto-upgrade; the explicit `altimate upgrade` command has no release-type gating, so a cron/CI/aliased `altimate upgrade` jumps across minor/major unattended. Add confirmation (or gating) when the resolved target is a minor/major bump and no explicit `--target` was given. (2) No pre-migration DB backup before first launch alters schema — add an opt-in/automatic snapshot of `opencode.db` for a rollback path.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.