[P0-24] Expose authenticated target-lease HTTP APIs and enforce leases in target execution #32
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ARDR refresh — 2026-08-29
Canonical research/design have been refreshed against the current implemented lease-store stack.
lost-rob0t/starintel-auto-research/roam/research/star-server/STAR-RESEARCH-032-authenticated-target-lease-http-execution.org—READY_FOR_DESIGN; operator research approval recovered from Auto-Research #157.lost-rob0t/starintel-auto-research/roam/design/star-server/STAR-SERVER-032-authenticated-target-lease-http-execution.org—DESIGN_READY_FOR_OPERATOR_REVIEW.Current implementation reality
Do not redesign the lease backend. Current server already has the backend-neutral lease protocol, Valkey adapter, contract tests, and real-Valkey integration/hardening. The remaining #32 gap is the integration layer above that implementation.
Remaining bounded scope
Proposed implementation slices — ALL PENDING OPERATOR APPROVAL
Slice 1 — pure application-service contract
Fake existing lease store only; no HTTP/network.
Mandatory RED: unauthorized service-call context attempts acquire. Untouched current server must fail because no target-lease application service exists. GREEN must return typed authorization denial and prove fake-store invocation count is zero.
Sibling fixture: authorized embedded call returns the same typed service result later projected by HTTP.
Slice 2 — authorization/idempotency/deadline
targets:lease+ target/program/dataset/actor scope;Slice 3 — HTTP projection
Stable projections for acquired/renewed/released/found/listed, conflict, stale/precondition, hidden/not-found, unauthorized/forbidden, invalid, overload, backend unavailable, known timeout, and unknown outcome. No Valkey/backend/private-owner leakage.
Slice 4 — target dispatch authority
Required-lock target without server-created authority fails before local actor send or Rabbit publish. A caller-provided fake fencing token must not satisfy the gate.
Slice 5 — fenced effect acceptance
RED scenario:
Slice 6 — local/Rabbit equivalence
Equivalent immutable authority, stale-work classification, and bounded settlement behavior.
Acceptance
Implementation authorization
PENDING / AWAITING_OPERATOR_IMPLEMENTATION_APPROVALResearch approval/design readiness/issue state do not authorize RAGE implementation.