Require RDM companion UI and source-switch gate in svc.sh #450

Merged
weichen merged 8 commits from feature/svc-rdm-ui-gate into main 2026-10-12 11:37:49 +00:00
Owner

Summary

  • RDM agent deploy auto-starts companion <name>web; fail with ui-missing if workbench missing
  • Post-deploy UI HTTP 200 probe by source kind; --allow-source-switch for cross-kind redeploy
  • Fix static first-start pidcheck race; test_svc stub ppid watch to stop port leaks

Test plan

  • make test-governance (200 ok / 1 skipped; SELF evidence in task card)
  • Ops: devweb serving runtime/dev/htdocs on 8853 (plan A)

Refs

.task/feature-svc-rdm-ui-gate.md

## Summary - RDM agent deploy auto-starts companion `<name>web`; fail with `ui-missing` if workbench missing - Post-deploy UI HTTP 200 probe by source kind; `--allow-source-switch` for cross-kind redeploy - Fix static first-start pidcheck race; test_svc stub ppid watch to stop port leaks ## Test plan - [x] `make test-governance` (200 ok / 1 skipped; SELF evidence in task card) - [x] Ops: `devweb` serving `runtime/dev/htdocs` on 8853 (plan A) ## Refs `.task/feature-svc-rdm-ui-gate.md`
weichen added 6 commits 2026-10-12 08:06:32 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-svc-rdm-ui-gate.md; R0=0d224ffcab82cab7def2c0b0cc36d2e6d02ce3dd.

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

Refs: .task/feature-svc-rdm-ui-gate.md
Why: RDM agent deploy left workbench htdocs unserved (prompt-only), so
environments like dev silently offered API-only 404 pages after a source
switch; static first-start also misclassified http.server as dead when
pidcheck was unset.
Evidence: CMD="make test-governance" make evidence (200 ok, 1 skipped; SELF).
Impact: rdm deploy auto-starts <name>web and asserts UI 200; cross-kind
redeploy needs --allow-source-switch; list/info flag missing workbench.
Refs: .task/feature-svc-rdm-ui-gate.md; docs/svc.md §5.4

Co-authored-by: Cursor <cursoragent@cursor.com>
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=0d224ffcab82cab7def2c0b0cc36d2e6d02ce3dd; candidate=1032bb4bc945413291dad1dec8489e01e5133a9f.

Impact: task metadata only.

Refs: .task/feature-svc-rdm-ui-gate.md
Why: the agent stub left python http.server children when tearDown
SIGKILL'd the bash parent, leaking ports 1880x into recover/identity
suites that share the same range.
Evidence: local suite re-run pending after this fix.
Impact: stub HTTP child exits when ppid changes (same as recover stub).
Refs: .task/feature-svc-rdm-ui-gate.md

Co-authored-by: Cursor <cursoragent@cursor.com>
Why: Capture make test-governance on clean HEAD after companion/UI
gates and stub orphan fix (SELF evidence for the task card).
Evidence: CMD="make test-governance" make evidence → 200 ok, 1 skipped.
Impact: Task card evidence table updated; no runtime behavior change.
Refs: .task/feature-svc-rdm-ui-gate.md

Co-authored-by: Cursor <cursoragent@cursor.com>
Record the sync checkpoint
ci / test-pg (pull_request) Successful in 1m32s
ci / test (pull_request) Successful in 3m16s
166a051594
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=0d224ffcab82cab7def2c0b0cc36d2e6d02ce3dd; candidate=fd4dd104b189ba9f8548ab55222a11d07cdc57c0.

Impact: task metadata only.

Refs: .task/feature-svc-rdm-ui-gate.md
weichen added 1 commit 2026-10-12 08:06:39 +00:00
Link PR #450 in the svc RDM UI gate task card
ci / test (pull_request) Failing after 1m45s
ci / test-pg (pull_request) Successful in 2m27s
007c2ccc0c
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-12 11:15:15 +00:00
Merge authoritative main into the task branch
ci / test-pg (pull_request) Successful in 1m25s
ci / test (pull_request) Successful in 3m21s
7e5cf55311
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=c6fefa3435dc5d9524fc35483f1d34fa1a6e0d59.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync

# Conflicts:
#	tests/test_svc.py
Author
Owner

协调推进(2026-10-12 11:2x):分支自 08:36 起停在陈旧基底(CI 失败为 #456 时代的 runner 无 ss 问题,main 已由 #457 修复),mergeable=false 阻塞下游 U9/U1/U3。已代为 task-sync 合入最新 main(merge 7e5cf55;tests/test_svc.py 冲突按并集解决——保留本分支的 urllib.error import),CI 重验后如绿将合入。如原会话仍在推进请在此说明。

协调推进(2026-10-12 11:2x):分支自 08:36 起停在陈旧基底(CI 失败为 #456 时代的 runner 无 ss 问题,main 已由 #457 修复),mergeable=false 阻塞下游 U9/U1/U3。已代为 task-sync 合入最新 main(merge 7e5cf55;tests/test_svc.py 冲突按并集解决——保留本分支的 urllib.error import),CI 重验后如绿将合入。如原会话仍在推进请在此说明。
weichen merged commit 2c6a6573e9 into main 2026-10-12 11:37:49 +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#450