FrankenTerm

Glossary of Terms

482 words2 min readFrom the README at ft 0.15.21

Terminology used throughout this document and the codebase. Reading these once saves grepping later.

Term Meaning
Mux The terminal multiplexer process. ft talks to the WezTerm/FrankenTerm mux.
Domain A backend that hosts panes — local, SSH:<host>, tmux:<socket>, or a custom domain. Each pane has one.
Window / Tab / Pane Mux topology unit, in increasing granularity. A window holds tabs; a tab holds panes.
Session An ft concept: a coherent run of the watcher with persistent identity. Sessions outlive individual mux restarts.
Snapshot A point-in-time capture of the mux topology + per-pane state, persisted to the DB.
Checkpoint A persisted session-progress marker; checkpoints accumulate within a session.
Backup A portable archive of the entire ft database, separate from snapshots.
Capture The act of reading current scrollback from a pane and persisting any new bytes.
Delta The new bytes a capture produced after the bounded 1 MiB overlap match.
Gap Captured discontinuity (the previous tail didn't match anywhere in the new capture). Recorded as an event.
Rule A pattern with stable ID, anchor strings, regex, severity, and agent type.
Rule pack A versioned collection of rules; the default is builtin:core.
Detection A rule firing on captured text; emitted as an event with the originating pane_id and rule_id.
Event A typed message on the event bus — detections, gaps, lifecycle changes, system events.
Workflow A registered handler that runs in response to detected events (or on demand).
Mission A planned multi-pane operation with a contract, lifecycle state machine, and audit trail.
Tx (transaction) The execution engine for missions; prepare → commit → compensate with idempotency receipts.
Operating envelope The fail-closed admission contract that decides whether new pane/workflow work is safe right now.
Profile A reusable pane specification (agent + cwd + env + session settings).
Persona Behavioral defaults a profile inherits (skill mix, prompt preludes, tool palette). Planned: defined as a type, not yet loadable from ft.
Fleet template A composition of profiles with counts and dependencies. Planned: defined as a type, not yet loadable from ft.
Reservation An advisory lease on a pane (or file path) preventing concurrent edits.
Approval token A one-shot, scope-pinned 8-char code that lets a specific action through the policy gate.
Robot Mode The JSON / TOON API surface AI agents use to drive ft.
TOON Token-Optimized Object Notation — a compact tree serialization for AI-to-AI envelopes.
Cx asupersync's cancellation context; propagates cancel signals through structured concurrency.
RuntimeProof A sealed trait that makes tokio::* types refuse to compile in bounded API surfaces.
Aggregator In distributed mode, the host running ft watch with the listener; it receives streams from ft distributed agent peers.
Cockpit The resource-pressure cockpit contract; classifies resident memory before any "leak" claim.
Reality-check The quarterly discipline that produces a bridge plan + substrate + signed per-release attestation bundle.
Bead A unit of tracked work in beads_rust (br); IDs prefix ft-* for this project.
PDU Protocol Data Unit — the codec layer's wire message envelope between mux client and mux server.