Repository navigation
What's Changed
✨ New: @capdiem/pi-repetition-guard
Detects thinking-runaway / 万字复读 repetition loops in streamed model output (message_update) and aborts + re-steers the model with a corrective steer message.
- Two-stage trigger: stage-1
suspect(record-only), stage-2hard(abort) - 2-retry steer budget with escalating wording, then give up
- User-only
/runaway on|offtoggle (default on) - Pure detector module with unit tests + built-bundle smoke test
- Decision recorded in
docs/adr/0002-repetition-guard-active-abort.md
⚡ @capdiem/pi-ask-user 0.2.0
Strengthened ask_user triggering so grilling / domain-modeling / design-interview question rounds are mandatorily presented as an interactive form instead of plain-text Q1..QN blocks.
description/promptGuidelinesnow mandateask_userfor question rounds (named skills + generic fallback); no third-party skill edits needed- New
--ask-user-debugflag: per-turn question-round/ask_user diagnostics to feed the ADR-0001 escalation gate - Pure
diagnostic.tsmodule with unit tests - Decision recorded in
docs/adr/0001-ask-user-triggering-metadata-first.md
📦 Packages (all at 0.2.0)
@capdiem/pi-todo@capdiem/pi-ask-user@capdiem/pi-repetition-guard
🧠 Docs
CONTEXT.mdglossary; ADR-0001, ADR-0002
Full Changelog: v0.1.3...v0.2.0