MVP 1.0
This commit is contained in:
1 parent
be11f82f84
commit
e42f751fdc
47 files changed
+3359
-301
No files matched your search
@@ -66,6 +66,9 @@ _JOURNAL_DAY_COLUMNS = {
|
||||
_JOURNAL_DRAFT_COLUMNS = {
|
||||
"generation_snapshot": "TEXT NOT NULL DEFAULT '{}'",
|
||||
}
|
||||
_GUIDELINE_COLUMNS = {
|
||||
"style_context_json": "TEXT NOT NULL DEFAULT '{}'",
|
||||
}
|
||||
_DEBUG_RUN_COLUMNS = {
|
||||
"space_id": "TEXT",
|
||||
"journal_day_id": "TEXT",
|
||||
@@ -487,6 +490,7 @@ def init_db() -> None:
|
||||
_mark(conn, "014_identity_registry")
|
||||
from journal_generation_policy import backfill_missing_settings, seed_generation_instructions
|
||||
|
||||
_ensure_columns(conn, "generation_guidelines", _GUIDELINE_COLUMNS)
|
||||
seed_generation_instructions(conn)
|
||||
backfill_missing_settings(conn)
|
||||
_mark(conn, "015_journal_generation_settings")
|
||||
@@ -495,6 +499,10 @@ def init_db() -> None:
|
||||
_mark(conn, "018_debug_runs")
|
||||
_ensure_columns(conn, "debug_runs", _DEBUG_RUN_COLUMNS)
|
||||
_mark(conn, "019_debug_run_placement")
|
||||
seed_generation_instructions(conn)
|
||||
_mark(conn, "020_voice_style_context")
|
||||
seed_generation_instructions(conn)
|
||||
_mark(conn, "021_voice_legacy_immutable")
|
||||
from writing_profile_store import bootstrap_from_existing
|
||||
|
||||
bootstrap_from_existing()
|
||||
Reference in new issue
Block a user