feat(pi): add persistent Mosaic /goal controller #1152

Merged
mos-dt-0 merged 2 commits from feat/1150-pi-goal-extension into main 2026-08-10 22:54:44 +00:00
Showing only changes of commit cd373b4b10 - Show all commits
@@ -63,13 +63,11 @@ The goal extension is deployed by Mosaic and MUST NOT be copied into `~/.pi/agen
Use `/goal set <statement>` (or `/goal <statement>`) to start, then `/goal status`, `/goal pause`,
`/goal resume`, or `/goal cancel` to control it. An active goal is injected before every model
request, restored from branch-specific session entries, and considered achieved only after two
consecutive evidence-bearing reports. Turn and repeated-no-progress limits pause runaway loops.
Common credential shapes are redacted before controller-owned goal-state entries are persisted or
consecutive evidence-bearing reports. Common credential shapes are redacted before controller-owned
goal-state entries are persisted or
displayed; Pi's own model/tool-call history is separate. Goals and reports must contain references
and pass/fail summaries rather than secrets or raw sensitive output.
Optional bounded launch settings:
- `MOSAIC_GOAL_MAX_TURNS` — autonomous turn limit, default `40`, accepted range `1..500`.
- `MOSAIC_GOAL_MAX_NO_PROGRESS` — identical no-progress report limit, default `6`, accepted range
`1..100`.