ci / vet-and-test (pull_request) Successful in 42s
Why: Make independent version consumption work from ordinary clones while retaining historical commits and existing branch workspaces. Evidence: SELF Dev task receipts record 24 CI boundary cases, all workflow syntax checks, readonly private-source prefetch in clean exports, provider tests and package installation without acquisition scripts. Platform CI remains pending. Impact: Remove only replaced index links, preserve old physical checkouts, and update dependency guidance. Library consumers retain their immutable versions until an explicit dependency update. Refs: Agent-System-Dev feature/dependency-workspace; approved versioned-dependency r1, U3-U7 and R15.
17 lines
1.3 KiB
Markdown
17 lines
1.3 KiB
Markdown
# 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 配置。
|
||
|
||
```bash
|
||
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 与模块前缀时保持公开协议、数据和事件标识。
|