bken1980 commited on
Commit
8eda115
·
1 Parent(s): 5ae64d7

README: add the design diagram and memory-decay visual

Browse files
Files changed (1) hide show
  1. README.md +30 -0
README.md CHANGED
@@ -31,6 +31,36 @@ by the other two.
31
  > weaknesses are published, not buried: see
32
  > [KNOWN-LIMITATIONS.md](KNOWN-LIMITATIONS.md), the failure museum.
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  ## Read the theses
35
 
36
  | Document | What it argues |
 
31
  > weaknesses are published, not buried: see
32
  > [KNOWN-LIMITATIONS.md](KNOWN-LIMITATIONS.md), the failure museum.
33
 
34
+ ## The design, in one picture
35
+
36
+ *Layer 1 thinks. Layer 2 protects. Layer 3 remembers.*
37
+
38
+ ```mermaid
39
+ flowchart TD
40
+ Q["A person asks something"] --> CORE
41
+ subgraph CORE["LAYER 1 — THINKS: the Duality core"]
42
+ BASE["Base model — any LLM"] --> LOG["Logical hemisphere: facts, steps, checks"]
43
+ BASE --> CRE["Creative hemisphere: ideas, images, story"]
44
+ LOG["Logical hemisphere: facts, steps, checks"] --> HUB["THE HUB: weighs both sides into one answer"]
45
+ CRE["Creative hemisphere: ideas, images, story"] --> HUB
46
+ HUB --> GATE{"Morality gate: clauses checked, leniency within reason"}
47
+ end
48
+ GATE -->|clears the clauses| GO["The answer or action proceeds"]
49
+ GATE -->|breaks a clause| STOP["Stopped, with the reason shown"]
50
+ BAR["LAYER 2 — PROTECTS: the Barrier, a perimeter of gatekeeper checks around Layer 1"] -.-> CORE
51
+ MEM["LAYER 3 — REMEMBERS: the Memory Cloud. Strength halves every 30 days. Below 0.05 a memory is pruned, unless tagged constitutional"]
52
+ GO --> MEM
53
+ MEM -.->|recall feeds the next answer| BASE
54
+ ```
55
+
56
+ **The math of forgetting (Layer 3).** Every memory's strength follows one equation:
57
+
58
+ `strength(t) = starting strength × 0.5 ^ (t / 30 days)`
59
+
60
+ ![How a Duality memory fades — the 30-day half-life](docs/images/duality-memory-decay.png)
61
+
62
+ *Policy source: `config/memory_policy.json` — 30-day half-life, prune threshold 0.05, `constitutional` memories never pruned. An unreinforced memory reaches the prune line at about day 130.*
63
+
64
  ## Read the theses
65
 
66
  | Document | What it argues |