|
| 1 | +# SPDX-License-Identifier: AGPL-3.0-or-later |
| 2 | +# rhizoCrypt capability registry — biomeOS ephemeral DAG primal. |
| 3 | +# |
| 4 | +# Declares the capabilities this primal registers with Songbird for |
| 5 | +# capability-based discovery. Self-knowledge only: no references to |
| 6 | +# other primals' capabilities. |
| 7 | + |
| 8 | +[primal] |
| 9 | +name = "rhizocrypt" |
| 10 | +version = "0.13.0-dev" |
| 11 | +domain = "dag" |
| 12 | +license = "AGPL-3.0-or-later" |
| 13 | +description = "Ephemeral content-addressed DAG engine for session-scoped working memory" |
| 14 | + |
| 15 | +# ── Session lifecycle ────────────────────────────────────────────── |
| 16 | + |
| 17 | +[capabilities.session_create] |
| 18 | +method = "dag.session.create" |
| 19 | +domain = "dag.session" |
| 20 | +description = "Create a scoped DAG session with lifecycle management" |
| 21 | + |
| 22 | +[capabilities.session_get] |
| 23 | +method = "dag.session.get" |
| 24 | +domain = "dag.session" |
| 25 | +description = "Retrieve session metadata by ID" |
| 26 | + |
| 27 | +[capabilities.session_list] |
| 28 | +method = "dag.session.list" |
| 29 | +domain = "dag.session" |
| 30 | +description = "List all active sessions" |
| 31 | + |
| 32 | +[capabilities.session_discard] |
| 33 | +method = "dag.session.discard" |
| 34 | +domain = "dag.session" |
| 35 | +description = "Discard and clean up a session" |
| 36 | + |
| 37 | +# ── Vertex operations ────────────────────────────────────────────── |
| 38 | + |
| 39 | +[capabilities.event_append] |
| 40 | +method = "dag.event.append" |
| 41 | +domain = "dag.event" |
| 42 | +description = "Append a content-addressed vertex to a session DAG" |
| 43 | + |
| 44 | +[capabilities.event_append_batch] |
| 45 | +method = "dag.event.append_batch" |
| 46 | +domain = "dag.event" |
| 47 | +description = "Append multiple vertices in a single batch operation" |
| 48 | + |
| 49 | +[capabilities.vertex_get] |
| 50 | +method = "dag.vertex.get" |
| 51 | +domain = "dag.vertex" |
| 52 | +description = "Retrieve a vertex by session and vertex ID" |
| 53 | + |
| 54 | +[capabilities.vertex_query] |
| 55 | +method = "dag.vertex.query" |
| 56 | +domain = "dag.vertex" |
| 57 | +description = "Query vertices with optional type, agent, and limit filters" |
| 58 | + |
| 59 | +[capabilities.vertex_children] |
| 60 | +method = "dag.vertex.children" |
| 61 | +domain = "dag.vertex" |
| 62 | +description = "Get child vertices of a given vertex" |
| 63 | + |
| 64 | +[capabilities.frontier_get] |
| 65 | +method = "dag.frontier.get" |
| 66 | +domain = "dag.frontier" |
| 67 | +description = "Get the frontier (leaf vertices) of a session DAG" |
| 68 | + |
| 69 | +[capabilities.genesis_get] |
| 70 | +method = "dag.genesis.get" |
| 71 | +domain = "dag.genesis" |
| 72 | +description = "Get the genesis (root) vertices of a session DAG" |
| 73 | + |
| 74 | +# ── Merkle integrity ────────────────────────────────────────────── |
| 75 | + |
| 76 | +[capabilities.merkle_root] |
| 77 | +method = "dag.merkle.root" |
| 78 | +domain = "dag.merkle" |
| 79 | +description = "Compute the Merkle root of a session's vertex set" |
| 80 | + |
| 81 | +[capabilities.merkle_proof] |
| 82 | +method = "dag.merkle.proof" |
| 83 | +domain = "dag.merkle" |
| 84 | +description = "Generate an inclusion proof for a vertex" |
| 85 | + |
| 86 | +[capabilities.merkle_verify] |
| 87 | +method = "dag.merkle.verify" |
| 88 | +domain = "dag.merkle" |
| 89 | +description = "Verify a Merkle inclusion proof" |
| 90 | + |
| 91 | +# ── Slice operations ────────────────────────────────────────────── |
| 92 | + |
| 93 | +[capabilities.slice_checkout] |
| 94 | +method = "dag.slice.checkout" |
| 95 | +domain = "dag.slice" |
| 96 | +description = "Checkout an immutable slice from permanent storage" |
| 97 | + |
| 98 | +[capabilities.slice_get] |
| 99 | +method = "dag.slice.get" |
| 100 | +domain = "dag.slice" |
| 101 | +description = "Retrieve slice metadata by ID" |
| 102 | + |
| 103 | +[capabilities.slice_list] |
| 104 | +method = "dag.slice.list" |
| 105 | +domain = "dag.slice" |
| 106 | +description = "List all active slices" |
| 107 | + |
| 108 | +[capabilities.slice_resolve] |
| 109 | +method = "dag.slice.resolve" |
| 110 | +domain = "dag.slice" |
| 111 | +description = "Resolve a slice to its underlying session data" |
| 112 | + |
| 113 | +# ── Dehydration (commit to permanent storage) ───────────────────── |
| 114 | + |
| 115 | +[capabilities.dehydration_trigger] |
| 116 | +method = "dag.dehydration.trigger" |
| 117 | +domain = "dag.dehydration" |
| 118 | +description = "Trigger dehydration of a session to permanent storage" |
| 119 | + |
| 120 | +[capabilities.dehydration_status] |
| 121 | +method = "dag.dehydration.status" |
| 122 | +domain = "dag.dehydration" |
| 123 | +description = "Check the status of a dehydration operation" |
| 124 | + |
| 125 | +# ── Health and introspection ────────────────────────────────────── |
| 126 | + |
| 127 | +[capabilities.health_check] |
| 128 | +method = "health.check" |
| 129 | +domain = "health" |
| 130 | +description = "Service health check with status, version, and uptime" |
| 131 | + |
| 132 | +[capabilities.health_metrics] |
| 133 | +method = "health.metrics" |
| 134 | +domain = "health" |
| 135 | +description = "Operational metrics (sessions, vertices, latency, errors)" |
| 136 | + |
| 137 | +[capabilities.capability_list] |
| 138 | +method = "capability.list" |
| 139 | +domain = "capability" |
| 140 | +description = "List all capabilities this primal provides" |
0 commit comments