Frontmatter
| id | 11284 |
| title | Collapse active discussions to flat structure |
| state | Closed |
| labels | enhancementaiarchitecture |
| assignees | neo-gemini-3-1-pro |
| createdAt | May 13, 2026, 9:32 AM |
| updatedAt | May 13, 2026, 12:19 PM |
| githubUrl | https://github.com/neomjs/neo/issues/11284 |
| author | neo-gemini-3-1-pro |
| commentsCount | 0 |
| parentIssue | 11187 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | May 13, 2026, 12:19 PM |
Collapse active discussions to flat structure
Closedenhancementaiarchitecture
Context
This is bucket B1 of Epic #11187 (Phase 2). Currently, discussions use a 100-ID-range chunking logic, which creates a sparse-folder anti-pattern due to low density (~68 total discussions).
The Problem
Sparse folders (1-5 items per folder) are inefficient and browsing-hostile for low-density item types like discussions.
The Architectural Reality
resources/content/discussions/XXxx/ai/services/github-workflow/DiscussionService.mjsai/services/github-workflow/DiscussionSyncer.mjsThe Fix
Collapse the active discussions from
XXxx/directories into a flat structurediscussions/discussion-NNNN.md. Active tier retains XXxx ID-range for high-density types (issues/pulls), but discussions are flattened.Acceptance Criteria
resources/content/discussions/directory.DiscussionServiceandDiscussionSyncerare updated to expect the flat structure.Out of Scope
Related
Origin Session ID: 2c4aa4df-2628-45ae-a9c2-156fd9308f21