Commit Graph
8 Commits
Author SHA1 Message Date
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 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 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 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 f31fd5f62d Add the task-startup gate scripts and local hooks
Why: agents skipped triggered reading and wrote into shared checkouts holding
other tasks' in-flight changes; the 2026-09-30 empty-list incident session
found 24 overlapping in-flight files only by accident at first write.
Evidence: positive/negative suite in a real scratch repo passed 19/19
(precheck READY/BUSY/SYNC_REQUIRED, start refuse/establish, hook main/badname/
longsubject refusals, sync checkpoint, finish recycle and abandon double-
confirm); the suite caught three real defects (pipefail empty-grep abort,
worktree gitdir COMMIT_EDITMSG resolution, message checks in the wrong hook
phase).
Impact: make setup enables pre-commit/commit-msg hooks; make precheck/task-
start/task-sync/task-finish provide the governed path; no existing workflow
removed. AGENTS.md carries the resident gate rules.
Refs: Development-Guidelines 0.1.0-draft.7; task card .task/delivery-mechanism.md
2026-09-30 03:11:58 +00:00
weichen de886f02aa Advance gitlinks (frontend contracts mirror 5b6b52d) and keep the embed dir gitkeep stable across
Details (original message):
Advance gitlinks (frontend contracts mirror 5b6b52d) and keep the embed dir gitkeep stable across builds.
2026-09-29 18:03:59 +00:00
weichen 23aa65c15c Assemble P1-P4: advance module gitlinks (core 992d601, backend 97b90ad, frontend)
Details (original message):
Assemble P1-P4: advance module gitlinks (core 992d601, backend 97b90ad, frontend), cross-repo Makefile with contracts sync and single-binary build, example plugin assets, demo target.
2026-09-29 18:03:10 +00:00
weichen 6eaa9b6bea Assemble the dev integration repo: submodules, cross-repo Makefile, and repo guides
Details (original message):
Assemble the dev integration repo: submodules, cross-repo Makefile, and repo guides.
2026-09-29 17:31:39 +00:00