Adoption Playbook
Week 1: Baseline & CI
- Generate a baseline
repo.sruja:sruja quickstart -r . --generate-baseline - Validate and refresh evidence:
sruja lint repo.srujathensruja sync -r . - Add
sruja lint repo.srujaandsruja drift -r . -a repo.srujato CI; fail on violations - Export docs:
sruja export markdown repo.sruja
Week 2: Targets & Guardrails
- Add
sloandscalefor critical paths. - Encode
constraintsandconventions; publish to teams. - Introduce
viewsfor API/Data/Auth focus.
Week 3: Governance & Evolution
- Add
policypages for security/operability. - Document decisions with
adrblocks; track evolution withslovalues (target vs current). - Use Git for automatic change tracking (
git log,git diff, version tags). - Wire linting to PR checks; require green builds.
CI Example (GitHub Actions)
name: sruja
on: [push, pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Sruja CLI
run: curl -fsSL https://sruja.ai/install.sh | bash
- name: Lint baseline
run: sruja lint repo.sruja
- name: Drift check (declared vs actual)
run: sruja drift -r . -a repo.sruja
- name: Export Docs
run: sruja export markdown repo.sruja
Success Metrics
- Review cycle time ↓
- Incident rate for architecture errors ↓
- Consistency across services ↑
Note: Sruja is free and open source (Apache 2.0 licensed). Need help with implementation? Professional consulting services are available. Contact the team through GitHub Discussions to learn more.