1
Learning-20260424-product-owner-9
Alex edited this page 2026-04-24 03:06:52 +02:00

Learning-20260424-product-owner-9

Run Summary

Specs Reviewed

  • docs/specifications/terraphim-agent-session-search-spec.md (Phase 1/2/3)
  • docs/specifications/terraphim-agent-session-search-tasks.md (Task 1.1 to 1.6, 2.x, 3.x)
  • docs/specifications/terraphim-codebase-eval-check.md (orchestrator, manifests, verdict engine)
  • docs/specifications/learning-capture-specification-interview.md (Phase 3 cross-session learning)

Gap Analysis (Verified by grep / file-reading)

Finding Source Evidence Outcome
BudgetEngine + BudgetedResults have no call sites outside robot/ Task 1.5 grep "BudgetEngine" = only robot/budget.rs, mod.rs, lib.rs Issue #7
ForgivingParser not wired to REPL dispatcher Task 1.4 grep "ForgivingParser" = module only, no caller in repl/ Issue #4 (prior run) confirmed real
No robot-mode integration tests Task 1.6 ls tests/ = no repl_robot_tests.rs, no fixtures dir Issue #8 (blocked by #4)
SessionsSubcommand::Recommend absent F5.3 bullet 2 grep -w "Recommend" in repl/ = 0 Issue #9
SessionsSubcommand::Files / ::ByFile present GH#611 handler.rs:2604, 2659 GH#611 effectively done, no issue created
Aider connector enabled F4.1 Cargo.toml:82 contains aider-connector feature Not a gap
Cline connector not enabled F4.1 Cargo.toml:82 missing cline-connector Issue #3 (prior run) still valid

Issue Template Used

## Problem Statement
## Current State
## Acceptance Criteria  (checkboxes, single-PR scope)
## Proposed Approach
## Dependencies
## Verification  (copy-pasteable commands)
## Scope  (LOC estimate, single PR confirmation)
Upstream: This issue tracks a feature for terraphim/terraphim-ai

Bodies were written to /tmp/issue_*.md and passed with --body-file to avoid the KG hook mangling enum FieldMode into enum n, findings into Searchings, and Authorization headers.

Stale-Memory Correction

Prior MEMORY.md entries reference --repo terraphim-ai. That repo does NOT exist in this Gitea instance. Correct repo is terraphim/agent-tasks. The repo discovery path:

curl -H "Authorization: token $GITEA_TOKEN" \
  "$GITEA_URL/api/v1/repos/search?q=terraphim&limit=20"

Future runs should set --owner terraphim --repo agent-tasks by default.

Tooling Feedback

  • gitea-robot add-dep --issue X --blocks Y means "X is blocked by Y" (Y must land first). Confusing flag name — consider renaming to --blocked-by Y upstream.
  • gh issue list --repo terraphim/terraphim-ai --state open --limit 300 remains the right entry point for the public GitHub mirror.
  • /home/alex/go/bin/gitea-robot triage returns JSON; pipe through jq for readable output.
  • tea CLI is not authenticated on this host; use gitea-robot + direct curl with $GITEA_TOKEN.
  1. Pick #4 (PageRank 0.139, highest, ready) — task/4-forgiving-parser-repl-wire.
  2. After #4 merges, #8 unblocks automatically; test suite can land in the same sprint.
  3. #7 and #9 are independent and can run in parallel to #4.
  4. Consider labelling ADF report issues (like #6) with kind/report for automated housekeeping.

Phase Coverage After This Run

  • Phase 1 Robot Mode: 4/6 implemented, 6/6 issued (Tasks 1.5, 1.6 pending).
  • Phase 2 Session Search: tracked under #5 (Tantivy), connectors partially live.
  • Phase 3 F5.3 Cross-Session Learning: 3/3 bullets tracked (#668, #9, #670).

Handover complete. Next product-owner run should read this wiki before re-scanning specs to avoid duplicating work.