mirror of
https://github.com/block/goose.git
synced 2026-06-01 22:11:07 +02:00
583acd4335
Signed-off-by: Michael Neale <michael.neale@gmail.com> Co-authored-by: Michael Neale <michael.neale@gmail.com> continuing migration to aaif
Documentation Automation
This directory contains automated pipelines for keeping goose documentation synchronized with code changes.
Overview
Each automation project tracks specific types of changes and updates corresponding documentation:
| Project | Status | Tracks | Updates |
|---|---|---|---|
| recipe-schema-tracking | ✅ Active | Recipe schema & validation rules | Recipe Reference Guide |
| cli-command-tracking | 🔮 Planned | CLI commands & options | CLI documentation |
| provider-tracking | 🔮 Planned | Supported AI providers | Provider documentation |
| extension-tracking | 🔮 Planned | Built-in extensions | Extension documentation |
Architecture
Each automation project follows a consistent pattern:
project-name/
├── README.md # Project-specific documentation
├── TESTING.md # How to test this automation
├── config/ # Configuration files
├── scripts/ # Deterministic extraction/diff scripts
└── recipes/ # AI-powered synthesis/update recipes
Design Principles
- Modular: Each project is self-contained
- Testable: Clear inputs/outputs at each stage
- Transparent: Intermediate files can be inspected
- Reusable: Common patterns across projects
Hybrid Approach
- Shell scripts: Deterministic extraction and comparison
- AI recipes: Synthesis and documentation updates
GitHub Actions Integration
Automation projects can be triggered via GitHub Actions workflows in .github/workflows/.
See individual project TESTING.md files for workflow usage.
Adding New Automations
When creating a new automation project:
- Create a subdirectory:
documentation/automation/your-project/ - Follow the standard structure (README, TESTING, config, scripts, recipes)
- Create corresponding GitHub Actions workflow (if needed)
- Update this README with the new project
Questions?
For project-specific questions, see the README in each project directory.