docs(substrate): the spine is the COMPILED ClassView, not SurrealQL (§1.5)#137
Merged
Conversation
…§1.5)
Operator correction (2026-06-29): the facet "versions" are useless because one
compiled ClassView recombines all the carvings while sinking into OGAR and
getting COMPILED into the binary — NOT parsed from SurrealQL (slow even with
JIT). Captures the load-bearing architecture so future sessions invest in the
spine, not the membrane:
- New §1.5 — the compiled ClassView spine:
a. recombines the facet layout (6×(1:2) / 4×(1:2:3) / 3×(1:2:3:4)) — no
hardcoded V1/V2/V3 facet "versions"; one compiled reader subsumes them.
b. sub-range hierarchy mapping (e.g. 1..3 of 12) + NESTED ClassViews stacked
into compiled CONSTRUCTORS (composition of compiled readers, not a runtime
interpreter).
c. lazy + lazy-lock-reused materialization of the 32×GUID SoA (build once on
first touch; the key prerenders nodes with zero value-decode).
+ why compiled beats parsed, and where SurrealQL sits (storage membrane,
never the hot path — ADR-022/023).
- §1 pull-back reframed: modes are NOT co-equal — (a) compiled ClassView =
spine/hot-path; (b) SurrealQL emit = storage-membrane adapter.
- §6 re-prioritised: the compiled ClassView spine is THE priority; #136 Stage A
(array<record>) and the od-ontology fork-deletion are membrane work,
secondary. Tier-byte arithmetic of each carving to be pinned against
FacetCascade before coding — not guessed.
Co-Authored-By: Claude <noreply@anthropic.com>
AdaWorldAPI
pushed a commit
that referenced
this pull request
Jul 1, 2026
Six verbs (define/query/relate/act/subscribe/authorize) as step_type names on the existing OrchestrationBridge/UnifiedStep — not a new layer, not "on the emitter". SurrealDB's matching verbs are a borrowed silhouette; the engine is the compiled ClassView (#137). 5+3 council ran (8/8 → REVISE, land the safe subset). Folded findings: - only `define` truly converges (schema-in/schema-out); the other five borrow the name over OGAR's own EdgeBlock/ActionDef/scheduler/RBAC — egress only (OGAR → SurrealQL), never DDL → behavior. - `authorize` split into filter (query-plane) + admit (command-plane); must not fuse (AR-OGAR §11 item 11). - fixed two phantom cells the runtime-archaeologist caught: `CommitGate` (→ CommitHook) and `Authorization{enforcement_phase}` (→ ClassRbac/OgarRbac). - `authorize.*` + lifecycle-`act` reserved-dormant, gated on Phase-B items 11/9. - dropped "two spines"; one live spine (compiled ClassView), SurrealQL egress rides lite-unified (#540, default-OFF). CONJECTURE until F1/F3 pass. Renamed from the pre-council UNIFIED-EMITTER-API-v1.md ("Emitter" invited reading the facade as the spine). Registers ADR-026; cross-link pending. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Captures the operator's 2026-06-29 architectural correction into the canonical
substrate doc, so future sessions invest in the spine, not the membrane.
The correction: the facet "versions" are useless because one compiled
ClassViewrecombines all the carvings while sinking into OGAR and gettingcompiled into the binary — not parsed from SurrealQL (slow even with JIT).
New §1.5 — the spine is the compiled
ClassView:6×(1:2)/4×(1:2:3)/3×(1:2:3:4))— no hardcoded V1/V2/V3 facet "versions"; one compiled reader subsumes them.
1..3of 12) + nested ClassViewsstacked into compiled constructors (composition of compiled readers, not
a runtime interpreter).
32×GUIDSoA (buildonce on first touch; the key prerenders nodes with zero value-decode).
the hot path — ADR-022/023).
Also: §1 pull-back reframed (modes are not co-equal — compiled ClassView =
spine; SurrealQL emit = membrane), and §6 re-prioritised (the compiled
ClassView spine is THE priority; #136 Stage A
array<record>and theod-ontology fork-deletion are membrane work, secondary).
Doc-only. The exact tier-byte arithmetic of each carving is flagged as the
implementation detail to pin against
FacetCascadebefore coding — not guessed.🤖 Generated with Claude Code
Generated by Claude Code