Markdown source
File outline
# Changelog
## Unreleased
- Change Tune's fullscreen shortcut to `Ctrl+Alt+T`
- Remove the unneeded `builtin-tools` extension and `/builtin-tools` command
- Update npm dependency lockfile to latest resolved package versions
- Replace dprint and markdownlint-cli2 with rumdl for Markdown, Taplo for TOML, and yq frontmatter validation; add structural Markdown checks for links, footnotes, fences, TOCs, anchors, encoding, and comments
- Pin all Pi packages to 0.84.2 and modernize extensions for API changes around agent sessions, provider headers, auth, and RPC messages
- Store Klaus sessions separately under Pi's configured session directory, never in normal Claude session storage; non-persisted Pi sessions and sessionless model calls remain isolated in memory
- Make Klaus SDK upgrades exact-version cutovers with once-only asynchronous startup migrations; Pi remains responsive while Klaus waits, and failed migrations preserve existing data
- Preserve exact Pi branch context in Klaus through turn checkpoints and Claude SDK session fork and resume APIs, without runtime fallbacks or private transcript manipulation
- Follow Pi's canonical context replacement during compaction by starting a new Claude lineage from Pi's summary; disable Claude SDK auto-compaction
- Make Klaus use Pi's system prompt and tools while disabling optional Claude tools, settings, memory, compaction, and external MCP integrations
- Keep Pi authoritative for Klaus tool execution, including permissions, UI, events, and transcripts; forward only model-facing text, images, and error status from tool results, and support tools added or removed by extensions during active turns
- Preserve Pi tool schema validation in Klaus; reject required JSON-schema constrained sampling and fall back for preferred or unsupported grammar constraints
- Preserve Pi provider hooks in Klaus through transformable logical requests and virtual `x-klaus-*` response metadata that never reaches Anthropic
- Treat Klaus request timeouts as sliding Claude-activity timeouts, paused while Pi tools run; ignore unsupported output-token limits
- Make Klaus discover available Claude models with Pi's OAuth and never auto-probe undiscovered models that could consume usage credits
- Advertise one current Klaus model per Claude family and map each explicit Pi model ID to Fable, Opus, Sonnet, or Haiku without silently upgrading it
- Let Fable proceed when absent from authenticated discovery, with a usage-credit warning shown once per Pi session
- Support Pi thinking in Klaus, mapping `minimal` to `low`, preserving supported levels, disabling it for `off`, and warning when unsupported levels are reduced
- Preserve Pi steering and follow-up order across Klaus provider turns and pending-tool boundaries
- Fix Klaus parallel tool continuations, sessionless tool-call failures, and aborted requests
- Fix Klaus prompt translation so subscription-triggering phrases no longer cause third-party-app usage errors while the available skills section, `.pi`, paths, and compound names such as `pi-ext` remain unchanged; keep Pi identifiable to the model and warn once per session when upstream prompt changes prevent expected translations
- Add automatic Klaus setup on Android through an isolated `grun` launcher
- Support concurrent Klaus calls from extensions that create Pi agent sessions or make direct model calls
- Reap idle secondary Klaus queries after 15 minutes, refreshing the timeout on provider or tool activity and replaying canonical Pi context if a later result arrives
- Report Klaus API-equivalent spend using Pi's current Anthropic rates while keeping token usage and warning that actual subscription or Fable credit usage may differ
- Document that Klaus uses Anthropic's proprietary Claude Agent SDK under its commercial terms without vendoring the SDK
- Add Decay to classify and compact session history into ranked durable memory, with a passive progress widget that keeps Pi's editor available for queued steering and Escape cancellation, plus automatic fallback to Pi's default compaction on failure
- Fix Decay compaction reliability by assigning source provenance locally instead of relying on model output
- Fix repeated Decay compactions so paraphrased memories reuse the same identity without being counted as new occurrences
- Add Continuity to automatically resume the current task after context compaction while yielding to queued messages and active Goal or Tune runs
- Fix Continuity so it resumes user intent only when actionable work remains and stops instead of rerunning completed checks, retrying known blockers, or inventing follow-up work
- Fix The System README artifact path docs to show plural directories
- Make `/system init` deterministic with confirmation; it creates schema v3 config, plural artifact directories, and core files directly
- Add an optional project title to The System config; `/system init` writes it from the project directory name and rendered books use it
- Remove The System advisory shell mutation guard; governed confirmation remains on `write` and `edit`
- Seed `/system init` core files with concise SYSTEM, MISSION, and RULES role guidance while preserving existing core content on rerun
- Fix `/system init` so rerunning in an initialized project reuses the existing prefix instead of asking again
- Fix exact `/system` subcommands such as `doctor` and `book` so autocomplete does not consume Enter
- Add `/system edit <path|id|slug>` to open System documents in VISUAL, EDITOR, or a platform editor
- Fix `/system edit` on Windows so quoted editor paths and file paths preserve backslashes and launch correctly
- Fix `/system edit` fallback selection so `termux-open` is used only on Termux/Android and other platforms keep their native editor fallback
- Fix The System document prompt and governance to require plural artifact directories and block unknown `.system` paths such as `.system/spec`
- Fix `/system view` and `/system book` HTML output so rendered pages include document bodies and open in the browser
- Fix rich System doc rendering so heading anchors are document-scoped and iframe embeds use browser-loadable file URLs
- Fix `/system book` Mermaid diagrams so they load from local file output in browsers
- Fix `/system book` layout so the On this page sidebar and referenced-by panels no longer overlap content, referenced-by panels are collapsible at the end of pages, the dossier uses full width, header elements align, empty diagnostics are hidden, law navigation avoids duplicate labels, project metadata is used for titles and favicons, and graph labels no longer overflow boxes
- Fix `/system book` mobile layout so navigation drawers start collapsed, headings and topbar scale responsively, and the reference graph uses a constrained initial viewport
- Fix `/system book` at limited desktop widths so the right utilities rail is hidden instead of covering graph controls
- Fix `/system book` document links so they navigate within the book instead of jumping to separate file pages
- Fix `/system book` layout so clicking document links no longer causes horizontal scroll or layout corruption
- Improve `/system book` with a responsive dossier reader, fixed header and left navigation with utilities merged in instead of a separate right box, collapsible navigation, attached search results with highlights, diagnostic links, reference graph, Nugu colors, and print CSS
- Improve The System book reference graph with all linked docs, pan/zoom controls, touch gestures, clickable node links, text fallback, and Dagre primary-edge layered layout to reduce crossing and clutter
- Fix The System book reference graph so pan/zoom handling no longer breaks node links
- Remove redundant helper text from The System book reference graph header
- Update The System lifecycle design around one `/system` command with subcommands for init, doctor, view, book, research, spec, spec-verify, phase, plan, issue, and exec
- Update The System lifecycle stages: the small path is `spec -> exec`; the larger path is `research -> spec -> spec-verify -> phase -> plan -> exec`; optional stages never auto-chain
- Update The System lifecycle IDs to schema v3 token IDs and rename roadmap terminology to phase terminology
- Update The System lifecycle design so phase and plan status is `draft` or `done`; `done` means human-approved, immutable, and exec-eligible, while supersession happens by creating a new artifact with prose references
- Require interactive approval before changing a phase or plan from `draft` to `done`
- Update The System lifecycle metadata: specs have `id`, `type`, `title`, and optional `research`; phases have `spec`, `status: draft|done`, and optional `depends_on`; plans have `spec`, optional `phase`, `status: draft|done`, and optional `depends_on`; issues have `specs` and `status: open|done`; `spec-verify` creates no canonical document
- Add The System dependency validation and rendering for phase and plan `depends_on`, including same-spec checks, dangling-reference and cycle diagnostics, reference graph edges, and dependency-aware book ordering
- Update The System rich-Markdown design to use phases instead of roadmaps in the lifecycle model
- Remove The System exported skills and top-level prompt templates; `/system` subcommands use internal prompt includes for document and Markdown knowledge
- Remove unused The System renderer dependencies
- Add terse artifact detail budgets for System docs; plans stay at module/interface/package/class level and avoid real code snippets
- Fix The System runtime warning so it stays quiet until a project opts into `.system`
- Use `/ultra exec <instructions>` to design or execute a workflow and `/ultra run <name> [args]` to run a saved workflow; bare `/ultra` enables the hidden workflow tool and confirms activation
- Make `/ultra exec` show the complete orchestration prompt as a user message, choose between a one-off and saved workflow from reuse intent, and ask one focused question when uncertain
- Add `/ultra` autocomplete for `exec` and `run`, with saved workflows completed under `run`
- Remove Ultra background runs and `/ultra history`; workflows now run interactively without persisted run history
- Make Ultra discover newly saved workflows without requiring `/reload`
- Improve Ultra progress with phase-first expandable views, transcript navigation, native Pi tool rows and `Ctrl+O` output expansion, checkpoint, token, and cost details, and final outcomes
- Add optional `ultra.actionSummarizerModel` summaries that replace raw Ultra tool arguments with concise action phrases; rapid actions coalesce per agent, only one summary request runs at a time, final pending actions are flushed when an agent finishes, collapsed transcripts hide redundant tool previews, summaries are bounded, and `Ctrl+O` still shows native tool details and results
- Hide Ultra's internal `structured_output` completion tool from progress summaries
- Improve Ultra's review workflow with readable analysis, verified findings, and concrete next steps instead of raw JSON output
- Add Ultra's shipped `research` workflow with parallel web evidence gathering, gap auditing, adversarial verification, and a cited human-readable report
- Load skills in Ultra's tool-using sub-agents by default with `ultra.subagentSkills: "none"` as the opt-out, and refuse workflows requiring unavailable tools
- Fix Ultra progress so phase transitions and completion preserve terminal scrollback
- Require two Esc presses to confirm aborting an entire Ultra run
- Fix Ultra tool-step cleanup so teardown errors do not hide a completed workflow step
- Remove Ultra's exported authoring skill; `/ultra exec` now sends the workflow authoring prompt internally
- Fix Pulse TAB completion
- Fix Notes so `/tree` restores notes from the selected branch and `/new` asks whether to carry pending notes into the new session
- Disable all mise-managed tools on Android to avoid platform-specific tool failures
- Fix the uv extension on Windows by skipping incompatible shell shims while retaining command blocking
- Fix RTK rewriting so `find` commands keep exact path semantics unless RTK passes a path capability probe, and notify users when rewrites are disabled or the compatibility guard can be removed
- Replace the tmux-only terminal skill with a terminal harness for observable TUI testing through tmux or WezTerm
- Harden git-safe against hook-skipping Git options through aliases, shell indirection, nested Bash, `xargs`, and child-process PATH lookup, including Git Bash on Windows
- Fix git-safe startup on Windows when commands clear or replace `PATH`
- Fix git-safe cloning on Windows so valid deep destination paths are accepted
- Fix Overkill's Aftermath skill picker so large skill lists scroll within the terminal
- Fix Overkill Aftermath completion when mining finds insufficient tasks so it offers report-only actions and shows consistent artifact paths
- Show persistent below-editor progress during long Overkill phases, including mining and aggregation calls
- Keep transient TUI progress out of session history, remove duplicate status output, clear progress after discarding a run, and explain perfect-baseline completion
- Bound target model calls to 900 seconds and checkpoint infrastructure failures for safe resume
- Fix discard through a symlinked Pi agent directory
- Label the bounded skill picker and show useful path tails
- Open the Overkill Aftermath skill picker before scanning session history
- Fix Overkill Aftermath mining so miners call structured output reliably, retry one malformed response, enforce the task schema, and reject wholly invalid nonempty results
- Warn when unfinished Overkill runs may overlap work across Pi processes without duplicating warning prefixes or flagging unrelated suite authoring
- Fix Overkill Aftermath session mining to use Pi's configured session directory
- Add `/overkill suite <skill-path> <suite-dir>` to have Pi author and validate a standard Overkill evaluator suite
- Make `/overkill suite` stop and ask before overwriting existing or concurrently modified evaluator files
- Keep `/overkill suite` focused on the skill contract instead of unrelated Overkill implementation research
- Show a compact colorized diff preview as soon as Overkill stages an optimized skill, with the bounded full diff available through Ctrl+O
- Retry one malformed optimizer structured output before preserving an interrupted checkpoint
- Keep generated starter suites to 3/2/2 cases with a small shared checker contract
- Fix exact `/overkill aftermath` so autocomplete does not replace it with `aftermath status`
- Report insufficient Aftermath task progress against the three-task minimum instead of 30
- Label post-baseline failures as run failures instead of baseline failures
- Canonicalize prospective suite-authoring destinations so project symlinks cannot escape the trusted project
- Reject source or suite changes made after confirmation and before private run creation
- Bound checker source to 256 KiB and disclose that trusted checkers inherit the process environment
- Let users discard interrupted inactive suite runs that cannot safely resume
- Reject malformed quoting and trailing command arguments with explicit usage errors
- Report missing or corrupt review artifacts as a command error instead of throwing through Pi
- Align rubric-judge generation constraints with validation and retry one malformed judgment in a fresh session
- Bind every Aftermath mining and aggregation prompt to the confirmed skill capability instead of replaying unrelated recurring work
- Replace repetitive Aftermath completion messages with one outcome-first summary, rounded scores, explicit no-diff reasons, and silent keep actions
## 0.0.3
- Rename autoresearch to tune; add jj backend, state migration, timeout clamps
- Rework diff-review to SSR reviews; add headless Vitest coverage
- Add sparse safe clones, capped web fetch cache, and goal planner dossier
- Rework q extraction; add benchmark and 112 parser tests
- Retire superpowers; move workspace to npm, Vitest, dprint, Biome, tsc, mise
## 0.0.2
- Bump package.json from 0.0.1 to 0.0.2
- Update README install examples to git:github.com/bugabinga/pi-ext@v0.0.2
- Leave extension sources, READMEs, tests unchanged from v0.0.1
## 0.0.1
- Ship initial pi-ext set:
goal, tldr, leaks, tps, quota, vcs-status
- Add goal loop:
autocomplete, progress UI, standing prompts, judge-gated updates
- Add tldr live summaries, model footer, quota parsers, jj-aware workspace
status
- Fix session startup races, stale telemetry, aux LLM calls, provider secret
leaks
- Measure TPS from first assistant delta; ignore baseline stream chunks