You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
P3: Journal setup conflict review offers only Try again for a hand-edited app definition #168
When a Journal app definition file has been edited by hand, the setup review names the file but offers only 'Try again', leaving the user stuck unless they know how to revert the file manually (seen 2 of 2 times).
Expected: offer clear actions to restore the app's definition (keeping a backup copy of the edited file) or cancel, plus plain guidance on resolving the conflict by hand.
Approved by Callum in ops inbox triage (2026-11-26).
Retested live on production (2026-11-28, Connect /health15537b6ed38d4adc6c741a438c611700460dc856, Journal index-journal-789451fe81ab.js, SDK 0.2.55 / UI 0.2.55). Keeping this issue open for two reasons observed live:
PR Add recovery actions and guidance for non-adoptable setup conflicts #181's backup+restore panel does not trigger for a hand-edited managed contract: Core (packs.rs) now marks a modified installed managed resource as replaceable() (adoptable), and inspectSetupConflicts() filters out adoptable conflicts. After hand-editing _mdbase/contracts/journal.entry.md via CLI and reloading Journal, @mdbase-dev/ui's shared review handles it instead: Setup needs your decision -> Use Journal's version -> "Replace the shared format for this app's notes with this app's version. Yours isn't kept." -> Set up (no backup copy created, no Cancel button, footer says Set up Journal in ... rather than a conflict alert).
Clicking Set up fails deterministically (3/3): Applying Use Journal's version -> Set up blocks Journal with "Couldn't check this collection's setup" and console error mdbase application blocked: configuration_unavailable (sdk.js:35866). Contract bytes remain unchanged on disk until manually reverted via CLI (manual byte restore immediately returned Journal to ready and saved the pending draft). Filed the SDK/runtime failure as P2: Setup apply fails with configuration_unavailable when replacing a modified managed contract mdbase-connect#1997.
Other checks from the run passed: conflict detection correctly surfaced the remapped path _mdbase/contracts/journal.entry.md, dismissing the sheet via Escape preserved the unsaved local draft, and Choose a different collection returned cleanly to the chooser.
Verified live in production on index-journal-d016f96445c2.js (Connect 5be4c301c8b6, CLI 0.2.60, PR #202 + SDK 0.2.59, 2026-11-28): setup conflict review for a hand-edited managed contract offered backed-up restore, manual recheck, collection switching, and cancel; backed-up restore completed cleanly, created a backup matching the hand-edited file's SHA-256 byte for byte on CLI disk, and a new Journal entry synced with zero pending changes. Closing as fixed.
Activity
callumalpass commentedon Nov 28, 2026
Retested live on production (
2026-11-28, Connect/health15537b6ed38d4adc6c741a438c611700460dc856, Journalindex-journal-789451fe81ab.js, SDK0.2.55/ UI0.2.55). Keeping this issue open for two reasons observed live:packs.rs) now marks a modified installed managed resource asreplaceable()(adoptable), andinspectSetupConflicts()filters out adoptable conflicts. After hand-editing_mdbase/contracts/journal.entry.mdvia CLI and reloading Journal,@mdbase-dev/ui's shared review handles it instead: Setup needs your decision -> Use Journal's version -> "Replace the shared format for this app's notes with this app's version. Yours isn't kept." -> Set up (no backup copy created, no Cancel button, footer saysSet up Journal in ...rather than a conflict alert).mdbase application blocked: configuration_unavailable(sdk.js:35866). Contract bytes remain unchanged on disk until manually reverted via CLI (manual byte restore immediately returned Journal to ready and saved the pending draft). Filed the SDK/runtime failure as P2: Setup apply fails with configuration_unavailable when replacing a modified managed contract mdbase-connect#1997.Other checks from the run passed: conflict detection correctly surfaced the remapped path
_mdbase/contracts/journal.entry.md, dismissing the sheet via Escape preserved the unsaved local draft, and Choose a different collection returned cleanly to the chooser.callumalpass commentedon Nov 28, 2026
Verified live in production on
index-journal-d016f96445c2.js(Connect5be4c301c8b6, CLI0.2.60, PR #202 + SDK0.2.59, 2026-11-28): setup conflict review for a hand-edited managed contract offered backed-up restore, manual recheck, collection switching, and cancel; backed-up restore completed cleanly, created a backup matching the hand-edited file's SHA-256 byte for byte on CLI disk, and a new Journal entry synced with zero pending changes. Closing as fixed.