pi-goal-list-loop-audit
Durable work supervision for Pi: turn outcomes into goals, audited queues and spec-driven builds, recover interruptions, and verify completion against evidence.
Package details
Install pi-goal-list-loop-audit from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-goal-list-loop-audit- Package
pi-goal-list-loop-audit- Version
0.39.17- Published
- Oct 8, 2026
- Downloads
- 14.6K/mo · 3,088/wk
- Author
- dracond
- License
- AGPL-3.0-only
- Types
- extension, skill
- Size
- 4.5 MB
- Dependencies
- 0 dependencies · 5 peers
Pi manifest JSON
{
"image": "https://raw.githubusercontent.com/DraconDev/pi-goal-list-loop-audit/main/media/glla-icon.png",
"skills": [
"skills/glla-delegate"
],
"extensions": [
"extensions/loops/goal.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-goal-list-loop-audit
Give Pi an outcome—not another prompt to stop halfway through.
GLLA turns substantial work into a durable, supervised process: agree on the finish line, keep working across turns, recover interruptions, and check the result before calling it complete.
pi install npm:pi-goal-list-loop-audit
Then, in Pi:
/goal plan Make this project's first-run experience ready for new users
Review the proposed objective and acceptance criteria, confirm them, and let
Pi work. Use /glla status to see what it is doing and what needs your attention.
Install and update · Practical workflows · Recovery · Settings · Pi package catalog
About GLLA
Coding agents are good at taking the next step. Substantial projects need something more: a remembered commitment, a reason to keep going, a way to recover, and a finish line that does not depend on the agent sounding confident.
GLLA supplies that supervision inside Pi. The main agent researches and implements; GLLA keeps the objective, progress, pauses and completion claims on disk. A separate auditor inspects the result against the agreed contract. Rejected claims return to work rather than becoming successful-looking endings.
This is useful for features spanning several subsystems, migrations, repository audits, documentation overhauls, backlogs and projects built from a specification. It is not a new model, a hosted coding service, or a promise of hands-off correctness. It works with your Pi session, tools and authenticated providers.
The ambition is less babysitting, not less accountability. You choose the outcome and permissions; the agent handles ordinary implementation decisions; important scope changes and decisions remain visible. Durable state and evidence make it easier to inspect what happened—even after a long run or interruption.
Pick the right work shape
| You want… | Use | What counts as finished |
|---|---|---|
| One result: a fix, feature, migration, research report or audit | /goal |
An accepted completion audit against the objective and contract |
| Several independently verifiable results | /list |
Each item is audited separately; the queue advances after settlement |
| Repeated improvement | /loop |
A configured bound, metric plateau or explicit stop—not a claim that everything is solved |
| A project built toward an evolving specification | /loop respec |
Every adopted requirement independently verified and the project archived |
For a quick question or tiny edit, ordinary Pi chat is usually enough. Use GLLA when continuity and verification are worth the extra model calls and coordination.
Start with one goal
A rough request can become a confirmed plan:
/goal logins are broken, sort it out
GLLA drafts the outcome, asks questions when needed and offers confirmation.
Bare /goal opens the interview; /goal plan ... requests research-first drafting.
You do not need to arrive with a perfect specification.
If you already know the finish line, a Done when: contract starts directly:
/goal Fix login error handling. Done when: failed logins return safe, useful errors; regression tests pass; the change is documented.
/goal start ... explicitly skips drafting. Be deliberate: an explicit start
can replace existing work. Drafting and direct starts are different consent paths.
The work cycle
- Agree: preserve the objective and observable acceptance criteria.
- Build: the agent researches, plans and implements across supervised turns.
- Recover: retain work and use bounded recovery when providers, sessions or workers fail.
- Claim: the agent submits evidence; saying “done” in chat does not close the goal.
- Audit: a detached verifier checks the saved claim. Missing evidence or rejection keeps work open.
- Archive: accepted, durably settled work leaves a result and evidence record.
The agent can propose a task plan with propose_task_list; confirming the plan
makes its tasks tracked milestones, not proof of correctness. Completion claims
with unfinished tasks are refused unless an explicit deferral was recorded.
Controls you will actually use
| Command | Purpose |
|---|---|
/glla status |
Inspect supervision, recovery and current work |
/goal status |
Inspect the saved goal |
/glla pause |
Freeze automatic supervision without killing an already running tool |
/goal pause / /goal resume |
Hold or resume the goal |
/goal tweak ... |
Propose a changed objective with confirmation |
/goal verify |
Request verification of the current goal now |
/goal audit [focus] |
Start a new one-pass repository audit; this is not /goal verify |
/goal cancel |
Cancel the current goal, not certify it as complete |
/goal archive |
Inspect archived goals |
/glla bug [description] |
Capture diagnostic context without changing the objective |
Work through a backlog
/list import plan.md
/list show
/list resume
A list is a durable work pool, not a dependency graph. Imported batches get
confirmation; pasted checklist items retain their wording and boundaries.
/list add ... queues work, /list start activates the head, and /list next <n>
chooses a particular item using the numbering in /list show.
After an item is approved and archived, the next queued item normally starts
automatically. /list resume retries eligible saved work. /list remove <n>
removes a waiting item; /list cancel cancels the active item and drops waiting
items. Use these deliberately.
Normal-chat requests such as “queue these fixes” can use the packaged delegation skill. Discovered follow-ups should be offered before they are queued—not silently turned into extra scope.
Improve repeatedly—or build from a spec
For a measurable process, use /loop to draft a target, measure and bounds.
The measure must print one honest number; GLLA test-runs it before confirmation.
Metric loops can stop on plateau. Metricless loops have no invented plateau
signal and need iteration/time/token bounds or an explicit stop.
/loop
/loop start "keep improving the spec" measure=none max=20 cadence=900
/loop audit
/loop audit repeats project-audit passes. For one pass, use /goal audit.
/loop stop stops the process without declaring unfinished work complete.
For a project rather than a repeated metric:
/loop respec Build the missing capabilities in SPEC.md and prove the result
The builder researches the repository and root SPEC.md (or spec.md), drafts
requirements with acceptance criteria, and asks you to adopt that scope.
It plans build batches, submits claims to an isolated auditor and replans unmet
requirements. Previously verified capabilities are checked again for regressions.
Marking a task implemented does not verify its requirement.
Use /loop status for requirements and evidence, /loop blockers for recorded
obstacles, and /loop refine ... for new direction. Changes to adopted scope
need confirmation. Failed tests and incomplete implementation are work to do,
not excuses to park the project as an external dependency.
Know what you are trusting
Verification is a separate review, not a guarantee. The auditor runs in a fresh Pi process, outside the implementing conversation and GLLA's live state. It can inspect files and run bounded checks. Its value depends on the contract, the evidence and the model; an accepted audit is not a proof that no bug exists.
Isolation is not an OS sandbox. The auditor can run shell commands, and mirrored extensions can have side effects. Use host permissions, a container or another isolation boundary when the repository or checks are untrusted.
Autonomy consumes resources. Research, continuation, retries, subagents and audits use model calls. Set loop bounds, choose models and configure recovery before leaving a run unattended. GLLA cannot repair provider credentials, billing or service availability, and a reload does not fix those problems.
Keep one continuation owner. Do not run competing turn drivers, task queues for the same work, or overlapping retry/compaction supervisors in the same session.
State and recovery
State root selection defaults to workingDir (<project>/.pi-glla/); an opt-in
sessionDir setting uses Pi's admitted session directory. Changing roots does
not migrate old state. Journals, goals, queue state, audit claims and archives
are inspectable; keep them if you want recovery and history.
A restored objective may be loaded without starting. That is a hold, not
proof of loss. Inspect status and use /goal resume, /list resume,
/loop resume or broad /glla resume as appropriate. Enable auto-resume only
when restarting saved automation is intentional.
A completed objective is different from a recovery marker. Provider recovery
can outlive the work it once accompanied, including ordinary chat. If /glla resume
says no objective is paused and clears an old marker, it does not reopen archived
work or erase the conversation. Check the archive; send continue for ordinary
chat, or start a new tracked objective for new work.
Compaction and provider recovery are bounded, not magic. High context can defer compaction at unsafe boundaries; a failed summarizer is not proof that the task is complete. Recovery explains the states and next actions.
Configure only what you need
Open /glla for settings. Start with:
- Auditor model and thinking level: choose a verifier that can handle the contract.
- Fallback models: choose providers you can actually authenticate and afford.
- Auto-resume: decide whether loaded work may restart automatically.
- State root: choose where durable work belongs.
- Retry and audit limits: keep failure recovery bounded.
- Notifications: decide how you want to hear about decisions and results.
SETTINGS.md is the detailed reference. /glla version shows
the loaded version and registry comparison; unpublished checkout changes are not
necessarily available to npm or Pi catalog users.
Optional companions
GLLA can supervise goals and run its detached auditor without a subagent extension. Install companions for capabilities you need, not to satisfy a hidden dependency:
@juicesharp/rpiv-ask-user-question: recommended structured questions and decision UX; GLLA also has plain-text fallbacks.pi-subagents: parallel research, workers and independent reviews. Particularly useful for separable work; coordination and extra calls still cost.@pi-unipi/notify: remote notifications.pi-chrome: browser work in a real signed-in session; grant access deliberately.
pi install npm:@juicesharp/rpiv-ask-user-question
pi install npm:pi-subagents
Companions are separately installed and updated. GLLA does not pin a runtime
pi-subagents version. Do not load another subagent provider with overlapping
tools or a second orchestrator for the same session. See
compatibility boundaries.
Contributing and release checks
Development needs Node 22.19+, Bun and the declared development dependencies:
npm install
npm test
npm run check
npm run release:check
npm test runs the fast set, npm run test:slow the slow set,
npm run test:changed git-affected tests through the hardened runner, and
npm run test:all the full suite plus supporting checks. The release gate also
checks generated inventory, dry-run packing and the installed tarball.
The package ships extensions, skills, prompts, schemas, scripts, docs, examples, media and top-level user documentation. The full test suite remains repository material, as do local audit history and research. A published package and a live session are separate: update the package and reload existing sessions.
Architecture · Design · Documentation index · Release process · Changelog
License
GNU Affero General Public License v3.0-only; see LICENSE.