Switch Dev to the pinned shared executor and retire the Python executor #600

Merged
weichen merged 11 commits from feature/dev-shared-executor-switch into main 2026-10-17 07:15:10 +00:00
Owner

本 PR 描述与任务卡 .task/feature-dev-shared-executor-switch.md 同源(目标、单元收据、证据表见任务卡)。

Why: development-governance-v2 Phase 5——Dev 切到共享执行器(固定 Development-Manager gitlink deps/development-manager @ 42e675f,owner 决策 gitlink_dm),并退役仓内 Python 执行器,避免双实现。

Evidence(详见任务卡):

  • 实施:P5-A r4(dm-server agent-exec run,transport 501b685)、P5-B r1(经本仓薄入口 scripts/agent-exec,transport 63e11ea),cursor,各自 fresh session;r1–r3 失败均已对账,r3 的集成拒绝由 DM #17 修复。
  • SELF:等价重放(Python 参考 vs 固定 Go)11 SAME + 1 预期差异(legacy-config:Go 按 Guidelines 合同拒绝 legacy-readable 配置);采纳正负例 ALL PASS(正例 run+apply、缺配置、坏收据、越界、未知副作用);make test-governance 421 tests OK。
  • REPLAY:独立 Review(待)。
  • GATE:本 PR HEAD 的三项 CI(make test + make build + Agent 配置校验)。

Impact: 新增 deps/development-manager gitlink 与 scripts/agent-exec 薄入口;Makefile/pre-commit/AGENT-EXECUTION.md 集成命令切到 scripts/agent-exec;CI 三处物化白名单加入 DM/Guidelines 并新增 scripts/agent-exec validate;删除 scripts/agent_exec*.py、tests/test_agent_exec*.py(保留 test_agent_exec_entry.py)与 tests/fixtures/agent-exec;文档引用同步。

Refs: docs/superpowers/plans/2026-10-16-development-governance-v2-master.md;DM PR #16、#17、#18

本 PR 描述与任务卡 `.task/feature-dev-shared-executor-switch.md` 同源(目标、单元收据、证据表见任务卡)。 Why: development-governance-v2 Phase 5——Dev 切到共享执行器(固定 Development-Manager gitlink `deps/development-manager` @ 42e675f,owner 决策 gitlink_dm),并退役仓内 Python 执行器,避免双实现。 Evidence(详见任务卡): - 实施:P5-A r4(dm-server agent-exec run,transport 501b685)、P5-B r1(经本仓薄入口 scripts/agent-exec,transport 63e11ea),cursor,各自 fresh session;r1–r3 失败均已对账,r3 的集成拒绝由 DM #17 修复。 - SELF:等价重放(Python 参考 vs 固定 Go)11 SAME + 1 预期差异(legacy-config:Go 按 Guidelines 合同拒绝 legacy-readable 配置);采纳正负例 ALL PASS(正例 run+apply、缺配置、坏收据、越界、未知副作用);make test-governance 421 tests OK。 - REPLAY:独立 Review(待)。 - GATE:本 PR HEAD 的三项 CI(make test + make build + Agent 配置校验)。 Impact: 新增 deps/development-manager gitlink 与 scripts/agent-exec 薄入口;Makefile/pre-commit/AGENT-EXECUTION.md 集成命令切到 scripts/agent-exec;CI 三处物化白名单加入 DM/Guidelines 并新增 `scripts/agent-exec validate`;删除 scripts/agent_exec*.py、tests/test_agent_exec*.py(保留 test_agent_exec_entry.py)与 tests/fixtures/agent-exec;文档引用同步。 Refs: docs/superpowers/plans/2026-10-16-development-governance-v2-master.md;DM PR #16、#17、#18
weichen added 10 commits 2026-10-17 06:53:16 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-dev-shared-executor-switch.md; R0=aee351ae1ab8306ba4b52d74b5ba8feb9b77afda.

Impact: task metadata only; the feature workspace starts at aee351ae1a.

Refs: .task/feature-dev-shared-executor-switch.md
Why: Phase 5 Dev side needs an explicit goal, scope and acceptance before units run.

Evidence: triage NEW receipt /tmp/p5-dev-triage.json; precheck READY.

Impact: Task card only.

Refs: development-governance-v2 Phase 5
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: r1/r2 failed closed on invalid terminal records and r3 succeeded but could not be applied because both executors mis-inventory a newly added nested repository.

