Run managed services under Idunn scheduler

This commit is contained in:
Meta Vens 2026-07-12 13:25:28 +01:00
commit 2698fb2860
8 changed files with 95 additions and 16 deletions

View file

@ -387,6 +387,17 @@ proved restart receipt
and PID `19736` were observed alive after the prior process was killed. Next
fold this reconcile into Idunn's own serve loop and cut the full-context Verse
load from service launch.
Both cuts are landed. Service plan/launch now load only the typed swarm brake
and rely on their own typed writers to open/register the store; they do not
reseed or serialize the local Verse. `managed-service-serve` is a distinct Idunn
loop from standing-daemon `serve`, so child service desired state is not blocked
by absent topology restart policies. Live root
`C:\Users\Meta\AppData\Local\Temp\epiphany-idunn-unattended-3394ecfaa03f41d8935f9fb70411ca75`
proved PID `44276` was observed alive without duplication, then after forced
death the next pulse launched PID `40532` under unique receipt
`daemon-service-lifecycle-receipt-idunn-managed-heartbeat-launch-1783859054234`.
The next boundary is Gjallar/Eve sight over managed service desired/observed
state.
This map must change when ownership changes. Historical scars belong in git,
evidence, or an explicitly archived note—not in the machine's proprioception.

View file

@ -2229,6 +2229,18 @@ the test harness then killed it deliberately. The first combined smoke exceeded
its harness window because `service_launch` loads the entire local Verse merely
to inspect the swarm brake. Next use the narrow brake loader and integrate
managed-service reconcile into Idunn's native serve scheduler.
That unattended boundary is complete. Service launch/plan now use the narrow
swarm-brake loader and no full Verse seed/query. A separate
`managed-service-serve` scheduler enumerates service-id policies without
requiring standing-daemon restart policies. Live root
`C:\Users\Meta\AppData\Local\Temp\epiphany-idunn-unattended-3394ecfaa03f41d8935f9fb70411ca75`
proved one pulse observed PID `44276` alive without a new receipt; after the
test harness killed it, the next pulse restarted heartbeat as PID `40532` with
unique receipt
`daemon-service-lifecycle-receipt-idunn-managed-heartbeat-launch-1783859054234`.
The same heartbeat store survived and no child remains running. Next expose
compact managed-service policy/lifecycle/process rows through Gjallar/Eve so
operators can see Idunn physiology without invoking the supervisor CLI.
## Immediate Re-entry Instruction

View file

@ -162,6 +162,15 @@ Reconciliation is complete as an explicit Idunn command. The remaining
unattended boundary is to include managed-service reconciliation in Idunn's
native `serve` scheduler and replace `service-launch`'s full local-Verse context
load with the narrow swarm-brake query it actually needs.
That boundary is now complete. Service plan/launch use the narrow typed brake
loader and no longer reseed the full local Verse. A dedicated
`managed-service-serve` loop enumerates only managed-service policies and runs
their reconcile reflex independently of standing-daemon topology. Live proof
observed a heartbeat alive without duplicate launch, killed it, and the next
Idunn pulse restarted it from the same store with a distinct PID and immutable
lifecycle receipt. The next gap is inspectability: publish compact managed
service desired/observed rows through Gjallar/Eve without opening command
payloads or routine artifacts.
### Forbidden writers