ponytail/tests
DietrichGebert 65db9025a7
fix: reject review as a default mode in pi-extension and config (#576)
review is a session-only mode set by /ponytail-review, never a persistent
default. The Claude/Codex mode-tracker already enforces this (#377), but two
paths did not:

- pi-extension /ponytail default review was accepted, persisting review as the
  default, so the next session started in review with a blank status-bar icon.
- getDefaultMode accepted review from PONYTAIL_DEFAULT_MODE or a stale config.

Route default validation through RUNTIME_MODES (off/lite/full/ultra) in
getDefaultMode, writeDefaultMode, and the pi-extension default command. review
stays valid as a session mode. Adds regression tests for all three paths.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 01:48:24 +02:00
..
behavior.test.js feat: refine ruleset from a full-project field review (#39) 2026-06-15 02:02:50 +02:00
commands.test.js fix: ship the missing /ponytail-help command on Claude Code and OpenCode (#62) 2026-06-15 16:32:02 +02:00
copilot-plugin.test.js fix: copilot-plugin test checks all 6 command files (#393) 2026-06-30 00:21:09 +02:00
correctness.test.js Fix ponytail test coverage and metadata (#503) 2026-07-09 03:35:39 +02:00
gemini-extension.test.js Avoid Gemini loading Claude hook events (#139) 2026-06-19 00:24:43 +02:00
hermes-plugin.test.js Fix ponytail test coverage and metadata (#503) 2026-07-09 03:35:39 +02:00
hooks-windows.test.js fix: drop bash-only `exec` from hooks so they run under PowerShell (#527, #569) (#572) 2026-07-10 01:06:07 +02:00
hooks.test.js fix: reject review as a default mode in pi-extension and config (#576) 2026-07-10 01:48:24 +02:00
openclaw-skills.test.js feat: ship ponytail to OpenClaw (ClawHub skill package) (#102) 2026-06-16 13:35:35 +02:00
opencode-plugin.test.js fix: merge system entries in OpenCode plugin for Qwen compat (#296) (#536) 2026-07-09 17:53:06 +02:00
package-scripts.test.js Fix ponytail test coverage and metadata (#503) 2026-07-09 03:35:39 +02:00
package.test.js fix: ship scripts/uninstall.js in the npm package (#538) 2026-07-07 01:54:04 +02:00
qoder-plugin.test.js feat: add Qoder hooks support (UserPromptSubmit + PreToolUse) (#529) 2026-07-09 17:13:59 +02:00
uninstall.test.js fix: preserve combined statusline on uninstall (#550) 2026-07-09 11:48:37 +02:00