fix: quality cleanup - shared storage permissions (chunk 11/11) #532

Closed
didericis-codex wants to merge 1 commits from fix/shared-storage-permissions into fix/bounded-heavy-operations
Collaborator

Stacked on #531. Final quality-cleanup hardening chunk tracked by #444 and PRD 0082.

  • Creates and verifies the shared SQLite directory and database with private modes before SQLite can write control-plane state.
  • Repairs existing modes and propagates permission-enforcement failures instead of continuing best-effort.
  • Applies gateway credential directory and file modes after copying, consistently across Docker, Apple Container, and Firecracker transports.
  • Keeps the policy in the shared store and backend-neutral gateway provisioner rather than duplicating it in concrete backends.

Validation: all 2,520 unit tests pass; affected-file Pyright reports 0 errors; affected-file Pylint scores 10.00/10; git diff --check passes.

Refs #444.

Stacked on #531. Final quality-cleanup hardening chunk tracked by #444 and PRD 0082. - Creates and verifies the shared SQLite directory and database with private modes before SQLite can write control-plane state. - Repairs existing modes and propagates permission-enforcement failures instead of continuing best-effort. - Applies gateway credential directory and file modes after copying, consistently across Docker, Apple Container, and Firecracker transports. - Keeps the policy in the shared store and backend-neutral gateway provisioner rather than duplicating it in concrete backends. Validation: all 2,520 unit tests pass; affected-file Pyright reports 0 errors; affected-file Pylint scores 10.00/10; git diff --check passes. Refs #444.
didericis added 1 commit 2026-07-27 00:59:58 -04:00
fix: enforce shared storage permissions
lint / lint (push) Failing after 1m2s
test / image-input-builds (pull_request) Successful in 1m1s
test / unit (pull_request) Successful in 55s
test / integration-docker (pull_request) Failing after 1m3s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 14m45s
38a67d2767
didericis force-pushed fix/shared-storage-permissions from 7d0e57fbe6 to 38a67d2767 2026-07-27 00:59:58 -04:00 Compare
didericis-codex closed this pull request 2026-07-27 01:36:12 -04:00
Some checks are pending
lint / lint (push) Failing after 1m2s
test / image-input-builds (pull_request) Successful in 1m1s
test / unit (pull_request) Successful in 55s
test / integration-docker (pull_request) Failing after 1m3s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 14m45s

Pull request closed

Sign in to join this conversation.