Skip to content

Add fail-closed journal diagnostics - #22

Merged
VeryComplexAndLongName merged 1 commit into
mainfrom
feat/journal-format-diagnostics
Aug 13, 2026
Merged

VeryComplexAndLongName merged 1 commit into
mainfrom
feat/journal-format-diagnostics

Conversation

@VeryComplexAndLongName

Copy link
Copy Markdown
Owner

Adds structured compatibility diagnostics for persisted run journals while preserving fail-closed recovery behavior.

  • distinguishes invalid JSON, invalid shape, future journal/checkpoint versions, invalid checkpoints, and workspace mismatches
  • preserves incompatible journal bytes and original path without quarantine or rewrite
  • returns actionable upgrade guidance through standalone recovery endpoints
  • displays the same core guidance from the VS Code extension
  • records the persistence policy in ADR 0006

Verification:

  • npm run verify (268 tests)
  • npm run build
  • openspec change validate --strict journal-format-diagnostics
  • live authenticated future-journal smoke with HTTP 409 and unchanged SHA-256

@VeryComplexAndLongName
VeryComplexAndLongName merged commit 0fc8d32 into main Aug 13, 2026
4 checks passed
@VeryComplexAndLongName
VeryComplexAndLongName deleted the feat/journal-format-diagnostics branch August 14, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant