gbrain: sync converted org-mode brain files
This commit is contained in:
1104
projects/passepartout/DESIGN_DECISIONS.org
Normal file
1104
projects/passepartout/DESIGN_DECISIONS.org
Normal file
File diff suppressed because it is too large
Load Diff
1702
projects/passepartout/ROADMAP.org
Normal file
1702
projects/passepartout/ROADMAP.org
Normal file
File diff suppressed because it is too large
Load Diff
@@ -13,14 +13,14 @@ Architecture overview — narrative introduction, staged build-out, systemic eff
|
||||
|
||||
| Stage | Delivers | Key cost | Timeline |
|
||||
|-------+----------+----------+----------|
|
||||
| [[id:4a1f23b0-abc1-4def-9876-543210abcdef][0 — Now]] | Baseline: conventional computing | Patching treadmill, no deductive guarantees | Today |
|
||||
| [[id:4a1f23b0-abc2-4def-9876-543210abcdef][1 — Social Protocol]] | Communication integrity, provable DAG | Crypto overhead, key management | Today |
|
||||
| [[id:4a1f23b0-abc3-4def-9876-543210abcdef][2 — Verification]] | Verified gate, capability auth | Policy formalization burden | Today (limited) |
|
||||
| [[id:4a1f23b0-abc4-4def-9876-543210abcdef][3 — Lisp Machine]] | Lisp image, Merkle memory, no kernel | Lisp tax, no backward compat, single address space | 2-5yr (soft) / 5-10yr (ASIC) |
|
||||
| [[id:4a1f23b0-abc5-4def-9876-543210abcdef][4 — Inference]] | In-process LLM, token interception | ~10x compute/RAM/storage | Server now; consumer 3-5yr |
|
||||
| [[id:4a1f23b0-abc6-4def-9876-543210abcdef][5 — Weights]] | Plist-native weights, weight-level provenance | ~100x GPU / ~2-5x ASIC | GPU hybrid now; ASIC 5-10yr |
|
||||
| [[id:4a1f23b0-abc7-4def-9876-543210abcdef][6 — Training]] | Verified fine-tuning, neural world model | ~100x fine-tuning only | 3-5yr fine-tuning |
|
||||
| [[id:4a1f23b0-abc8-4def-9876-543210abcdef][7 — Remaining]] | Physical threats, oracles, speculation, bootstrap axiom | Mitigations are non-computational | Forever |
|
||||
|| [[id:4a1f23b0-abc1-4def-9876-543210abcdef][0 — Now]] | Baseline: conventional computing | Patching treadmill, no deductive guarantees | Today |
|
||||
|| [[id:4a1f23b0-abc2-4def-9876-543210abcdef][1 — Social Protocol]] | Communication integrity, provable DAG + **Truth Layer (contradiction detection, verification economy)** | Crypto overhead, DAG storage growth, stake model attack surface | Today |
|
||||
|| [[id:4a1f23b0-abc3-4def-9876-543210abcdef][2 — Verification]] | Verified gate, capability auth + **Symbolic Reasoner (CL HOL engine, knowledge-dependent auth)** | Reasoner dev cost, policy formalization burden | Today (limited) |
|
||||
|| [[id:4a1f23b0-abc4-4def-9876-543210abcdef][3 — Lisp Machine]] | Lisp image, Merkle memory, no kernel | Lisp tax, no backward compat, single address space | 2-5yr (soft) / 5-10yr (ASIC) |
|
||||
|| [[id:4a1f23b0-abc5-4def-9876-543210abcdef][4 — Inference]] | In-process LLM, token interception | ~10x compute/RAM/storage | Server now; consumer 3-5yr |
|
||||
|| [[id:4a1f23b0-abc6-4def-9876-543210abcdef][5 — Weights]] | Plist-native weights, weight-level provenance | ~100x GPU / ~2-5x ASIC | GPU hybrid now; ASIC 5-10yr |
|
||||
|| [[id:4a1f23b0-abc7-4def-9876-543210abcdef][6 — Training]] | Verified fine-tuning, neural world model | ~100x fine-tuning only | 3-5yr fine-tuning |
|
||||
|| [[id:4a1f23b0-abc8-4def-9876-543210abcdef][7 — Remaining]] | Physical threats, oracles, speculation, bootstrap axiom | Mitigations are non-computational | Forever |
|
||||
|
||||
**Systemic analysis:**
|
||||
- [[id:b9fa4b7b-bc61-4d7f-918d-ff687b80f2ba][Systemic effects over time]] — how verification cascades across society, economics, and geopolitics
|
||||
|
||||
@@ -78,6 +78,39 @@ those machines - malware that compromises an endpoint can sign messages using
|
||||
the endpoint's keys. The messages are authentic; the sender wasn't. The social protocol
|
||||
carries the authorization; it doesn't evaluate it.
|
||||
|
||||
### Truth Layer — Contradiction Detection and Verification Economy
|
||||
|
||||
The provenance store seeds (signed empirical parameters) generalize to a
|
||||
full **truth-accumulation layer** over the social protocol DAG. Every
|
||||
knowledge assertion — not just parameters but any formal claim extracted
|
||||
from Org prose by the LLM — is a signed, DAG-tracked message.
|
||||
|
||||
| Component | What it does | Depends on |
|
||||
|-----------|-------------|------------|
|
||||
| Signed knowledge assertions | Any instance asserts P (a formal claim) signed with its DID, Merkle-linked to source evidence | DID identities, DAG |
|
||||
| Contradiction detection | The DAG flags when instance A asserts P and instance B asserts ¬P. Conflicts are protocol events, not bugs | Signed assertions, DAG query |
|
||||
| Verification staking | Instances vouch for assertions with reputation or compute stake. Surviving challenges accumulate confidence; false assertions degrade the issuer's weight | Contradiction detection |
|
||||
| Truth scoring | Every assertion carries a confidence tier: (1) extracted/LLM-guess → (2) locally consistent → (3) corroborated by N independent instances → (4) gate-enforced | Staking, corroboration count |
|
||||
| Reasoner code exchange | The same protocol distributes CL reasoner prototypes. Users collaborate on the symbolic reasoner (Stage 2) before it enters the gate | Signed code, DAG versioning |
|
||||
|
||||
**The verification economy emerges naturally.** Instances that contribute
|
||||
verified assertions gain reputation. Instances that propagate falsehoods
|
||||
lose it. Over time, the protocol converges toward truths the same way
|
||||
markets converge toward prices — without a central authority, through
|
||||
incentive alignment.
|
||||
|
||||
**Cost:** Assertion storage grows with the DAG. Contradiction detection
|
||||
requires O(log n) DAG traversal per new assertion — feasible at social-
|
||||
protocol scale (thousands of instances, not millions). Verification
|
||||
staking introduces economic attack surface (Sybil, collusion) that must be
|
||||
modeled in the stake function.
|
||||
|
||||
**Bootstrap path:** The first assertions are LLM-extracted from Org prose
|
||||
(confidence tier 1). Contradictions are initially rare (few instances,
|
||||
sparse knowledge). As the instance count grows, contradiction frequency
|
||||
increases and quality converges. This is Cyc's pump-priming problem solved
|
||||
through network effects instead of hand-curation.
|
||||
|
||||
← [[id:4a1f23b0-abc1-4def-9876-543210abcdef][Stage 0 — Now]] → [[id:4a1f23b0-abc3-4def-9876-543210abcdef][Stage 2 — Verification]]
|
||||
|
||||
:PROPERTIES:
|
||||
|
||||
@@ -78,6 +78,70 @@ use, the friction may lead users to bypass the gate.
|
||||
*Full gate guarantees arrive when Passepartout runs on its own Lisp machine
|
||||
(Stage 3). Before that, it's a correctness proof running on an untrusted substrate.*
|
||||
|
||||
### Symbolic Reasoner — CL-Native Higher-Order Logic Engine
|
||||
|
||||
The gate needs to evaluate not just *security policy* but *epistemic
|
||||
validity*: is this action consistent with what the system knows about the
|
||||
world? The provenance store (Stage 1) provides quality-scored assertions,
|
||||
but there is no engine to **reason over them** — to combine assertions,
|
||||
prove entailments, detect contradictions, or generate causal explanations.
|
||||
|
||||
**A CL-native symbolic reasoner** fills this gap. It operates over the
|
||||
symbolic index of the Knowledge subsystem (predicates, relations,
|
||||
constraints extracted from Org prose) and returns (entailed | contradicted
|
||||
| undetermined) for any query.
|
||||
|
||||
### Architecture
|
||||
|
||||
| Layer | What it does | Implementation |
|
||||
|-------|-------------|----------------|
|
||||
| Assertion store | Quality-scored formal claims from Stage 1's truth layer | Provenance store hash table (Stage 2) |
|
||||
| Constraint solver | SAT/SMT-style search over bounded problem spaces | Screamer (CL, existing) |
|
||||
| Deduction engine | Forward/backward chaining over first-order subset of assertions | CL-native, starts as Screamer extension |
|
||||
| Higher-order layer | Nested modalities — belief, intention, causation, temporal |
|
||||
> Screamer cannot express these natively | CL macros + custom proof search |
|
||||
| Gate interface | (action, context) → (permit \| deny \| needs-evidence) | ACL2 FFI across the Lisp boundary |
|
||||
|
||||
### Why not Lean directly
|
||||
|
||||
Lean 4 is C++ at its core — a separate trust domain that breaks the single
|
||||
address space. The reasoner must be CL-native for the Stage 3 Lisp machine
|
||||
model. Lean is the *reference* design: its tactics, elaboration, and type
|
||||
theory inspire the CL implementation, but the engine itself is written in
|
||||
Common Lisp and lives in the same memory graph as the evaluator and gate.
|
||||
|
||||
### Development path across stages
|
||||
|
||||
The reasoner is *born at Stage 1* and *hardens through Stage 2*:
|
||||
|
||||
| Stage | Reasoner state | How it gets there |
|
||||
|-------|---------------|-------------------|
|
||||
| 1 | CL prototype (Screamer-based, first-order) | Shared via social protocol's Reasoner Code Exchange. Users test against local symbolic indices, share patches |
|
||||
| 1 | Higher-order extensions sketched | CL macros for modal logic, causal chains — tested on small assertion sets |
|
||||
| 2 | Reasoner feeds gate decisions | Gate delegates knowledge-dependent checks: "is this action valid given what we know?" Works on quality-scored assertions from Stage 1's truth layer |
|
||||
| 3 | Reasoner absorbed into address space | Same memory graph as evaluator, gate, LLM. No FFI, no IPC |
|
||||
| 4 | Reasoner enters self-improvement loop | In-process LLM reads reasoner code, proposes improvements, gate checks policy |
|
||||
|
||||
### Cost
|
||||
|
||||
- **Screamer-level reasoning:** O(n) over the relevant subtree — the same
|
||||
sparse tree retrieval the Knowledge subsystem already uses. A 4K-assertion
|
||||
context resolves in milliseconds
|
||||
- **Higher-order deduction:** O(exp) in the general case. Scoped by the
|
||||
LLM narrowing the reasoning window first — the user never waits for a
|
||||
global proof
|
||||
- **Proof quality vs speed:** The reasoner can return (entailed with
|
||||
confidence 0.83) rather than a binary yes/no. The gate chooses the
|
||||
threshold per domain
|
||||
|
||||
### What this enables
|
||||
|
||||
The gate graduates from checking *who* is authorized to checking *what is
|
||||
true*. A policy can say "deny actions based on false premises" — and the
|
||||
reasoner determines which premises are false. This is the connection
|
||||
between security verification and knowledge verification that the original
|
||||
Cyc architecture required but could not enforce.
|
||||
|
||||
← [[id:4a1f23b0-abc2-4def-9876-543210abcdef][Stage 1 — Social Protocol]] → [[id:4a1f23b0-abc4-4def-9876-543210abcdef][Stage 3 — Lisp Machine]]
|
||||
|
||||
:PROPERTIES:
|
||||
|
||||
70
projects/passepartout/strategy/domain-sequencing.org
Normal file
70
projects/passepartout/strategy/domain-sequencing.org
Normal file
@@ -0,0 +1,70 @@
|
||||
:PROPERTIES:
|
||||
:CREATED: [2026-05-29 Fri]
|
||||
:ID: c7d3f1a2-8b4e-5d6f-9a1c-3b2d4e5f6a7b
|
||||
:END:
|
||||
#+title: Domain Sequencing — What Gets Built When and Why
|
||||
#+filetags: :passepartout:strategy:domains:sufficiency:
|
||||
|
||||
The sufficiency flip is per-domain, and domains must be sequenced by strategic value, not intellectual interest. Building general knowledge first is the Cyc trap. Building the verification economy first is the way out.
|
||||
|
||||
**First: Logic and mathematics**
|
||||
|
||||
The axioms are already written. Peano arithmetic, set theory, group theory, type theory — loaded directly into the symbolic index as formal rules, not LLM-extracted from prose. Zero gate outcomes needed because there is no ambiguity to resolve through observation. This domain reaches [[id:efc76898-03f7-57ba-923d-35d65da88bb7][sufficiency]] the moment the reasoner exists. It also provides the formal foundation every other domain depends on — every gate rule ultimately reduces to a logical inference, and a verified logic layer means the gate's own axioms are trustworthy.
|
||||
|
||||
**Second: Software engineering**
|
||||
|
||||
This is the bootstrap — the system must build itself before it can build anything else:
|
||||
|
||||
- The gate stack seeds 50-70 entity classes from its own code (files, commands, processes, networks, dependencies)
|
||||
- Every git commit, build error, test failure, and shell command is a gate outcome — accumulating toward sufficiency without manual curation
|
||||
- The reasoner is born as a Screamer-based CL prototype shared via the social protocol at Stage 1, hardens into the gate at Stage 2, and enters self-improvement under the in-process LLM at Stage 4
|
||||
- The social protocol itself is software — its correctness is verified by the same gate that software engineering produces
|
||||
|
||||
Sufficiency in software engineering means the system can propose, verify, and apply changes to its own codebase under gate supervision. This is the bootstrap completion signal.
|
||||
|
||||
**Third: Regulated industries**
|
||||
|
||||
This is where the verification economy produces real revenue, not just knowledge. Key properties:
|
||||
|
||||
| Domain | Regulation | Gate rule density | Revenue model |
|
||||
|--------|-----------|-------------------|---------------|
|
||||
| Healthcare | [[id:9a1e2d3f-4b5c-6d7e-8f9a-0b1c2d3e4f5a][HIPAA]] | High (every access control, BAA, audit log) | Per-seat compliance appliance |
|
||||
| Finance | [[id:a2b3c4d5-e6f7-8a9b-0c1d-2e3f4a5b6c7d][SOX]], [[id:b3c4d5e6-f7a8-9b0c-1d2e-3f4a5b6c7d8e][BASEL III]], [[id:c4d5e6f7-a8b9-0c1d-2e3f-4a5b6c7d8e9f][NY DFS 500]] | Very high (every transaction, every risk model) | Transaction fee or audit subscription |
|
||||
| Privacy | [[id:d5e6f7a8-b9c0-1d2e-3f4a-5b6c7d8e9f0a][GDPR]], [[id:e6f7a8b9-c0d1-2e3f-4a5b-6c7d8e9f0a1b][CCPA]] | Medium (consent records, data mapping) | Per-data-subject |
|
||||
| AI safety | [[id:f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c][EU AI Act]] | Evolving (risk classification, conformity assessment) | Certification monopoly |
|
||||
|
||||
**Why regulated industries come before the sciences:**
|
||||
|
||||
1. **Regulations are formal by nature.** HIPAA, SOX, GDPR are written as logical conditions — "deny access to PHI without BAA" is a first-order gate rule. No LLM extraction needed. The ontology work is translation, not discovery.
|
||||
|
||||
2. **Every enforced rule is a gate outcome.** A hospital running 10,000 PHI access checks per day generates gate outcomes faster than any solo developer running shell commands. The verification economy compounds faster in regulated domains because the transaction volume is higher.
|
||||
|
||||
3. **The revenue is recurring and defensible.** A SOC 2 report that is a gate configuration — not a PDF — cannot be replicated by a consultancy. The gate rules accumulate across customers via the social protocol, creating a shared compliance layer that no single competitor can reproduce. This is the [[id:827bc546-e887-5b7c-9b65-6392beaf0920][verification monopoly]].
|
||||
|
||||
4. **First-mover advantage is real.** The first gate configuration for HIPAA risk assessments becomes the template. Every audit that passes against it is a data point. Late entrants must either replicate years of accumulated gate outcomes or buy access to the commons. A proprietary compliance vendor cannot compete with a commons that improves with every customer.
|
||||
|
||||
5. **The ontology work can happen in parallel with hardware maturation.** Encoding HIPAA rules as gate predicates is a Stage 2 activity (software layer on conventional hardware). Enforcement at scale — passing a SOC 2 Type II audit — waits for Stage 3 (Lisp machine). But the encoding, testing, and network convergence happen years before the silicon is ready.
|
||||
|
||||
**Fourth: Physics, chemistry, and the rest of science can wait.**
|
||||
|
||||
These domains are infinitely deep and return zero revenue until the verification economy is self-funding:
|
||||
|
||||
- Physics: formal ontology (SI units, conservation laws) exists in Wikidata and loads immediately. But most physics knowledge isn't exercised through gate actions — no shell commands, no access controls. Sufficiency depends on someone running simulations that generate gate-verifiable outcomes.
|
||||
- Chemistry: PubChem and ChEBI provide the entity backbone, but organic chemistry has exception rules Screamer cannot derive from first principles. The LLM extraction pipeline stays active longest here.
|
||||
- Biology, neuroscience, astronomy, geology — same pattern. The basic science ontology seeds for free. The sufficiency flip requires domain-specific gate outcomes that only come from applied use.
|
||||
|
||||
**The Cyc lesson inverted:**
|
||||
|
||||
Lenat needed 24.5 million assertions before Cyc was generally useful. He reached that number and was still dismissed because the assertions had no commercial verification — they were correct but orphaned.
|
||||
|
||||
Common does not build general knowledge first. It builds narrow, formal, revenue-generating domain rules — software engineering (the bootstrap) then regulated industries (the economy). Each rule is verified by gate outcomes. Each customer contributes to the commons. By the time physics needs a verified ontology, the verification economy is self-funding and the sciences enter a system that already works.
|
||||
|
||||
**Summary:**
|
||||
|
||||
| Priority | Domain | Sufficiency timeline | Revenue | Bootstrap dependency |
|
||||
|----------|--------|---------------------|---------|---------------------|
|
||||
| 1 | Logic and math | Instant | None (foundation) | None |
|
||||
| 2 | Software engineering | Months | Indirect (builds the tool) | Logic and math |
|
||||
| 3 | Regulated industries | 1-2 years | Direct (compliance appliance) | Software engineering + gate |
|
||||
| 4 | Physical sciences | Years to never | Indirect (applied spin-offs) | Everything above |
|
||||
| 5 | General memex | Never fully flips | None (product is tension) | Everything above |
|
||||
Reference in New Issue
Block a user