Add Autonomous Quality Enforcement pattern documentation #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| documentation-quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: | | |
| npm install -g markdownlint-cli @mermaid-js/mermaid-cli | |
| - name: Lint markdown files | |
| run: | | |
| markdownlint docs/**/*.md README.md CLAUDE.md | |
| - name: Validate Mermaid diagrams | |
| run: | | |
| ./scripts/validate-mermaid.sh | |
| - name: Check documentation structure | |
| run: | | |
| # Verify required documentation files exist | |
| test -f docs/quickstart.md || echo "Warning: docs/quickstart.md missing" | |
| test -f docs/architecture.md || echo "Warning: docs/architecture.md missing" | |
| test -f docs/tutorial.md || echo "Warning: docs/tutorial.md missing" | |
| test -f docs/api-reference.md || echo "Warning: docs/api-reference.md missing" |