26 Commits

Author SHA1 Message Date
kami 3e94d7fbff merge: integrate feat/backlog-burndown into master
master had advanced 16 commits past feat/backlog-burndown's base, and the two
branches independently built four of the same features. Resolved 26 conflicts.

Overlap features — kept master's implementation (more complete / production-wired /
more robust), dropped the feature branch's parallel constellation:
- llama-server health probe: kept master's event-store-backed tps probe; dropped the
  branch's LlamaLivenessClient (liveness-only, throughput unwired).
- event-store probe: kept master's EventStoreHealthProbe; dropped EventStoreLatencyProbe.
- brief echo-back gate: kept master's BriefEchoDiff (Jaccard, tolerates rewording);
  dropped the branch's exact-set-diff BriefEchoComparator/Extractor.
- static-first reviewer: kept master's command/exit-code gate (ProcessStaticAnalysisRunner,
  wired); dropped the branch's structured-finding static_check stage (no-op seam).
  Its structured-findings model is filed as a follow-up in BACKLOG.

Feature-branch net-new work brought in and kept (master had none):
- native task tracking (aggregate, agent tools wired into analyst/implementer/reviewer,
  dependency graph + gates, decompose, REST/CLI, TUI task board)
- critique-outcome producer (role-rel §6 — master had deferred it)
- stage-level plan checkpointing (C-A2, folded into runPostStageGates)
- CLAUDE.md/AGENTS.md L0 standing context
- cross-session grants + TUI (grant scopes/revoke, @ picker, session resume browser)

Verified: full Gradle compile (all modules + tests) green; tests pass for core:events,
core:kernel, infrastructure:workflow, apps:server, apps:cli, testing:integration; tui-go
go build + go test green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 11:30:41 +00:00
kami 33baaed903 docs: reconcile BACKLOG→RETRO for static_check stage + critique producer (e46777e)
Per the hygiene rule: the §B-§5 static_check stage seam + emitter and the §B-§6/A3
critique-outcome producer are built and unit-verified, so move them out of the live
"missing" list. Both narrowed to their remaining live-QA-gated *activations* (a sandboxed
production CommandRunner for §B-§5; model-emitted CritiqueFindingsRecordedEvents for §6),
with a dated RETRO entry + commit map. Updated QA-reviewer-static-first (the producing
stage now exists — check 4 reframed from "blocked on unbuilt seam" to an activation step)
and its README index line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 21:52:59 +00:00
kami f043640373 docs: close §E approval-ergonomics re-audit (move to RETRO)
The re-audit passed and its one gap — line-only diff-viewer scroll — was
fixed in db27b34. Cut the BACKLOG §E item and record the result + the
diff-viewer paging commit in RETRO 2026-06-22.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 09:10:39 +00:00
kami 08b5c63a0f docs: reconcile BACKLOG against shipped work + gitignore tui preview binary
Backlog hygiene per the file's own maintenance rule — resolved items get
moved out, not left ticked-in-place.

- Cut resolved body bullets from BACKLOG §A/B/C/D/E/G/I (health probes,
  static-first infra, CritiqueFinding, architect contradiction-check, A1/A2
  gates, batch fetch-approval, source/egress events, render matrix, markdown,
  session list, idea promotion, turnId/probe/narration, .cs symbols, scene
  validator). All already archived in RETRO's burndown table.
- Narrow partially-done items to their live follow-up rather than delete:
  B5 -> static_check stage emitter only; B6/C-A3 -> CritiqueOutcomeCorrelated
  producer only; C-A1 -> planner-prompt activation only.
- Drop the stale "§E UNBLOCKED" index line (plan-comparison is BLOCKED, no
  PlanCandidate event; idea-promotion shipped f107ff5).
- Archive the operator-requested TUI wave (palette, @ picker, CLAUDE.md L0
  injection, inline action rows, free-scroll/help/filter) in RETRO 2026-06-22
  — never BACKLOG items, would otherwise be orphaned in neither file.
