Commit Graph
371 Commits
Author SHA1 Message Date
weichen 2c8e1b8d57 Merge pull request 'Deliver file previews, dual-dock placement, and reserved delete/fs capabilities' (#94) from feature/file-preview-caps into main
ci / test (push) Failing after 1m35s
2026-09-30 17:21:30 +00:00
weichen f958bfb326 Pin the preview-capability module combination
ci / test (pull_request) Failing after 1m35s
2026-09-30 17:20:41 +00:00
weichen b526b1fd21 Record the sync checkpoint 2026-09-30 17:19:17 +00:00
weichen 4eec51a954 Merge remote-tracking branch 'origin/main' into feature/file-preview-caps 2026-09-30 17:19:17 +00:00
weichen 978dc80817 Merge pull request 'Close merged task cards (feature/card-close-20260930-171823Z)' (#93) from feature/card-close-20260930-171823Z into main
ci / test (push) Failing after 31s
2026-09-30 17:18:38 +00:00
weichen 792c24f1cc Point the task gitlinks at the preview-capability branches 2026-09-30 17:18:28 +00:00
weichen 52aff57799 Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 30s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: fix-followup-hardening.md(PR#92) — 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-09-30 17:18:23 +00:00
weichen 8d0b80adac Fill the task card results with verification evidence 2026-09-30 17:18:20 +00:00
weichen 457f3169ca Record the task card for feature-file-preview-caps 2026-09-30 17:18:20 +00:00
weichen 5005ce6dad Merge pull request 'Harden task.sh and pin backend/core gitlinks past module-level advisories' (#92) from fix/followup-hardening into main
ci / test (push) Failing after 31s
2026-09-30 17:18:07 +00:00
weichen 7e657c4b47 Record the sync checkpoint
ci / test (pull_request) Failing after 1m31s
2026-09-30 17:17:46 +00:00
weichen dcb5bc0f72 Merge remote-tracking branch 'origin/main' into fix/followup-hardening 2026-09-30 17:17:46 +00:00
weichen 1381b826ec Pin backend and core gitlinks and record follow-up hardening
Why: two strands land together — (1) the remaining 20 module-level govulncheck advisories against x/crypto v0.37.0 clear to the upstream floor via Backend#25 (19 fixed, GO-2026-5932 unfixed upstream); (2) backend main (daddac8) and core main (cafd9a5) from the parallel cardflow merge were not yet pinned, and backend main no longer built against the Dev-pinned core — pinning the coherent pair keeps main verifiable.
Evidence: combined make test exit 0 at backend daddac8 + core cafd9a5 (backend packages ok, frontend 33/33, ui 37/37, agentcmd ok); backend go test green and govulncheck 0 affected / 0 import-level / 1 module-level; task.sh hardening smoke-verified (drift measurement, identity probe, abandon cleanup all PASS).
Impact: two gitlink pins + task card; no Dev-repo source change; remote branch hygiene (55 merged branches deleted) and global git identity were environment fixes outside the repo.
Refs: .task/fix-followup-hardening.md, Backend PR #25
2026-09-30 17:16:28 +00:00
weichen bb7f541d42 Merge pull request 'Close the cardflow-r1 task card (module PRs and Dev PR #90 merged)' (#91) from feature/card-close-20260930-171605Z into main
ci / test (push) Failing after 1m31s
2026-09-30 17:16:21 +00:00
weichen 49b9c87bdf Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 1m37s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-cardflow-r1.md(PR#90) — 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-09-30 17:16:05 +00:00
weichen 75d5a1721e Merge pull request 'Pin cardflow-r1 module combination (CF1: submit_card, card anchor, process split)' (#90) from feature/cardflow-r1 into main
ci / test (push) Failing after 1m38s
2026-09-30 17:14:49 +00:00
weichen 9451887c05 Pin cardflow-r1 gitlinks to merged module mains and record PR chain
ci / test (pull_request) Failing after 1m34s
Why: cardflow-r1 组合收尾——五模块 PR 已合入,Dev 指针改钉合入后 main tip(core cafd9a5/documents cb700cf/ui efd87f9/backend 076abfe/frontend 6752b78);任务卡回填 PR 链与自动化缺陷修复记录(死主机 API 基址、compare status 字段不存在)。
Evidence: Dev worktree make test 退出码 0(core/backend ok、frontend 33/33、ui 41/41、agent-command ok)。
Impact: 仅子模块指针 + 任务卡。
Refs: 任务卡 feature/cardflow-r1。
2026-09-30 17:14:33 +00:00
weichen cedf558a18 Merge remote-tracking branch 'origin/main' into feature/cardflow-r1
# Conflicts:
#	modules/backend
#	modules/frontend
#	modules/ui
2026-09-30 17:13:21 +00:00
weichen aeb9a6a8ea Harden task.sh materialization check and close push retry
Why: two recurring papercuts from 2026-09-30 sessions — (1) task-start treated a zero-exit submodule update as complete, but a worktree could still carry 12 drifted/uninitialized nested submodules that only surfaced at build time; (2) close ran a single git push, so a tunnel hiccup left the card-close branch unpushed and the auto-PR never created (hand-patched twice that day).
Evidence: bash -n clean; smoke start of a throwaway task measured nested drift count explicitly and abandon-path finish recycled worktree and branch cleanly (both PASS); fresh-clone commit identity probe also PASS after setting the global identity outside this repo.
Impact: scripts/task.sh cmd_start (+3-line status check) and cmd_close (one retry on push); no interface change.
Refs: .task/fix-followup-hardening.md
2026-09-30 17:11:40 +00:00
weichen 9269986bfe Record the task card for fix-followup-hardening 2026-09-30 16:58:24 +00:00
weichen 48c3da846f Merge pull request 'Close merged task cards (feature/card-close-20260930-165106Z)' (#89) from feature/card-close-20260930-165106Z into main
ci / test (push) Failing after 1m34s
2026-09-30 16:51:23 +00:00
weichen f7af14bc1c Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 17m12s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: fix-dep-vuln-bumps.md(PR#88) — 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-09-30 16:51:06 +00:00
weichen 0a6ef8b986 Merge pull request 'Pin backend, frontend, and ui gitlinks past reachable security advisories' (#88) from fix/dep-vuln-bumps into main
ci / test (push) Failing after 17m13s
2026-09-30 16:50:21 +00:00
weichen 20850ac220 Record the sync checkpoint
ci / test (pull_request) Failing after 1m31s
2026-09-30 16:49:57 +00:00
weichen 21a92441dc Merge remote-tracking branch 'origin/main' into fix/dep-vuln-bumps 2026-09-30 16:49:57 +00:00
weichen 641dc6e159 Pin backend, frontend, and ui gitlinks past reachable security advisories
Why: dependency CVE inventory follow-up — backend govulncheck had two reachable vulnerabilities (GO-2026-5004 pgx SQL injection via placeholder confusion, GO-2026-5970 x/text infinite loop via pgx.Connect) and frontend/ui npm audit flagged GHSA-82fw-gwwq-j7x9 (vitest mocker path traversal); all fixed by version bumps merged in the respective repos (Backend#23, Frontend#19, UI#18).
Evidence: gitlinks pinned to backend 41cebd3, frontend af03854, ui daf73be; combined verification make test exit 0 (backend packages ok, frontend 33/33, ui 37/37, agentcmd ok); backend govulncheck now reports 0 reachable (was 2), both frontend repos npm audit clean (was 2 moderate each).
Impact: three gitlink pins + task card only; no Dev-repo source change; vitest stays on 4.1.11 (first fixed release) rather than 5.x.
Refs: .task/fix-dep-vuln-bumps.md
2026-09-30 16:49:56 +00:00
weichen 9f2a7fb4b8 Merge pull request 'Close merged task cards (feature/card-close-20260930-164842Z)' (#87) from feature/card-close-20260930-164842Z into main
ci / test (push) Failing after 1m33s
2026-09-30 16:49:16 +00:00
weichen 1539325b2d Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 1m35s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: fix-close-pr-retry.md(PR#86) — 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-09-30 16:48:42 +00:00
weichen 432f0d2eeb Merge pull request 'Retry card-close PR creation instead of failing silently' (#86) from fix/close-pr-retry into main
ci / test (push) Failing after 17m9s
2026-09-30 16:48:29 +00:00
weichen 4601e5b407 Record the sync checkpoint
ci / test (pull_request) Failing after 1m33s
2026-09-30 16:47:54 +00:00
weichen 888aa9471c Retry card-close PR creation instead of failing silently
Why: cmd_close posted the PR with a single curl wrapped in
2>/dev/null || true, so any transient TLS/timeout on the git-home
HTTPS surface left the card-close branch pushed with no PR and no
diagnostics; this hit three times on 2026-09-30 and each needed a
manual API call to recover.

Evidence: bash -n clean; stub-server harness running the block
verbatim (sed-extracted from this file, executed inside the worktree
branch context): ok mode recovers the PR URL on first POST; exists
mode (POST always 500) retries 4x with visible stderr then recovers
the pre-existing open PR via GET ?state=open matching head ref;
fail mode against the retired git-panel host shows four visible
retry notices and falls through to the existing [next] hint.

Impact: scripts/task.sh cmd_close only; precheck/start/sync/finish
untouched; card-close merge authority unchanged (owner merges).
post-merge hook and task-finish auto-close inherit the fix through
the same function.

Refs: task card fix-close-pr-retry
2026-09-30 16:47:53 +00:00
weichen d7f01abe0d Rebuild Dev branch: pin cardflow-r1 module tips on fresh main with final task card
Why: main 二次演进(任务1 合入 PR #79、gitlink 修复)后,旧 Dev 分支整体过时——重建为 main + 五模块卡流 tip + 终版任务卡。
Evidence: 五模块 tip 均已推送(core a64fb5a / backend 1c4b198 / frontend b329de3 / ui 9750395 / documents 7e123e5);make test 全绿(frontend 33/33、ui 41/41、backend 全 ok)。
Impact: 指针 + 任务卡;旧 Dev 分支提交由 force push 取代。
Refs: feature/cardflow-r1。
2026-09-30 16:45:59 +00:00
weichen c974ea7d69 Record the task card for fix-dep-vuln-bumps 2026-09-30 16:43:31 +00:00
weichen 217bab4227 Record the task card for fix-close-pr-retry 2026-09-30 16:41:35 +00:00
weichen 0b0540e2d2 Merge pull request 'Close merged task cards (feature/card-close-20260930-163901Z)' (#85) from feature/card-close-20260930-163901Z into main
ci / test (push) Failing after 1m54s
2026-09-30 16:39:14 +00:00
weichen caa47659fd Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 1m33s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: fix-blobstore-id-hardening.md(PR#84) — 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-09-30 16:39:01 +00:00
weichen a9f7685c09 Merge pull request 'Pin backend gitlink to the blobstore id validation fix' (#84) from fix/blobstore-id-hardening into main
ci / test (push) Failing after 1m54s
2026-09-30 16:38:48 +00:00
weichen ac0f565930 Record the sync checkpoint
ci / test (pull_request) Failing after 30s
2026-09-30 16:38:22 +00:00
weichen 290b9bbd26 Merge remote-tracking branch 'origin/main' into fix/blobstore-id-hardening 2026-09-30 16:38:22 +00:00
weichen a612361b98 Merge pull request 'Close the branch-hierarchy-clause task card (PR #82 merged)' (#83) from feature/card-close-20260930-163558Z into main
ci / test (push) Failing after 1m31s
2026-09-30 16:37:20 +00:00
weichen 760398156c Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 1m34s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-branch-hierarchy-clause.md(PR#82) — 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-09-30 16:35:58 +00:00
weichen aa87dcff82 Merge pull request 'Make the stacked-branch exception explicit in AGENTS.md' (#82) from feature/branch-hierarchy-clause into main
ci / test (push) Failing after 1m57s
2026-09-30 16:35:35 +00:00
weichen 9bd9ea8f1c Record the sync checkpoint
ci / test (pull_request) Failing after 1m37s
2026-09-30 16:35:09 +00:00
weichen 9e213a89c3 Merge remote-tracking branch 'origin/main' into feature/branch-hierarchy-clause 2026-09-30 16:35:09 +00:00
weichen 5194da2119 Make the stacked-branch exception explicit in AGENTS.md
Why: worktree feature branches occasionally spawned child branches
(e.g. backend feature/cross-session-reading-1-gcb7f79d) outside the
task-start gate; collaboration.md conditionally allows stacked branches
but the Dev entry never said so, leaving stacking as an automation
blind spot with ad-hoc sha-embedded names.

Evidence: collaboration.md common-baseline section states the stacking
exception verbatim; historical numbered branches are all already merged
into main (origin/main..branch empty); precheck READY at R0=7d45719869.

Impact: AGENTS.md only. Default stays single-level branches from
origin/main with sibling branches for batch subtasks; stacking requires
recording the parent task/PR in the card, child naming without embedded
SHAs, parent-before-child merge order, and a sync back onto latest main
with PR base retargeted before merge (branch protection enforces this).

Refs: task card feature-branch-hierarchy-clause
2026-09-30 16:35:09 +00:00
weichen cc2f0b2e19 Merge pull request 'Pin submodule pointers to their remote mains' (#81) from feature/pin-submodules-20260930 into main
ci / test (push) Failing after 1m34s
2026-09-30 16:34:17 +00:00
weichen ee25cc3a02 Record the task card for feature-branch-hierarchy-clause 2026-09-30 16:34:07 +00:00
weichen 4bf572d66a Pin submodule pointers to their remote mains
ci / test (pull_request) Failing after 1m33s
Why: Dev gitlinks lagged behind merged module mains (backend fa494c3,
frontend b067b57, documents f0361f38, plus deps advances); the integrated
build should track each repo's main.

Evidence: make pin advanced all listed submodules; make test exit 0
(frontend 33/33, ui 37/37, backend go test all ok, agent-command ok).

Impact: gitlink bumps only, no source changes.

Refs: housekeeping after chat-process-split-r1 (PR #79)
2026-09-30 16:34:06 +00:00
weichen 7a65410cec Pin backend gitlink to the blobstore id validation fix
Why: the 2026-09-30 deep security scan triage left one actionable finding: backend Local.Put joined the HTTP-supplied artifact id into the store directory unsanitized (reachable via UpdateArtifactContent path parameter), and Get/Delete took stored refs unvalidated. Backend PR #22 adds validID on Put plus a directory-containment check on Get/Delete with unit tests.
Evidence: backend go vet ./... and go test -count=1 ./... pass (3 new blobstore test groups green); Dev make test combined verification exit 0 across core+backend+frontend+ui+agentcmd (log tail shows test-ui 37/37, agentcmd ok); gitlink pinned to backend main f98dc1d after confirming it already contains the chat-process pointer 76d64a1 (no regression).
Impact: modules/backend gitlink only (+task card); no Dev-repo code change.
Refs: .task/fix-blobstore-id-hardening.md, backend PR #22
2026-09-30 16:34:01 +00:00
weichen cf34cf93fa Record the task card for fix-blobstore-id-hardening 2026-09-30 16:28:31 +00:00