Skip to content

feat(protection): add lifecycle foundation - #22

Merged
vishr merged 6 commits into
docs/oss-production-baselinefrom
feat/oss-protection-foundation
Aug 8, 2026
Merged

feat(protection): add lifecycle foundation#22
vishr merged 6 commits into
docs/oss-production-baselinefrom
feat/oss-protection-foundation

Conversation

@vishr

@vishr vishr commented Aug 7, 2026

Copy link
Copy Markdown
Member

Stacked on #21.

Implements OpenSpec sections 1-4 as a safety-focused foundation:

  • closed S3-compatible protection and external-service schema contracts
  • snapshot, PITR, and cold recovery envelopes only
  • driver capability records that keep unqualified services at Run
  • active-volume and protected lifecycle state
  • canonical locks, fencing, journals, credentials, runner envelopes, and systemd units
  • crash, cancellation, contention, disconnection, redaction, and idempotency coverage

All managed runtimes remain single-node. There is no replication target, operation, evidence type, schedule, or MinIO second-deployment path.

No database backend is graduated or advertised as Managed in this PR. Database backup and restore engines follow as separate slices.

Validation:

  • go test ./...
  • go vet ./...
  • openspec validate complete-oss-production-baseline --type change --strict --no-interactive

vishr added 6 commits August 7, 2026 16:41
Establish shared schema, capability, fencing, journaling, active-volume, and scheduled-runner contracts before adding the first PostgreSQL backend. Unqualified drivers remain Run and mutations fail closed.
Project external credentials through least-privilege release files, bind protected service rendering to observed lifecycle state, and make recurring operations occurrence-specific. Fail closed on foreign units, unavailable images, stale timing, and credential cleanup errors.
@vishr
vishr marked this pull request as ready for review August 8, 2026 01:45
@vishr
vishr merged commit e61a009 into docs/oss-production-baseline Aug 8, 2026
@vishr
vishr deleted the feat/oss-protection-foundation branch August 12, 2026 04:42
vishr added a commit that referenced this pull request Aug 18, 2026
feat(protection): add lifecycle foundation
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