34 lines
1.8 KiB
Markdown
34 lines
1.8 KiB
Markdown
# Production roadmap
|
||
|
||
## Persistence and distribution
|
||
|
||
1. EventStore 迁移到 Redis Streams 或 Kafka,并把长期审计写 Postgres/不可变对象存储。
|
||
2. Session/Approval 元数据进入 Postgres,运行锁、timeout、SSE fan-out 使用 Redis。
|
||
3. AttachmentStore 使用带生命周期策略的对象存储、短期签名 URL、恶意内容扫描和租户配额。
|
||
4. 把 Agent Run 放入 durable queue/worker,支持幂等恢复、worker lease 与跨实例取消。
|
||
|
||
## Secrets and identity
|
||
|
||
1. KMS/Vault envelope encryption,短期 scoped credential,不在长期 Store 保存明文。
|
||
2. OIDC/SSO、租户/RBAC/ABAC、每个 Session 所有权校验。
|
||
3. CSRF 防护、严格 same-site cookie、CSP、Origin 检查、rate limit、配额与 abuse detection。
|
||
4. 管理员批准策略、双人审批和不可抵赖审计。
|
||
|
||
## Isolation
|
||
|
||
1. 每 Run 使用无特权容器、VM 或 micro-VM;只读输入、最小可写输出。
|
||
2. seccomp/AppArmor、PID/CPU/内存/磁盘/time limits、无 host socket。
|
||
3. egress allowlist proxy,DNS pinning,重定向逐跳校验,metadata 永久 deny。
|
||
4. Skill 签名、来源策略、版本锁与离线扫描。
|
||
|
||
## Reliability and observability
|
||
|
||
1. 分布式 SSE/WebSocket gateway,cursor 持久化、backpressure 和 gap recovery。
|
||
2. OpenTelemetry trace:HTTP → run → model → tool → approval;指标不含 prompt/key/image body。
|
||
3. Provider circuit breaker、预算、token/cost accounting、重试分类和 dead-letter queue。
|
||
4. chaos tests、断电恢复、跨版本 event schema migration 和数据保留策略。
|
||
|
||
## Frontend scale
|
||
|
||
代码分割 assistant-ui/设置/附件预览,虚拟化长 Timeline 与 Thread;增加离线恢复、上传续传和生产级国际化。保持 HarnessClientStore 是唯一投影状态,不在 Runtime 中复制 Agent 状态机。
|