# Localterm Foundation

> Use when building terminal UIs, terminal rendering, pi bash-tool security, daemon power keep-awake, multi-user auth/identity planes (trusted-proxy headers, WebAuthn passkeys, OIDC authorization-code+PKCE, HMAC session cookies), git worktree lifecycle management (porcelain listing, fresh-ref/PR creation, stale sweeps, PTY-occupied delete guards), or scheduled-automation/cron systems: streaming secret redactor, spawn-side env scrub, localterm terminal stack, caffeinate decision machine, Vixie-cron kernel with lossless preset recognition, minute-ticker scheduler, run handoff/claim, downtime reconciliation, and CDP terminal-use.

- Skill: `ryan-brosas/localterm-foundation` (Agent Skill, multi-file: 64 files)
- Install (CLI): `npx skillmds@latest add ryan-brosas/localterm-foundation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ryan-brosas/localterm-foundation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: ryan-brosas (https://skillmd.com/u/ryan-brosas)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/ryan-brosas/localterm-foundation

---

# LocalTerm Foundation

## Foundation contract

This is a cold, source-specific foundation, not an operational procedure. It is
historical, revision-pinned evidence rather than timeless guidance. Current
project source, tests, requirements, and runtime behavior outrank this
projection and decide what ships.

## Provenance and revision

- Source record: `localterm`; portable upstream identity, license, coverage caveats, and retrieval history are preserved in the index.
- Recorded revision: `f26c5853`.
- Full provenance, coverage caveats, boundaries, and preserved evidence:
  `references/index.md`.

## Topic map

- Representative topics: Bash-secret defense; Terminal stack; Session
  management; Headless rendering & persistence; Agent extension; CLI
  ergonomics; Agent automation; Git & UX surfaces.
- Scope and retrieval questions: `references/index.md#use-this-for`.
- Complete capsule chooser: `references/index.md#load-the-matching-source-dump`.
- Detailed grouped map: `references/index.md#capsule-map`.
- Source limitations and portability boundaries: `references/index.md#boundaries`.

## Retrieval

Open the index, choose one capsule matching the active question, and load only
that capsule. Revalidate its cited source and revision before relying on it. Do
not bulk-load the inventory, treat historical claims as current truth, or apply
this foundation as a procedure.

