Add docker test image with SSH and headless browser for isolated testing #645

Merged
weichen merged 12 commits from feature/docker-test-image into main 2026-10-20 06:09:52 +00:00
12 Commits
Author SHA1 Message Date
weichen ad81857e81 Fold-close the task card before merge
ci / test (pull_request) Successful in 8m22s
ci / svc-realcombo (pull_request) Successful in 2m21s
ci / test-pg (pull_request) Successful in 11m57s
Why: close the task card inside its own PR so landing it needs no post-merge backfill or separate close PR.
Evidence: .task/feature-docker-test-image.md -> .task/archive/feature-docker-test-image.md; status 已完成(合入前闭合); PR #645 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/645.
Impact: task metadata only; the card is archived within PR #645 and lands with its merge commit.
Refs: task.sh close --self
2026-10-20 05:31:39 +00:00
weichen 944c7e8c37 task: record review pass, CI gate and merge composition for PR 645
Why: host review passed (scope, secrets, Makefile increments only);
CI green on merged HEAD b9c0fc3 after two infra-flake reruns;
composition merged with origin/main d2035c7 and components verified.
Evidence: runs 4357/4360 logs; ci-wait CI_SUCCESS; card records.
Impact: .task metadata only.
Refs: policy/delivery.md
2026-10-20 05:31:38 +00:00
weichen b9c0fc3fa1 Merge origin/main into feature/docker-test-image
ci / test-pg (pull_request) Successful in 9m56s
ci / svc-realcombo (pull_request) Successful in 2m20s
ci / test (pull_request) Successful in 9m54s
Why: delivery policy requires the final candidate to include the
latest authoritative target before review and merge.
Evidence: git merge; conflicts resolved below if any.
Impact: composition update only; component pins unchanged.
Refs: policy/delivery.md
2026-10-20 05:06:58 +00:00
weichen 8e062caf9f task: record run 5 success, apply and authoritative verification
ci / test (pull_request) Successful in 7m52s
ci / svc-realcombo (pull_request) Successful in 3m51s
ci / test-pg (pull_request) Successful in 8m39s
Why: run 5 (antigravity re-verify) returned success with a transport;
host applied it (b59e53de..de3d3aff) and re-ran make image-build /
make image-verify on the applied HEAD, both passing (SELF evidence in
card). R1-R4 acceptance conditions met; CI GATE and review pending.
Evidence: /tmp/docker-image-unit5-receipt.json; evidence blocks in card.
Impact: .task metadata only.
Refs: policy/governance.md
2026-10-20 04:26:57 +00:00
agent-exec-transport de3d3aff28 agent-exec transport a443dca04059a65125557a30f32dfa5c/62ee46d8fdc0 2026-10-20 04:18:27 +00:00
weichen b59e53de78 task: record run 4 reconciliation and redispatch as re-verify run 5
Why: run 4 (antigravity) fully implemented and verified the unit, but a
trailing backend API EOF polluted the result envelope, so the controller
fail-closed without a transport. Host independently re-ran
image verify-env.sh (PASS). Redispatch as a pure re-verify run with
docker layer cache; bound set: if transport mechanics fail again,
return to owner decision instead of looping.
Evidence: /tmp/docker-image-unit4-receipt.json; raw log tail EOF;
verify-env PASS re-run by host.
Impact: .task metadata only.
Refs: AGENT-EXECUTION.md; policy/governance.md
2026-10-20 04:14:17 +00:00
weichen a367dc36fc task: close decision point and log run 4 dispatch
Why: owner approved option 1 - disabled the cursor profile by their
own authority (commit 16776aa) after monthly usage cap exhausted;
dispatch now routes to antigravity (probe ok).
Evidence: AGENT-EXECUTION.md diff in 16776aa; agent-exec validate ok.
Impact: .task metadata only.
Refs: AGENT-EXECUTION.md; policy/delivery.md
2026-10-20 03:43:48 +00:00
weichen 16776aa279 config: disable cursor profile until usage cycle resets
Why: Cursor Ultra monthly usage cap exhausts on every dispatch
(ActionRequiredError); owner approved disabling via option 1 of the
task decision point, keeping antigravity/pi as active candidates.
Evidence: /tmp/docker-image-unit2-receipt.json (failed-unknown,
usage cap); agy probe ok; agent-exec validate ok.
Impact: execution routing only; re-enable enabled: true after 2026-11-10.
Refs: AGENT-EXECUTION.md; .task/feature-docker-test-image.md
2026-10-20 03:43:07 +00:00
weichen 66d9dd284b task: record run 2/3 receipts and routing dead-lock decision point
Why: run 2 failed-unknown on Cursor monthly usage cap (deterministic,
resets 2026-11-10); host attempt to disable the cursor profile was
rejected by pre-commit admit (non-exempt path needs transport
provenance), and the routing change itself requires a successful run,
so the dispatch path is dead-locked pending a human decision.
Evidence: /tmp/docker-image-unit2-receipt.json,
/tmp/docker-image-unit3-receipt.json; agy probe ok, pi backend 529.
Impact: .task metadata only.
Refs: AGENT-EXECUTION.md; policy/delivery.md
2026-10-20 03:31:47 +00:00
weichen b65eb36f6d task: record failed-unknown reconciliation and redispatch for unit
Why: first implementation run (cursor) failed-unknown after repeated
Cursor backend connection stalls; policy requires reconciling unknown
side effects before retry. Reconciliation showed no image built, no
containers left, canonical checkout clean; isolated worktree preserved.
Evidence: /tmp/docker-image-unit1-receipt.json (run 1, failed-unknown);
cursor probe exit 0 after recovery.
Impact: .task metadata only.
Refs: AGENT-EXECUTION.md; policy/governance.md
2026-10-20 03:14:26 +00:00
weichen 4baf2023f0 task: define goal and scope for docker test image card
Why: user requested a Docker test image (system env + SSH + headless
browser) for isolated container-based testing; card records the
authorized boundary, requirements R1-R4 and the unit plan before
dispatching the bounded implementation unit.
Evidence: triage NEW receipt /tmp/docker-image-triage.json; startup
precheck READY at R0=162c5a0160 (SELF, in-card).
Impact: .task metadata only; no code behavior change.
Refs: policy/delivery.md; AGENT-EXECUTION.md
2026-10-20 02:49:24 +00:00
weichen 2aa17fc48c Record the task card for feature-docker-test-image
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-docker-test-image.md; R0=162c5a0160955989608f325b4be30458e3717d16.

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

Refs: .task/feature-docker-test-image.md
2026-10-20 02:39:22 +00:00