3b6254d02e514b173b6bc3d3c24dcbf4166cdcbb
Why: Home and sibling isolation tests could pass after a Bubblewrap startup failure, hiding an untested security boundary. Evidence: Isolated fake-Bubblewrap replay changed both target tests from PASS to FAIL; SELF receipt /tmp/dependency-task1-fake-green-20261014-01a1345f.json. Native positive replay remains NOT_RUN. Impact: Test assertions only; production execution behavior is unchanged. Refs: Backend PR #196; Documents design 1790cf8
Agent-System-Backend
对话系统后端:Go 模块化单体,默认构建为单二进制(go:embed 内嵌前端与嵌入式 SQLite 存储)。组合 Agent-Native / Agent-Squad / Agent-Intent 生态,依赖 agent-system-core 契约。
契约与架构见 Agent-System-Documents 设计方案与架构文档;开发规范见 development-guidelines(Dev 仓 development/guidelines)。本仓为 Agent-System 多仓组合的组成部分。
模块与版本依赖
Go 模块路径为 git-ssh.u1680832.nyat.app/weichen/Agent-System-Backend.git。Core、Native、Intent、Command、Squad 与基础库的实际提交版本由 go.mod / go.sum 固定;正式测试和构建使用 GOWORK=off,不使用源码目录 replace。私有获取使用 Dev 的进程级传输配置,不修改全局 Git 配置。
GOWORK=off go test -mod=readonly -count=1 ./...
GOWORK=off CGO_ENABLED=0 go build -mod=readonly -o /tmp/agent-system ./cmd/agent-system
完整产品还需要 Dev 构建入口装配前端 web/dist 后再编译;Go 模块测试不证明前端组合产物。旧提交保留其 gitlinks 供历史组合和在途分支重建;本提交已移除已替代指针。本地源码联调通过 Dev 的显式组件链接管理;在途分支迁移 import 与模块前缀时保持公开协议、数据和事件标识。
Description
对话系统后端:会话与流式管道、智能体运行时与画像、工具/上下文/文档解析/检索/设置管理、插件宿主(组合 Agent-Native/Squad/Intent);依赖 Agent-System-Core 契约,默认单二进制非容器部署。
26 MiB
Languages
Go
98.5%
Python
1.4%