Evidence: receipts /tmp/p5-receipt-a-r{1,2,3}.json; apply rejection messages from scripts/agent_exec.py and dm-server 183e764.

Impact: Task card only.

Refs: development-governance-v2 Phase 5
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: The master record still showed Phases 0-4 as PLANNED after they merged.

Evidence: Dev main aee351a/682a4e8, Guidelines main 2688fd2, DM main 183e764, PR #585/#595/#596/#597.

Impact: Plan document only.

Refs: development-governance-v2
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: P5-A was rerun with the fixed shared executor (DM 42e675f) and integrated; the card must carry the run, the Python-vs-Go replay and the adoption positive/negative cases.
Evidence: make evidence rows on the card (SELF): entry tests 21 passed; replay 11 SAME, 1 expected DIFF (legacy-config, Go conforms to the contract); adoption cases ALL PASS.
Impact: task card only.
Refs: .task/feature-dev-shared-executor-switch.md; DM PR #17, #18
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: the Python executor was retired through the shared executor and Phase 5/7 states changed (DM #17/#18 merged, Phase 6 pilot started).
Evidence: make test-governance 421 tests OK (SELF, card evidence); git grep finds no live Python executor reference.
Impact: task card and master record only.
Refs: .task/feature-dev-shared-executor-switch.md; DM PR #17, #18, #19
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=dc01517de1cfb86abbd26dfb7932023763019d5d.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Record the sync checkpoint
ci / test-pg (pull_request) Successful in 9m58s
ci / test (pull_request) Successful in 8m25s
ci / svc-realcombo (pull_request) Successful in 2m59s
e740d3ca74
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=dc01517de1cfb86abbd26dfb7932023763019d5d; before_record=853df82add985b4c37a04f2cbe0d7052621675d6.

Impact: task metadata only.

Refs: .task/feature-dev-shared-executor-switch.md
weichen added 4 commits 2026-10-17 06:53:17 +00:00
Why: the Python executor was retired through the shared executor and Phase 5/7 states changed (DM #17/#18 merged, Phase 6 pilot started).
Evidence: make test-governance 421 tests OK (SELF, card evidence); git grep finds no live Python executor reference.
Impact: task card and master record only.
Refs: .task/feature-dev-shared-executor-switch.md; DM PR #17, #18, #19
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=dc01517de1cfb86abbd26dfb7932023763019d5d.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Record the sync checkpoint
ci / test-pg (pull_request) Successful in 9m58s
ci / test (pull_request) Successful in 8m25s
ci / svc-realcombo (pull_request) Successful in 2m59s
e740d3ca74
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=dc01517de1cfb86abbd26dfb7932023763019d5d; before_record=853df82add985b4c37a04f2cbe0d7052621675d6.

Impact: task metadata only.

Refs: .task/feature-dev-shared-executor-switch.md
weichen added 1 commit 2026-10-17 06:53:24 +00:00
Record the task-sync evidence
ci / svc-realcombo (pull_request) Successful in 2m45s
ci / test (pull_request) Successful in 7m50s
ci / test-pg (pull_request) Successful in 9m34s
19c8b36152
Why: task-sync output must be written to the card by make evidence.
Evidence: make evidence row (SELF).
Impact: task card only.
Refs: .task/feature-dev-shared-executor-switch.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Author
Owner

独立 Review(REPLAY):pi --no-session(fresh_session=true,session id not-observable),对象 base..19c8b36,VERDICT: APPROVE,无阻塞项;非阻塞:本地 pycache 残留(gitignored)、CI 白名单含防御性 development/guidelines 条目、dm_git 可再清除 GIT_CONFIG_*(后续加固)。GATE:run 3532 三项 CI success(head 19c8b36)。task-pr-check PR_CHECK_OK。

独立 Review(REPLAY):pi --no-session(fresh_session=true,session id not-observable),对象 base..19c8b36,VERDICT: APPROVE,无阻塞项;非阻塞:本地 __pycache__ 残留(gitignored)、CI 白名单含防御性 development/guidelines 条目、dm_git 可再清除 GIT_CONFIG_*(后续加固)。GATE:run 3532 三项 CI success(head 19c8b36)。task-pr-check PR_CHECK_OK。
weichen merged commit a5829c271c into main 2026-10-17 07:15:10 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#600