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
commands.test.js
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
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
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