{"generation": 1576, "run_id": "58582b05-c06c-4c20-bd31-2c06027831d5", "status": "running"}
env: MINIMAX_API_KEY len=126 tavily_keys=2
==> nightly real-PI suite commit=94c215d36e09 runner=http://127.0.0.1:18865
==> DATA_DIR=/home/weichen/projects/Agent-System/data/dev
shared KB preflight OK 127.0.0.1:5432/regulations
=== RUN   TestMultiIntentU8_RealPI_ConfirmGenerate_PG
2026/09/27 17:13:12 goose: no migrations to run. current version: 76
2026/09/27 17:13:12 goose: no migrations to run. current version: 76
2026/09/27 17:13:12 [kb] online=true dsn=postgres://regkb:***@127.0.0.1:5432/regulations?sslmode=disable
    multi_intent_u8_piagent_pg_test.go:228: ✓ [1. awaiting] plan_id=pln_c962074513e2cd53c48f4b80150fff67 revision=1 starts=0
{"time":"2026-09-27T17:13:12.681820385Z","level":"WARN","msg":"material chunk index failed","file":"project_brief.md","project_id":6047,"err":"http 401 Unauthorized: 无效的令牌 (request id: 20260927171311387783833c14228f5fP5PZK2r) (batch=1 est_tokens≈57)"}
{"time":"2026-09-27T17:19:33.890702477Z","level":"INFO","msg":"taskrun_status_transition","run_id":"run_1790529192556071349","status":"completed","workspace_id":"/home/weichen/projects/Agent-System/data/dev/workspaces/bizdev/intake_1790529192693648584","error":""}
    multi_intent_u8_piagent_pg_test.go:268: ✓ [2. real PI generate] run_id=run_1790529192556071349 status=completed elapsed=6m21s
    multi_intent_u8_piagent_pg_test.go:277: ✓ [3. idempotent replay] starts still 1
    multi_intent_u8_piagent_pg_test.go:287: ✓ [4. revoke] TaskRunAdapter denied
    multi_intent_u8_piagent_pg_test.go:310: ✓ [5. PG restart recovery] plan_id=pln_c962074513e2cd53c48f4b80150fff67 status=executing
    multi_intent_u8_piagent_pg_test.go:321: ✓ [6. HTTP refresh] GET plan 486 bytes
--- PASS: TestMultiIntentU8_RealPI_ConfirmGenerate_PG (381.59s)
=== RUN   TestWorkflowGovernance_PiAgent_PG_FullNoneMixedChain
{"time":"2026-09-27T17:19:33.901979192Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:19:33.912304495Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:19:33.919476192Z","level":"INFO","msg":"[kb] online=true dsn=postgres://regkb:***@127.0.0.1:5432/regulations?sslmode=disable"}
    workflow_governance_full_none_piagent_pg_test.go:149: ✓ [1. activate] instance=38 full=intake none=research(disabled until stage)
{"time":"2026-09-27T17:19:34.234595435Z","level":"WARN","msg":"material chunk index failed","file":"project_brief.md","project_id":6048,"err":"http 401 Unauthorized: 无效的令牌 (request id: 20260927171932942038116c14228f5rmMmfqTs) (batch=1 est_tokens≈18)"}
    workflow_governance_full_none_piagent_pg_test.go:205: ✓ pi-agent bd_intake doc=doc_proj6048_bd_intake elapsed=4m44s
    workflow_governance_full_none_piagent_pg_test.go:220: ✓ [2. full intake] cross-user approve complete
    workflow_governance_full_none_piagent_pg_test.go:232: ✓ [3. advance V0.1] ok
{"time":"2026-09-27T17:24:18.5979371Z","level":"WARN","msg":"material chunk index failed","file":"research_scope.md","project_id":6048,"err":"http 401 Unauthorized: 无效的令牌 (request id: 20260927172417306287388c14228f5jxv16ywp) (batch=1 est_tokens≈32)"}
{"time":"2026-09-27T17:24:18.633158575Z","level":"INFO","msg":"[kb-retriever] embed failed: http 401 Unauthorized: 无效的令牌 (request id: 20260927172417337672932c14228f51RuHsBll) (batch=1 est_tokens≈14)"}
    workflow_governance_full_none_piagent_pg_test.go:234: ✓ pi-agent research doc=doc_proj6048_bd_research elapsed=13m58s
    workflow_governance_full_none_piagent_pg_test.go:253: ✓ [4. none research] generate ok; submit-review denied HTTP 403
    workflow_governance_full_none_piagent_pg_test.go:282: ✓ [5. readiness] none does not block
    workflow_governance_full_none_piagent_pg_test.go:308: ✓ [6. advance V0.5] none non-blocking PASS
    workflow_governance_full_none_piagent_pg_test.go:318: ✓ [7. refresh] settings still readable
