Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesThe PR excludes leading YAML metadata from note indexing and memory promotion while preserving body citation lines and YAML-looking session content. Review scores
Merge readiness⛔ Blocked before merge - 7 items remain This remains useful work for the paired open issue. The shared-parser correction is complete, but the existing-index blocker remains, a line-ending defect also needs repair, and contributor runtime proof is still required. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherMemory Core indexes workspace notes for recall and promotes selected recalled text into durable memory. Markdown Core supplies the shared frontmatter grammar used to distinguish note metadata from body content. flowchart TD
A[Workspace notes] --> B[Shared frontmatter extraction]
B --> C[Body chunks with source lines]
C --> D[SQLite recall index]
D --> E[Promotion candidates]
E --> F[Live source validation]
F --> G[Durable memory or recorded rejection]
Technical reviewBest possible solution: Keep one shared frontmatter grammar, use consistent source-line normalization, and automatically rebuild affected existing indexes without operator intervention. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the paths: unchanged version-5 indexes skip rebuilding, and CR-separated notes disagree between indexing and rehydration. No contributor code or tests were executed during this read-only review. Is this the best way to solve the issue? Yes, shared extraction with body-line preservation is the appropriate boundary, but index invalidation and consistent rehydration normalization are necessary to complete it. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against dd09da279cbd. Merge-risk optionsMaintainer options:
SecurityNone. EvidenceWhat I checked:
PR surfaceSource +52, Tests +244. Total +296 across 9 files. View PR surface stats
Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (4 earlier review cycles)
Reviewed October 5, 2026, 1:43 PM ET / 17:43 UTC (Revision 5). |
|
Fixed in
The PR evidence section is updated with the exact proof output and validation results. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
Closing due to inactivity. |
Related: #148186
What Problem This Solves
Managed memory promotion could persist note metadata such as
status: activeas durable memory when a candidate resolved inside leading YAML frontmatter.User Impact
Memory promotion no longer learns leading note metadata, while YAML-looking conversation text in the session corpus remains eligible. Existing indexes rebuild through the current chunking-version upgrade path; no user action is required.
Implementation
Evidence
Validated on commit
ddd4aaeb000e98fdd7a55cbc6aa04ee996bb69db:{"indexed":[{"startLine":8,"endLine":9,"text":"# 2026-09-05\nDurable body content."}],"metadataExcluded":true,"upgrade":{"from":4,"to":5},"promotion":{"applied":0,"rejectedAs":"source rehydration","durableMemoryContainsMetadata":false}}oxfmt --checkpassed for all changed files.git diff --checkpassed.check:changedpassed its first 11 gates, then the repository's doctor-contract Vitest subprocess hit two 15-minute no-output cutoffs and exited 143. No code diagnostic was emitted; no third retry was started. PR CI is authoritative for the exact pushed SHA.