Idunn/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 102c129891 Topology publishes never wait: one private-lock exchange primitive
exchange_behind_private_lock (drivers.rs) is the single write primitive for
the projection directory: one nonblocking compare-exchange behind a lock only
Idunn can hold. An absent lock is created O_EXCL 0600; a lock that is not a
regular file, ours, mode 0600 is replaced by a fresh 0600 file renamed over it
(a chmod does not revoke a descriptor another uid already holds); a private
lock is opened as is. The topology driver's mutate and the incident store both
go through it; the blocking compare_exchange_snapshot call, publish_projection_mode
(which published the lock 0644 on a false premise that readers open it) and
incident.rs secure_lock are deleted.

mutate now retries only a lost race; a held lock is Err "the topology
projection is locked by another holder" and a no-op, so no caller records a
digest, evidence or phase for a publish that did not land.

Test helpers: the lock holder is a separate flock process, and run_while_held
counts opens of the lock (inotify), so ANY wait on a held lock fails, not only
one past the 30 s ceiling. Tests reproduce the live default ACL and use
setpriv for the other-uid half.

This commit has not been built; the verify run follows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 01:28:05 +02:00
..
authority-map.md Cut 0: kill the stale docs, verify transaction campaign 2026-09-22 15:21:11 +02:00
deployment-authority.md Close the B1 transition: lift, precondition, boot reconciliation, closed history 2026-09-29 06:11:29 +02:00
guide.md Idunn records continuity exhaustion as a durable incident in incidents.cc 2026-09-30 16:21:02 +02:00
host-actuator.md B2 rework: pin the resume wait's clock-step guard; correct the actuator doc 2026-09-30 01:53:38 +02:00
migration.md Topology publishes never wait: one private-lock exchange primitive 2026-10-01 01:28:05 +02:00
route-continuity-cut.md Route map: B5 merged (fcb8ba1) and installed on Yggdrasil 2026-09-30 22:36:02 +02:00
route-continuity-target.md Add route continuity and admission target 2026-09-29 00:33:20 +02:00
secret-files-cut.md Secrets map: Heimdall secrets merged at ca2366c after Soul pass 7 2026-09-30 22:49:57 +02:00
signed-daemon-health-authority.md State Idunn's health wire contract where Idunn can own it 2026-09-06 19:27:00 +02:00
verify-transaction-cut.md Record the ninth batch: the frozen-source digest was exposed too 2026-09-23 05:54:43 +02:00
watchdog-reporting-map.md Watchdog map: topology lock probes C29-C40 2026-09-30 23:30:44 +02:00
watchdog-reporting-target.md Watchdog target: tick-lock-private is uid-scoped 2026-09-30 23:54:55 +02:00