|
| 1 | +// SPDX-License-Identifier: PMPL-1.0-or-later |
| 2 | += Architecture FAQs |
| 3 | + |
| 4 | +== Q: What is the Harvard Architecture in 007? |
| 5 | + |
| 6 | +*Origin:* JTV (Julia-the-Viper), designed by Jewell. |
| 7 | +*Adopted into 007:* 2026-03-22, during genesis session. |
| 8 | + |
| 9 | +The grammar separates computation into two sublanguages: |
| 10 | + |
| 11 | +- **Data Language** — total, pure, addition-only. Guaranteed to terminate. |
| 12 | + Cannot contain control flow. Evaluated deterministically by CPU. |
| 13 | +- **Control Language** — Turing-complete, effectful. Where agent behaviour |
| 14 | + lives. Evaluated by LLM inference (costs tokens). |
| 15 | + |
| 16 | +The grammar itself prevents crossing the boundary. Agent injection is a |
| 17 | +parse error, not a runtime check. |
| 18 | + |
| 19 | +*Decision by:* Jewell (proposed JTV's architecture as foundation). |
| 20 | +Claude (identified dual role: safety + epistemological). |
| 21 | + |
| 22 | +== Q: Why does the Harvard Architecture have two roles? |
| 23 | + |
| 24 | +*Discovered:* 2026-03-22, hermeneutic dimension entry. |
| 25 | +*Proposed by:* Claude. |
| 26 | + |
| 27 | +1. **Safety** — prevents injection (original JTV purpose) |
| 28 | +2. **Epistemological** — structures the hermeneutic act by separating what |
| 29 | + agents KNOW (Data) from what agents DO (Control), making interpretation |
| 30 | + observable |
| 31 | + |
| 32 | +You can only study how agents interpret data if data and control are cleanly |
| 33 | +separated. Otherwise, interpretation and execution blur and become |
| 34 | +unobservable. The Harvard Architecture is the precondition for Layer 4. |
| 35 | + |
| 36 | +*Course change:* Initially seen only as a security mechanism. Reframed as |
| 37 | +the epistemological foundation when Layer 4 was identified. |
| 38 | + |
| 39 | +== Q: What are the six pillars? |
| 40 | + |
| 41 | +*Proposed by:* Jewell and Claude collaboratively, 2026-03-22. |
| 42 | + |
| 43 | +1. **Harvard Architecture** (JTV) — data/control separation |
| 44 | +2. **Actor Model** (Elixir/BEAM) — agents as supervised processes |
| 45 | +3. **Capability Security** (Pony/E) — compile-time permissions |
| 46 | +4. **Session Types** (academic PLT) — typed communication protocols |
| 47 | +5. **Linear Handles** (Ephapax) — no leaked or duplicated agents |
| 48 | +6. **Choreographic Compilation** (Chor-lambda) — global→local projection |
| 49 | + |
| 50 | +Each addresses a specific failure mode. None is individually novel; the |
| 51 | +synthesis is. |
| 52 | + |
| 53 | +== Q: What is the Layer model? |
| 54 | + |
| 55 | +[cols="1,2,3"] |
| 56 | +|=== |
| 57 | +| Layer | Formalism | Status |
| 58 | + |
| 59 | +| 1. Grammar | EBNF | Specified (v0.3.0) |
| 60 | +| 2. Types | 10-layer TypeLL + Kategoria | Specified (outline) |
| 61 | +| 3. Operational Semantics | Small-step reduction | Specified |
| 62 | +| 4. Interpretive Semantics | _(Novel — no existing formalism)_ | Provisional by design |
| 63 | +|=== |
| 64 | + |
| 65 | +*Key discovery:* `branch` is the ONLY nondeterministic construct. Layer 4 |
| 66 | +has a small, precise surface area. Discovered while writing Layer 3 spec. |
| 67 | + |
| 68 | +*Proposed by:* Layer 4 concept — Jewell (de Man parabasis, Wittgenstein |
| 69 | +ladder). Layer 4 localisation to `branch` — Claude (during operational |
| 70 | +semantics drafting). |
| 71 | + |
| 72 | +== Q: What is the `given` clause? |
| 73 | + |
| 74 | +*Proposed by:* Jewell (Position C in telescope entry, 2026-03-22). |
| 75 | + |
| 76 | +The `given` clause declares what information is RELEVANT to a branch choice. |
| 77 | +Properties: |
| 78 | + |
| 79 | +- Data expressions only (Harvard-separated, cannot contain control flow) |
| 80 | +- May overlap between branches (shared evidence) |
| 81 | +- Not exhaustive (agent may consider unlisted information) |
| 82 | +- Part of the branch's TYPE (changing what's given changes the type) |
| 83 | +- Predicates are SUGGESTIONS, not guards — agent may override |
| 84 | + |
| 85 | +The agent reads the `given` and interprets. The `given` structures |
| 86 | +interpretation without determining it. This is de Man's parabasis — the |
| 87 | +ability to turn away from the suggested reading. |
| 88 | + |
| 89 | +== Q: What are decision traces? |
| 90 | + |
| 91 | +*Proposed by:* Jewell (telescope metaphor). Formalised by Claude. |
| 92 | + |
| 93 | +Every `traced` branch produces an immutable Data record: |
| 94 | +- Branch options available |
| 95 | +- `given` context for each arm |
| 96 | +- Which arm was chosen |
| 97 | +- The `trace` self-report (agent's stated reasoning) |
| 98 | +- Timestamp, agent ID, full hermeneutic context |
| 99 | + |
| 100 | +Traces are Data (Harvard-separated). Cannot be tampered with after creation. |
| 101 | +The observation must not disturb the phenomenon. |
| 102 | + |
| 103 | +*Purpose:* Not logging. Scientific instrumentation for discovering Layer 4. |
| 104 | +Decision traces are the raw dataset through which the structure of agent |
| 105 | +interpretive acts might become visible. The telescope. |
0 commit comments