Commit 5a0abe4
committed
feat(contract): the 34 tactics as 34 working Rust kernels (green)
recipe_kernels.rs: one uniform behaviour `trait Tactic` (meta/gate/apply/
run) + 34 unit-struct implementations (Rte..Hkf), registry-dispatched by
id. Each kernel performs its characteristic operation on a shared
ThoughtCtx using OUR substrate markers (CollapseGate SD FLOW/HOLD/BLOCK,
Berry-Esseen noise floor, NARS contradiction, XOR self-inverse for
ABBA/fusion/counterfactual). Implicit gating: Gate-bucket recipes skip in
FLOW. This is the Elixir-like layer: common interface, 34 hot-dispatchable
units; richer fingerprint substrate slots behind the same trait later.
5 tests green (all 34 dispatch+run without panic, confidence in range;
TCP prunes low branches; CR drops coherence on same-topic contradiction;
ICR builds XOR counterfactual world; Gate recipes skip in FLOW). No
warnings. 446 prior contract tests unaffected.
https://claude.ai/code/session_017GFLBnDy23AWBqvkbHHC411 parent a0857c0 commit 5a0abe4
3 files changed
Lines changed: 694 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
86 | 103 | | |
87 | 104 | | |
88 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments