| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: stop filterSkillBodyForMode from swallowing rule bullets that start with a mode word (#571) filterSkillBodyForMode is the shared filter every host adapter (Claude hooks, Pi, OpenCode, the MCP server, Hermes) uses to trim the ponytail skill body down to the active intensity. Its worked-example detection matched any bullet shaped "- label: text" and treated it as a mode-specific example whenever the label happened to normalize to a mode name (lite/full/ultra/off) -- silently dropping it in every other mode. The current SKILL.md doesn't trip this today (its only such bullets are the three real worked examples), but it's a landmine: an ordinary rule bullet added later that happens to start with "Full:" or "Lite:" would vanish from every other mode's instructions with no warning, in the one code path every adapter shares. Confirmed with a real bullet: filterSkillBodyForMode('- Full: real rule text.', 'ultra') silently drops the line before this fix. All three real worked examples are quoted (`- lite: "..."`); ordinary rule bullets aren't. Required the quote so only genuine examples are mode-filtered, and added a regression test plus fixed an existing test whose synthetic fixture used unquoted examples that don't match the real file's format. | 2 个月前 | |
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> | 2 个月前 | |
feat: add pi extension (#1) | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |