Streamlined AAAAV agent workflow package for pi.
The package provides:
- Workflow skills in
skills/, loaded by pi as package skills. - Validator extension
pi/validate-tool-use.ts: after every successfulwriteoredit, it runshooks/validate_tool_use.pyon the edited file and appends any suggestions to the tool result the model reads. It checksSKILL.mdfiles, instruction files (AGENTS.md,CLAUDE.md,GEMINI.md,rules/), and durable artifacts underdocs/specs/. The extension needspython3onPATH; when the validator cannot run, the tool result says so.
AAAAV gives an agent a short, repeatable workflow built on three skills:
aaaav-do(development loop):- Align: Restate intent in user terms; classify the change as Inline (localized, clear scope) or Durable (a decision that outlives the run).
- Advance: Durable work moves through
Decision → Spec → Design, settling contracts, seams, and decisions. - Anchor: Name the reality anchor and checkpoint before the first production edit.
- Act: Implement through the project's native practices. Every trial-and-error discovery becomes a friction note (
Tried/Found/Led by) under## Friction Notesindesign.md, or inscratch/friction.mdfor Inline work. - Verify: Exercise the anchor and report observations in a
Requirement | Evidence | Resulttable. The Reflexive pass classifies each friction note as a misdirection (an instruction led the attempt the wrong way) or a gap (no instruction covered it, so the run detoured). A run without notes records a clean run.
solid-loop(agent system correction):- Applies classified friction notes: corrects the misleading line, or places the missing fact in its single owning location.
- Keeps skills from sprawling: searches for an existing statement before adding one, runs the no-op test on every edited section, and keeps each
SKILL.mdunder 300 lines.
boot-loop(agent system bootstrap):- Dispatches independent workers that run investigation jobs through
aaaav-do. - Merges the friction notes they return and runs one
solid-looppass to build or refineAGENTS.mdand project skills.
- Dispatches independent workers that run investigation jobs through
| Skill | Use it when |
|---|---|
aaaav-do |
Executing scoped, ambiguous, or multi-step source-changing work. |
solid-loop |
Creating, editing, or auditing agent skills and instructions, or applying friction notes. |
boot-loop |
Bootstrapping or overhauling an agent system with investigative tracer jobs and one consolidated solid-loop pass. |
investigating |
Researching questions, diagnosing root causes, or gathering evidence. |
inspecting |
Auditing or reviewing a specific target, diff, commit, or spec. |
assuring-quality |
Final QA, exploratory verification, or release-readiness audits. |
human-feedback |
Evaluating human feedback or conducting interactive UI verification. |
grilling |
Resolving user-owned decisions or ambiguous architectural tradeoffs. |
grill-me |
The user asks to be grilled on an idea. |
grill-with-docs |
Exploring durable decisions, domain terms, or ADRs. |
codebase-design |
Designing or changing module interfaces and seams. |
domain-modeling |
Refining project terminology or domain boundaries. |
prototype |
Resolving an architectural question or hypothesis with disposable code. |
Install from GitHub:
pi install git:github.com/wayne930242/aaaavOr install a local checkout, which pi loads in place so edits take effect on the next session:
pi install /path/to/aaaavAdd -l to install into the current project's .pi/settings.json instead of your user settings. Remove it with pi remove <same source>.
Trigger aaaav-do for any source-changing task:
# Inline Work (Localized, clear scope)
Alignment: Add input validation for email field
Inline — Contract: Reject invalid email strings at API boundary with HTTP 400
Authorization: User request to add email validation
Reality anchor: pytest tests/test_email.py
# Durable Work (Architectural change or new spec)
Alignment: Implement multi-tenant authentication provider
# Advances through docs/specs/YYYY-MM-DD-<slug>/:
# 1. decision.md (Resolves facts, confirms core rules)
# 2. spec.md (Status: proposed until approved, names reality anchor)
# 3. design.md (Minimal architecture and seams)
# 4. verification.md (Requirement | Evidence | Result table & Reflexive review)
Validate skills, rules, and durable artifacts:
# Run workspace validation and the unittest suite
bash scripts/validate.sh
# Or run the full test suite, including the pi extension test (needs node)
uv run --with pytest pytest -q