Harden private SQLite state filesystem boundaries #892

Merged
timmy merged 1 commits from timmy/891-private-state-boundary into main 2026-08-15 12:33:36 +00:00
Owner

Closes #891

Enforces one filesystem boundary across every durable private SQLite store: owner-only state directory/database/sidecars, permissive-mode repair, and fail-closed symlink rejection. Existing Session read-only validation keeps its no-create behavior.

TDD proof:

  • RED: new private-state test failed because src.private_state did not exist; store adoption test failed with mode 0755.
  • GREEN focused: 144 passed across every touched store suite.
  • Full suite: 1712 passed, 1 skipped.
Closes #891 Enforces one filesystem boundary across every durable private SQLite store: owner-only state directory/database/sidecars, permissive-mode repair, and fail-closed symlink rejection. Existing Session read-only validation keeps its no-create behavior. TDD proof: - RED: new private-state test failed because `src.private_state` did not exist; store adoption test failed with mode `0755`. - GREEN focused: `144 passed` across every touched store suite. - Full suite: `1712 passed, 1 skipped`.
timmy added 1 commit 2026-08-15 12:30:08 +00:00
security: harden private SQLite state boundaries (Closes #891)
All checks were successful
CI / lint (pull_request) Successful in 1m57s
CI / build-release (pull_request) Successful in 6s
CI / browser-journey (pull_request) Successful in 54s
CI / release-candidate (pull_request) Has been skipped
b13eeb9cc0
timmy merged commit 5105fb40d3 into main 2026-08-15 12:33:36 +00:00
timmy deleted branch timmy/891-private-state-boundary 2026-08-15 12:33:36 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#892
No description provided.