[PIR][WP27] CAMA-pattern correlation-aware memory arbitration — effective evidence lineages (ADR-330)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.5k
- Forks
- 603
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 59
Description
Part of PIR Wave 4 — epic #837.
Implement arbitration.rs in crates/ruvector-agent-memory: cluster retrieved memories by causal ancestry via fusion.rs::resolve_provenance(), count effective independent evidence groups, confidence = sum over lineages of (source_reliability x freshness), strictly downgrade-only vs naive count, non-finite inputs rejected at the choke point (Wave-3 #888 lesson). Dedicated test: ten memories from one signed source => exactly one effective lineage (acceptance-test clause 3, verbatim). From-scratch — no CAMA (arXiv:2608.19701) code exists; abstract has zero quantitative results.
- Evidence grade & artifact availability:
docs/research/perpetual-intelligence-runtime/10-wave4-evidence-review.md(PR #892) - WP/ADR mapping, phases, and security gates:
docs/research/perpetual-intelligence-runtime/11-wave4-program-plan.md(PR #892) - ADR:
docs/adr/ADR-330-cama-pattern-correlation-aware-memory-arbitration.md
Depends on: WP4 (ledger/observation), WP18 (fusion), WP22 (diagnostic-gate registration).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docs/adr/ADR-330-cama-pattern-correlation-aware-memory-arbitration.md and the wave-4 program plan, then inspect crates/ruvector-agent-memory/fusion.rs::resolve_provenance() and the dependencies on WP4, WP18, and WP22. The work is complete when arbitration.rs groups memories by causal ancestry, counts independent lineages, applies the specified downgrade-only confidence rule, rejects non-finite inputs, and passes the clause-3 test for ten memories from one signed source.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100