Skip to content

Commit 5e73c1c

Browse files
README: surface substrate-keyed codec + compressed messaging + inline error hints
- Add unique-features bullet for omc_codec_encode/decode_lookup and omc_msg_sign_compressed/recover with the 5-7x compression number. - Add three rows to the Demos table pointing at test_codec.omc, test_compressed_messaging.omc, and FINDINGS.md. - Add two rows to the Status table (codec + inline error hints). - Bump test count 161 -> 174. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 7046ca7 commit 5e73c1c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ These are concrete, present-in-the-code features, not aspirations:
3434

3535
- **Substrate-routed harmonic libraries.** `harmonic_anomaly` beats scikit-learn's IsolationForest **10/10 vs 7/10** on multi-dim credential-stuffing detection (the structural-anomaly regime).
3636

37+
- **Substrate-keyed code codec + compressed substrate-signed messaging.** `omc_codec_encode` produces a sampled-token payload addressed by the canonical AST hash (invariant under whitespace, comments, alpha-rename). `omc_codec_decode_lookup` returns the exact library entry on hash match. `omc_msg_sign_compressed` / `omc_msg_recover_compressed` carry the codec payload inside the substrate-signed wire format — ~5–7× smaller payloads with lossless library recovery and full signature integrity. 13 tests pass ([`test_codec.omc`](examples/tests/test_codec.omc), [`test_compressed_messaging.omc`](examples/tests/test_compressed_messaging.omc)). See [`experiments/seed_expansion/FINDINGS.md`](experiments/seed_expansion/FINDINGS.md) for the full extrapolation including what the open-set ML side does *not* yet deliver.
38+
3739
---
3840

3941
## 30-second hello
@@ -246,6 +248,9 @@ fn coherent_loop(n) {
246248
| [`examples/datascience/titanic.omc`](examples/datascience/titanic.omc) | Kaggle Titanic via embedded Python pipeline |
247249
| [`examples/lib/substrate.omc`](examples/lib/substrate.omc) | High-level wrappers around the substrate primitives |
248250
| [`examples/tests/test_heal_pass.omc`](examples/tests/test_heal_pass.omc) | 16 tests for the self-healing compiler's heal classes + per-class pragmas |
251+
| [`examples/tests/test_codec.omc`](examples/tests/test_codec.omc) | 7 tests for `omc_codec_encode/decode_lookup` — alpha-rename invariant library recovery + inline error-hint UX check |
252+
| [`examples/tests/test_compressed_messaging.omc`](examples/tests/test_compressed_messaging.omc) | 6 tests: substrate-signed wire payloads carrying codec output, alpha-equivalent recovery, JSON round-trip |
253+
| [`experiments/seed_expansion/FINDINGS.md`](experiments/seed_expansion/FINDINGS.md) | Empirical writeup: substrate-keyed codec works (lossless on in-library content); open-set ML stays data-budget bound at 40 samples — honest |
249254

250255
---
251256

@@ -264,7 +269,7 @@ fn coherent_loop(n) {
264269
| `experiments/substrate_primitives/` | Empirical comparison of substrate vs native vs OMC search |
265270
| `examples/lib/` | `substrate.omc`, `harmonic_anomaly`, `harmonic_clustering`, `harmonic_recommend`, np/pd/sklearn/torch/requests/sqlite |
266271
| `examples/datascience/` | Real-data demos with honest numbers |
267-
| `examples/tests/` | `test_substrate_primitives.omc` (57), `test_new_builtins.omc` (70), `test_harmonic_libs.omc` (18), `test_heal_pass.omc` (16) **161 total** |
272+
| `examples/tests/` | `test_substrate_primitives.omc` (57), `test_new_builtins.omc` (70), `test_harmonic_libs.omc` (18), `test_heal_pass.omc` (16), `test_codec.omc` (7), `test_compressed_messaging.omc` (6) **174 total** |
268273
| `docs/` | Substrate audit, JIT benchmarks, anomaly-detection comparisons |
269274
| `registry/` | Central package registry (sha256-verified) |
270275

@@ -342,6 +347,8 @@ Submit a package: PR an entry to [`registry/index.json`](registry/index.json).
342347
| Hybrid HBit-gate distractor-mix test | **falsified at current gate formulation (0/3 wins)**, score-level / learned-threshold reformulations documented |
343348
| Self-hosting compiler V.9b | shipped, gen2 == gen3 byte-identical |
344349
| **Self-healing pass (7 classes, substrate-routed typo)** | shipped, `OMC_HEAL=1`, **10× typo lookup**, 16 tests, per-class pragmas |
350+
| **Substrate-keyed code codec + compressed messaging** | **shipped**, `omc_codec_encode/decode_lookup` + `omc_msg_sign_compressed/recover`, alpha-rename invariant, ~5–7× wire payload reduction, 13 tests, lossless on in-library content |
351+
| **Inline error-fix hints** | **shipped**, `Undefined function` errors now carry the suggested fn's signature inline (eliminates a separate `omc_help` round-trip after a typo) |
345352
| Two-engine parity (tree-walk + VM) | shipped, 44/45 byte-identical |
346353
| Embedded CPython + callbacks | shipped, 6 wrapper libs |
347354
| WASM + LSP + GDExtension targets | shipped |

0 commit comments

Comments
 (0)