Skip to content

propose: incremental graph rebuild#279

Merged
HumanBean17 merged 1 commit into
masterfrom
propose/incremental-graph
Jun 7, 2026
Merged

propose: incremental graph rebuild#279
HumanBean17 merged 1 commit into
masterfrom
propose/incremental-graph

Conversation

@HumanBean17

Copy link
Copy Markdown
Owner

What

Adds propose/active/INCREMENTAL-GRAPH-PROPOSE.md describing incremental graph rebuild strategy. Updates propose skill with validate-assumptions step.

Why now

Full graph rebuild dominates edit-query iteration latency; vectors already support increment but graph does not.

Highlights

  • Delete-and-rebuild strategy scoped to changed files
  • source_file on edge tables only (Symbol nodes already have filename)
  • Two-phase rebuild: scoped pass 1–4, global pass 5–6
  • Single-hop dependent expansion with fan-out cap
  • Crash recovery via marker file and full-reprocess fallback
  • Propose skill now requires assumption validation before recommending approaches (learned from CocoIndex API assumption)

Tests

Proposal-only; baseline unchanged.

Out of scope

  • Implementation and follow-up optimization/watch-mode PRs.

🤖 Generated with Claude Code

Add INCREMENTAL-GRAPH-PROPOSE proposal for file-level incremental
graph updates using delete-and-rebuild strategy. Update propose skill
to require assumption validation before recommending approaches.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@HumanBean17 HumanBean17 merged commit 737bbd5 into master Jun 7, 2026
1 check 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