Expand description
R8: Concrete wiring of CoordHostSeams to daemon infrastructure.
The coordination ISA (governance/coordination.rs) defines host seams
that it cannot decide itself:
verify_root_delegation— is an agent’s delegation signed by the root key?yield_to_suspended_queue— enqueue a suspended transactionmint_performance_vc— mint a performance Verifiable Credential to the graph
The default seams (default_seams()) are fail-closed: verify returns false,
yield is a no-op, mint returns 0. This module provides daemon_seams() which
wires these to the actual daemon infrastructure:
verify_root_delegation→ checks a delegation table backed bycrdt::DelegatedAccessyield_to_suspended_queue→crdt::SuspendedTransactionQueue::pushmint_performance_vc→daemon_graph::extend_with_ontology_quins_slicewith a performance VC quin, returns theperf_vc_hash
Functions§
- daemon_
seams - Create daemon-backed coordination seams (R8).
- init_
daemon_ seams - Initialize the daemon-backed coordination seams (R8).
- register_
delegation - Register a delegation for an agent (R8).
Allows
verify_root_delegationto return true for this agent. Theagent_did_hashis derived from the first 8 bytes of the delegate’s DID. - reset_
daemon_ seams - Clear the suspended queue and delegation table (for testing).
- suspended_
queue_ len - Get the number of suspended transactions (for diagnostics/testing).