Adoption Playbook
Practical steps to roll out Sruja across teams and CI.
Adoption Playbook
Week 1: Baseline & CI
- Create a minimal
architecture.srujacovering core systems. - Add
sruja fmtandsruja lintto CI; fail on violations. - Export docs:
sruja export markdown architecture.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: Lint DSL
run: sruja lint architecture.sruja
- name: Export Docs
run: sruja export markdown architecture.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.