Skip to content

feat(reborn): add database capability lease stores#3368

Merged
serrrfirat merged 2 commits into
reborn-integrationfrom
db-capability-lease-store
May 7, 2026
Merged

feat(reborn): add database capability lease stores#3368
serrrfirat merged 2 commits into
reborn-integrationfrom
db-capability-lease-store

Conversation

@serrrfirat
Copy link
Copy Markdown
Collaborator

Summary

  • add feature-gated libSQL/Postgres CapabilityLeaseStore implementations
  • persist scoped capability leases with owner/invocation/lease columns plus validated JSON payloads
  • preserve lease lifecycle semantics for issue, revoke, claim, consume, scope listing, and active context lookup
  • add libSQL contract tests for persistence, lifecycle mutation, and fingerprint claim guards

Verification

  • cargo test -p ironclaw_authorization --features libsql --test db_capability_lease_store_contract
  • cargo test -p ironclaw_authorization --features libsql
  • cargo clippy -p ironclaw_authorization --features postgres --tests -- -D warnings
  • cargo clippy -p ironclaw_authorization --features libsql,postgres --tests -- -D warnings

Stacked on #3349 because run-state/approval DB stores are the adjacent control-store slice.

Refs #3333, #3026, #3087

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot added size: XL 500+ changed lines risk: low Changes to docs, tests, or low-risk modules scope: docs Documentation scope: dependencies Dependency updates contributor: core 20+ merged PRs labels May 7, 2026
Base automatically changed from feat/reborn-run-state-db-stores to reborn-integration May 7, 2026 20:02
@serrrfirat serrrfirat force-pushed the db-capability-lease-store branch from b6efc7f to 880dd16 Compare May 7, 2026 20:02
@serrrfirat serrrfirat merged commit 1c214b3 into reborn-integration May 7, 2026
14 checks passed
@serrrfirat serrrfirat deleted the db-capability-lease-store branch May 7, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor: core 20+ merged PRs risk: low Changes to docs, tests, or low-risk modules scope: dependencies Dependency updates scope: docs Documentation size: XL 500+ changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant