Skip to content

feat: v4.0.0 — agent intelligence#6

Merged
bc1plainview merged 2 commits into
mainfrom
loop/v4-agent-intelligence
Mar 13, 2026
Merged

feat: v4.0.0 — agent intelligence#6
bc1plainview merged 2 commits into
mainfrom
loop/v4-agent-intelligence

Conversation

@bc1plainview

Copy link
Copy Markdown
Owner

Summary

  • Self-Critique (Reflexion): 4 builder agents self-check output against spec before declaring done
  • Incremental Audit: cycle 2+ auditor gets git diff instead of full codebase scan
  • Dry-Run Mode: --dry-run flag prints execution plan without dispatching agents
  • Agent Tracing: JSONL event log + /buidl-trace command for session debugging
  • Dynamic Re-Planning: query patterns.yaml on failure, offer known fixes as 5th option

Files Changed

  • 3 new files: scripts/trace-event.sh, scripts/query-pattern.sh, commands/buidl-trace.md
  • 5 agent definitions modified (4 builders + auditor)
  • commands/buidl.md orchestrator updated throughout
  • Tests: 347 (up from 303)
  • Version: 4.0.0

Test plan

  • All 347 structural + functional tests pass
  • trace-event.sh appends valid JSONL
  • query-pattern.sh returns matches from patterns.yaml
  • Self-Critique section present in all 4 builder agents
  • Incremental Audit conditional in buidl.md Step 2c
  • Dry-run flag parsing and execution plan output
  • Version consistency (plugin.json matches CHANGELOG)

…dry-run, tracing, re-planning)

5 features that make agents smarter within a single session:

1. Self-Critique (Reflexion): builders re-read output against spec before
   declaring done, catching ~30% of issues before review
2. Incremental Audit: cycle 2+ auditor gets git diff + previous findings
   instead of re-scanning the full codebase
3. Dry-Run Mode: --dry-run flag prints execution plan without dispatching
   agents, for validating orchestrator logic
4. Agent Tracing: structured JSONL event log + /buidl-trace command for
   debugging failed sessions
5. Dynamic Re-Planning: query patterns.yaml on agent failure, offer known
   fixes as a 5th option

347 tests (up from 303 in v3.6)
@bc1plainview bc1plainview merged commit 958fdc7 into main Mar 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant