Rebuild Idunn semantic projector authority
This commit is contained in:
parent
05f11df79a
commit
fd7ff60adc
11 changed files with 2223 additions and 581 deletions
|
|
@ -590,5 +590,59 @@ retaining pulse `completed`, iteration `1`, and lifecycle receipt
|
|||
No command args or routine payloads are projected. Next merge these rows into
|
||||
the main provider-owned Eve composition rather than keeping a specialist query only.
|
||||
|
||||
## Semantic Projector Executor Authority
|
||||
|
||||
Canonical Mind and Modeling admission own projection demand. Their transaction
|
||||
writes the exact semantic-projection obligation beside the canonical source
|
||||
head; neither Idunn nor the projector may invent that demand. Idunn owns the
|
||||
decision to assign an executor or fence an abandoned executor. The projector
|
||||
owns only the claim-bound Qdrant mutation, post-write observation, attempt
|
||||
terminalization, and exact success receipt.
|
||||
|
||||
The execution chain is now:
|
||||
|
||||
`canonical obligation -> Idunn acquisition CAS -> consumed executor grant + running claim/attempt -> epoch-isolated Qdrant synchronization -> canonical authority reauthentication -> terminal claim/attempt + exact receipt CAS`.
|
||||
|
||||
Acquisition binds scope, obligation, executor identity and incarnation,
|
||||
purpose, Idunn incarnation, predecessor claim, and resulting claim epoch in one
|
||||
consumed typed grant. `execute` cannot reopen an exact succeeded claim;
|
||||
`repair` requires that exact predecessor. The execution CLI accepts a claim id,
|
||||
not an executor label, and authenticates the consumed authority behind the
|
||||
claim before touching Qdrant. Acquisition reauthenticates the complete sealed
|
||||
canonical input and carries its authority envelopes through the same CAS, so a
|
||||
persisted historical obligation cannot reopen an advanced source head.
|
||||
|
||||
Running-claim recovery reloads the exact Idunn poke intent/receipt and a
|
||||
provider-authored immutable heartbeat event from CultMesh. It requires an
|
||||
`awaiting-provider-heartbeat` lifecycle result followed by a newer ready
|
||||
heartbeat for the replacement provider incarnation, hashes those source
|
||||
envelopes, requires the heartbeat to name the exact restart receipt as its
|
||||
startup cause, and consumes a typed recovery authorization in the same CAS that
|
||||
fails the abandoned attempt and advances the claim epoch. The old executor can
|
||||
thereafter write only its physically isolated abandoned Qdrant namespace and
|
||||
cannot terminalize the active CultCache claim.
|
||||
|
||||
Projection health, elapsed time, process status, command exit, Qdrant counts,
|
||||
CultMesh mirrors, Eve, and swarm overview remain derived sight. They cannot
|
||||
create an obligation, grant, claim, attempt, success receipt, recovery, or
|
||||
query admission. Initial execution, retry, repair, and recovered execution all
|
||||
use the same claim-authenticating execution primitive; only acquisition and
|
||||
recovery differ in how Idunn establishes the claim authority.
|
||||
|
||||
Verification covers concurrent acquisition with one winner and no issued
|
||||
litter, predecessor/epoch ordering, purpose separation, claim-authority
|
||||
authentication, evidence field substitution, lifecycle/heartbeat causal
|
||||
ordering, recovery single use, and the inability of the recovery command to
|
||||
execute projection work itself.
|
||||
|
||||
Remaining limits are physical deployment, not permission for another adapter.
|
||||
There is no open-obligation daemon pulse or packaged single projector owner
|
||||
yet. The low-level mint and recovery primitives are crate-private. Their public
|
||||
local-supervisor ports generate incarnations internally, but remain trusted
|
||||
in-process ports rather than an OS-authenticated Idunn service boundary.
|
||||
Deployment must keep those ports inside one configured Idunn body until a
|
||||
durable authenticated service identity owns them. Canonical store and Qdrant
|
||||
placement must be chosen as one topology; dual projectors are forbidden.
|
||||
|
||||
This map must change when ownership changes. Historical scars belong in git,
|
||||
evidence, or an explicitly archived note—not in the machine's proprioception.
|
||||
evidence, or an explicitly archived note—not in the machine's Modeling state.
|
||||
|
|
|
|||
|
|
@ -1202,6 +1202,50 @@ mirror independently, and `epiphany-verse-query semantic-health` reads a named,
|
|||
compact report without touching canonical state. A stale sealed input is
|
||||
refused rather than published as if it described the current canonical head.
|
||||
|
||||
Next: give Idunn typed executor grants, single-use fenced recovery authority,
|
||||
open-obligation discovery, and one packaged projector owner. CultMesh, Idunn,
|
||||
Eve, and Gjallar remain unable to mint semantic readiness.
|
||||
## Idunn semantic executor authority cut (2026-07-15)
|
||||
|
||||
Executor labels no longer open semantic mutation authority. Idunn acquisition
|
||||
now atomically writes a consumed typed executor grant, a scope claim, and its
|
||||
running attempt against the exact persisted obligation and predecessor claim.
|
||||
The grant binds executor incarnation, purpose, Idunn incarnation, predecessor
|
||||
status/id/epoch, and resulting claim id/epoch. `execute` cannot repair a
|
||||
succeeded claim; `repair` requires that exact succeeded predecessor. The
|
||||
projector CLI now requires the acquired claim id and authenticates its consumed
|
||||
grant before Qdrant work or terminalization. Acquisition reauthenticates the
|
||||
whole sealed canonical input and carries its authority envelopes through the
|
||||
same CAS, so an old persisted obligation cannot mint against an advanced head.
|
||||
|
||||
Fenced recovery now consumes typed evidence rather than free-form reason text.
|
||||
The CultMesh bridge authenticates the exact immutable Idunn poke intent and
|
||||
successful `awaiting-provider-heartbeat` receipt, plus a provider-authored ready
|
||||
heartbeat event that causally follows receipt completion and names the
|
||||
replacement provider incarnation. The heartbeat must also name that exact
|
||||
restart receipt as its startup cause. Their envelope digests enter a consumed
|
||||
recovery authorization. One CAS fails the abandoned attempt, advances the
|
||||
epoch, creates the replacement claim/attempt, and records that authorization.
|
||||
Recovery rotates authority only; it cannot execute projection or mint success.
|
||||
Provider heartbeat events are immutable and their latest pointer advances
|
||||
monotonically per daemon/incarnation.
|
||||
|
||||
Authority map: canonical Mind/Modeling admission owns obligations; Idunn owns
|
||||
executor assignment and explicit recovery decision; the projector owns claim-
|
||||
bound mutation and terminal evidence; the query gate alone authenticates
|
||||
readiness. Health, liveness, timers, command exits, Qdrant state, CultMesh,
|
||||
Eve, and swarm overview remain derived sight and forbidden writers. Initial
|
||||
execution, retry, repair, and recovered execution share the same claim-
|
||||
authenticating projector primitive.
|
||||
|
||||
Remaining limits: open-obligation discovery is not yet attached to the Idunn
|
||||
daemon, no single projector owner is packaged, canonical-store/Qdrant placement
|
||||
between local and Yggdrasil remains undecided, and local Qdrant remains
|
||||
overexposed. The low-level mint and recovery primitives are crate-private.
|
||||
Their public local-supervisor ports generate incarnations internally, but are
|
||||
still a trusted in-process boundary rather than authenticated OS IPC. Keep them
|
||||
inside one configured Idunn body until durable service identity owns them. Do
|
||||
not expose those ports to untrusted Verse peers. Do not deploy two projectors.
|
||||
|
||||
Next: add a bounded Idunn pulse that discovers authenticated open Mind and
|
||||
Modeling obligations without creating demand, runs the same acquire/execute
|
||||
primitive, republishes sight independently, and reports provider readiness only
|
||||
after its own heartbeat. Then select and package exactly one deployment
|
||||
topology.
|
||||
|
|
|
|||
Reference in a new issue