Commit Graph
78 Commits
Author SHA1 Message Date
weichen e1bf68d414 Merge pull request 'Close merged task cards and add autoclose wiring (task.sh close, post-merge hook)' (#16) from feature/card-autoclose-r1 into main
ci / test (push) Failing after 1m58s
2026-09-30 07:21:41 +00:00
weichen e5d9459c53 Record the merge-execution authorization and align card wording
ci / test (pull_request) Failing after 1m38s
Why: the owner authorized the agent to create and merge this PR end to end (2026-09-30), and the goal section still said "chore branch" while the implementation uses feature/card-close-*.
Evidence: user instruction quoted verbatim in the authorization field; branch naming per task.sh close.
Impact: task card only.
Refs: task card feature/card-autoclose-r1
2026-09-30 07:18:13 +00:00
weichen e4ae0c7a99 Record verification evidence in the task card
Why: the completion claim must carry precheck/task-sync/test evidence per AGENTS.md before review.
Evidence: temp-repo matrix 33/33 PASS; dogfood closed 11 real cards; make test PASS (core ok, backend 13 pkgs ok, frontend 9/9, ui 6/6, agent-command ok); task-sync sync_base=69fd335dea tested_head=beaefb7549.
Impact: task card only.
Refs: task card feature/card-autoclose-r1
2026-09-30 07:14:09 +00:00
weichen 2325875bf6 Record the sync checkpoint 2026-09-30 07:13:03 +00:00
weichen beaefb7549 Add task-card autoclose wiring: close subcommand, post-merge hook, gate reports
Why: 11 merged branches had left their task cards open (bookkeeping debt found on 2026-09-30); closure was manual and never triggered, so card status rotted after each merge.
Evidence: dogfood run of `task.sh close --fold` closed and archived the 11 cards (previous commit); temp-repo matrix 33/33 PASS covering detection, pending-branch idempotence, dirty/no-fold refusals, post-merge auto-close on merge-type pulls, worktree guard, and the full lifecycle (closure PR merge archives cards on main).
Impact: scripts/task.sh (+close, precheck [cards] report, finish-tail trigger), scripts/hooks/post-merge (new), Makefile (+task-close target, setup chmod), AGENTS.md rule; archive fixes correct PR links missed by the first dogfood run; no module or gitlink change.
Refs: task card feature/card-autoclose-r1
2026-09-30 07:12:54 +00:00
weichen 6f6b670e55 Close 11 merged task card(s) and archive them
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: delivery-mechanism.md(PR#unknown) feature-adopt-draft9.md(PR#unknown) feature-core-cards-commands-r1.md(PR#unknown) feature-gate-hardening.md(PR#unknown) feature-hardening-batch.md(PR#unknown) feature-pin-config-surface.md(PR#unknown) feature-pin-documents-lessons.md(PR#unknown) feature-tool-adaptation-standard.md(PR#unknown) feature-ui-foundation-r0.md(PR#unknown) feature-zcode-hooks.md(PR#unknown) fix-empty-list-json.md(PR#unknown) — 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 07:06:40 +00:00
weichen 95ac6c4567 Record the task card for feature-card-autoclose-r1 2026-09-30 07:02:09 +00:00
weichen 69fd335dea Merge pull request 'T1: pin contracts combo (core cards/commands, agent-command v0) and guard task-finish' (#15) from feature/core-cards-commands-r1 into main
ci / test (push) Successful in 1m51s
2026-09-30 06:34:06 +00:00
weichen 3ca7f374e6 Record verification evidence in the task card
ci / test (pull_request) Successful in 1m28s
2026-09-30 06:30:45 +00:00
weichen 128fcfd069 Record the sync checkpoint 2026-09-30 06:30:25 +00:00
weichen 24b45a2667 Pin backend at nested-bump merge
Why: Backend merged its consumer-adaptation PR (nested core/agent-command
  pins); the Dev combo must pin that merge so the tested combination is the
  publishable one.

Evidence: full make test re-run at this exact combo (see task card evidence).

Impact: gitlink only.

Refs: modules/documents docs/records/2026-09-30-t1-core-cards-commands-verification.md
2026-09-30 06:30:07 +00:00
weichen 51543046e1 Pin T1 contracts combo and guard task-finish against wrong cwd
Why: Provider repos merged for T1 (core PR#2, agent-command PR#2, frontend
  PR#3, ui PR#3, documents PR#9); gitlinks pinned to those mains. The
  task-finish guard prevents a repeat of the T0 incident where running
  finish from the main checkout deleted it (scripts/task.sh treated $PWD as
  the worktree to remove).

Evidence: make test green on the pinned combo — core, backend 13 pkgs,
  frontend 9, ui 6, agent-command (vet + tests incl. conformance); make build
  produces the binary; combo version string now includes agentcmd SHA.

Impact: combo grows its version traceability; AGENTS.md documents the
  worktree-cwd requirement for finish.

Refs: modules/documents docs/records/2026-09-30-t1-core-cards-commands-verification.md
2026-09-30 06:29:11 +00:00
weichen 7f525afed4 Record the task card for feature-core-cards-commands-r1 2026-09-30 06:17:08 +00:00
weichen 69e9471daf Merge pull request 'Wire Agent-System-UI and Agent-Command into the Dev combo (T0)' (#14) from feature/ui-foundation-r0 into main
ci / test (push) Successful in 2m3s
2026-09-30 06:11:54 +00:00
weichen cc9d8ec66d Record verification evidence in the task card
ci / test (pull_request) Successful in 1m40s
Why: The delivery gate requires the task card to carry the acceptance evidence
  (PASS results for make test / make build / zero-behavior CSS check) and the
  PR link before requesting review.

Evidence: tested_head c9e8e29; gitlink combo recorded; provider PR list
  referenced for the cross-repo five-step trail.

Impact: Documentation only; PR #14 updated by push.

Refs: modules/documents docs/proposals/2026-09-30-ui-inbox-command-workspace.md
2026-09-30 05:57:14 +00:00
weichen c9e8e29e66 Record the sync checkpoint
ci / test (pull_request) Failing after 1s
2026-09-30 05:56:09 +00:00
weichen 15f0da6374 Wire Agent-System-UI and Agent-Command into the Dev combo
Why: Foundation task T0 of the UI/interaction base (proposal 2026-09-30,
  D25-D33): add the new UI component library and command-bus ecosystem repos,
  extend build/test/pin orchestration to twelve submodules.

Evidence: make test green on the pinned combo (core + backend 13 pkgs +
  frontend 9 + ui 6 tests); make build produces bin/agent-system with combo
  version string including ui; make contracts now generates to frontend and ui
  with submodules staying clean; renderer/tokens migration verified
  CSS-rule-identical (zero behavior change).

Impact: New modules/ui and deps/agent-command gitlinks; frontend consumes ui
  via source alias; backend vendors agent-command (replace only, no import
  yet); follows provider-first merges (ui PR#1/#2, agent-command PR#1,
  documents PR#8, frontend PR#2, backend PR#6).

Refs: modules/documents docs/proposals/2026-09-30-ui-inbox-command-workspace.md
2026-09-30 05:56:08 +00:00
weichen 0552d59f0f Record the task card for feature-ui-foundation-r0 2026-09-30 05:38:41 +00:00
weichen f20c634fea Merge pull request 'Pin documents with the duplication lesson and follow-up records' (#13) from feature/duplication-lesson-records into main
ci / test (push) Successful in 1m23s
2026-09-30 04:48:09 +00:00
weichen f1fee6f759 Record the verification evidence in the task card
ci / test (pull_request) Successful in 1m36s
2026-09-30 04:45:24 +00:00
weichen 15a0461378 Record the sync checkpoint 2026-09-30 04:44:49 +00:00
weichen 3e1cdbda1e Pin documents with the duplication lesson and follow-up records
Why: documents PR#7 按经验闭环沉淀了并行重复交付事故(经验条目 + 处置与
后续项记录),并补齐使用指南启动配置节;父仓 gitlink 须固定该版本。

Evidence: documents main 8bc875e(PR#7 merge);链接与文件已核对存在;
组合验证 make test 见任务卡同步记录。

Impact: 仅 modules/documents gitlink 前进(84b3421→8bc875e);其余组件
不动;无代码影响。

Refs: Agent-System-Documents PR#7;backend PR#4/#5、dev PR#12 关联见
records/2026-09-30-boot-config-followups.md。
2026-09-30 04:44:46 +00:00
weichen 806c86cafb Record the task card for feature-duplication-lesson-records 2026-09-30 04:42:39 +00:00
weichen a58f85e0d0 Merge pull request 'Pin backend with the configuration pipe and documents with its design' (#12) from feature/pin-config-surface into main
ci / test (push) Successful in 2m0s
2026-09-30 04:27:51 +00:00
weichen 6f72c0d4dd Record the sync checkpoint
ci / test (pull_request) Successful in 6m36s
2026-09-30 04:20:54 +00:00
weichen 6acda49e04 Pin backend with the configuration pipe and documents with its design
Why: the startup configuration surface (file/env/CLI layers, config
explain, instance examples) merged in both component repos; the composition
must consume the reviewed combination.
Evidence: backend PR#4 (1e62188, 12 packages pass, explain live-checked)
and documents PR#6 (84b3421); make test on this branch per the gitlink rule.
Impact: gitlink-only advance; also picks up the nested core-pin build-blocker
fix (019617e -> 4ee1979) that makes fresh backend clones materializable.
Refs: docs/proposals/2026-09-30-configuration-surface.md
2026-09-30 04:20:53 +00:00
weichen 7fe033670b Record the task card for feature-pin-config-surface 2026-09-30 04:20:47 +00:00
weichen dca932c6da Merge pull request 'Add CI, version stamping, and the high-consequence two-key rule' (#11) from feature/hardening-batch into main
ci / test (push) Successful in 1m36s
2026-09-30 04:09:07 +00:00
weichen 4bd0803c51 Use a repo-scoped PAT secret for private submodule clones in CI
ci / test (pull_request) Successful in 1m17s
Why: the job token only authorizes the event repository; sibling private
submodules (Development-Guidelines et al.) returned 404 on the first run.
Evidence: run 194 log — clone of deps/development-guidelines failed with
repository not found despite the insteadOf rewrite.
Impact: ci.yaml reads secrets.SUBMODULE_TOKEN (stored via API, never in
tree or chat); no other change.
Refs: run 194; PR#11
2026-09-30 04:07:22 +00:00
weichen 51d9e92b88 Record the sync checkpoint
ci / test (pull_request) Failing after 6s
2026-09-30 04:06:02 +00:00
weichen 8252363c04 Add CI, version stamping, and the high-consequence two-key rule
Why: PR test evidence depended on the agent's word (single point); the
running binary could not answer what combination it was built from; and
irreversible operations lacked an explicit agent-stops-here boundary.
Evidence: Gitea runner online (home-runner, ubuntu-latest+docker); make
version prints describe+component SHAs; two-key line maps to baseline hard
boundary 1. CI first run observed on this PR before merge (see Actions tab).
Impact: .gitea/workflows/ci.yaml runs make test + make build on PR/push;
Makefile injects main.version (make version / agent-system version);
AGENTS.md and adoption register the two-key rule. No product code change.
Refs: policy/adoption.md; release-operations requirements
2026-09-30 04:05:42 +00:00
weichen f8dc724862 Record the task card for feature-hardening-batch 2026-09-30 04:04:26 +00:00
weichen 05a5ae1e1a Merge pull request 'Adopt the draft.9 hierarchy and memory rules; pin the records archive' (#10) from feature/adopt-draft9 into main 2026-09-30 03:56:29 +00:00
weichen 62fc302a23 Record the sync checkpoint 2026-09-30 03:56:11 +00:00
weichen dacef643b2 Adopt the draft.9 hierarchy and memory rules; pin the records archive
Why: the library now makes precedence, memory tiers, and lesson
mechanization explicit; the composition must pin the revision and register
how its layers map onto the new rules.
Evidence: guidelines PR#3 (ed2af3e) and documents PR#4 (2205138) merged;
make test on this branch per the gitlink rule.
Impact: gitlink advances; adoption registers the hierarchy/memory rows as
manual-with-existing-artifacts. No code change.
Refs: policy/adoption.md; docs/records/2026-09-30-history-migration-sha-map.md
2026-09-30 03:56:10 +00:00
weichen 1974d222e7 Record the task card for feature-adopt-draft9 2026-09-30 03:56:09 +00:00
weichen e85d1ee49f Merge pull request 'Pin the documents gitlink to the delivery lessons; align gate guards' (#9) from feature/pin-documents-lessons into main 2026-09-30 03:51:19 +00:00
weichen 7c9c1e7b22 Align task-start guards with precheck and soften uninitialized to warning
Why: the pin-documents flow exposed guard divergence — precheck counted
submodule drift while task-start checked porcelain only, letting a task
start despite a BUSY verdict; and PR#8 overcorrected by treating
uninitialized (-) submodules as BUSY when they only block builds, not
writes.
Evidence: bash -n clean; precheck on this checkout prints tree line with
drift/uninit split and READY verdict; negative path exercised by the
real divergence that started this task.
Impact: precheck warns on uninitialized, BUSY only on +/U; task-start now
refuses on porcelain dirt and +/U drift, matching precheck.
Refs: PR#8; policy/tool-adaptation-matrix.md A1
2026-09-30 03:50:46 +00:00
weichen 311935a7d2 Record the sync checkpoint 2026-09-30 03:49:32 +00:00
weichen 7856d980da Pin the documents gitlink to the delivery lessons record set
Why: the two 2026-09-30 lesson entries merged into documents main; the
composition should consume them for future retrieval.
Evidence: documents PR#3 merged (2ec3e50); make test on this branch before
merge per the gitlink rule.
Impact: gitlink-only advance; no product code change.
Refs: docs/records/2026-09-30-lesson-*.md
2026-09-30 03:49:32 +00:00
weichen 6cbad1de8e Record the task card for feature-pin-documents-lessons 2026-09-30 03:49:31 +00:00
weichen 8f7cf2d9b9 Merge pull request 'Harden the gate: uninitialized-submodule detection and platform protection registration' (#8) from feature/gate-hardening into main 2026-09-30 03:47:49 +00:00
weichen a5d05593a0 Record the sync checkpoint 2026-09-30 03:47:24 +00:00
weichen c2da46e4d2 Harden the gate: uninitialized-submodule detection and platform protection registration
Why: precheck missed uninitialized submodules (git submodule status '-'
prefix), and the branch protection configured today plus the second live
probe outcome must be recorded honestly in the matrices.
Evidence: platform negative: direct push to protected main rejected
(pre-receive hook declined, Logging-System probe); second write-guard probe
confirmed session-start config loading (no hook run in the pre-config
session log).
Impact: precheck sub_dirty now counts '-' prefixed entries; A3 registered
enforced at platform layer across 11 repos; zcode matrix pending-live
annotated with the loading-timing proof.
Refs: policy/tool-adaptation-matrix.md; policy/tool-adaptation-zcode.md
2026-09-30 03:47:24 +00:00
weichen c7fcd82b72 Record the task card for feature-gate-hardening 2026-09-30 03:47:05 +00:00
weichen 20727a8fd3 Merge pull request 'Add the zcode write-path guard instance with its adaptation matrix' (#7) from feature/zcode-hooks into main 2026-09-30 03:43:38 +00:00
weichen ffa8dd63c2 Record the sync checkpoint 2026-09-30 03:43:26 +00:00
weichen ccddcc2b2b Add the zcode write-path guard instance with its adaptation matrix
Why: zcode lacks a rules feature (AGENTS.md is the resident layer) but
supports PreToolUse hooks that can block Edit/Write before the write lands,
upgrading A1/A3 from commit-time to write-time enforcement; the two block
shapes (integration branch, detached submodule) mirror the real incidents.
Evidence: script-level suite 8/8 (N1-N3 blocks with exit 2 and remediation
hints, P1-P5 allows incl. fail-open degradation paths); config JSON valid;
client-side live-fire interception marked pending-live in the matrix.
Impact: .zcode/config.json enables the hook runner for this workspace;
.zcode/plans/ ignored (client state); no product code change.
Refs: Development-Guidelines 0.1.0-draft.8; policy/tool-adaptation-zcode.md
2026-09-30 03:43:26 +00:00
weichen 17a07a5e42 Record the task card for feature-zcode-hooks 2026-09-30 03:41:53 +00:00
weichen 1e08eb6ba2 Merge pull request 'Fall back to prune-based removal for submodule-bearing worktrees' (#6) from fix/task-finish-remove into main 2026-09-30 03:37:20 +00:00