How itskiran-alt/atlas-dwn works
Atlas DWN is a prototype monitoring and recommendation-drafting workbench for relationship managers, not an execution system. An RM-facing UI event reaches server-side services, which can run the monitoring orchestrator: market context is checked, deterministic analysis and safety gates produce an evidence-backed proposal, and records are persisted for human review. Separate branches support Admin/RM/Client workspaces, reporting, and scheduled runs. The README documents these capabilities; some implementation links below rely on its architecture description and the source index, so unsampled details are not inferred.
Main entry points: orchestrator.py Run orchestrator · controller.py Event controller · services.py RBAC and approvals · repo.py Data access
Components 23
Workspaces
- Streamlit entry
app.py - Event controller
dwn/ui/controller.py - Workspace rendering
dwn/ui/render.py
Application services
- RBAC and approvals
dwn/services.py - Authentication
dwn/auth.py - Reports
dwn/reports.py
Monitoring workflow
- Run orchestrator
dwn/agents/orchestrator.py - Deterministic engines
dwn/engines - Consent and data gates
dwn/controls/gates.py - Untrusted-text scan
dwn/controls/quarantine.py - Drafting skills
dwn/agents/skills.py - LLM adapters
dwn/agents/llm.py - Proposal and evidence
dwn/agents/proposal.py
Data services
- Market data
dwn/data/market.py - News feeds
dwn/data/news.py - Hardened HTTP
dwn/data/http.py
Persistence and scheduling
- Data access
dwn/repo.py - Persistent database
dwn/db/session.py - Scheduled worker
worker/run_scheduled.py - Schedule jobs
dwn/scheduler/jobs.py
Other components
- Relationship manager
- Client
- Market and news sources
Connections 26
- Relationship manager → Streamlit entry: uses workspace
README.md - Client → Streamlit entry: uses portal
README.md - Streamlit entry → Event controller: routes events
app.py - Event controller → RBAC and approvals: calls services
dwn/ui/controller.py - Event controller → Authentication: authenticates
dwn/ui/controller.py - Event controller → Workspace rendering: renders view
README.md - RBAC and approvals → Run orchestrator: starts runs
dwn/services.py - RBAC and approvals → Reports: builds reports
dwn/services.py - RBAC and approvals → Data access: reads and writes
dwn/services.py - Run orchestrator → Market data: gets market context
dwn/agents/orchestrator.py - Run orchestrator → Deterministic engines: computes analysis
dwn/agents/orchestrator.py - Run orchestrator → Consent and data gates: checks output
dwn/agents/orchestrator.py - Consent and data gates → Untrusted-text scan: scans text
dwn/controls/gates.py - Run orchestrator → Drafting skills: requests drafts
dwn/agents/orchestrator.py - Drafting skills → LLM adapters: requests interpretation
dwn/agents/skills.py - LLM adapters → Market and news sources: calls optional provider
README.md - Run orchestrator → Proposal and evidence: creates proposal
dwn/agents/orchestrator.py - Run orchestrator → Data access: persists run and evidence
dwn/agents/orchestrator.py - Market data → Hardened HTTP: fetches prices
dwn/data/market.py - News feeds → Hardened HTTP: fetches headlines
dwn/data/news.py - Market data → Market and news sources: reads prices
README.md - News feeds → Market and news sources: reads headlines
README.md - Data access → Persistent database: stores records
README.md - Scheduled worker → Schedule jobs: runs schedules
worker/run_scheduled.py - Schedule jobs → Run orchestrator: runs monitoring
dwn/scheduler/jobs.py - Schedule jobs → Data access: records job history
dwn/scheduler/jobs.py