feat: add go backend skeleton
This commit is contained in:
@@ -16,13 +16,24 @@
|
||||
|
||||
## Runbook
|
||||
|
||||
实施完成后记录实际命令。
|
||||
启动后端:
|
||||
|
||||
```bash
|
||||
go run ./cmd/codex-agent-manager
|
||||
```
|
||||
|
||||
健康检查:
|
||||
|
||||
```bash
|
||||
curl http://127.0.0.1:18083/api/health
|
||||
```
|
||||
|
||||
## Security Boundaries
|
||||
|
||||
- 不读取 `.codex/auth.json`。
|
||||
- 不写入 Codex SQLite。
|
||||
- `.codex/agents/*.toml` 写回必须先备份。
|
||||
- 当前后端骨架只实现健康检查和 Codex home 路径边界函数,尚未读取真实 `.codex` 数据文件。
|
||||
|
||||
## Known Risks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user