FrankenTerm

Resource Pressure Cockpit

159 words1 min read3 subsectionsFrom the README at ft 0.15.21

On this page3
Residency classesAction receiptsConformance artifact

When operators see "high memory," the cockpit contract demands they classify the residency source first. The contract is at docs/resource-pressure-cockpit-contract.md.

Residency classes

Class What it counts Where it usually lives
rust_heap Heap allocations of the watcher itself jemalloc stats
mmap_file_backed mmap'd file regions SQLite + Tantivy index files
sqlite_page_cache SQLite's page cache Tunable via PRAGMA cache_size
graphics_media GPU buffers, texture atlases Only on GUI builds
scrollback_cache Hot + warm scrollback tiers Per-pane budgets
child_processes Spawned mux/pty processes OS process accounting
unknown Everything else Should always be near-zero; non-zero is a yellow flag

Action receipts

Each cockpit response includes action_receipts — what mitigations have already been attempted and their outcomes. Operators check these before claiming a mitigation "actually ran." This prevents the classic incident-response anti-pattern of "tried X, didn't help, but we never confirmed X actually ran."

Conformance artifact

The resource-cockpit conformance lane is the e2e script tests/e2e/test_ft_rz0eb_4_resource_cockpit_conformance.sh (retained remote-reduced conformance artifact: tests/e2e/artifacts/goal-line/ft-rz0eb.4/resource_cockpit_conformance/20260513T172634Z/summary.json). Target-class proof is governed by docs/perf/target-class-hardware.md and is currently skipped_not_proven.