internal/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package config is the machine-local wiring file (ADR-0021): which Claude profile runs, where the truth DB lives, which local perception server (Ollama / MLX LM, ADR-0029) serves perception.
Package config is the machine-local wiring file (ADR-0021): which Claude profile runs, where the truth DB lives, which local perception server (Ollama / MLX LM, ADR-0029) serves perception.
Package core implements the Connection Engine: decaying Beta posteriors, the surprise ledger, and the split/merge judgment (ADR-0001..0003).
Package core implements the Connection Engine: decaying Beta posteriors, the surprise ledger, and the split/merge judgment (ADR-0001..0003).
Package curiosity derives Tomo's questions from the Knowledge Network.
Package curiosity derives Tomo's questions from the Knowledge Network.
Package decide implements the Decision Engine (ADR-0012): a deterministic capability gate on the pessimistic posterior quantile, then Thompson Sampling on the preference side.
Package decide implements the Decision Engine (ADR-0012): a deterministic capability gate on the pessimistic posterior quantile, then Thompson Sampling on the preference side.
Package executor runs a provider CLI as a child process and turns its stream into canonical events (ADR-0006).
Package executor runs a provider CLI as a child process and turns its stream into canonical events (ADR-0006).
claudecode
Package claudecode adapts the Claude Code CLI (`claude -p ...
Package claudecode adapts the Claude Code CLI (`claude -p ...
codex
Package codex adapts the Codex CLI (`codex exec --json`) to the executor's canonical events (ADR-0010 Decision 3).
Package codex adapts the Codex CLI (`codex exec --json`) to the executor's canonical events (ADR-0010 Decision 3).
Package face derives Tomo's growth stage and mood as a View over the Knowledge Network (ADR-0008).
Package face derives Tomo's growth stage and mood as a View over the Knowledge Network (ADR-0008).
Package facelock guards against a second face window: the mascot is one per machine (ADR-0025 Decision 2), not one per DB.
Package facelock guards against a second face window: the mascot is one per machine (ADR-0025 Decision 2), not one per DB.
Package facewin is the face window — a second, display-only renderer over the same SQLite truth (ADR-0020).
Package facewin is the face window — a second, display-only renderer over the same SQLite truth (ADR-0020).
Package lineedit is Tomobit's inline line editor (ADR-0022 Decision 3).
Package lineedit is Tomobit's inline line editor (ADR-0022 Decision 3).
Package marker extracts candidate JSON objects around a protocol key from a Provider's free-form output.
Package marker extracts candidate JSON objects around a protocol key from a Provider's free-form output.
Package mdlite prepares a provider's output for a terminal.
Package mdlite prepares a provider's output for a terminal.
Package observe is the first layer of Outcome (ADR-0003 Decision 1), finally given a writer (ADR-0052).
Package observe is the first layer of Outcome (ADR-0003 Decision 1), finally given a writer (ADR-0052).
Package perceive turns Sessions (event streams) into Experiences.
Package perceive turns Sessions (event streams) into Experiences.
Package plan implements Plan learning (ADR-0014): plans are a closed menu of capability sequences — the ledger's second bet target.
Package plan implements Plan learning (ADR-0014): plans are a closed menu of capability sequences — the ledger's second bet target.
Package presence answers one question for the face window: "is any tomobit conversation alive on this machine right now?" (ADR-0027).
Package presence answers one question for the face window: "is any tomobit conversation alive on this machine right now?" (ADR-0027).
Package quota reads each provider's own usage endpoint with the user's own OAuth token (ADR-0044 Decision 1).
Package quota reads each provider's own usage endpoint with the user's own OAuth token (ADR-0044 Decision 1).
Package reflection is the organ that mirrors Tomo's discoveries back to the human (ADR-0015): Curiosity learns for Tomo, Tomo's question asks for Tomo — Reflection alone exists so the *user* grows.
Package reflection is the organ that mirrors Tomo's discoveries back to the human (ADR-0015): Curiosity learns for Tomo, Tomo's question asks for Tomo — Reflection alone exists so the *user* grows.
Package store implements SCHEMA.md v1.0 on SQLite: append-only truth (events, experiences), rebuildable projections (connections, surprise_ledger), and persistent working state (curiosity_queue).
Package store implements SCHEMA.md v1.0 on SQLite: append-only truth (events, experiences), rebuildable projections (connections, surprise_ledger), and persistent working state (curiosity_queue).
Package subtask implements the split-proposal protocol (ADR-0023, always-on since ADR-0028): every `do` target run carries the protocol, and a Provider that judges the task too large returns a small JSON marker instead of doing the work.
Package subtask implements the split-proposal protocol (ADR-0023, always-on since ADR-0028): every `do` target run carries the protocol, and a Provider that judges the task too large returns a small JSON marker instead of doing the work.
Package voice renders Tomo's spoken lines (ADR-0009): deterministic Go templates over Connection/Experience/Stage Views, no LLM.
Package voice renders Tomo's spoken lines (ADR-0009): deterministic Go templates over Connection/Experience/Stage Views, no LLM.
Package workspace implements the isolation protocol (ADR-0050): every eligible run carries a deterministic instruction telling the Provider to split its own workspace off with whatever version control the project uses, and to declare what it did.
Package workspace implements the isolation protocol (ADR-0050): every eligible run carries a deterministic instruction telling the Provider to split its own workspace off with whatever version control the project uses, and to declare what it did.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL