Skip to content

[TASK][MVP] Implement Operation Admission and Idempotency - #41

Merged
Noam-Alum merged 5 commits into
mvp/implementationfrom
mvp/operation-admission
Nov 1, 2026
Merged

Noam-Alum merged 5 commits into
mvp/implementationfrom
mvp/operation-admission

Conversation

@Noam-Alum

Copy link
Copy Markdown
Member

Required result

Outcome

Implement generic typed operation admission in Provider Python using direct Protocol-level tests. A5 owns the first real Agent admission exchange; R19 imports that landed Agent behavior into Provider CI.

Required behavior

  • Preserve the public Provider author API while keeping protobuf, session, generation, fingerprint, and registry machinery private.
  • Validate readiness, declarations, schemas, requirements, limits, identity, and idempotency before dispatch.
  • Prove concurrent identical requests dispatch once; changed content conflicts; terminal identities are immutable; rejected work creates no accepted record.
  • Use exact Protocol and Provider wheels over the real Unix socket. Do not simulate an Agent.

Acceptance

Focused admission tests cover success, rejection, concurrency, retries, conflicts, deadlines, expiry, sanitized failures, and one dispatch per accepted identity. Full installed-Agent verification waits for A5 and R19.

Implementation step

R5

Closes #40

@Noam-Alum Noam-Alum self-assigned this Nov 1, 2026
@Noam-Alum
Noam-Alum merged commit 4471ac7 into mvp/implementation Nov 1, 2026
24 checks passed
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