Microdesign

This folder hosts the Level 2 documentation: one HTML file per architectural component. It is populated gradually. A rule of life: a component is not implemented before its HTML exists and has been approved.

Language note (updated 25/4/2026). The Level 1 foundation documents are bilingual (IT + EN). The v1.1 canonical microdesign docs — executor, mnest, mnestome, synt, telos — are also bilingual. The older, obsolete v1.0 microdesign pages remain only in Italian as historical traceability and will be progressively rewritten in their v1.1 canonical form. If a specific obsolete component blocks your reading, ping [email protected].
The previous 22 docs are obsolete (24 April 2026). After the Dialogue on executors and distributed memory and the rewrite of the Architecture v1.1, the terminology and several structural decisions have changed: neuronexecutor, synapsemnest, proteomemnestome. The whole previous microdesign must be re-read and rewritten before being used as a reference for implementation. The files remain here as traceability of the design path.
⚡ v1.1 — four new canonical docs. The microdesign rewrite has started from the triad of the Dialogue on executors: executor.html (replaces neuron.html, approved on 24 Apr 2026), mnest.html (replaces synapse.html, under approval), mnestome.html (new, under approval). On 25 Apr 2026 two more canonical docs were added: synt.html (replaces synthesizer.html) and telos.html v1.1 (rewrite), bringing the canonical set to five. All bilingual (IT · EN) and all approved after the end-to-end «invoices in mail» simulation (25/4/2026). The other components will follow in the order shown below.

v1.1 — new canonical docs

ComponentWhat it coversLanguagesStatus
executor.html Anatomy of an executable capability: manifest, Ed25519 signature, sandbox profile (with operational «called wrong» example), lifecycle, synthesis (cascade in §7.1), remote executors. Replaces neuron.html. IT · EN approved 24 Apr
mnest.html The trace of co-activation between two executors: anatomy, lifecycle, decay, persistence, proto-mnest. Replaces synapse.html. IT · EN approved 25 Apr
mnestome.html The emergent graph of all mnests: SQLite data schema, atomic operations, ager, snapshots. New concept (in IT: mnestoma). IT · EN approved 25 Apr
synt.html How the executor pool is born and matures: reactive cascade (compose, generate) and introspective cascade (merge, generalise, specialise). Non-retreat telos, extended R score. Replaces synthesizer.html. IT · EN approved 25 Apr
telos.html User's ultimate ends, alignment function, bother budget with scheduler-driven quotas, non-retreat telos (t.coltivazione_strumenti) and stop clause. Rewrite of telos v1.0. IT · EN approved 25 Apr

Release phases

0overall architecture
✓ done (v1.1)
0.5microdesign rewrite
now
2policy + workspace + audit
3Telegram + pairing
4+mnestome, voice, dashboard

Production order (after the phase-0 judgement)

Following Perspectives & Judgement v1, the microdesign writing order changed: three cross-cutting docs go before the four classical ones, because without them the four classics would be pattern-violators.

# Cross-cutting doc Which blocking critiques it solves
1 agent_runtime.html reasoning loop, tool-call validation, ExecutionTrace, prompt structure
2 approval_ux.html approval batching, reading pause, revoke, tutor mode
3 eval.html 15-20 YAML scenarios + replay harness + success/cost report

Planned components

Each linked document opens the Italian microdesign page. The English description below summarises what the component covers.

Component What it covers Phase Status
types.htmlIT Canonical index of cross-component types. Introduces PlannedAction and TrustScore. Versioning discipline and drift detection. 1 (cross-cutting) obsolete
agent_runtime.htmlIT Reasoning loop (ReAct), prompt structure, tool-call validation, ExecutionTrace, provider failover via supra. 1 (first) obsolete
approval_ux.htmlIT CLI/Telegram approval flows, batching, reading pause, revoke, tutor mode. 1 (first) obsolete
eval.htmlIT YAML scenarios, replay harness, success/latency/cost metrics, CI gate. 1 (first) obsolete
gateway.htmlIT FastAPI, sessions, webhooks, cron, auth. 1 obsolete
channel.htmlIT Channel Protocol, CLI, then Telegram. 1 / 3 obsolete
tool.htmlIT Tool Protocol, base set (fs, shell, web_fetch, supra adapters). 1 obsolete
sandbox.htmlIT Bubblewrap profiles, systemd hardening, optional Docker. 1 obsolete
policy.htmlIT Autonomy levels, approval gating, rate/cost limits, forbidden paths, cost tiering. 2 obsolete
workspace.htmlIT Markdown files IDENTITY / USER / MEMORY / AGENTS / SOUL. 2 obsolete
observability.htmlIT JSON logging, append-only audit log, metrics, health. 2 obsolete
pairing.htmlIT DM pairing: code flow, signature, revocation. 3 obsolete
memory.htmlIT Memory Protocol, session persistence + long-term facts. 4 obsolete
config.htmlIT pydantic-settings schema, overrides, secrets. 1 (cross-cutting) obsolete
"Neurons and Memory" extension (see doc v1)
rl_offline.htmlIT Self-evolution without training. 3 experiments: trace-scoring / synth-reward / neuron self-play. Introduces TrustStore. 5 / 7 (cross-cutting) obsolete
neuron.htmlIT Structure of a neuron: manifest, body, birth test, signature, journal. 6 obsolete
synthesizer.htmlIT Synthesis pipeline: failure → spec → draft → static analysis → test → human approval. 5 / 6 obsolete
synapse.htmlIT Neuron graph: declared/observed synapses, counters, decay, pruning. 7 obsolete
constitution.htmlIT The 4 Laws, SOUL.md, modification rite, prompt-level enforcement. 2 obsolete
"Extended Perspectives" extension (see doc v1)
telos.html v1.0 (historical row) TELOS.md, alignment function, bother budget. Promoted to v1.1 on 25/4/2026: see the v1.1 canonical table above. 4-5 v1.1 canonical
vaglio.htmlIT Constitutional Guard (binary, deterministic) + teleological Judge (gradient, independent LLM). Resolves self-critic bias; pairs with telos. Vaglio = "the sieve". 4-5 obsolete
coerenza_v1.htmlIT Coherence review across all 21 components. 6 blocking fixes + 7 medium fixes applied 22 April 2026. meta obsolete

Writing conventions

Every microdesign HTML file follows the same template as Architecture — Introduction:

Status legend

planned — component recognised, document not yet written.
drafting — document in draft, do not use as reference.
approved — final document. Implementation may begin.
built — code exists in src/myclaw/<component>/.
obsolete — document superseded by later decisions (renames from the Dialogue on executors, Architecture v1.1). Kept as traceability, to be rewritten before implementation.

Back to Level 1 (foundations)

The microdesign only makes sense against the foundation documents. If you are reading a component in this folder, keep these open too:

Keep reading

foundations · 20 min
Architecture — Introduction v1
The "what": the four layers, autonomy, the workspace, the flow of a request.
extension · 30 min
Neurons, Synapses and Memory v1.1
The "living extension": self-synthesised neurons, Darwinian selection, three-tier memory.
rationale · 15 min
Literature & Adaptations
The "why": the literature that informed the design choices.
practical · 10 min
Survival Kit
The "for whom": the user side, concrete use cases, what will be possible.
home
← Main index
All documents at once.