mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-04-28 03:40:11 +00:00
* Add phase 0
Feature toggles ("Labs" settings tab) + full backup zip (DB + .avt exports via existing JSZip)
* Add phase 1
Phase 1: State Tracking (Record Deltas)
### 1A. Schema Migration
### 1B. Type Definitions
### 1C. Database Layer
### 1D. Delta Capture in Classification
### 1E. Auto-Snapshot Creation
* Phase 2
Rollback on Delete (Cascade)
### 2A. Rollback Engine
### 2B. Integration into Delete Flow
### 2C. Retry System Integration
* Add phase 3
### 3A. Schema Migration
### 3B. Type Changes
### 3C. Database Layer
### 3D. Branch Creation Rework
### 3E. Copy-on-Write Modification
### 3F. Entity Loading Rework
### 3G. Existing Branch Compatibility
### 3H. Add SQL editor
* Phase 4
Add restore from back up feature.
* Disable delete parent branch if children exists
* Add save and rewind to actions/suggestions
+++ On deleting story entries, rewind to saved actions.
+++ If no actions are saved (Pre feature dev for example) then regenerate options again as fall back
* fix: normalize line endings to LF
* fix: normalize remaining config file line endings to LF
* code conflict
* Fix conflict
* Control debug logs in roll back service with toggle
* chore: bump version to 0.7.0-pre.1
* merge issues
* Fix review comment
---------
Co-authored-by: Failerko <c.dann@seznam.cz>
5 lines
373 B
SQL
5 lines
373 B
SQL
-- Store generated action suggestions per entry for time-travel consistency.
|
|
-- When entries are deleted (time travel), the saved actions from the new last entry
|
|
-- are restored instead of keeping stale ones from the deleted position.
|
|
-- JSON blob: either ActionChoice[] or Suggestion[] depending on story mode.
|
|
ALTER TABLE story_entries ADD COLUMN suggested_actions TEXT;
|