refactor(memory): shim content tag storage through TinyCortex - #5244
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 14 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Comment |
There was a problem hiding this comment.
senamakel has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Summary
memory_store::content::tagsfrom 576 lines to a 134-line compatibility adapter.Problem
OpenHuman and TinyCortex both implemented chunk markdown tag rewriting. The OpenHuman copy also carried a post-port body-integrity guard, preventing the host from becoming a thin adapter without losing a safety invariant.
Solution
Port the missing invariant and regression coverage to TinyCortex, update the vendored gitlink, and replace OpenHuman’s generic implementation with public re-exports. Product-specific summary lookup and persistence glue remains host-owned.
Submission Checklist
docs/TEST-COVERAGE-MATRIX.md.Impact
No user-visible behavior change. Chunk tag rewriting now fails closed in TinyCortex if front matter is invalid or the markdown body changes. Existing OpenHuman paths and on-disk formats are preserved.
Related
memory_storeone storage primitive at a time.AI Authored PR Metadata (required for Codex/Linear PRs)
Linear Issue
Commit & Branch
memory-store-tinycortex3758607c6Validation Run
cargo test --lib openhuman::memory_store::content --no-fail-fast— 20 passed. TinyCortex:cargo test— 1234 unit tests plus integration/doc tests passed.cargo fmt --check --manifest-path Cargo.toml; pre-push Rust check hook passed.Validation Blocked
command:pnpm format:checkerror:prettier: not foundbecause this fresh worktree has nonode_modules.impact:Rust formatting passed directly; CI will run the repository-managed frontend formatting environment.Behavior Changes
Parity Contract
Duplicate / Superseded PR Handling