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
weichen
3d6dcc3ae5
feat(web): 用小队子页面展示思考与工具过程
...
气泡只聚合过程摘要并链到 hash 子页面;成员编制来自只读 squad 端点,思考与工具默认折叠。
2026-09-28 10:30:53 +00:00
weichen
265616e997
feat(stream): 打通小队过程事件到持久化 detail 帧
...
pi-native 与 runner NDJSON 把推理和工具调用投影为 detail,任务流始终落库;非 200 的流式尝试回落到一次性 /v1/run,避免改变既有错误分类。
2026-09-28 10:30:52 +00:00
weichen
b9339cd272
merge: candidate docgov-shared-map-race-2026-09-28-r2 into dev
2026-09-28 09:06:52 +00:00
weichen
792c216c96
docs(docgov): 登记共享 map 并发崩溃的问题、经验与竞态回归
...
登录 500 来自进程被 concurrent map 打崩,不是登录逻辑。单测 -race 已通过,dev 重建仍待合入后复验。
2026-09-28 09:06:06 +00:00
weichen
a90cce73b9
fix(docgov): 保护共享内存 map,避免并发读写把进程打崩
...
per-doc 锁只串行同一文档,不同 docID 仍裸读写 memDocs 等 map。GetDocument 与另一文档写入撞上时运行时 fatal,代理把全部 API 变成 500。
2026-09-28 08:52:44 +00:00
weichen
de90d0cd70
docs: propose multi-repo architecture and release workflow
2026-09-28 07:50:51 +00:00
weichen
a3db288a7a
merge: candidate bizdev-stage-gating-narrative-2026-09-28 into dev
2026-09-28 07:31:48 +00:00
weichen
f46480a987
feat(workflow): 商务叙事阶段允许编制任意已启用文档
2026-09-28 07:29:59 +00:00
weichen
5c0a84f7ed
docs(task): 记录调研报告已投影到项目 6024
...
可行性阶段重跑通过质量门禁,受控文档 head 与 work_dir 已更新。
2026-09-28 07:10:45 +00:00
weichen
8d70d48591
feat(nightly): scheduled 03:10 advance pipeline (plan/orchestrate/report)
...
- scripts/nightly/plan.py: dependency-ordered plan from cleanup report +
CURRENT + registry (integrate candidates -> active tasks -> cleanup-ready)
- scripts/nightly/advance.py: orchestrator with reentry lock, daemon-health
preflight, headless cursor-agent advancement under agentctl leases,
queue-drain wait, env:dev rebuild + /health /ready on tip change,
no-content-loss cleanup verification, daily report draft + archival
- scripts/nightly-advance.sh: cron entrypoint
- tests: 9 unit cases for plan builder
2026-09-28 06:51:54 +00:00