{"_grammar":{"construct":{"note":"The `modules` list above is READ-ONLY — there is no POST \/modules or other REST collection endpoint to create a module, entity, attribute, or agenda. Schema is authored exclusively via GML statements sent to POST \/gml (e.g. 'create module fleet \"Fleet Management\"') — the full grammar is GET \/model `._engine.gml_commands`, the request shape is `._engine.gml_endpoint`. Once an entity exists, its own instances use the ordinary REST transitions above (create\/edit\/delete\/read).","gml":"POST \/gml — see GET \/model `._engine.gml_commands` and `._engine.gml_endpoint`"},"affordances":{"lens":"the same instance in its other facets: graph (query_graph) and vector (?near)","self":"the canonical URL of this instance","invoke":"the transitions you may fire NOW (state + your access), as POST\/PATCH links, each with its WRITE CONTRACT: `fields` (the body attributes it declares, with dataType\/isReference\/required) and `requires_etag` (send the _etag you read back with the call)","note":"Every instance (GET or OPTIONS) carries _links.","options":"pointer to the full affordance bundle","explain":"the transitions you may NOT fire, each with the ONE cause that withholds it, never a disjunction: `requires_pre_state` (the instance is not in a state this verb starts from — `requiresPreState` names the state to drive toward), `requires_access` (the state is satisfied, so a missing grant is the only blocker), or `requires_no_instance` (a creation verb: it is fired with NO instance in the address, so this instance can never offer it)"},"introspection":{"potential":"POST \/potential\/potential\/{query_transitions, query_clients, query_accessible_instances, query_entities, query_objects, query_recipients}  (SPO: who\/what can do which transition on which object — the live gate)","contract":"GET \/model  (the full machine-readable contract)"},"note":"Everything is a transition. The model is the map; OPTIONS any resource to see its affordances. Nothing here is hand-written documentation — it is projected from the live model and gate.","search":{"vector":"GET \/{module}\/{entity}?near=<attribute>:<text>  (embedded attributes; see entity _search)","graph":"POST \/potential\/potential\/query_graph  {cypher: ...}  (ACL-scoped)"},"concurrency":{"etag":"Every instance carries a signed _etag — a snapshot of the row you read. Send it back on edit; a stale one is refused with both your and the current value."},"explore":{"instance":"OPTIONS \/{module}\/{entity}\/{id}  (state+ACL-aware menu)","entities":"OPTIONS \/{module}","time_travel":"GET \/{module}\/{entity}\/{id}\/at?timestamp=<ISO 8601>  (the instance as it was)","history":"GET \/{module}\/{entity}\/{id}\/log  (every change, newest first)","transition":"OPTIONS \/{module}\/{entity}\/{transition}  (contract)","modules":"OPTIONS \/","entity":"OPTIONS \/{module}\/{entity}  (descriptor + _search)"}},"service":"0NF API","modules":[{"url":"\/admission","entityCount":1,"name":"admission","label":"Admission","description":"Onboarding workflow: a client requests an agenda (a voice); a registrar approves or rejects through the inbox.","_id":6505},{"url":"\/ai","entityCount":20,"name":"ai","label":"AI Cognitive Substrate","description":"Paper-3\/Paper-4 layered brain materialised as 9 layer-output entities (L0..L7 plus L5.5), plus ai.curriculum (graded examples with HNSW pgvector embeddings), ai.concept_binding (Paper-4 7-concept abstraction per context module), ai.config (global config), and poe_brain (transition-only namespace holding advance_turn).","_id":5082},{"url":"\/async_job","entityCount":1,"name":"async_job","label":"Async Job","description":"Client-scheduled, result-bearing async jobs (submit → done|failed).","_id":6430},{"url":"\/constant","entityCount":12,"name":"constant","label":"Constant","description":"Fixed vocabulary tables","_id":72},{"url":"\/encephalos","entityCount":26,"name":"encephalos","label":"Encephalos","description":"Nervous system — metrics collection and anomaly detection","_id":3020},{"url":"\/knowledge","entityCount":1,"name":"knowledge","label":"Knowledge","description":"Unified embedded corpus for the \/help semantic narrator — book sections, model descriptions, and API-contract facts, each a retrievable, citable chunk.","_id":6608},{"url":"\/naming","entityCount":3,"name":"naming","label":"Naming","description":"Name distance infrastructure — attribute naming axiom enforcement","_id":6265},{"url":"\/poe_sessions","entityCount":3,"name":"poe_sessions","label":"Poe Sessions","description":"Durable Poe conversations (sessions + turns) and user-addressed messages","_id":4827},{"url":"\/potential","entityCount":1,"name":"potential","label":"Potential","description":"ACL introspection primitives over the relation potential(S, P, O): SPO atoms, coordinate projections, and role-based slices. Namespace entity; no instances.","_id":5025},{"url":"\/system","entityCount":24,"name":"system","label":"System","description":"Metamodel tables","_id":73},{"url":"\/ui","entityCount":1,"name":"ui","label":"UI","description":"Designer-authored UI captions for the translation locale - one row is one key with its default text; translations of the text are ordinary system.translation rows.","_id":6747}]}
