Skip to content

feat: enrichment backfill script + compact instructions#97

Closed
EtanHey wants to merge 1 commit intomainfrom
feat/enrichment-backfill-and-pubsub
Closed

feat: enrichment backfill script + compact instructions#97
EtanHey wants to merge 1 commit intomainfrom
feat/enrichment-backfill-and-pubsub

Conversation

@EtanHey
Copy link
Copy Markdown
Owner

@EtanHey EtanHey commented Mar 20, 2026

Summary

  • Enrichment backfill script using Gemini 2.5 Flash-Lite (no thinking, fast, cheap)
  • CLAUDE.md with Compact Instructions + BrainBar stub warnings
  • Currently running: 55K/77K chunks enriched

Test plan

  • --test mode: 10/10 valid JSON, quality topics
  • Production run: 55K+ chunks enriched, 0.8/sec, zero sustained errors

Generated with Claude Code

…tructions

- enrichment_backfill.py: batch tag enrichment via Gemini 2.5 Flash-Lite
  (thinking_budget:0 silently ignored by Flash, Flash-Lite has no thinking)
- Supports --test (10 chunks dry run) and --limit N
- Auto-detects unfaceted chunks, newest first
- Merges faceted tags (dom:*, act:*, topics) with existing tags
- CLAUDE.md: added Compact Instructions + BrainBar stub warnings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@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.

@EtanHey
Copy link
Copy Markdown
Owner Author

EtanHey commented Mar 26, 2026

Closing as stale — CLAUDE.md has had significant updates since March 20 (PRs #77, #100, #101, #102-107) that would conflict. The enrichment backfill functionality is superseded by scripts/backfill_orchestrate.sh in the working tree. The Compact Instructions from this PR were already incorporated into CLAUDE.md via PR #100.

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