Skip to main content

Frequently Changing Areas

High Frequency (Weekly)

AreaFilesWhy
Agent configurationagent.py, AgentCaller.py, modelsNew features, tool functions
LLM/STT/TTS pluginsplugins/*.pyNew AI provider integrations
Agent worker logicagent.py, saving_call_logs.pyLifecycle tuning

Medium Frequency (Bi-weekly)

AreaFilesWhy
API routersapp/router/*.pyNew endpoints
Transfer/call logicAgentCaller.pyFlow improvements
Database migrationsalembic/Schema changes

Low Frequency (Monthly)

AreaFilesWhy
Auth & middlewaremiddleware.ts, auth.pyStable auth layer
Settings/configsettings.pyNew env vars
DevOpsDockerfile, docker-compose.ymlStable infra

Automation Ideas

CI/CD Documentation Hooks

doc-check:
  stage: validate
  script:
    - |
      CHANGED=$(git diff --name-only $CI_MERGE_REQUEST_DIFF_BASE_SHA HEAD)
      if echo "$CHANGED" | grep -q "app/db/models/"; then
        echo "Database models changed - review docs"
      fi
      if echo "$CHANGED" | grep -q "plugins/"; then
        echo "Agent plugins changed - review docs"
      fi
  only:
    - merge_requests
  allow_failure: true

PR Documentation Checklist

- [ ] New models/schemas: Data model docs updated
- [ ] New API endpoints: API reference updated
- [ ] New env vars: Configuration docs updated
- [ ] New provider: Tech stack updated
- [ ] Breaking changes: Noted with date
- [ ] New agent tool: Agent lifecycle docs updated

DocumentOwnerReview Cadence
Repository OverviewTech LeadQuarterly
ArchitectureTech LeadQuarterly
Features CatalogProduct + EngMonthly
API EndpointsEngineeringPer-sprint
Data ModelEngineeringPer-migration
IntegrationsEngineeringPer-integration
Deployment GuideDevOpsQuarterly
Risks & RecommendationsTech LeadMonthly
Keep a Last Generated timestamp in each document. Use git blame to track section updates.