WIP: v0.19 ensemble hosts #1502

Draft
vyzo wants to merge 98 commits from v0.19-std-ensemble-host into v0.19-staging
Owner

the ensemble host abstraction, on top of the ensemble network; see #1493

codesigned and implemented with astra with the help of sol and local models; guidance, review, and oversight by gerbilosaurus rex 🦖

the ensemble host abstraction, on top of the ensemble network; see #1493 codesigned and implemented with astra with the help of sol and local models; guidance, review, and oversight by gerbilosaurus rex 🦖
vyzo added 95 commits 2026-09-17 18:12:49 +00:00
Add Phase 3 contracts, separate request protocols, wire validation, topology storage and deterministic tests. Include canonical DID normalization and trusted address-book read simplifications.

Record the Host authorization decisions and remaining trusted-state/test follow-up. This checkpoint precedes the next implementation pass and does not close the Phase 3 review gate.
Trust validated topology rows while preserving reopen compatibility and transaction cleanup. Use transparent Handle equality and strengthen receipt, actor, relay and SQL resource regressions.

Record Phase 3 acceptance, remove four completed handoff documents and update retained design/status references. Verified with the eight-core stdlib build, 35 resolver cases and 88 dependency cases.
Serve resolver requests in detached actors with a spinlock-protected concurrency limit and serialized topology mutation and closure. Add standard actor controls, private fatal notifications, Source peer contracts, and the nonblocking Host send contract.

Record reviewed behavior and verification, retire stale Phase 4 handoff references, and leave serialized reply-size accounting for the next increment.
vyzo changed target branch from v0.19-staging to v0.19-std-ensemble 2026-09-17 18:16:31 +00:00
vyzo changed target branch from v0.19-std-ensemble to v0.19-staging 2026-09-17 18:17:56 +00:00
vyzo force-pushed v0.19-std-ensemble-host from 543690dfb2 to e75c454499 2026-09-17 18:21:54 +00:00 Compare
vyzo changed target branch from v0.19-staging to v0.19-std-ensemble 2026-09-17 18:22:41 +00:00
vyzo force-pushed v0.19-std-ensemble-host from e75c454499 to 3491ed1ea9 2026-09-18 08:48:09 +00:00 Compare
vyzo changed target branch from v0.19-std-ensemble to v0.19-staging 2026-09-22 12:10:40 +00:00
vyzo force-pushed v0.19-std-ensemble-host from 498b7dfdb2 to cdcb8b406d 2026-10-31 16:16:28 +00:00 Compare
vyzo added 23 commits 2026-11-09 18:09:11 +00:00
Use typed actor requests and shared actor-control !Status, remove failed sinks before invoking policy, and manage configured and dynamic sinks through the existing system logger. Format sink failures safely for console reporting.

Validation: source expansion and source-loaded logger, rotating sink, system logger, and format-reader suites passed. No native rebuild.
Replace per-edge loss policies with prerequisite names. Stop transitive dependents before their prerequisites, restart prerequisites before dependents, and complete restart requests only after the entire affected group is ready.

Preserve cleanup ownership and cancel replacement on failure or timeout, handle intersecting losses, and reject self-joins through dependent subtrees. Declare generic Server status and restart methods and exercise Logger replacement through the Host supervisor.

Validation: 73 source-loaded tests passed, including 43 supervisor cases; source expansion and whitespace checks passed. No native rebuild.
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin v0.19-std-ensemble-host:v0.19-std-ensemble-host
git switch v0.19-std-ensemble-host

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 v0.19-staging
git merge --no-ff v0.19-std-ensemble-host
git switch v0.19-std-ensemble-host
git rebase v0.19-staging
git switch v0.19-staging
git merge --ff-only v0.19-std-ensemble-host
git switch v0.19-std-ensemble-host
git rebase v0.19-staging
git switch v0.19-staging
git merge --no-ff v0.19-std-ensemble-host
git switch v0.19-staging
git merge --squash v0.19-std-ensemble-host
git switch v0.19-staging
git merge --ff-only v0.19-std-ensemble-host
git switch v0.19-staging
git merge v0.19-std-ensemble-host
git push origin v0.19-staging
Sign in to join this conversation.
No description provided.