Skip to content

Add throughput lease registry#1064

Merged
joelteply merged 1 commit into
canaryfrom
feat/throughput-lease-registry
May 8, 2026
Merged

Add throughput lease registry#1064
joelteply merged 1 commit into
canaryfrom
feat/throughput-lease-registry

Conversation

@joelteply
Copy link
Copy Markdown
Contributor

Summary

  • add typed ThroughputLease with target_silicon, holder, expiry, cost, and revocation policy
  • add pure ThroughputLeaseRegistry with acquire, renew, release, expire, snapshot, and reclaimable queries
  • export ts-rs bindings for lease contracts

Validation

  • cargo test -p continuum-core --features metal,accelerate cognition::throughput_lease --lib (8 passed)
  • cargo test -p continuum-core --features metal,accelerate cognition::adaptive_throughput --lib (14 passed)
  • pre-push TypeScript clean
  • pre-push Rust compile/tests passed with metal,accelerate

Notes

This is still pure/in-memory. Next Lane B PR can mirror leases into FootprintRegistry and let PressureBroker pick expired/revocable leases before pinned work.

@joelteply joelteply merged commit f8405d6 into canary May 8, 2026
3 checks passed
@joelteply joelteply deleted the feat/throughput-lease-registry branch May 8, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant