Reclaim own port holders before agent start and install #456

Merged
weichen merged 4 commits from fix/svc-reclaim-own-port into main 2026-10-12 09:01:00 +00:00
4 Commits
Author SHA1 Message Date
weichenandCursor 8ca5b87b1e Record governance evidence after sync
ci / test-pg (pull_request) Successful in 1m41s
ci / test (pull_request) Failing after 2m41s
Why: task-sync warned prior receipt predates non-card changes.
Evidence: make test-governance receipt /tmp/svc-reclaim-governance2.json exit=0
Impact: Task card SELF evidence aligned with tested_head
Refs: fix/svc-reclaim-own-port
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 08:59:16 +00:00
weichen 881ae5d0a3 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=8504b88ace66d709f27339887d6d9ecff610f77c; candidate=7c608b6afee39d547ad62013f31d2e2c80a3d047.

Impact: task metadata only.

Refs: .task/fix-svc-reclaim-own-port.md
2026-10-12 08:57:33 +00:00
weichenandCursor 7c608b6afe Reclaim own port holders before agent start and install
Why: genui update cleared svc.pid without killing the process, then
overwrote the binary and failed start with a false "non-ours" port error.
Evidence: make test-governance (receipt /tmp/svc-reclaim-governance.json)
Impact: reclaim_own_port walks ss listener ancestry; stop/check_port/install
wire it; orphans matching pidcheck are stopped, foreign occupants still refused
Refs: fix/svc-reclaim-own-port

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 08:57:04 +00:00
weichen 72758de48e Record the task card for fix-svc-reclaim-own-port
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/fix-svc-reclaim-own-port.md; R0=8504b88ace66d709f27339887d6d9ecff610f77c.

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

Refs: .task/fix-svc-reclaim-own-port.md
2026-10-12 08:52:15 +00:00