AdaptAI Data Transfer Operations (DTO) Framework
Manifest‑driven, event‑based operations platform for data migrations and transfer workflows. Includes generators, CI validation, service orchestration, integrations, and operational runbooks.
Quick Start
- Validate configuration:
python validate-ci.py - Generate artifacts:
python generate.py --environment production - Manage services:
python services/dto_service_manager.py --help
Core Concepts
- Manifest:
dto_manifest.yamldefines services, SLOs, ports, overlays, and policies. - Generation:
generate.pyrenders supervisord configs and per‑service runbooks from the manifest. - Validation:
validate-ci.pyenforces schema, port conflicts, deps, SLOs, CODEOWNERS, overlays, and generated artifacts. - Orchestration: Supervisord manages DTO services; health/monitor utilities live under
services/. - Events: NATS JetStream backbone with topics and consumers under
events/. - Storage: Dragonfly (cache), ScyllaDB + JanusGraph (lineage/durable), optional Redis cluster spec in
database/. - Integrations: Slack/Jira/Confluence and Hugging Face Hub (Xet backend) under
integrations/.
Common Commands
- Validate:
python validate-ci.py - Generate all:
python generate.py --environment production - Service manager:
python services/dto_service_manager.py status - Make targets:
make validate,make generate,make run,make security
Environments & Overlays
Environment overlays live in overlays/{development,staging,production} and are referenced by the manifest’s environments section. Use --environment to target specific overlays during generation.
Secrets & Security
- Do not commit secrets. Keep
.envuntracked (see.gitignore). - Required env vars for HF integration include
HF_TOKEN,HF_REPO_*. Seedocs/xet_lfs_user_guide.mdandintegrations/huggingface_config.yaml. - Security docs:
security_alert_summary.md,security_response_plan.md.
Directory Map
dto_manifest.yaml— Service catalog and platform policiesgenerate.py,templates/— Supervisord/runbook generatorsvalidate-ci.py,schema/— CI validation gates & schemasservices/— Supervisord config, health/crash/memory monitors, managerevents/— NATS config, event schema, producers/testsintegrations/— Slack/Jira/Confluence, Hugging Face (Xet)cache/,database/,lineage/— infra configs and clientsoverlays/— environment overlaysdocs/— runbooks and architecture docsscripts/— archive protocol and migration utilities
Notes on Supervisord
The generated supervisord template maps DTO services to the actual script locations:
dto-lineage-handler→lineage/lineage_event_handler.pydto-slack-automation→integrations/slack_bot.pydto-jira-automation→integrations/jira_automation.pydto-confluence-automation→integrations/confluence_automation.pydto-jira-webhooks→integrations/jira_webhooks.pydto-health-monitor→services/health_monitor.py
Dragonfly cluster is managed externally and not emitted as a supervisord program by default.
Testing
Minimal tests are included under tests/:
- HuggingFace client path‑sanitization
- Manifest validation via generator
Run: pytest -q