fix(guardrails): replace rg with grep and fix CLI regex in CI scripts #27
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-operational-depth-parity.sh" | |
| - "scripts/check-command-surface.sh" | |
| - "scripts/check-mcp-consolidation.sh" | |
| - "scripts/lib/**" | |
| - "README.md" | |
| - "docs/**" | |
| - "docs/mcp-consolidation-contract.json" | |
| - "agentic-memory/**" | |
| - "agentic-vision/**" | |
| - "agentic-codebase/**" | |
| - "agentic-identity/**" | |
| - "agentic-time/**" | |
| - "agentic-contract/**" | |
| - "agentic-comm/**" | |
| - "agentralabs-tech-web/**" | |
| - ".github/workflows/canonical-consistency.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "scripts/check-canonical-consistency.sh" | |
| - "scripts/check-operational-depth-parity.sh" | |
| - "scripts/check-command-surface.sh" | |
| - "scripts/check-mcp-consolidation.sh" | |
| - "scripts/lib/**" | |
| - "README.md" | |
| - "docs/**" | |
| - "docs/mcp-consolidation-contract.json" | |
| - "agentic-memory/**" | |
| - "agentic-vision/**" | |
| - "agentic-codebase/**" | |
| - "agentic-identity/**" | |
| - "agentic-time/**" | |
| - "agentic-contract/**" | |
| - "agentic-comm/**" | |
| - "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 |