Skip to content

feat: session-start recall, source attribution, and install defaults#14

Open
MaheshtheDev wants to merge 3 commits into
mainfrom
MaheshtheDev/unify-codex-session-start-attribution
Open

feat: session-start recall, source attribution, and install defaults#14
MaheshtheDev wants to merge 3 commits into
mainfrom
MaheshtheDev/unify-codex-session-start-attribution

Conversation

@MaheshtheDev
Copy link
Copy Markdown
Member

Summary

Plugin unification: session-start recall, safer defaults, source attribution, and install migration — merged with custom container routing from main.

Changes

Area Change
Attribution sm_source: codex, x-sm-source: codex, sm_plugin_version on capture metadata
SessionStart hook New — profile-only recall at session start
Defaults (fresh install) autoRecallEveryPrompt: false, captureEveryNTurns: 0 (session-end flush only)
Upgrade migration writeInstallDefaults() preserves legacy per-prompt recall for existing installs
Recall hook Skips semantic search when autoRecallEveryPrompt is false; still handles turn capture if enabled
Capture sm_capture_mode: session_end | turn on metadata
Skills Added supermemory-profile skill; kebab names in installer
Version 1.0.7

Test plan

  • Fresh npx codex-supermemory install → session-start + session-end only
  • Existing install keeps per-prompt recall until config changed
  • Custom container catalog still injected when enabled
  • API requests include x-sm-source: codex

MaheshtheDev and others added 3 commits May 22, 2026 13:57
Add SessionStart profile hook, sm_source/x-sm-source for analytics, safer fresh-install defaults with legacy migration, and supermemory-profile skill. Bump to 1.0.7.
@sreedharsreeram sreedharsreeram self-requested a review May 24, 2026 05:33
Copy link
Copy Markdown
Member

@sreedharsreeram sreedharsreeram left a comment

Choose a reason for hiding this comment

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

LGTM

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