Skip to content

Detect SQLite journal sidecars during workspace and handoff inspection #30

Description

@jacksenpierce

Status

Confirmed inspection gap; the reported external artifact has not yet been independently examined here.

Observed behavior

Workspace adoption rejects source databases with adjacent -wal, -shm, or -journal files. inspect_workspace() currently inventories .sqlite files but does not report journal sidecars next to the declared authority or handed-off databases.

Desired outcome

Report adjacent SQLite journal sidecars as an explicit unsafe-handoff/workspace condition and cold-open the standalone authoritative .sqlite at its declared head. Do not infer corruption merely from an empty sidecar; distinguish presence, size, and verification result.

Acceptance evidence

Tests cover empty and nonempty WAL/SHM/journal companions, a valid checkpointed database, and a handoff whose standalone database cannot verify its declared head.

Related to #23 and #22.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcorpus-safetyCorpus release safety and source-tree protectionspm4Parmesan 4 managed-workspace behavior

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions