[Feature] Establish function-bound Postbox domain, capabilities, and access decisions #21

Open
opened 2026-07-28 23:01:06 +02:00 by zemion · 1 comment
Owner

Outcome

Implement the first usable Postbox backend: module manifest, versioned capability contracts, Postbox-owned persistence, stable function/unit addresses, lazy materialization, current function-assignment access decisions, vacancy state, message delivery/list/read/acknowledgement, and auditable provenance.

Acceptance criteria

  • Postbox owns templates/revisions, addresses, containers, bindings, messages, participants, attachment references, deliveries, grouping state, receipts, and access events.
  • Function-bound access consumes Identity, IDM, Organizations, and generic Core/Access permissions through capabilities without importing their ORM models.
  • Direct, delegated, and explicit acting contexts are distinguishable; acting-in-place access requires the selected assignment context.
  • Stable addresses resolve idempotently and remain usable while vacant.
  • Delivery accepts idempotency keys and preserves typed producer/evidence references.
  • The schema reserves ciphertext manifest, key epoch, expiry, and withdrawal state without claiming E2EE before a trusted profile is selected.
  • Focused backend, migration, access, and capability tests pass.
## Outcome Implement the first usable Postbox backend: module manifest, versioned capability contracts, Postbox-owned persistence, stable function/unit addresses, lazy materialization, current function-assignment access decisions, vacancy state, message delivery/list/read/acknowledgement, and auditable provenance. ## Acceptance criteria - Postbox owns templates/revisions, addresses, containers, bindings, messages, participants, attachment references, deliveries, grouping state, receipts, and access events. - Function-bound access consumes Identity, IDM, Organizations, and generic Core/Access permissions through capabilities without importing their ORM models. - Direct, delegated, and explicit acting contexts are distinguishable; acting-in-place access requires the selected assignment context. - Stable addresses resolve idempotently and remain usable while vacant. - Delivery accepts idempotency keys and preserves typed producer/evidence references. - The schema reserves ciphertext manifest, key epoch, expiry, and withdrawal state without claiming E2EE before a trusted profile is selected. - Focused backend, migration, access, and capability tests pass.
Author
Owner

Codex State: progress

The first usable Postbox foundation described here is implemented across govoplan-postbox, Core contracts, IDM reverse/batch assignment resolution, and the meta composition. The baseline migration applied successfully to PostgreSQL. Verification: 9 Postbox tests, 115 Core contract/module tests, IDM tests, Postbox UI checks, full focused checks, and composed production WebUI build. Changes are local and await a coordinated commit/release before this issue is closed.

## Codex State: progress The first usable Postbox foundation described here is implemented across `govoplan-postbox`, Core contracts, IDM reverse/batch assignment resolution, and the meta composition. The baseline migration applied successfully to PostgreSQL. Verification: 9 Postbox tests, 115 Core contract/module tests, IDM tests, Postbox UI checks, full focused checks, and composed production WebUI build. Changes are local and await a coordinated commit/release before this issue is closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-postbox#21
No description provided.