WhyStuck records what your agent loops do and can edit workflow files. That is sensitive by nature. This document states exactly what it captures, where it goes, and what it will never do. If any behavior below is violated, that is a security bug — report it (see bottom).
- Session content — prompts, tool I/O, file contents, and any secrets that pass through a run.
- Workflow integrity — your skills, agents, and loop definitions.
- WhyStuck itself is local-only. No telemetry, no cloud sync. The MCP
server is stdio-only and does not open network sockets; all state is on your
disk. Disclosure: a loop you declare can include a worker step that
shells out to an LLM CLI (e.g.
claude -p) — that CLI makes its own network calls to whatever provider you configured. WhyStuck neither hides nor performs those calls; the command+verifier runner (the v0.1 default) is fully offline. - Allowlist capture, not denylist redaction. WhyStuck stores structured
summaries (step roles, statuses, tool names, exit codes, file paths, output
summaries capped at
OUTPUT_SUMMARY_CAP) — not raw, unbounded tool input/output or file contents. (Planned, not yet implemented: a per-loopcapture: rawopt-in and denylist secret-scrubbing as a second line of defense on that opt-in raw data. Neither exists in code today — there is nocapturefield on any model.) - Storage lives outside your repo. WhyStuck always resolves its store root
to
$WHYSTUCK_HOME>$XDG_DATA_HOME/whystuck>~/.local/share/whystuck(core/storage.py:resolve_store_root) — never your project's working directory — so traces are never inside the repo to accidentally commit. (Planned, not yet implemented: an opt-in repo-local.whystuck/store with an auto-added.gitignoreentry. This does not exist in code today.) - No silent writes. Promotion is dry-run by default and requires an explicit approval flag to touch a file. Every real promotion writes a reversible rollback record.
- Safety-locked genes. A gene marked
safety_locked: true(e.g. atool_policy,escalation_policy, orbudget_policygene) can be commented on but never edited or removed until the lock is cleared with an explicitunlock_genemutation. Mutations can't raise a budget cap on their own, even after an unlock (core/safety.py's guard enforces this specifically forbudget_policygenes; it is the one enforced-in-code guarantee here — it is not a general "no safety weakening" check). - Fail-open capture. If trace recording fails, it must not break the user's Claude Code session.
- Perfect secret redaction.
- Protection against a malicious local user with filesystem access to
WHYSTUCK_HOME. - Sandboxing the code executed by loops you declare.
Email sysknife-development@protonmail.com with details and reproduction steps. Please do not open a public issue for security-sensitive reports. Expect an initial response within a few business days.