LearnNewsExamplesServices
Frontmatter
id7358
titleRefactor `summarizeSession.mjs` to automatically summarize all un-summarized sessions
stateClosed
labels
enhancementairefactoring
assigneestobiu
createdAtOct 4, 2025, 7:49 PM
updatedAtOct 5, 2025, 11:38 AM
githubUrlhttps://github.com/neomjs/neo/issues/7358
authortobiu
commentsCount0
parentIssue7316
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 5, 2025, 11:38 AM

Refactor summarizeSession.mjs to automatically summarize all un-summarized sessions

Closed v11.0.0/archive-v11-0-0-chunk-1 enhancementairefactoring
tobiu
tobiu commented on Oct 4, 2025, 7:49 PM

The current session summarization workflow is clunky, requiring one script to find the last session and another to summarize it. This ticket is to refactor summarizeSession.mjs to be more intelligent and autonomous.

Acceptance Criteria

  1. buildScripts/ai/summarizeSession.mjs is updated to make the --session-id parameter optional.
  2. If no session-id is provided, the script automatically finds and summarizes all sessions that have not yet been summarized.
  3. The buildScripts/ai/getLastSession.mjs script is deleted.
  4. The ai:get-last-session script is removed from package.json.
  5. AGENTS.md is updated to reflect the new, simplified workflow for session summarization.