feat: integrate AI candidate review and automatic publication
This commit is contained in:
@@ -62,7 +62,7 @@ go build -trimpath -o bin/veyra .
|
||||
go run . -command admin-set -previous-login <原管理员登录名>
|
||||
```
|
||||
|
||||
已有登录名不变时可省略 `-previous-login`。此命令仅限 local/test,保留原管理员 ID、以 bcrypt 保存新密码并撤销旧会话;登录名冲突时全部回滚。管理员密码为 8–72 字节,App 开发用户仍为 12–72 字节。
|
||||
已有登录名不变时可省略 `-previous-login`。此命令仅限 local/test,保留原管理员 ID、以 bcrypt 保存新密码并撤销旧会话;登录名冲突时全部回滚。管理员密码为 8–72 字节,App 用户创建时为 12–72 字节。已有 App 测试用户可在 local/test 环境更新 `DEV_USER_LOGIN` / `DEV_USER_PASSWORD` 后执行 `go run . -command user-set -previous-login <原登录名>`;测试维护命令允许 4–72 字节密码,保留身份和账户、撤销旧会话,不能修改管理员。
|
||||
|
||||
|
||||
### App 开发
|
||||
@@ -173,3 +173,7 @@ Worker 每轮最多处理 20 个目标,完成后间隔 5 分钟再次检查。
|
||||
## CI/CD 自动部署
|
||||
|
||||
开发使用 `dev`,通过 PR 合并进入受保护的 `master`;仅 `master` push 触发 CI/CD。Gitea Runner 验证后,通过 SSH 部署内嵌管理端的 Go 镜像至 `192.168.100.132:/home/workspace/sundynix-veyra`,执行版本化迁移、依赖就绪检查与应用回滚。详见 [部署说明](deploy/README.md)。
|
||||
|
||||
### AI candidate review
|
||||
|
||||
Configure and enable model_primary and model_review in the admin console. The review route can copy the primary configuration without exposing its encrypted key. Enable AI review and optional automatic publishing; two validated model conclusions and existing server rules must pass before publication. Manual mode keeps AI opinions for review. Jobs are versioned, leased for five minutes and retry up to three times with a five-minute delay. Model calls never change prices, reserve user funds or create trades. This remains a local/test simulation capability.
|
||||
|
||||
Reference in New Issue
Block a user