Frontmatter
| id | 7358 |
| title | Refactor `summarizeSession.mjs` to automatically summarize all un-summarized sessions |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Oct 4, 2025, 7:49 PM |
| updatedAt | Oct 5, 2025, 11:38 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7358 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7316 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 5, 2025, 11:38 AM |
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.mjsto be more intelligent and autonomous.Acceptance Criteria
buildScripts/ai/summarizeSession.mjsis updated to make the--session-idparameter optional.session-idis provided, the script automatically finds and summarizes all sessions that have not yet been summarized.buildScripts/ai/getLastSession.mjsscript is deleted.ai:get-last-sessionscript is removed frompackage.json.AGENTS.mdis updated to reflect the new, simplified workflow for session summarization.