Skip to content

Qualify branch-aware Go retrieval and source views - #25

Merged
ashwingopalsamy merged 20 commits into
mainfrom
codex/agentic-go-retrieval-2026-09-27
Sep 27, 2026
Merged

ashwingopalsamy merged 20 commits into
mainfrom
codex/agentic-go-retrieval-2026-09-27

Conversation

@ashwingopalsamy

Copy link
Copy Markdown
Contributor

Summary

  • Add agentic-go source-view to materialize a selected branch at an exact commit in a visible detached worktree. It defaults to local main (then configured origin/HEAD), supports explicit refs, and only carries a dirty overlay when the source checkout is at the exact selected commit.
  • Add bounded, process-local Go declaration retrieval to focused context and a reproducible model-free retrieval benchmark with pinned small, medium, and large repositories.
  • Preserve the two audited source-worktree diffs and untracked-file hash manifests. Keep the separate 72-run GPT-6 Sol/high decision-value harness parked and out of retrieval evidence.
  • Record the Luna Max council findings, retrieval results, reliability-screen status, and product gates in the research note and continuation handoff.

Retrieval evidence and decision

The corrected medium screen reached Recall@10 0.35 and Precision@10 0.20, with no document retrieval. The fresh four-question text-candidate ablation recovered all 15 reviewed gold spans in complete candidate pools, but the mixed top-10 ranking reached macro Recall 0.1625, Precision 0.075, and MRR 0.28125. Small-repository relevance was unusable; Kubernetes source coverage was partial and its one-run warm p95 was 10.52 seconds. Process RSS was not measured. The fixed rg scorer and optional gopls arm are not a competent, complete native-agent baseline.

These results do not establish useful agent outcomes, retrieval superiority, arbitrary-scale support, or a persistence bottleneck. The text ablation is evaluation-only. This PR adds no persistent index and no MCP branch selector. The source-view command is a branch-scoped setup preview. A future matched engineering screen remains gated on useful retrieval and a competent native baseline. The six-cell selector reliability screen is separate: safety passed, efficiency promotion failed; the stale 18-cell rerun was not run.

New model-based council/review work used GPT-6 Luna Max only. Historical GPT-6 Sol findings remain separately labeled.

Verification

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • go build ./...
  • git diff --check 7b5111c6365a2a12806a561d86745d5bc50d7c9e..HEAD

All listed checks passed locally. No release or tag was created.

@ashwingopalsamy
ashwingopalsamy enabled auto-merge (squash) September 27, 2026 07:56
@ashwingopalsamy
ashwingopalsamy merged commit b98e397 into main Sep 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant