Skip to content

Releases: capdiem/pi-extensions

Release list

v0.2.0

Choose a tag to compare

@capdiem capdiem released this 28 Aug 03:56

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-2 hard (abort)
  • 2-retry steer budget with escalating wording, then give up
  • User-only /runaway on|off toggle (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 / promptGuidelines now mandate ask_user for question rounds (named skills + generic fallback); no third-party skill edits needed
  • New --ask-user-debug flag: per-turn question-round/ask_user diagnostics to feed the ADR-0001 escalation gate
  • Pure diagnostic.ts module 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.md glossary; ADR-0001, ADR-0002

Full Changelog: v0.1.3...v0.2.0