Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

carry the prompt-drift baseline onto migration 261's arc-verify hash

[._.]/ Adam Eivy26573db15f93
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 2e6ea807e0..fffbe8eff8 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -51,6 +51,7 @@
- **A universe's chosen render engine now governs its cast, place, and object renders — not just batch runs.** Setting "This universe's default" on the Render tab persisted the pin correctly, and batch renders and character reference sheets obeyed it, but rendering a single reference from a Cast (or Places/Objects) card went to whatever the install-wide default resolved to — Codex on any Codex-enabled install — because those rows built their request from global image-gen settings and sent an explicit backend, which outranks a record pin server-side. Every render a universe queues now resolves the same ladder the batch path already used: the universe's own pin, then the "Universe Bible & canon renders" pin under Settings → Image Gen, then the install default — with the pinned model routed to the knob that backend actually reads. That covers the canon rows, clean plates, the base-style probe, the Story Builder characters step, and the pipeline Nouns stage, which previously ignored both pins. A pin naming a backend the install has since disabled falls through to the next rung instead of queueing a doomed job. Renders that arrive with no backend at all — from the API or an agent — resolve the owning universe's pin server-side too, from a pin-only read rather than a full record load.
- **An unset seed no longer renders the same image every time.** Blank seed and guidance fields were coerced with `Number('')`, which is `0` rather than "absent", so single-image renders shipped a hard `seed: 0` that the local runner honors as a fixed seed — repeat renders of one prompt came back identical, and `guidance: 0` disabled CFG. Blank now means absent; an explicitly typed `0` is still sent.
+- **The prompt-drift baseline caught up with the exhaustive-arc-verification migration, un-reddening `main` again.** Migration 261 shipped a new `pipeline-arc-verify.md` and correctly recorded the prior default as an accepted-old hash, but the independent baseline in `scripts/setup-data-drift.test.js` still named the superseded hash as current — so every commit after it landed failed the drift sweep. The baseline now carries the shipped hash and lists the previous one among the accepted-old set. Same shape as the arc-resolve lapse below; the guard itself is unchanged and still fails when a migration ships a hash it doesn't export.
- **Foundation structure repair now keeps the safest verified checkpoint, not merely the one with the fewest findings.** The bounded verifier loop ranked candidates by raw blocker count, so a live repair that eliminated every high-severity authorization and climax failure was discarded because its deeper pass surfaced six medium/low follow-ups while an earlier four-finding checkpoint still contained two highs. Checkpoints are now ordered lexicographically by high, medium, low, then total count: one unresolved high can never be hidden by any number of polish findings, while equal-severity sets still prefer the smaller residual. The retained-progress message reports the complete severity profile so a partial repair is auditable.
diff --git a/scripts/setup-data-drift.test.js b/scripts/setup-data-drift.test.js
index aa7e07de89..695dafbefd 100644
--- a/scripts/setup-data-drift.test.js
+++ b/scripts/setup-data-drift.test.js
@@ -31,7 +31,7 @@ const EXPECTED_STAGE_OLD = {
'pipeline-teleplay.md': ['1280ef6b1ad68fa44070ca7478ec2a5f', '2568e14beaa574d43f8018a5def51d04', '376f779f4687b598f1c92ca4e770fd5a', '3f6fecc25573ed054b47db392250034a', 'afa4215330bf856429d70d7e2f856605'],
'pipeline-season-episodes.md': ['6e349ad26bed8a0ccb042571f03f03eb', 'c4928e2a5f833358116b29d2d669888d', '50c68a29c3ebc275db3095d06bd87100'],
'pipeline-arc-overview.md': ['6a3ecab43d1f46b7ef9aab6c69ea0326', 'd34d72b8e49ba303d38607845dd87f1c', '0a1f6ffa6908522e3690c5e9e53a6ee0', '612f8b04950e2ff26dd350dd76a062fe', '74d6c26548660d85fc345b2099c63b6c', '648e11352cd1565aee490de1f662bef0'],
- 'pipeline-arc-verify.md': ['52e31abc93e3105176236fcaa5d1575a', 'ff56d8387162017e08d5d0491060ddd6', '36aa70cdfc25d7549573a4d556e7702c'],
+ 'pipeline-arc-verify.md': ['52e31abc93e3105176236fcaa5d1575a', 'ff56d8387162017e08d5d0491060ddd6', '36aa70cdfc25d7549573a4d556e7702c', '83347e7d923580a3062033ab39b3c14b'],
'pipeline-volume-verify.md': ['03f3c874cb80e1c98abcf03168fa7a92', 'c6ea28e972ad6e229bafb2d602b4dda3'],
'pipeline-arc-resolve.md': ['0611db539437083621e19bb88b005e8d', '0787128babf3c4c50e2f2cdb60214030', '5b340885c6e8f8afc63424d6b5bc7eb7', '87bc5c01f1a8a97b681727a38b05edc6', '8bb134554c122d1583c479ab3010e53d', '8e348f3d1894382889f9f0ee7d5c6792', '96f73a7e90526d65ef2bb100fb1cd4bf', 'a8677bbe1eb38f871fb152a5b0fec7c6', 'cc27b4da1d1a13c35e35d1c2d6183815', '31eca76b68f40de1b93734fe9bc9f4bb', '17fbb066d7957dc2e345df1795bb0d9d', 'ebd85d3a0b5949f16877c25ca498cce9'],
'pipeline-script-verify.md': ['ed6c8101644cfe56a100eb6bfe3587f3'],
@@ -61,7 +61,7 @@ const EXPECTED_STAGE_NEW = {
'pipeline-teleplay.md': '2ea9974ac3803658b2314db1f5818b77',
'pipeline-season-episodes.md': 'a88e8e78a949b7aaf500d03314e2ea0b',
'pipeline-arc-overview.md': '5ed760caaf3cf88916ec28b220e2f590',
- 'pipeline-arc-verify.md': '83347e7d923580a3062033ab39b3c14b',
+ 'pipeline-arc-verify.md': '68f6956d7e09ebdb3870d8726b1b2a7a',
'pipeline-volume-verify.md': '49458d36700cb94e34806d536ffe2940',
'pipeline-arc-resolve.md': '2349bce80e9df8caafa391a6106327b6',
'pipeline-script-verify.md': '722c62462d05462603cf67ca0ed1dee8',