docs: update extension changelog
ce6e93422b7ad343a77b548fe0a1d9fd5219e51a
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: c21d3b193d60
bugabingas pi extensions
ce6e93422b7ad343a77b548fe0a1d9fd5219e51a
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+61 / −0 text lines
+61 / −0 text lines
- Handle benign stdin `EPIPE` when web extension helper commands exit before consuming input- Add the `mode` extension for session-local mode switching with `/mode`, prompt/tool filtering, model and thinking-level application, branch restore, and config reload coverage- Use Vitest v8 coverage for the mode 100% coverage gate so `npm ci` and coverage runs agree- Harden leaks redaction with quoted dotenv inline comments, broader provider token patterns, captured-group index handling, invalid regex stats, and cycle/bigint-safe payload redaction- Precompile leaks built-in regexes once and add regression coverage for modern provider tokens, dotenv parsing, invalid regex status, duplicate capture offsets, and cyclic payloads- Implement the spec-aligned leaks redaction engine with in-memory placeholder mapping, local placeholder restoration, copied non-symlinked demo fixtures, no external tmp demo path references, and no legacy runtime persistence settings- Add leaks direct, edge, safety, and real Pi/LLM validation tests plus a 100% coverage gate- Use Vitest Istanbul coverage for the leaks 100% coverage gate so `npm ci` and coverage runs agree- Document that leaks protects provider-bound plaintext exposure only and is not an exfiltration guard, sandbox, DLP layer, or permission system- Clarify that leaks may restore/materialize plaintext locally for normal Pi tool workflows; the boundary is provider exposure, not local tool execution- Add a leaks spec covering brutal settings, automatic dotenv/env exact-match sources, false-positive policy, and non-goals- Add a spec-aligned leaks implementation plan in `extensions/leaks/PLAN.md` with ordered V0-V9 validation coverage, an executable V0 scope/authority ledger test, and a normative requirement ledger- Plan leaks placeholders as `__LEAK_<TAG>[_<TAG>...]_<HMAC12>[_N]__`, using metadata-rich capped tags without secret length/shape encoding, preserving the smallest secret-bearing spans in credentialed URLs, sensitive query params, headers, and cookies while treating usernames and other metadata as non-secret- Clarify leaks URL/config handling: uncredentialed `DATABASE_URL`, `REDIS_URL`, and `MONGO_URL` values are not secret by key alone; generic JSON/YAML/TOML parsing is out of scope unless quoted key/value patterns prove necessary- Plan private-key redaction around whole-block replacement with labels derived from standard PEM, OpenSSH, PGP, and age secret-key markers- Clarify leaks public keys and certificates are visible, shell text is handled by component detectors instead of shell parsing, bare entropy is visible unless it matches a high-confidence shape or learned sensitive value, JWTs redact as whole tokens, and provider-specific IDs redact when reliable patterns exist- Keep one stable leaks placeholder per secret value after first mapping, order first-seen tags by semantic priority, cap placeholder tags, and keep mappings memory-only- Define leaks custom regex capture semantics and UX: no groups redact full match, group 1 redacts group 1, extra groups warn, faulty regex input never breaks startup or provider requests, missing labels load as `CUSTOM_REGEX` with warning, labels must match `[A-Z0-9_]+`, and `/leaks status` reports safe warning and error counts/details- Clarify leaks false-positive policy: redact values only, never environment or CI references, and never redact names, hosts, domains, IDs, or internal metadata unless a high-confidence provider-specific pattern or custom regex matches- Exclude homomorphic encryption, symbolic secret transform tools, and semantic secret-byte editing from leaks; exact placeholder copy, move, rename, and preserve workflows should keep working locally- Define leaks general requirements: transparent normal Pi workflows except secret-internal transformations, high performance and correctness on every message, fail-open tolerance for faulty regex input, and human-friendly status and notifications without exposing secrets