--- PASS: TestWorkflowGovernance_PiAgent_PG_FullNoneMixedChain (1122.75s)
=== RUN   TestWorkflowGovernance_PiAgent_PG_FullChain
{"time":"2026-09-27T17:38:16.64716614Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:38:16.655726396Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:38:16.66266847Z","level":"INFO","msg":"[kb] online=true dsn=postgres://regkb:***@127.0.0.1:5432/regulations?sslmode=disable"}
    workflow_governance_piagent_pg_test.go:265: ✓ [1. 项目创建] id=6049 code=pg-piagent-治-ec1edd36 wf=main
    workflow_governance_piagent_pg_test.go:265: ✓ [2. 工作流激活] instance_id=39
{"time":"2026-09-27T17:38:17.016344108Z","level":"WARN","msg":"material chunk index failed","file":"project_brief.md","project_id":6049,"err":"http 401 Unauthorized: 无效的令牌 (request id: 20260927173815718971474c14228f5Nnu9ycXd) (batch=1 est_tokens≈102)"}
    workflow_governance_piagent_pg_test.go:265: ✓ [3. pi-agent intake] doc=doc_proj6049_bd_intake title=用户初始需求收集表 elapsed=4m51s
    workflow_governance_piagent_pg_test.go:265: ✓ [4. 文档批准] approve chain complete
    workflow_governance_piagent_pg_test.go:265: ✓ [5. 阶段推进] PG + pi-agent 治理全链路完成 wf=main
--- PASS: TestWorkflowGovernance_PiAgent_PG_FullChain (291.34s)
=== RUN   TestWorkflowGovernance_PiAgent_PG_ProductManager_FullChain
{"time":"2026-09-27T17:43:07.983649214Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:43:07.99321182Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:43:08.000588331Z","level":"INFO","msg":"[kb] online=true dsn=postgres://regkb:***@127.0.0.1:5432/regulations?sslmode=disable"}
    workflow_governance_piagent_pg_test.go:279: ✓ [1. 项目创建] id=6050 code=pg-piagent-产-e39edc4b wf=product_manager
    workflow_governance_piagent_pg_test.go:279: ✓ [2. 工作流激活] instance_id=40
{"time":"2026-09-27T17:43:08.330541784Z","level":"WARN","msg":"material chunk index failed","file":"intake_summary.md","project_id":6050,"err":"http 401 Unauthorized: 无效的令牌 (request id: 20260927174307039072005c14228f5ps0Y4TTH) (batch=1 est_tokens≈77)"}
{"time":"2026-09-27T17:43:08.365551614Z","level":"INFO","msg":"[kb-retriever] embed failed: http 401 Unauthorized: 无效的令牌 (request id: 20260927174307074004417c14228f5VYqAcHMo) (batch=1 est_tokens≈21)"}
    workflow_governance_piagent_pg_test.go:279: ✓ [3. pi-agent system_reqs] doc=doc_proj6050_pm_system_reqs title=系统需求规格书 elapsed=13m33s
    workflow_governance_piagent_pg_test.go:279: ✓ [4. 文档批准] approve chain complete
    workflow_governance_piagent_pg_test.go:279: ✓ [5. 阶段推进] PG + pi-agent 治理全链路完成 wf=product_manager
--- PASS: TestWorkflowGovernance_PiAgent_PG_ProductManager_FullChain (813.17s)
=== RUN   TestWorkflowGovernance_PiAgent_PG_TestManager_FullChain
{"time":"2026-09-27T17:56:41.152911299Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:56:41.163258861Z","level":"INFO","msg":"goose: no migrations to run. current version: 76"}
{"time":"2026-09-27T17:56:41.170354291Z","level":"INFO","msg":"[kb] online=true dsn=postgres://regkb:***@127.0.0.1:5432/regulations?sslmode=disable"}
    workflow_governance_piagent_pg_test.go:294: ✓ [1. 项目创建] id=6051 code=pg-piagent-测-34dc1585 wf=test_manager
    workflow_governance_piagent_pg_test.go:294: ✓ [2. 工作流激活] instance_id=41
{"time":"2026-09-27T17:56:41.491774337Z","level":"WARN","msg":"material chunk index failed","file":"verification_scope.md","project_id":6051,"err":"http 401 Unauthorized: 无效的令牌 (request id: 20260927175640199356760c14228f58Kq00tyV) (batch=1 est_tokens≈88)"}
{"time":"2026-09-27T17:56:41.531040871Z","level":"INFO","msg":"[kb-retriever] embed failed: http 401 Unauthorized: 无效的令牌 (request id: 20260927175640238710728c14228f5qye8omGY) (batch=1 est_tokens≈21)"}
    workflow_governance_piagent_pg_test.go:294: ✓ [3. pi-agent test_manager] doc=doc_proj6051_tm_system_verification title=系统验证方案及计划 elapsed=19m29s
    workflow_governance_piagent_pg_test.go:294: ✓ [4. 文档批准] approve chain complete
    workflow_governance_piagent_pg_test.go:294: ✓ [5. 阶段推进] PG + pi-agent 治理全链路完成 wf=test_manager
--- PASS: TestWorkflowGovernance_PiAgent_PG_TestManager_FullChain (1169.28s)
PASS
ok  	chat-agent-system/internal/server	3778.125s
==> building candidate images for digest pin...
{"code": "DIRTY_TREE", "message": "Source worktree must be clean; only generated build evidence is excepted", "status": "denied"}
candidate image build failed
/home/weichen/projects/Agent-System/.doc/test-reports/assets/promotion-receipts/94c215d36e090ad6c1541f64bd625067d7fce4fc.json
wrote promotion receipt: /home/weichen/projects/Agent-System/.doc/test-reports/assets/promotion-receipts/94c215d36e090ad6c1541f64bd625067d7fce4fc.json
infrastructure failure: candidate image build
{"child_group_alive": false, "run_id": "58582b05-c06c-4c20-bd31-2c06027831d5", "status": "recovery_required"}
