middleware-0.01 #1

Open
steveej wants to merge 3 commits from middleware-0.01 into main
Owner
No description provided.
Extract the domain-free server kernel proven in Accountant-rs (auth,
capability-per-route enforcement, axum skeleton over TCP and Unix
sockets, lease-only state access, receipt-returning commits) into a
reusable cqrses-middleware crate, with Accountant-rs migrating as the
first consumer and the dotagents mediated agent-mail transport
(dotagents milestone 0015 Decision 7) as the second.
Finding 1: the dotagents transport is a candidate trail, not a
committed consumer; Accountant-rs migration is this milestone's own
consumer proof. Finding 2: add invariant 5 - contract-to-router
registration equality and explicit classification of non-contract
routes. Finding 3: application identity (namespace, secret path,
cookie name, signing context, browser copy) becomes explicit consumer
configuration, and the domain-neutrality proof gains literal,
public-type, and generated-doc scans. Finding 4: the roadmap track
states M0020 is a Draft naming no current execution milestone.

Review: role-reviewer-20260901T120919579109981Z advisory report.
The payout is a server the consumer builds on - owning route
registration, state wiring, and serving - not an interception layer;
the middleware framing undersold exactly the registration-equality
invariant that motivates the extraction. Operator naming decision:
the crate is cqrses-server. Literal axum middleware usages (the auth
and capability layers) keep the word.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin middleware-0.01:middleware-0.01
git switch middleware-0.01

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff middleware-0.01
git switch middleware-0.01
git rebase main
git switch main
git merge --ff-only middleware-0.01
git switch middleware-0.01
git rebase main
git switch main
git merge --no-ff middleware-0.01
git switch main
git merge --squash middleware-0.01
git switch main
git merge --ff-only middleware-0.01
git switch main
git merge middleware-0.01
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
noosphere-rnd/cqrses!1
No description provided.