Skip to content

epic: benchmark historical retrieval before admitting project memory #350

Description

@sungjunlee

Outcome

Measure whether agents actually need a compiled historical retrieval layer, and admit only the smallest layer that demonstrably outperforms live GitHub/Git/spec search.

Baseline

Collect 20 representative historical questions from dev-backlog, dev-relay, and consuming-repository work. Compare:

  1. raw task-mirror grep,
  2. gh + Git history + existing spec/ADR/context sources,
  3. a non-committed, on-demand compiled report.

Guardrails

  • No committed topic graph or automatic per-PR memory update in the initial experiment.
  • Derived output contains no authoritative current status.
  • Every material claim links to an Issue, PR, commit, ADR, or spec source.
  • Freshness distinguishes compiled_at, sources_through, and human_verified_at.
  • Partial source/API failure preserves existing output and performs no write.

Go criteria

  • Top-3 source recall is at least 90%.
  • Material claims have source pointers and no major factual error is observed.
  • Median retrieval time or tool calls improve by at least 20%.
  • Monthly maintenance cost is at most 15 minutes.
  • The result is reused for real historical questions during a 4–6 week shadow period.

Decision

  • If the baseline sources are sufficient, close with no compiler.
  • If the on-demand experiment wins, propose a separate project-memory skill and human-gated charter amendment.
  • A committed artifact requires a separate follow-up decision with a single integration writer, source cursor/CAS, dry-run diff, and regenerate-not-merge semantics.

Dependencies

The baseline can start immediately after the authority contract. Any productization decision waits until the mirror-off pilot has produced real usage evidence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestepicParent tracking issue for multi-issue feature work

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions