Commit Graph
2508 Commits
Author SHA1 Message Date
weichen 9084e995e1 Save the final planning observations and review state
Why: preserve current source and service snapshots before final verification.

Evidence: SELF task-sync and read-only runtime receipts in the task card.

Impact: planning metadata only; no runtime or account changes.

Refs: account r2; recovery r3
2026-10-12 10:18:44 +00:00
weichen 576a8011ee Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=d6d46fde6d903d0d8e37440d830fb5183d6ef5e9; candidate=6db8d411f7cea7be82872e617c6387ff9496c126.

Impact: task metadata only.

Refs: .task/feature-svc-account-durability-plan.md
2026-10-12 10:11:17 +00:00
weichen 6db8d411f7 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=d6d46fde6d903d0d8e37440d830fb5183d6ef5e9.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 10:10:49 +00:00
weichen 8a29e40d0d Record the account and recovery plan review
Why: preserve evidence, current contracts and the next review scope without changing the running system.

Evidence: SELF startup, sync and document validation receipts in the task card; runtime and fault acceptance NOT_RUN.

Impact: task metadata, planning index and account specifications only; component pins and business code unchanged.

Refs: feature/svc-account-durability-plan; Documents account r2 and recovery r3
2026-10-12 10:10:29 +00:00
weichen d6d46fde6d Merge pull request 'Close merged task cards (feature/card-close-20261012-095620Z)' (#459) from feature/card-close-20261012-095620Z into main
ci / test-pg (push) Successful in 1m43s
ci / test (push) Successful in 3m28s
2026-10-12 09:57:34 +00:00
weichen a73392f7b7 Close 2 merged task card(s) and archive them
ci / test-pg (pull_request) Successful in 1m39s
ci / test (pull_request) Successful in 3m29s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-pin-documents-rdm-plan-r1.md(PR#458) fix-svc-reclaim-own-port.md(PR#456) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-12 09:56:20 +00:00
weichen cfa3836af6 Merge pull request 'Pin documents to RDM function plan r1' (#458) from feature/pin-documents-rdm-plan-r1 into main
ci / test-pg (push) Successful in 1m36s
ci / test (push) Successful in 3m26s
2026-10-12 09:55:17 +00:00
weichen 47410351c7 Record post-sync combo test evidence
ci / test-pg (pull_request) Successful in 1m32s
ci / test (pull_request) Successful in 3m11s
2026-10-12 09:51:45 +00:00
weichen 2b8512c1f4 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=226a4af15791b8100528c9d9a31c68a32c4781d1; candidate=7428ba2c4ad22cde3e58b2ba2ce88f291b712da6.

Impact: task metadata only.

Refs: .task/feature-pin-documents-rdm-plan-r1.md
2026-10-12 09:48:23 +00:00
weichen 7428ba2c4a Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=226a4af15791b8100528c9d9a31c68a32c4781d1.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 09:48:02 +00:00
weichen 226a4af157 Reset per-service runtime state in svc.sh env_config (#457)
ci / test-pg (push) Successful in 2m23s
ci / test (push) Successful in 3m29s
Reset per-service runtime state in svc.sh env_config (#457)
2026-10-12 09:39:30 +00:00
weichenandCursor 20a4733152 Treat zombie PIDs as dead in batch update regression
ci / test-pg (pull_request) Successful in 1m43s
ci / test (pull_request) Successful in 3m29s
Why: CI containers leave unreaped zombies; os.kill(0) still succeeds
and falsely failed the old-process-stopped assertion.

Evidence: local unittest of the batch update case.

Impact: assertion matches svc.sh/recover zombie semantics.

Refs: .task/feature-svc-pidcheck-leak.md; PR #457
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 09:35:27 +00:00
weichen d352172d5d Record task-sync evidence
ci / test (pull_request) Failing after 1m48s
ci / test-pg (pull_request) Successful in 2m29s
2026-10-12 09:35:11 +00:00
weichen afe0257ef6 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=2723e452440fc11022c0f6d916cd34cc4cd17335; candidate=c83ac9e4d46f1d9c1c236f98c1882a55688889cd.

Impact: task metadata only.

Refs: .task/feature-pin-documents-rdm-plan-r1.md
2026-10-12 09:35:10 +00:00
weichen c83ac9e4d4 Record combo test evidence for documents pin 2026-10-12 09:34:46 +00:00
weichen f699b7851c Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=2723e452440fc11022c0f6d916cd34cc4cd17335; candidate=c7364ed97152d3107f585215468c1a70aa340918.

Impact: task metadata only.

Refs: .task/feature-svc-pidcheck-leak.md
2026-10-12 09:33:19 +00:00
weichenandCursor c7364ed971 Skip reclaim attribution tests when ss cannot report PIDs
ci / test-pg (pull_request) Successful in 1m38s
ci / test (pull_request) Failing after 1m45s
Why: CI runners without ss -ltnp pid= attribution fail #456 reclaim
tests with "未能识别占用者", blocking unrelated merges.

Evidence: local unittest of reclaim + foreign-port + batch update cases.

Impact: reclaim tests skip without ss; foreign-port accepts either
attribution or unattributable refusal. Batch pidcheck fix unchanged.

Refs: .task/feature-svc-pidcheck-leak.md; PR #457
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 09:32:50 +00:00
weichen 26f2045e33 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=2723e452440fc11022c0f6d916cd34cc4cd17335; candidate=9f162f043d7cb6acede3082a41ef3f2c5fe9891a.

Impact: task metadata only.

Refs: .task/feature-svc-account-durability-plan.md
2026-10-12 09:32:15 +00:00
weichen 832cdf8a92 Pin documents to RDM function plan r1
Why: Documents PR #85 合入方案 r1(功能/实现矩阵 + U1-U9 工作包),Dev 工作区需消费该文档入口。
Evidence: modules/documents 8d0810b→1048e7c(Merge PR #85);组合验证见任务卡 make test 证据行。
Impact: 仅 gitlink;无代码行为变化。
Refs: Agent-System-Documents#85
2026-10-12 09:31:23 +00:00
weichen 9f162f043d Record the task card for feature-svc-account-durability-plan
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-svc-account-durability-plan.md; R0=2723e452440fc11022c0f6d916cd34cc4cd17335.

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

Refs: .task/feature-svc-account-durability-plan.md
2026-10-12 09:31:13 +00:00
weichen 5e57a9e2e2 Record the task card for feature-pin-documents-rdm-plan-r1
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-pin-documents-rdm-plan-r1.md; R0=2723e452440fc11022c0f6d916cd34cc4cd17335.

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

Refs: .task/feature-pin-documents-rdm-plan-r1.md
2026-10-12 09:30:21 +00:00
weichenandCursor 7f120d8c32 Record PR #457 link on task card
ci / test-pg (pull_request) Successful in 1m39s
ci / test (pull_request) Failing after 1m43s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 09:29:32 +00:00
weichen dc9ff87844 Record the sync checkpoint
ci / test-pg (pull_request) Successful in 1m37s
ci / test (pull_request) Failing after 1m44s
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=2723e452440fc11022c0f6d916cd34cc4cd17335; candidate=83c4ee2430b841e537178f2cbdfe0b0ec9462730.

Impact: task metadata only.

Refs: .task/feature-svc-pidcheck-leak.md
2026-10-12 09:28:24 +00:00
weichenandCursor 83c4ee2430 Record governance evidence for svc-pidcheck-leak
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 09:26:24 +00:00
weichen 3dfd73343c Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=2723e452440fc11022c0f6d916cd34cc4cd17335; candidate=442251c35ea169633cc03d88d3426083d5e80fef.

Impact: task metadata only.

Refs: .task/feature-svc-pidcheck-leak.md
2026-10-12 09:26:08 +00:00
weichenandCursor 442251c35e Reset per-service runtime state in svc.sh env_config
Why: Batch update --all left SVC_PIDCHECK from the prior service in
memory, so pid_alive/reclaim_own_port misclassified the next service's
process as dead/foreign, deleted svc.pid, and failed start on a still-
occupied port (genui/rdm1/rdmcand after successful dev).

Evidence: make test-governance (SELF; receipt /tmp/svc-pidcheck-gov.json);
new test_batch_update_stops_second_service_despite_prior_pidcheck +
SVC_PIDCHECK ratchet in test_svc_precheck.

Impact: env_config clears SVC_PIDCHECK/EXEC/VERSION/SOURCE per service;
batch update correctly stops and restarts each agent. After merge:
restore genui/rdm1/rdmcand and move rdmcand to its own data dir.

Refs: .task/feature-svc-pidcheck-leak.md; complements #456 reclaim_own_port
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 09:25:33 +00:00
weichen ab5f945c1c Record the task card for feature-svc-pidcheck-leak
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-svc-pidcheck-leak.md; R0=2723e452440fc11022c0f6d916cd34cc4cd17335.

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

Refs: .task/feature-svc-pidcheck-leak.md
2026-10-12 09:22:05 +00:00
weichen 2723e45244 Merge pull request 'Reclaim own port holders before agent start and install' (#456) from fix/svc-reclaim-own-port into main
ci / test-pg (push) Successful in 1m39s
ci / test (push) Failing after 2m13s
Reviewed-on: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/456
2026-10-12 09:01:00 +00:00
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
weichen 8504b88ace Merge pull request 'Close merged task card fix/svc-static-pidcheck-fresh-start' (#455) from feature/card-close-20261012-static-pidcheck into main
ci / test-pg (push) Successful in 1m37s
ci / test (push) Successful in 3m18s
2026-10-12 08:46:09 +00:00
weichenandCursor 137a70234c Close 1 merged task card(s) and archive them
ci / test-pg (pull_request) Successful in 1m55s
ci / test (pull_request) Successful in 4m13s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: fix-svc-static-pidcheck-fresh-start.md(PR#453) — merge 4c5dd3d on origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 08:41:40 +00:00
weichen 4c5dd3d6df Fix static fresh-start pidcheck so health loop stays alive (#453)
ci / test-pg (push) Successful in 1m43s
ci / test (push) Successful in 3m36s
2026-10-12 08:40:33 +00:00
weichenandCursor 345630e3d0 Record sync and post-fix evidence on task card
ci / test-pg (pull_request) Successful in 1m42s
ci / test (pull_request) Successful in 3m43s
Why: Refresh SELF receipts after the fix commit for delivery gates.
Evidence: make task-sync; unittest static fresh deploy case exit 0
Impact: Task card only.
Refs: fix/svc-static-pidcheck-fresh-start
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 08:36:11 +00:00
weichen 797f21ca3c Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

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

Impact: task metadata only.

Refs: .task/fix-svc-static-pidcheck-fresh-start.md
2026-10-12 08:36:09 +00:00
weichenandCursor 6056838b48 Fix static fresh-start pidcheck so health loop stays alive
Why: write_static_reg omitted pidcheck and pid_alive ignored in-memory
SVC_PIDCHECK, so first-boot curl probes fell back to agent-system and
misread python http.server as exited.
Evidence: python3 -m unittest tests.test_svc -v (17/17, new static case)
Impact: Static --dir deploy survives the pre-record_state health loop.
Refs: fix/svc-static-pidcheck-fresh-start

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 08:35:44 +00:00
weichen b04eb0de7e Record the task card for fix-svc-static-pidcheck-fresh-start
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/fix-svc-static-pidcheck-fresh-start.md; R0=0d224ffcab82cab7def2c0b0cc36d2e6d02ce3dd.

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

Refs: .task/fix-svc-static-pidcheck-fresh-start.md
2026-10-12 08:34:16 +00:00
weichen 0d224ffcab Merge pull request 'Document RDM combo cutover for audit capability' (#448) from feature/rdm-audit-combo-integration into main
ci / test-pg (push) Successful in 1m44s
ci / test (push) Successful in 3m53s
Reviewed-on: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/448
2026-10-12 07:05:20 +00:00
weichen def32ccb68 Merge pull request 'Pin documents collab storage plan r2 after U1-U7' (#446) from feature/u7-capacity-wrap-measure into main
ci / test-pg (push) Successful in 1m49s
ci / test (push) Successful in 4m6s
2026-10-12 07:05:05 +00:00
weichen d5acb8e6d3 Record the sync checkpoint
ci / test-pg (pull_request) Successful in 1m53s
ci / test (pull_request) Successful in 3m45s
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=8c1edbebece8212ec8c0cd9e646b4b0592b1503d; candidate=bc1669918b4049ef47b57d35486fe41688cf6063.

Impact: task metadata only.

Refs: .task/feature-u7-capacity-wrap-measure.md
2026-10-12 07:04:48 +00:00
weichen bc1669918b Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=8c1edbebece8212ec8c0cd9e646b4b0592b1503d.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 07:04:25 +00:00
weichenandCursor 3241df26c3 Record PR link and ladder capacity evidence
Why: Stage A PR is open; ladder contract+dual-instance window finished green.
Evidence: SELF verify of results/20261012-064730 thresholds/SSE/invariants.
Impact: Task card tracks PR #446 and B2/B5/C2 ladder SELF pass.
Refs: Dev #446; docs/release-multi-instance.md B2/B5/C2
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 07:04:23 +00:00
weichenandCursor 7962cadeec Point the task card at Dev PR #448
ci / test-pg (pull_request) Successful in 1m34s
ci / test (pull_request) Successful in 3m15s
Why: Record the primary delivery link after opening the docs/runbook PR.
Evidence: Gitea PR #448 created (mergeable).
Impact: task card header only.
Refs: pulls/448
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 07:02:08 +00:00
weichen 05c83849f5 Record the sync checkpoint
ci / test-pg (pull_request) Successful in 1m31s
ci / test (pull_request) Successful in 3m35s
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=8c1edbebece8212ec8c0cd9e646b4b0592b1503d; candidate=8c4752b7f7627944505969b801f0082f37a5dc80.

Impact: task metadata only.

Refs: .task/feature-rdm-audit-combo-integration.md
2026-10-12 06:59:20 +00:00
weichen 8c4752b7f7 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=8c1edbebece8212ec8c0cd9e646b4b0592b1503d.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 06:58:55 +00:00
weichenandCursor 81b7d60be5 Document RDM combo cutover for audit capability
Why: After capability gate hid 追溯审计 on plain base, the shared dev
entry needs a pinned RDM combo and a candidate-then-cutover runbook.
Evidence: RDM #250 (310c3fe) pins to Dev main; candidate+cutover R1–R5
SELF receipts imported; FE preview showed audit entry on :8788.
Impact: docs/svc.md §5.4.1; local runtime/dev is rdm@310c3fe (ops, not
in git). Owner password was reset via recover key during verification.
Refs: feature/rdm-audit-combo-integration; RDM pulls/250

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 06:58:53 +00:00
weichen 8c1edbebec Close merged task card fix/material-intake-lifecycle-flake (#447)
ci / test-pg (push) Successful in 2m18s
ci / test (push) Successful in 3m51s
2026-10-12 06:56:29 +00:00
weichen 5ac8459736 Close 1 merged task card(s) and archive them
ci / test-pg (pull_request) Successful in 1m44s
ci / test (pull_request) Successful in 3m55s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: fix-material-intake-lifecycle-flake.md(already-complete) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-12 06:52:17 +00:00