- gitignore apps/tui-go/preview (cmd/preview build artifact).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 08:57:12 +00:00
kami 3f4c45a7b0 docs(qa): live-QA plan for cross-session grants + revoke
QA-grants.md (10 checks): the headline is grant-in-session-A →
auto-clear-in-session-B, keyed on ApprovalDecisionResolved(AUTO_APPROVED,
reason="grant:<id>") with no APPROVAL_PENDING; plus tool-binding, no-cap
T3/T4, PROJECT same-repo vs different-repo isolation, restart persistence,
revoke-re-prompts, session-grant-no-leak regression, and replay determinism.
Indexed in README; BACKLOG drafted-plans pointer updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 22:41:02 +00:00
kami 7d4e203429 docs(backlog): point at the drafted live-QA plans (docs/qa)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 09:14:56 +00:00
kami dbc677a5f1 docs(backlog): record llama-probe registration (64a90e7) + event-store probe in RETRO
A§4 LLAMA_SERVER probe is now registered (gated on a llamacpp provider URL); EVENT_STORE
latency probe was already wired (266bbf0). Both move to RETRO. Remaining A§4: tokens/sec
throughput feed (health endpoint is reachability-only) + live health TUI pane.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 08:26:19 +00:00
kami 3302930b00 docs(backlog): record B§4 activation (4e08510) in RETRO
Architect contradiction-check is now live (server subscribes to the architect design
artifact and emits the display-only flag). All cleanly unit-verifiable deterministic
backlog tracks are now landed; what remains is model-dependent activations (live-QA
gated) and deep session-lifecycle work (§H) better done with live testing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 08:08:14 +00:00
kami 1a707f0b7f docs(backlog): record idea-promotion (f107ff5); mark plan-comparison blocked
f107ff5 (idea-board -> profile promotion) moves to RETRO. Plan-comparison view marked
BLOCKED: no plan-candidate event exists server-side (only workflow.proposed), so there
is no wire shape to render or unit-verify until a multi-candidate planner lands.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 07:32:49 +00:00
kami eeb6830387 docs(backlog): record egress activation + batch-approval (D) in RETRO
ab7e4be (egress activation) and 4b0024f (batch source-list approval) move to RETRO;
§D is now fully landed except the standalone web-approval client (needs network/SearXNG).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 07:15:15 +00:00
kami ef20557c9c docs(backlog): record B2 plan-derived manifest in RETRO
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 21:18:51 +00:00
kami c52dbde4b4 docs(backlog): record E approval ergonomics in RETRO
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 16:41:26 +00:00
kami 35596dc723 docs(backlog): record E session-list + render-matrix in RETRO
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 16:31:08 +00:00
kami 46a71ee84c docs(backlog): record B5, G, E (markdown + go.mod fix) in RETRO
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 16:16:00 +00:00
kami eb9b1aee65 docs(backlog): record egress allowlist (027ff1f) in RETRO
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 13:15:44 +00:00
kami 18bde7ca38 docs(backlog): archive 9 resolved tracks to RETRO.md + refile follow-ups
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 11:53:07 +00:00
kami 2a37266f53 docs: create RETRO.md, flatten BACKLOG to unbuilt-work-only
RETRO.md never existed, so every shipped/pending-QA item piled up in BACKLOG. Create it
(Pending live-QA + Landed sections) and move all shipped code there. Rewrite BACKLOG flat,
grouped by actionability (active epic / ready / blocked / won't-build) instead of by spec,
one line per item.
2026-06-15 00:42:53 +04:00
kami 63863a90ae docs(backlog): mark plan-lint Slice 1 shipped, add QA plan 2026-06-15 00:27:31 +04:00
kami 618f6e91c0 docs(backlog): add plan-generation pipeline epic (§C★), re-home orphans
Base spec docs/plans/plan-pipeline-spec.md is now in the repo. Add a §C★ epic section
(5 slices: lint → templates/round-1 → critique+aggregate → round-2/tournament/selection
→ preference logging) with build-state (freestyle = degenerate N=1; substrate exists).
Re-point the orphans as components: §E plan-compare = Slice 4 UI; §B §6 CritiqueFinding =
Slice 3 (plan critic); A3 calibration = layer above it. Flag PlanConfirmedEvent vs
ExecutionPlanLockedEvent naming + the cycle-vs-review-loop lint nuance.
2026-06-15 00:16:29 +04:00
kami 88ca576baa docs(backlog): defer §6 CritiqueFinding/calibration until a consumer exists 2026-06-14 23:56:26 +04:00
kami 0696652d54 docs(backlog): static-first reviewer shipped + QA plan; supersede §C A2
- §B §5 reviewer static-first infra → SHIPPED (pending live-QA) 365eb8a; add §F gate +
  docs/qa/QA-static-first-reviewer.md.
- §C A2 stage-level plan checkpointing → SUPERSEDED (verifyProduces + ManifestContainment
  + validation already reconcile execution vs the compiled plan); A3 consolidated under
  §B §6 calibration (build once, two consumers).
2026-06-14 23:52:53 +04:00
kami 0d8df4a130 docs(backlog): mark brief echo-back gate shipped, add QA plan 2026-06-14 23:22:56 +04:00
kami 40245583e5 docs(backlog): mark health TUI pane shipped, add QA plan
Flip §A live health TUI pane to pending-live-QA (fd67a6c), register the QA
gate in §F, add docs/qa/QA-health-tui-pane.md. Note that §4 health-checks is
now feature-complete in code (3 probes + pane) — retire as a unit once QA passes.
2026-06-14 18:58:46 +04:00
kami 09f05549a0 docs(backlog): mark event-store health probe shipped, add QA plan
Flip §A EVENT_STORE probe to pending-live-QA (7a1362c), register the QA gate
in §F, and add docs/qa/QA-event-store-health-probe.md (responsive/HEALTHY,
no-log-pollution, slow/throw DEGRADED, restore hysteresis, replay independence).
2026-06-14 18:41:20 +04:00
kami 0957f7c69e docs(backlog): mark llama health probe shipped, add QA plan
Flip §A LLAMA_SERVER probe to pending-live-QA (aaf896d), register the QA
gate in §F, and add docs/qa/QA-llama-health-probe.md with observable-evidence
checks (liveness up/down/restore, non-2xx, tps degrade, restart hysteresis,
replay independence).
2026-06-14 18:27:42 +04:00
kami b1c0f88dee docs(backlog): add BACKLOG + QA plan template
Synthesize the five 2026-06-13 design specs and session memory into a
single outstanding-work list. Header rules: resolved items move to
RETRO.md; every finished feature gets a live-QA plan before it counts as
resolved. Add docs/qa/TEMPLATE.md as the observable-evidence QA form.
2026-06-14 14:51:22 +04:00