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
blockedBy[]
blocking[]
closedAtOct 5, 2025, 11:38 AM

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

Closed v11.0.0 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.
tobiu assigned to @tobiu on Oct 4, 2025, 7:49 PM
tobiu added the enhancement label on Oct 4, 2025, 7:49 PM
tobiu added parent issue #7316 on Oct 4, 2025, 7:49 PM
tobiu added the ai label on Oct 4, 2025, 7:49 PM
tobiu added the refactoring label on Oct 4, 2025, 7:49 PM
tobiu referenced in commit fb5198a - "#7358 ticket as md file" on Oct 4, 2025, 7:51 PM
tobiu referenced in commit cce0ffe - "Refactor summarizeSession.mjs to automatically summarize all un-summarized sessions #7358" on Oct 5, 2025, 11:38 AM
tobiu closed this issue on Oct 5, 2025, 11:38 AM