feat: add Section 48 guardrail for contracts enforcement #19
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: Canonical Consistency | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "scripts/check-canonical-consistency.sh" | |
| - "scripts/check-command-surface.sh" | |
| - "scripts/lib/**" | |
| - "README.md" | |
| - "docs/**" | |
| - "agentic-memory/**" | |
| - "agentic-vision/**" | |
| - "agentic-codebase/**" | |
| - "agentic-identity/**" | |
| - "agentic-time/**" | |
| - "agentralabs-tech-web/**" | |
| - ".github/workflows/canonical-consistency.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "scripts/check-canonical-consistency.sh" | |
| - "scripts/check-command-surface.sh" | |
| - "scripts/lib/**" | |
| - "README.md" | |
| - "docs/**" | |
| - "agentic-memory/**" | |
| - "agentic-vision/**" | |
| - "agentic-codebase/**" | |
| - "agentic-identity/**" | |
| - "agentic-time/**" | |
| - "agentralabs-tech-web/**" | |
| - ".github/workflows/canonical-consistency.yml" | |
| jobs: | |
| check-canonical-consistency: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Checkout sister repos (from registry) | |
| run: | | |
| for repo in $(jq -r '.sisters[].repo' docs/sisters-registry.json); do | |
| git clone --depth 1 "https://github.com/agentralabs/${repo}.git" "${repo}" | |
| done | |
| - name: Checkout web repo | |
| run: git clone --depth 1 https://github.com/agentralabs/agentralab-tech-web.git agentralabs-tech-web | |
| continue-on-error: true | |
| - name: Run cross-sister canonical consistency checks | |
| run: ./scripts/check-canonical-consistency.sh |