Commit Graph
28 Commits
Author SHA1 Message Date
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 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 fdf63e3fc8 Fall back to prune-based removal for submodule-bearing worktrees
Why: git unconditionally refuses worktree remove when the tree contains
gitlinks (index-level check; deinit does not bypass it), so the PR#4 fix
path still failed on the second real task.
Evidence: after deinit the worktree was clean and submodule dirs empty, yet
remove refused; rm -rf + worktree prune is the documented workaround and
was proven manually on the empty-list task worktree.
Impact: task-finish now completes the recycle path automatically after its
merge verification; no guard weakened.
Refs: Agent-System-Dev PR#4; policy/tool-adaptation-matrix.md A5
2026-09-30 03:37:01 +00:00
weichen 407f2dd4df Record the sync checkpoint 2026-09-30 03:35:08 +00:00
weichen 6fa07f3d15 Adopt the tool adaptation standard and register the first instance matrix
Why: the library now defines requirement-level conformance for tool rules
and hooks (draft.8); the composition's existing gate mechanisms should be
honestly graded against A1-A7 rather than implicitly assumed compliant.
Evidence: matrix rows cite the 19/19 scratch suite negatives, the live data/
dirty-tree interception, and PR records; commit-msg python3 dependency
verified fail-closed by reading the hook's test path.
Impact: docs-only; guidelines gitlink advances to c9ab623 (draft.8); no
workflow or code change.
Refs: Development-Guidelines PR#2 (c9ab623); policy/adoption.md
2026-09-30 03:35:07 +00:00
weichen a6201700d6 Ignore runtime data written by local serve instances
Why: a running serve instance writes data/ into the working tree, which
trips the precheck SHARED_WORKSPACE_BUSY verdict for every later task.
Evidence: git status showed only untracked data/; runtime state is covered
by make clean and never meant for version control.
Impact: entry-doc only change; no tracked content altered.
Refs: task feature/tool-adaptation-standard
2026-09-30 03:34:35 +00:00
weichen e7eb18dacb Record the task card for feature-tool-adaptation-standard 2026-09-30 03:34:16 +00:00
weichen a073b8712c Teach task-finish to recycle submodule-bearing worktrees
Why: git refuses to remove a worktree with initialized submodules; the first
real dogfood run of task-finish hit this on the empty-list fix task.
Evidence: the fix task's worktree recycled only after manual force-remove;
deinit-then-remove path exercised on the same state afterwards.
Impact: finish deinitializes submodules, removes, prunes, and deletes the
remote branch; unmerged-result guard unchanged.
Refs: .task/fix-empty-list-json.md
2026-09-30 03:27:06 +00:00
weichen 4d380e5fb2 Record the sync checkpoint 2026-09-30 03:23:31 +00:00
weichen 3366148dcf Advance the backend gitlink with the empty-list serialization fix
Why: the backend store List* functions encoded empty results as JSON null,
which crashed the frontend nav (.map on null) on any newly created project.
Evidence: backend go test all packages pass; store regression
TestEmptyListsSerializeAsEmptyArrays asserts [] for empty lists.
Impact: parent pins backend at the serialization fix plus the core-pin
build-blocker advance.
Refs: .task/fix-empty-list-json.md
2026-09-30 03:22:48 +00:00
weichen d341e6df21 Record the task card for fix-empty-list-json 2026-09-30 03:18:51 +00:00
weichen ccd7a10214 Adopt the delivery gate across the composition and record execution levels
Why: the nine submodule entry docs and the documents migration record merged
via their own PRs; the parent must pin the new combination and register the
adoption with honest enforcement levels.
Evidence: per-repo PR merges (9x entry-docs PR#1, documents PR#2) verified
via API; make test on this branch follows before merge.
Impact: gitlinks advance to post-migration, gate-adopted mains; policy/
adoption.md registers enforced (local hooks) vs advisory vs manual honestly.
Refs: ef89fc8; Development-Guidelines 0.1.0-draft.7
2026-09-30 03:17:00 +00:00
weichen 951417f600 Record the sync checkpoint 2026-09-30 03:12:18 +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 8349c633b0 Pin the delivery-mechanism guidelines revision
Why: the task gate workflows reference the new precheck trigger, task-card
template, workspace recycling rule, and history-migration exception, which
only exist as of Development-Guidelines 0.1.0-draft.7 (d9576ed).
Evidence: PR weichen/Development-Guidelines#1 merged into main (d9576ed);
gitlink materialized locally via submodule update.
Impact: consumer repo now pins the draft.7 behavior revision; no code change.
Refs: task card .task/delivery-mechanism.md
2026-09-30 03:11:58 +00:00
weichen 3092715bf6 Advance gitlinks: dual-tier storage and multitenancy delivery
Details (original message):
Advance gitlinks: dual-tier storage and multitenancy delivery (core owner+rag contracts, backend tiers/auth/rag/fanout, frontend login, documents proposal set)
2026-09-30 01:51:39 +00:00
weichen 6ab728d282 Advance backend gitlink (test-data ignore 1f…). 2026-09-29 18:32:18 +00:00
weichen 39c7685567 Advance documents gitlink to the final 0.1.0 report set (15/15 acceptance)
Details (original message):
Advance documents gitlink to the final 0.1.0 report set (15/15 acceptance).
2026-09-29 18:30:58 +00:00
weichen b10310ca11 Advance gitlinks: backend with squad engine integration and routing/observation (0a69a56)
Details (original message):
Advance gitlinks: backend with squad engine integration and routing/observation (0a69a56), core context-observation contract (c7ae99b), frontend observation chip (9b8572a).
2026-09-29 18:28:27 +00:00
weichen 2ec1093787 Advance documents gitlink to the updated 0.1.0 report set. 2026-09-29 18:12:59 +00:00
weichen afb74fee20 Advance backend gitlink (intentgate integration a671d60) with its new deps pins
Details (original message):
Advance backend gitlink (intentgate integration a671d60) with its new deps pins; example plugin intent asset uses the overlay matcher format.
2026-09-29 18:11:58 +00:00
weichen c7f8ba4ed5 Advance documents gitlink to the 0.1.0 report set. 2026-09-29 18:07:45 +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