git answers "what changed." reflect answers "why."
- A Python CLI + Claude Code skill
- Reads from Entire CLI + git on demand — zero intermediate storage
- Replaceable harness generates context briefings
- Two read paths: passive (context.md) and active (why/search dump raw evidence)
- Session-start hook with freshness tracking
What works: The read path architecture is clean. Harness is replaceable. What's missing: Multi-tool wiring, community harnesses, team workflows.
Goal: Any AI coding tool gets the briefing automatically.
Auto-wire context.md into every instruction file format:
| File | Tool |
|---|---|
CLAUDE.md |
Claude Code (done) |
.cursor/rules/*.mdc |
Cursor |
.github/copilot-instructions.md |
GitHub Copilot |
.windsurfrules |
Windsurf |
.clinerules |
Cline |
Goal: Community-contributed harnesses for different use cases.
harness/default.py— recency-ranked, ships with reflectharness/semantic.py— embedding-based retrievalharness/summarizer.py— LLM-powered session summarizationharness/legacy-v3.py— implements the old confidence/decay model
Harness benchmarking: run two harnesses against the same evidence, compare context quality. This is the Meta-Harness optimization loop made accessible.
Goal: Safe multi-source evidence ingestion.
When reflect adds adapters for PRs, CI logs, Slack threads — trust matters:
| Source | Trust Level |
|---|---|
| Entire session (human-in-the-loop) | verified |
| Git commits | inferred |
| PR descriptions | inferred |
Trust boundaries prevent low-quality evidence from flowing into instruction files. Deferred until multi-source adapters exist.
Goal: The "why" is shared across the team.
- GitHub Action on PR merge → captures decisions from PR description
- PR review bot → surfaces relevant evidence for changed files
reflect onboard→ generates comprehensive briefing for new contributors
Goal: The harness improves itself.
The Meta-Harness paper shows that searching over harness implementations outperforms hand-designed ones. With reflect's architecture:
- Evidence filesystem exists (Entire + git)
- Harness is a replaceable script
- Evaluation signal exists (session outcomes, retry counts)
- A proposer agent can rewrite the harness and measure results
This is the long game: reflect becomes the platform for automated harness engineering.
| Priority | Item | Effort | Impact |
|---|---|---|---|
| P0 | Multi-tool instruction file wiring | Small | Every AI tool benefits |
| P1 | Harness ecosystem + benchmarking | Medium | Community contribution |
| P1 | Additional evidence adapters (PRs, CI) | Medium | Richer evidence |
| P2 | Trust & provenance model | Small | Enables safe multi-source |
| P2 | Team workflows (GitHub Action, bot) | Medium | Team-level memory |
| P3 | Harness optimization loop | Large | Self-improving memory |