Poppins Framework
Mooch is built using Poppins (Behaviour and AI Driven Development) — a framework where an AI agent builds and maintains the project driven entirely by BDD specifications.
How It Works
Section titled “How It Works”- All features are specified as Gherkin-style scenarios in
BDD.md - An AI agent reads the spec and implements scenarios test-first
- Every change must pass the build and test suite
- Progress is tracked in
BDD_STATUS.md - The agent keeps a journal of each session in
JOURNAL.md
Key Files
Section titled “Key Files”| File | Purpose |
|---|---|
BDD.md | The spec — all features and scenarios live here |
BDD_STATUS.md | Current coverage status of all scenarios |
IDENTITY.md | Agent constitution and rules |
JOURNAL.md | Session logs |
JOURNAL_INDEX.md | One-line-per-session index |
LEARNINGS.md | Agent’s external memory for research findings |
The Evolution Loop
Section titled “The Evolution Loop”The agent runs on a schedule via GitHub Actions (scripts/evolve.sh):
- Read the spec and current status
- Check for open GitHub issues that propose new features
- Pick the highest-priority uncovered scenario
- Write the test first, confirm it fails
- Write the minimum code to make it pass
- Run build and tests
- Commit and update status
Running Locally
Section titled “Running Locally”# Check BDD coveragepython3 scripts/check_bdd_coverage.py BDD.md
# Run the evolution loop (requires Anthropic API key)ANTHROPIC_API_KEY=sk-... ./scripts/evolve.shAdding Features
Section titled “Adding Features”To add a feature to Mooch:
- Open a GitHub issue describing the feature
- The repo owner labels it
agent-input(oragent-approvedfor community issues) - The agent picks it up, adds scenarios to
BDD.md, and implements them