clanker-agent/packages/pi-grind
Harivansh Rathi 48fa514e7e fix(companion-os): address grind mode review feedback
Restore the bedrock provider import through an explicit workspace path mapping, align pi-grind package metadata with the existing package manifests, remove the unused controller-failure state path, and parse bare ISO dates in local time.

Co-authored-by: Codex <noreply@openai.com>
2026-03-09 00:02:00 -07:00
..
src fix(companion-os): address grind mode review feedback 2026-03-09 00:02:00 -07:00
test fix(companion-os): address grind mode review feedback 2026-03-09 00:02:00 -07:00
package.json fix(companion-os): address grind mode review feedback 2026-03-09 00:02:00 -07:00
README.md grind mode baby 2026-03-08 23:38:13 -07:00

pi-grind

Explicit grind mode for Pi.

Features:

  • Auto-activates only when the user uses explicit grind cues in a prompt
  • Persists run state in session custom entries
  • Continues work on a heartbeat while running in pi daemon
  • Pauses automatically when the user sends a normal prompt

Example prompts:

  • Keep going on this until 5pm
  • Don't stop until the refactor is done

Commands:

  • /grind start --until "5pm" Ship the refactor
  • /grind status
  • /grind pause
  • /grind resume
  • /grind stop

Settings:

{
  "pi-grind": {
    "enabled": true,
    "pollIntervalMs": 30000,
    "cueMode": "explicit-only",
    "requireDaemon": true,
    "userIntervention": "pause",
    "cuePatterns": [
      "don't stop",
      "keep going",
      "keep running",
      "run until",
      "until done",
      "stay on this until"
    ]
  }
}