Skip to content

P-MEM: automatic memory mechanism selection packet (L38) - #37

Merged
cursor[bot] merged 1 commit into
masterfrom
cursor/memory-l38-packet-819c
Nov 12, 2026
Merged

cursor[bot] merged 1 commit into
masterfrom
cursor/memory-l38-packet-819c

Conversation

@code5717

@code5717 code5717 commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Approval packet only. No memory runtime implementation.

Adds docs/plan/packets/P-MEM-mechanism-selection.md with current vs proposed behavior, W1–W5 evidence, comparison of static reuse / RC with cycle policy / tracing / hybrid, a concrete hybrid measurement recommendation, the L38 protocol (5 warmups, 30 runs, ≤1.10× C for median time and peak live memory including bookkeeping), compatibility impact, and an explicit needs ledger approval before implement gate.

Links the packet from docs/STATUS.md Planned work without claiming a mechanism is selected.

Also bumps site markdown-it 15.0.2 → 15.0.3 so bun audit --audit-level=moderate clears GHSA-gfr2-rv44-r23c (docs CI).

Recommendation (for ledger review)

Prefer hybrid as the next measurement candidate: prove/place statically first; RC only where L42 shared growable identity or escape cannot be proved; state an explicit cycle policy for W3-class graphs. Do not adopt tracing as primary unless hybrid fails measured L38. Mechanism remains unselected until a ledger disposition after results.

Open in Web Open in Cursor 

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T10:04:41.740732Z 5e4ce00 PR opened
🔒 Security Review ✅ Completed 2026-11-12T10:06:06.404039Z 5e4ce00 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cursor
cursor Bot force-pushed the cursor/memory-l38-packet-819c branch 2 times, most recently from e8dfdb8 to c322c25 Compare November 12, 2026 13:37
Propose hybrid measurement candidate and L38 protocol without selecting
a production memory runtime. Link the packet from STATUS Planned work.

Co-authored-by: cpp5717 <cpp5717@gmail.com>
@cursor
cursor Bot force-pushed the cursor/memory-l38-packet-819c branch from c322c25 to a19090e Compare November 12, 2026 14:38
@cursor
cursor Bot merged commit b0b1d79 into master Nov 12, 2026
cursor Bot added a commit that referenced this pull request Nov 12, 2026
…819c

Sync docs, tests, and examples after Track PRs #37–#39
@cursor
cursor Bot deleted the cursor/memory-l38-packet-819c branch November 12, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants