How hugoblanc/strato works
Strato routes incoming Slack and connected-tool requests into topics, starts Claude Code work sessions to investigate and prepare proposed actions, then presents cards on a local board for a human to approve. Approved actions are carried out through the session or the relevant provider; the README emphasizes that nothing is posted or changed without approval. Source excerpts and the SOURCE INDEX support the core data model, provider interfaces, and selected orchestration links; unsampled modules are included where the README documents capabilities, with uncertain connections omitted.
Main entry points: ingest.ts Slack intake · registry.ts Provider registry · sujet.ts Topics and tasks · claude.ts Claude sessions
Components 27
Request intake
- Slack intake
scripts/app/ingest.ts - Slack normalization
scripts/chat/slack-model.ts - Topics and tasks
scripts/core/sujet.ts - Request triage
scripts/core/triage.ts
Sessions and policy
- Master orchestration
scripts/core/master.ts - Claude sessions
scripts/app/claude.ts - Session policy
scripts/policy/prompts.ts - Session transcripts
scripts/claude/transcript.ts
Board and approval
- Board server
scripts/server/serve.ts - Board UI
scripts/board.ts - Board actions
scripts/client/actions.js - Approval gate
scripts/core/gate.ts - Action delivery
scripts/app/act.ts
Tools and providers
- Provider registry
scripts/providers/registry.ts - Provider contract
scripts/providers/sdk.ts - Slack provider
scripts/providers/slack/index.ts - Linear provider
scripts/providers/linear/index.ts - GitLab integration
scripts/app/gitlab.ts - Provider links
scripts/core/links.ts
Profile and state
- Runtime configuration
scripts/app/env.ts - Profile settings
scripts/core/settings.ts - Local state
scripts/app/store.ts - Topic keys
scripts/core/keys.ts - Card tasks
scripts/core/tasks.ts
Other components
- Person
- Slack workspace
- Connected tools
Connections 33
- Slack workspace → Slack intake: provides messages
README.md - Connected tools → Slack intake: provides requests
- Slack intake → Slack normalization: normalizes events
scripts/app/ingest.ts - Slack intake → Topics and tasks: updates topics
scripts/app/ingest.ts - Slack intake → Provider registry: uses providers
scripts/app/ingest.ts - Slack normalization → Request triage: classifies requests
scripts/chat/slack-model.ts - Slack normalization → Topic keys: builds thread keys
scripts/chat/slack-model.ts - Master orchestration → Slack intake: arms listener
- Master orchestration → Claude sessions: starts sessions
- Claude sessions → Session policy: uses policy
- Claude sessions → Session transcripts: records sessions
- Claude sessions → Topics and tasks: updates topics
- Board server → Board UI: serves board
scripts/server/serve.ts - Person → Board UI: reviews cards
README.md - Board UI → Board actions: dispatches clicks
- Board actions → Board server: submits actions
- Board server → Approval gate: checks approval
scripts/server/serve.ts - Approval gate → Action delivery: authorizes action
- Action delivery → Provider registry: dispatches action
- Provider registry → Provider contract: implements interface
scripts/providers/registry.ts - Provider registry → Slack provider: registers provider
scripts/providers/registry.ts - Provider registry → Linear provider: registers provider
scripts/providers/registry.ts - Slack provider → Connected tools: reads and acts
- Linear provider → Connected tools: reads and acts
- GitLab integration → Connected tools: follows merge requests
README.md - Runtime configuration → Profile settings: loads settings
scripts/app/env.ts - Runtime configuration → Provider links: installs descriptors
scripts/app/env.ts - Runtime configuration → Local state: configures state
scripts/app/store.ts - Local state → Profile settings: reads settings
scripts/app/store.ts - Local state → Topics and tasks: reads and writes topics
scripts/app/store.ts - Topics and tasks → Topic keys: resolves keys
scripts/core/sujet.ts - Topics and tasks → Card tasks: syncs task status
scripts/core/sujet.ts - Topic keys → Provider links: resolves links
scripts/core/keys.ts