Skip to content

feat(runtime): retrieval index construction and sync (#73) - #83

Draft
aryaniyaps wants to merge 1 commit into
perf/issue-72-invalidationfrom
perf/issue-73-index-sync
Draft

feat(runtime): retrieval index construction and sync (#73)#83
aryaniyaps wants to merge 1 commit into
perf/issue-72-invalidationfrom
perf/issue-73-index-sync

Conversation

@aryaniyaps

Copy link
Copy Markdown
Owner

Summary

  • Add retrieval-generation.mjs with generation-bound membership digests, observation-generation freshness alignment, and interrupted recovery state for derived retrieval.lbdb.
  • Index only shared source-inventory retrieval candidate paths (tracked, exclusion-aware, extension/size/UTF-8 filtered) and pass them through the CocoIndex worker under LAMINA_RUNTIME_RETRIEVAL_BATCH caps.
  • Bump retrieval schema to v2 with observation_generation / observation_membership_digest manifest fields; graphd remains the sole Ladybug writer.

Test plan

  • node tests/retrieval_generation_test.mjs
  • node tests/retrieval_sync_test.mjs
  • node tests/retrieval_runtime_test.mjs
  • npm run test:runtime-baseline
  • npm run test:semantic-oracle
  • npm run test:real-repository-oracle
  • initial-retrieval-readiness small safe-runner rerun (requires policy-authorized bwrap on host)

Deferred

Made with Cursor

Wire retrieval indexing to shared source-inventory candidate paths, observation-generation freshness, and generation-bound membership digests so derived retrieval.lbdb stays disposable and aligned with ADR-012 hybrid retrieval under runtime-budget caps.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lamina-docs Ready Ready Preview Aug 3, 2026 7:56pm

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