Skip to content

feat: prepare v1.5.0 trust and indexing foundation#21

Merged
PatrickSys merged 4 commits intomasterfrom
v1.5.0/foundation
Feb 8, 2026
Merged

feat: prepare v1.5.0 trust and indexing foundation#21
PatrickSys merged 4 commits intomasterfrom
v1.5.0/foundation

Conversation

@PatrickSys
Copy link
Owner

@PatrickSys PatrickSys commented Feb 8, 2026

Summary

  • Establish the v1.5.0 foundation for trust-aware editing: evidence-lock preflight, memory confidence decay, failure memory weighting, and git-derived memory extraction.
  • Add manifest-based incremental indexing (file hash diff + incremental stats + stale chunk replacement) so refreshes can skip unchanged files.
  • Strengthen storage/index resilience around LanceDB corruption handling and index lifecycle behavior.

What is included in this PR

  • Preflight trust system: src/preflight/evidence-lock.ts, preflight integration in src/index.ts
  • Memory reliability: confidence decay model + stale filtering in src/memory/store.ts, git memory extraction in src/memory/git-memory.ts
  • Incremental indexing core: new manifest logic in src/core/manifest.ts, indexer integration in src/core/indexer.ts
  • API/types plumbing: updates in src/types/index.ts, src/storage/types.ts, src/storage/lancedb.ts, constants
  • Regression coverage: new tests for evidence lock, confidence decay, git memory patterns, manifest, and incremental indexing
  • Post-review fix: invalid memory.date now evaluates as stale evidence (commit 5fa2040)

Validation

  • Local: pnpm lint
  • Local: pnpm format:check
  • Local: pnpm test -- tests/confidence-decay.test.ts

Notes on docs/changelog split

Why this split

  • Keep reviewable surface area manageable in a stacked release:
    1. foundation behavior and tests
    2. reliability hardening
    3. final docs/release wording
  • Prevents mixing large implementation review with marketing/release copy edits in one PR.

Add evidence-locked preflight, memory confidence/failure signals, git-derived memories, and manifest-based incremental indexing with coverage tests so branch testing can validate trust claims before release.
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f3926f98b3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@PatrickSys PatrickSys merged commit a6b65f1 into master Feb 8, 2026
3 checks passed
@PatrickSys PatrickSys deleted the v1.5.0/foundation branch February 8, 2026 23:02
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