L1 · the behavioural core (12). Two base system prompts, SELECTED by the harness mode (config-only hot-swap): :clojure → the Phase-1 clojure-harness prompt (operator doctrine for a sandboxed REPL whose only host fns are FINAL/inspect — NO recursion). Unchanged byte-for-byte from Phase 1. :rlm → the v24 recursion doctrine (the recursive host-fn surface, the leaf/child/attach cheapness hierarchy, envelopes, the ≤50 fan-out cap, partial-fanout sentinels, the smell tests, trust discipline). Plus the leaf prompt (a single probabilistic transformation, no REPL) and the compaction prompt. Each is stamped name/version/hash so runs are reproducible and auditable. Role (root vs child) is a per-turn USER-MESSAGE FRAME (child-invocation-frame), never a different system prompt (00 — role as frame).
L1 · the behavioural core (12). Two base system prompts, SELECTED by the
harness mode (config-only hot-swap):
:clojure → the Phase-1 clojure-harness prompt (operator doctrine for a
sandboxed REPL whose only host fns are FINAL/inspect — NO
recursion). Unchanged byte-for-byte from Phase 1.
:rlm → the v24 recursion doctrine (the recursive host-fn surface, the
leaf/child/attach cheapness hierarchy, envelopes, the ≤50
fan-out cap, partial-fanout sentinels, the smell tests, trust discipline).
Plus the leaf prompt (a single probabilistic transformation, no REPL) and the
compaction prompt. Each is stamped name/version/hash so runs are reproducible
and auditable. Role (root vs child) is a per-turn USER-MESSAGE FRAME
(child-invocation-frame), never a different system prompt (00 — role as frame).(child-invocation-frame task)Wrap a child's assigned task as the child turn's USER message (00 — role as a frame, not a different system prompt). The child runs the same rlm doctrine; this frame states the invocation contract and the task.
Wrap a child's assigned task as the child turn's USER message (00 — role as a frame, not a different system prompt). The child runs the same rlm doctrine; this frame states the invocation contract and the task.
(compaction-prompt)The compaction system prompt text (sent to the root model, 07 §4).
The compaction system prompt text (sent to the root model, 07 §4).
(leaf-prompt)The leaf system prompt text (one probabilistic transformation, 03/Phase 3).
The leaf system prompt text (one probabilistic transformation, 03/Phase 3).
(system-prompt)(system-prompt harness)The base doctrine prompt text for a harness mode (the system message base, 05 §4). 0-arg defaults to :clojure (the Phase-1 prompt) for back-compat.
The base doctrine prompt text for a harness mode (the system message base, 05 §4). 0-arg defaults to :clojure (the Phase-1 prompt) for back-compat.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |