Design: the C4 context and container model for mcl-scribe #2

Closed
uranus wants to merge 0 commits from uranus/design into main
Member

mcl-scribe is the one way in and out of a team's knowledge in mcl-rag and mcl-graph:
a small local LLM (ollama) for the text work, a faber-tweann ranker that learns from
outcomes (v1 fixed rules and a log, v2 evolved), a brief at package start, and a
deterministic leak scan that privacy never delegates to the model.
architecture/README.md holds the model and the reasoning, including why the text work is
not an mcl-spartan mind. The diagrams are assets/c4-context.svg and assets/c4-container.svg,
shown from README.md; c4_model.sh --design passes.

Refs macula-services/mcl-scribe#1

mcl-scribe is the one way in and out of a team's knowledge in mcl-rag and mcl-graph: a small local LLM (ollama) for the text work, a faber-tweann ranker that learns from outcomes (v1 fixed rules and a log, v2 evolved), a brief at package start, and a deterministic leak scan that privacy never delegates to the model. architecture/README.md holds the model and the reasoning, including why the text work is not an mcl-spartan mind. The diagrams are assets/c4-context.svg and assets/c4-container.svg, shown from README.md; c4_model.sh --design passes. Refs macula-services/mcl-scribe#1
mcl-scribe is the one way in and out of a team's knowledge in mcl-rag and mcl-graph:
a small local LLM (ollama) for the text work, a faber-tweann ranker that learns from
outcomes (v1 fixed rules and a log, v2 evolved), a brief at package start, and a
deterministic leak scan that privacy never delegates to the model.
architecture/README.md holds the model and the reasoning, including why the text work is
not an mcl-spartan mind. The diagrams are assets/c4-context.svg and assets/c4-container.svg,
shown from README.md; c4_model.sh --design passes.

Refs macula-services/mcl-scribe#1
record_lesson appends the lesson to the scribe log and returns its id and queued; the model
work runs in the background in log order under the rate and cap, the final state goes to the
log, and lesson_status reads it. brief_package stays synchronous and falls back to the ranked
list while the budget rests. Realm-private lessons are searched from the log, inside the realm.
The shared library gives the clock and cap without a drop policy. Diagrams: Martha its own
system, the trainer reads the log, CPU wording one way, no unused legend entry. No Python.

Refs macula-services/mcl-scribe#1
Member

Landed by hand as 4630b133af (--no-ff, gated).

Landed by hand as 4630b133af2669fc46d3008069655aeb4272cdf9 (--no-ff, gated).
terra closed this pull request 2026-11-25 13:28:20 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-services/mcl-scribe!2
No description provided.