fix(knowledge): audit retention caveat — Lance versions are retention-policy-gated, not by-construction-immutable (codex P1 on #465)#466
Conversation
…-policy-gated, not by-construction-immutable (codex P1 on #465) §2.1 audit bullet: renamed from 'Immutable audit' to 'Audit (retention-policy- gated)'; explicit retention guidance (disable auto-cleanup OR tag versions OR route to separate sink); regulatory-grade audit requires external signed write-once sink — Lance versions alone NOT a substitute. §5.1 collapse pattern: renamed from 'Three OLD components collapse to one' to 'Two-and-a-half OLD components collapse to one'; non-regulatory audit (with retention configured) shares Lance versions; regulatory audit remains a separate concern. The three-primitives codification (E-SUBSTRATE-B-CAPABILITY-ROADMAP) survives. Multi-purpose-Lance-versions claim still load-bearing — what changes is the audit guarantee + the consumer-default guidance. Codex P1 finding on #465: Lance 7.0+ exposes Dataset::cleanup_old_versions + lance.auto_cleanup.*; following the original 'introduce no separate store' guidance could make historical audit reads disappear after cleanup.
…rsions-as-audit claim corrected to retention-policy-gated (codex P1 on #465)
…t retention caveat)
|
Warning Review limit reached
More reviews will be available in 55 minutes and 20 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Codex P1 follow-up correction on merged PR #465. The original doc §2.1 + §5.1 overclaimed Lance versions as
immutable audit by construction; Lance 7.0+ exposesDataset::cleanup_old_versions+lance.auto_cleanup.*settings that can remove old versions. The version log is retention-policy-gated, not by-construction-immutable — and following the original "introduce no separate audit store" guidance could make historical audit reads disappear after cleanup.Codex P1 finding (verbatim from #465 review)
Corrections applied
§2.1 third primitive — audit reframed
§5.1 — collapse pattern reframed
cleanup_old_versionsnot invoked on the audit dataset)What survives unchanged
The three-primitives codification (
E-SUBSTRATE-B-CAPABILITY-ROADMAPfrom #465) is still load-bearing. The multi-purpose-Lance-versions claim (point-in-time + time-series) is unchanged; only the audit guarantee + the consumer-default guidance change. §2.2 (per-element auth) and §2.3 (Rubicon state machine) are untouched.Board hygiene (per CLAUDE.md mandatory rule)
Same PR includes:
.claude/board/EPIPHANIES.mdPREPEND:E-AUDIT-RETENTION-CAVEAT— records the correction with full provenance..claude/board/AGENT_LOG.mdPREPEND:D-SUBSTRATE-B-CONSUMER-DOC-FIX.Both PREPENDs follow the append-only discipline (no edit to past entries; new dated correction entry citing the original).
Severity
P1 — preventive correction. The original doc's audit guarantee was unsafe for any deployment that runs Lance cleanup; following its guidance could lose historical audit reads. This PR brings the guidance back in line with Lance's actual durability semantics.