Skip to content

feat: add Section 48 guardrail for contracts enforcement #19

feat: add Section 48 guardrail for contracts enforcement

feat: add Section 48 guardrail for contracts enforcement #19

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