Skip to content

feat: add raw-event relink dry-run action plans#611

Merged
kunickiaj merged 2 commits into
mainfrom
04-06-feat_add_raw-event_relink_dry-run_action_plans
Apr 6, 2026
Merged

feat: add raw-event relink dry-run action plans#611
kunickiaj merged 2 commits into
mainfrom
04-06-feat_add_raw-event_relink_dry-run_action_plans

Conversation

@kunickiaj

Copy link
Copy Markdown
Owner

Description

Adds a dry-run remediation action planner under codemem memory relink-plan. This turns the relink analysis into explicit non-destructive steps: create bridge rows where needed, repoint active memories to a canonical session, and compact redundant raw-event session fragments.

Type of Change

  • 🚀 Feature (new functionality)
  • 🐛 Bug fix (fixes an issue)
  • 📚 Documentation (docs-only change)
  • 🔧 Maintenance (refactor, chore, CI, etc.)
  • 🧪 Testing (test-only changes)

Testing

  • Added/updated tests for changes
  • Manually verified changes work as expected
  • Tests pass locally (pytest)
  • Validated with:
    • pnpm vitest run packages/core/src/maintenance.test.ts packages/cli/src/commands/memory.test.ts packages/cli/src/commands/db.test.ts
    • pnpm exec biome check packages/core/src/maintenance.ts packages/core/src/maintenance.test.ts packages/core/src/index.ts packages/cli/src/commands/memory.ts packages/cli/src/commands/memory.test.ts packages/cli/src/commands/db.test.ts
    • pnpm --silent run codemem memory relink-plan --limit 5

Checklist

  • Self-review completed
  • Documentation updated (if needed)
  • Code follows project style (ruff check and ruff format pass)
  • No new warnings introduced

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61d806f0f8

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/core/src/maintenance.ts Outdated
@kunickiaj kunickiaj force-pushed the 04-06-feat_report_raw-event_relink_compaction_opportunities branch from b7490ff to dd3cad6 Compare April 6, 2026 19:20
Base automatically changed from 04-06-feat_report_raw-event_relink_compaction_opportunities to main April 6, 2026 19:23
@kunickiaj kunickiaj closed this Apr 6, 2026
@kunickiaj kunickiaj force-pushed the 04-06-feat_add_raw-event_relink_dry-run_action_plans branch from 0a8ecf8 to 22f2a48 Compare April 6, 2026 20:03
@kunickiaj kunickiaj reopened this Apr 6, 2026
@kunickiaj kunickiaj force-pushed the 04-06-feat_add_raw-event_relink_dry-run_action_plans branch from 2afb622 to 471d2b1 Compare April 6, 2026 20:11

kunickiaj commented Apr 6, 2026

Copy link
Copy Markdown
Owner Author

Merge activity

  • Apr 6, 8:13 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 6, 8:13 PM UTC: @kunickiaj merged this pull request with Graphite.

@kunickiaj kunickiaj merged commit 86256c3 into main Apr 6, 2026
7 checks passed
@kunickiaj kunickiaj deleted the 04-06-feat_add_raw-event_relink_dry-run_action_plans branch April 6, 2026 20:13
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.

1 participant