agent-bot
2235fc7230
feat(cli): 'config check' subcommand (U10a tail, KTD16/17 minimal)
...
CI / go-vet (pull_request) Successful in 13s
CI / short-tests-report (pull_request) Failing after 36s
CI / backup-restore-drill (pull_request) Successful in 29s
CI / web (pull_request) Successful in 32s
- server config check: load + validate + masked summary; exit 1 on issues
- no side effects: creates no DB, starts nothing, writes no business dirs
- Config.Check() (production secrets, port range, data dir) exported for
reuse; MaskedSummary never prints credential values
- default no-arg invocation unchanged (serve); help added
- smoke-verified: pass exit 0, invalid port exit 1 with issue line
- layer-source attribution (config explain) deferred to U10b ConfigSnapshot
2026-09-29 07:25:28 +00:00
weichen
0ceaafda8f
Merge pull request 'U10a 续片:提示词与 xlsx 资产内嵌回退' ( #10 ) from feature/u10a-embedded-assets-2026-09-29 into dev
CI / go-vet (push) Successful in 11s
CI / short-tests-report (push) Failing after 35s
CI / backup-restore-drill (push) Successful in 47s
CI / web (push) Successful in 31s
2026-09-29 07:23:13 +00:00
agent-bot
95e659a915
feat(assets): embedded prompt and xlsx asset fallback (U10a slice 2)
...
CI / go-vet (pull_request) Successful in 13s
CI / short-tests-report (pull_request) Failing after 36s
CI / backup-restore-drill (pull_request) Successful in 28s
CI / web (pull_request) Successful in 32s
- configs package embeds agents/ + shared/ prompt assets; templates package
embeds xlsx/ (cdo_quote.xlsx)
- template.GetAgentInstructionFile: disk-first with embedded fallback for
instructions and writing.md (dev behavior unchanged)
- quote.CalculateAndFill: embedded xlsx fallback when the on-disk template
walk misses (single-binary deployments)
- presence test guards the embedded asset set
- verified: vet + template/quote/bizdev/squad/arch green
2026-09-29 07:17:32 +00:00
weichen
fe2eb099c5
Merge pull request 'U10a 首切片:goose 迁移内嵌回退(单文件部署去 cwd 依赖第一步)' ( #9 ) from feature/u10a-embedded-migrations-2026-09-29 into dev
CI / go-vet (push) Successful in 11s
CI / short-tests-report (push) Failing after 35s
CI / backup-restore-drill (push) Successful in 46s
CI / web (push) Successful in 32s
2026-09-29 07:13:45 +00:00
agent-bot
686dede802
feat(db): embedded goose migrations fallback (U10a first slice)
...
CI / go-vet (pull_request) Successful in 19s
CI / short-tests-report (pull_request) Failing after 35s
CI / backup-restore-drill (pull_request) Successful in 27s
CI / web (pull_request) Successful in 32s
- deploy/postgres (package dbassets) embeds the full goose chain;
RunMigrations prefers the on-disk dir (dev behavior unchanged) and falls
back to the embedded FS when the source tree is absent (single-binary
deployments per plan U10/KTD16)
- goose SetBaseFS global state reset after use
- TestRunMigrationsEmbeddedFallback verified against a throwaway isolated
pgvector container: nonexistent dir -> embedded chain -> version 78,
migration gate count agrees
2026-09-29 07:07:58 +00:00
weichen
638e5b89db
Merge pull request 'U4 第五步:AssetProvider 端口注入,移除 squad→template 依赖' ( #8 ) from feature/squad-asset-provider-2026-09-29 into dev
CI / go-vet (push) Successful in 10s
CI / short-tests-report (push) Failing after 35s
CI / backup-restore-drill (push) Successful in 27s
CI / web (push) Successful in 32s
2026-09-29 06:35:17 +00:00
agent-bot
2c75dcaf69
refactor(squad): AssetProvider port replaces direct template dependency
...
CI / go-vet (pull_request) Successful in 13s
CI / short-tests-report (pull_request) Failing after 35s
CI / backup-restore-drill (pull_request) Successful in 36s
CI / web (pull_request) Successful in 32s
KTD1 fifth step (behavior preserved):
- squad.AssetProvider{DocTemplate,RenderDoc,AgentInstruction,
AgentInstructionFile} injected via Options.Assets into Service,
WorkspaceEngine and AdaptivePlanner
- bizdev templateAssetProvider maps port to internal/template (assembly side)
- nil-provider paths degrade to the same fallbacks the old error branches
used (placeholder template, role header) — fail-visible, no guessing
- squad -> template import eliminated; arch edge moved bizdev->template
- verified: build/vet/arch green, squad+bizdev short tests pass
2026-09-29 06:29:51 +00:00
weichen
6baaa9131f
Merge pull request 'U4 第三步:textextract 抽包,消除 materialindex→squad 反向依赖' ( #7 ) from feature/textextract-package-2026-09-29 into dev
CI / web (push) Successful in 32s
CI / go-vet (push) Successful in 10s
CI / short-tests-report (push) Failing after 36s
CI / backup-restore-drill (push) Successful in 27s
2026-09-29 06:21:45 +00:00
agent-bot
8c2dd49e80
refactor(squad): quote preparation moves to Core via TaskPreparer hook
...
CI / web (pull_request) Successful in 32s
CI / go-vet (pull_request) Successful in 14s
CI / short-tests-report (pull_request) Failing after 35s
CI / backup-restore-drill (pull_request) Successful in 33s
KTD1 fourth step:
- squad.Options.TaskPreparer + TaskPreparation (Attachment + Backfills +
MirrorTemplateToOutput); squad stays sole writer of its workspace files
- CDO quote calc/xlsx/backfill implementation moves to bizdev
(quote_preparer.go); squad/quote_backfill.go relocated to bizdev
- arch path rule enforced the boundary: bizdev may not name/write
output.md; mirroring decided squad-side via flag
- squad -> quote import eliminated; engine.go delegations now local
- verified: build/vet/arch green, squad+bizdev short tests pass
2026-09-29 06:16:19 +00:00
agent-bot
f034a80c09
refactor(squad): drop dead WorkspaceRefForRun adapter (zero callers)
...
squad -> workspace import eliminated; physical workspace refs stay
product-side per KTD1. Arch edge removed from allowlist.
2026-09-29 06:11:55 +00:00
agent-bot
e47cfd8f4e
refactor(extract): move text extraction to internal/textextract
...
CI / go-vet (pull_request) Successful in 12s
CI / short-tests-report (pull_request) Failing after 36s
CI / backup-restore-drill (pull_request) Successful in 24s
CI / web (pull_request) Successful in 32s
KTD1 third step: material parsing returns to its own capability.
- ExtractTextWithAnchors + docx/anchor helpers move from squad/extract.go
to internal/textextract (pure stdlib, no workflowdef dep)
- squad/extract.go keeps only ExtractAdvisorBriefing (squad domain logic)
- callers updated: squad context builders, bizdev materials, server
chat_document_reader, materialindex pipeline
- reverse dependency materialindex -> squad eliminated (KTD1 explicit goal)
- module-boundaries.yaml: textextract declared + 4 edges
- verified: build/vet clean, arch green, textextract/squad/materialindex/
bizdev tests green; server pre-existing env-dependent failure unchanged
(issue #2 , fails with and without this change)
2026-09-29 06:11:20 +00:00
weichen
b8e9e75c99
Merge pull request 'U4 第二步:Squad 类型化 ProgressSink 端口,移除 internal/stream 依赖' ( #6 ) from feature/squad-progress-port-2026-09-29 into dev
CI / go-vet (push) Successful in 9s
CI / short-tests-report (push) Failing after 35s
CI / backup-restore-drill (push) Successful in 33s
CI / web (push) Successful in 34s
2026-09-29 06:03:04 +00:00
agent-bot
95ebcaf703
Merge remote-tracking branch 'origin/dev' into feature/squad-progress-port-2026-09-29
CI / go-vet (pull_request) Successful in 9s
CI / short-tests-report (pull_request) Failing after 34s
CI / backup-restore-drill (pull_request) Successful in 56s
CI / web (pull_request) Successful in 32s
2026-09-29 05:58:16 +00:00
weichen
a46a25b491
Merge pull request '移除 herdr 编排(用户决策:不再使用)' ( #5 ) from feature/remove-herdr-2026-09-29 into dev
CI / go-vet (push) Successful in 10s
CI / short-tests-report (push) Failing after 34s
CI / backup-restore-drill (push) Successful in 31s
CI / web (push) Successful in 31s
2026-09-29 05:53:05 +00:00
agent-bot
2cd52da85d
refactor(squad): typed ProgressSink port replaces direct stream dependency
...
CI / go-vet (pull_request) Successful in 12s
CI / short-tests-report (pull_request) Failing after 35s
CI / backup-restore-drill (pull_request) Successful in 36s
CI / web (pull_request) Successful in 33s
KTD1 second step (behavior preserved):
- squad defines ProgressSink (EmitPhase/Detail/Deliverable/Summary/Briefing)
with its own DetailEvent/ToolEvent types; zero internal/stream imports left
- bizdev assembly maps port to SSE streamer (squad_progress_adapter) and
injects via ctx at the four squad entry points
- process_bridge tests rewritten as port-contract tests (captureSink)
- verified: build+vet clean, squad/bizdev/archtest green
2026-09-29 05:51:32 +00:00
agent-bot
3523f43d20
fix: drop premature embedded gitlink for modules/agent-native
...
CI / go-vet (pull_request) Successful in 10s
CI / short-tests-report (pull_request) Failing after 35s
CI / backup-restore-drill (pull_request) Successful in 50s
CI / web (pull_request) Successful in 32s
Component clones are workspace-local until U4/U7b actually consume the
contract; gitlinks enter the tree with real consumption per KTD3.
2026-09-29 05:47:03 +00:00
agent-bot
39bd5367b5
chore: remove herdr orchestration (user decision: herdr will not be used)
...
- delete herdr start/dispatch scripts, herdr_agents.py and its test
- drop Herdr section from PROJECT.md and row from .doc/README.md taxonomy
- roster and handoff docs migrated to .doc/archive (history preserved,
not deleted); test-reports mentioning herdr kept as dated evidence
2026-09-29 05:46:47 +00:00
weichen
258c9d0a8f
Merge pull request 'U4 第一步:Squad 依赖注入解耦(Options + 后端工厂),移除 config.Config 依赖' ( #4 ) from feature/squad-options-injection-2026-09-29 into dev
CI / go-vet (push) Successful in 10s
CI / short-tests-report (push) Failing after 34s
CI / backup-restore-drill (push) Successful in 39s
CI / web (push) Successful in 35s
2026-09-29 05:19:26 +00:00
agent-bot
97879e5956
arch(boundaries): declare bizdev->agent assembly edge
...
CI / go-vet (pull_request) Successful in 11s
CI / short-tests-report (pull_request) Failing after 34s
CI / backup-restore-drill (pull_request) Successful in 29s
CI / web (pull_request) Successful in 32s
bizdev is the composition point injecting the backend factory into
squad.Options (KTD1: assembly stays in the product app); the new import is
intentional and now owned by the machine contract, same PR as the code.
2026-09-29 05:13:54 +00:00
agent-bot
72c0996b74
refactor(squad): inject Options + backend factory, drop config.Config dependency
...
CI / go-vet (pull_request) Failing after 10s
CI / short-tests-report (pull_request) Failing after 36s
CI / backup-restore-drill (pull_request) Successful in 27s
CI / web (pull_request) Successful in 30s
KTD1 first step (in-repo decoupling, behavior preserved):
- squad.Options{BackendName, BackendTimeout, DataDir, NewBackend} replaces
*config.Config; defaults applied in withDefaults
- backend construction injected by caller (bizdev assembly): credentials,
environment and concurrency stay product-side; nil factory fails closed
instead of silently degrading to Stub
- verified: go vet ./... clean, squad/bizdev short tests pass
2026-09-29 05:09:54 +00:00
weichen
beea8a21e5
Merge pull request 'U2 治理收口:AGENTS/PROJECT 三层模型改写,编码流程退役本地 agentctl 门禁' ( #3 ) from feature/governance-u2-closeout-2026-09-29 into dev
CI / go-vet (push) Successful in 10s
CI / short-tests-report (push) Failing after 34s
CI / backup-restore-drill (push) Successful in 23s
CI / web (push) Successful in 30s
2026-09-29 05:09:44 +00:00
agent-bot
1409e02187
refactor(governance): retire local agentctl gates for coding flow (U2 closeout)
...
CI / go-vet (pull_request) Successful in 10s
CI / short-tests-report (pull_request) Failing after 33s
CI / backup-restore-drill (pull_request) Successful in 31s
CI / web (pull_request) Successful in 32s
- AGENTS.md/PROJECT.md rewritten to three-layer model (hard/default/advice);
remote authority = Gitea native protection, coding flow zero-agentctl
- delete .cursor/rules/agentctl-mandatory.mdc; cursor hooks downgraded to advisory
- CURRENT/FEATURE-MATRIX become read-only snapshots; task state = Issue/PR
- CI: add tracked secrets scan to required go-vet job
- closeout record with V19/V20/V23/V26 evidence
- local pre-commit/reference-transaction hook files removed from main worktree
2026-09-29 05:07:43 +00:00
agent-bot
4a6ee0ea9d
chore: V19 drill edit A (workspace clone, same path)
2026-09-29 05:07:07 +00:00
weichen
9504b624ee
docs(ops): record U2b branch protection state
CI / go-vet (push) Successful in 10s
CI / short-tests-report (push) Failing after 34s
CI / backup-restore-drill (push) Successful in 53s
CI / web (push) Successful in 32s
2026-09-29 03:02:26 +00:00
weichen
4d716bcdcf
Merge pull request 'U1 收口:基线同步、治理演练记录与实施方案(D2'/D7 修正)' ( #1 ) from feature/governance-u2-relief-2026-09-29 into dev
CI / go-vet (push) Successful in 9s
CI / short-tests-report (push) Failing after 38s
CI / backup-restore-drill (push) Successful in 24s
CI / web (push) Successful in 32s
2026-09-29 03:01:33 +00:00
agent-bot
49606fb02f
fix(ci): require vet+web, report-only short tests, service-host pg_dump
...
CI / go-vet (pull_request) Successful in 24s
CI / short-tests-report (pull_request) Failing after 35s
CI / backup-restore-drill (pull_request) Successful in 26s
CI / web (pull_request) Successful in 31s
- split go-vet-and-short-test: go-vet (vet+migration gate+arch-check) required;
short tests moved to short-tests-report with continue-on-error (known env-
dependent failures, tracked in issue #2 , never green in CI history)
- backup-restore-drill: pg_dump/psql use service host 'postgres' not localhost
(job containers reach services by DNS name, not host-published ports)
2026-09-29 02:56:12 +00:00
agent-bot
3d00137047
chore(ci): retrigger after runner instance-address fix (172.17.0.1)
CI / backup-restore-drill (pull_request) Failing after 2m36s
CI / web (pull_request) Successful in 1m15s
CI / go-vet-and-short-test (pull_request) Failing after 2m14s
2026-09-29 02:48:36 +00:00
agent-bot
a15e9d1c58
fix(ci): drop host port publish for PG services, connect via service DNS
...
CI / go-vet-and-short-test (pull_request) Failing after 41s
CI / backup-restore-drill (pull_request) Failing after 41s
CI / web (pull_request) Failing after 30s
Host port 5432 is occupied by a live deployment since ~2026-09-24; CI service
containers failed with 'Bind for 127.0.0.1:5432 failed: port is already allocated'.
Services are reachable inside the job network as 'postgres:5432' without publishing.
2026-09-29 02:36:40 +00:00
weichen
8b4db5fe83
docs(multi-repo): U1 closeout - baseline inventory, governance drill record, implementation plan
...
CI / go-vet-and-short-test (pull_request) Failing after 0s
CI / backup-restore-drill (pull_request) Failing after 0s
CI / web (pull_request) Failing after 2m11s
- U1.4: dev synced fast-forward (fabd85a6..1bb48030, 337 commits), 11 tags pushed
- D5: 25 merged stale remote branches deleted, 10 remain
- U1.5 drill: branch protection N1-N5 all pass; self-approval forbidden by Gitea
-> D2' amendment: agent-bot account created (author/reviewer separation)
- CI root cause found+fixed: docker network pool exhaustion (24 stale job networks pruned)
- D7: new migration workspace directive (no in-place Agent-System breakage)
2026-09-29 02:34:12 +00:00
weichen
1bb480309d
merge: candidate multi-repo-design-closeout-2026-09-29 into dev
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 1s
CI / web (push) Failing after 0s
2026-09-29 00:17:12 +00:00
weichen
787bcc53d4
docs(multi-repo): 落盘修订2-7的前端拆仓/Agent-Native/单文件应用方案
2026-09-29 00:16:05 +00:00
weichen
2db5dab3cd
merge: candidate nightly-advance-land-2026-09-28 into dev
2026-09-28 19:20:06 +00:00
weichen
8c3cfb7632
merge: candidate integrate-member-visibility-dialogue-ctx-2026-09-28 into dev
2026-09-28 18:57:35 +00:00
weichen
44abb2fa83
merge: candidate intent-material-2026-09-28 into dev
2026-09-28 18:54:32 +00:00
weichen
82afd32d93
merge: candidate squad-commit-evidence-2026-09-28 into dev
2026-09-28 18:24:38 +00:00
weichen
89089be1d2
merge: candidate quality-gate-heading-evidence-2026-09-28 into dev
2026-09-28 18:13:00 +00:00
weichen
a6a9583b5b
merge: candidate controlled-projection-project-binding-2026-09-28 into dev
2026-09-28 17:43:41 +00:00
weichen
13209d3155
docs(test): 归档成员可见性与对话上下文注入测试报告
2026-09-28 17:22:49 +00:00
weichen
4e10d97b5a
fix(intent): 资料类提问命中相似案例意图并脱离阶段推销模板
2026-09-28 17:20:25 +00:00
weichen
d06cb292fe
docs(squad): 收口非编制人代理提交的验证证据与状态
2026-09-28 17:19:36 +00:00
weichen
7eb9477d9e
merge: candidate member-visibility-dialogue-ctx-2026-09-28 into dev
2026-09-28 15:47:51 +00:00
weichen
16f33b5b9d
fix(chat): 用本地任务键判断调研前置,避免越界依赖
...
chat 不能引用 workflowdef。调研报告只认 research 与 bd_research 两个现用键。
2026-09-28 15:44:04 +00:00
weichen
32568ed13e
fix(web): 项目成员可见本项目流程受控文档
...
已打开项目的流程受控文档按成员基线展示。单文档指定人、角色白名单和私密隔离仍然优先。
2026-09-28 15:36:39 +00:00
weichen
721af4ccb8
fix(squad): 区分未注入对话的原因并附上采集统计
...
占位说明不再把开关关闭、项目未绑定和本轮没有对话包混成一句,避免把未采集误写成对话已被滤掉。
2026-09-28 15:36:38 +00:00
weichen
54e92c973a
fix(chat): 回填会话项目身份并给出阶段前置建议
...
协调器只解析上下文字符串项目 ID。会话只写数字项目 ID 时,任务项目恒为 0,对话注入和阶段门禁都不会生效。
2026-09-28 15:36:37 +00:00
weichen
88e0311a1f
docs(test): 记录受控投影项目绑定的回归
...
短测、vet 与架构边界已通过。dev 浏览器链路尚未重载本提交,报告记为未运行。
2026-09-28 12:35:44 +00:00
weichen
f8730791b9
fix(coordinator): 回填会话项目绑定,避免受控投影被跳过
...
聊天入口只把项目 ID 放在授权字段,协调器仍读空的 UserCtx.Project.ID,受控任务因此以 project_id=0 跳过账本投影,回复却称正文已保存。
2026-09-28 12:34:32 +00:00
weichen
8889011e5b
merge: candidate docgov-shared-map-race-2026-09-28-r2 into dev
2026-09-28 12:06:20 +00:00
weichen
5f505d5ab6
docs(docgov): 收口共享 map 并发修复的验收与认领
...
dev 已重建并通过健康检查与空登录 401。问题标为 resolved,CURRENT 认领改为 done。
2026-09-28 12:05:55 +00:00
weichen
5d762fb206
merge: candidate subagent-process-view-impl-2026-09-28 into dev
...
# Conflicts:
# .doc/ops/CURRENT.md
2026-09-28 10:36:26 +00:00