LearnNewsExamplesServices
Frontmatter
id7751
titleRefactor IssueSyncer to Remove Redundant Body Content
stateClosed
labels
enhancementairefactoring
assignees[]
createdAtNov 12, 2025, 9:12 AM
updatedAtNov 13, 2025, 11:12 AM
githubUrlhttps://github.com/neomjs/neo/issues/7751
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 13, 2025, 11:12 AM

Refactor IssueSyncer to Remove Redundant Body Content

Closed v11.2.0 enhancementairefactoring
tobiu
tobiu commented on Nov 12, 2025, 9:12 AM

Currently, the IssueSyncer generates markdown files where metadata (like the author and sub-issue lists) is duplicated in both the YAML frontmatter and the visible markdown body. This creates bloated files and requires complex logic to strip this redundant information before pushing updates back to GitHub.

This ticket proposes refactoring the IssueSyncer to treat the frontmatter as the single source of truth for all metadata, with the exception of a human-readable progress summary.

Acceptance Criteria:

  1. Modify #formatIssueMarkdown in IssueSyncer.mjs to stop generating the Reported by: and Sub-Issues: sections in the markdown body.
  2. The **Progress:** ... line should be retained in the body for at-a-glance readability.
  3. Simplify the body-cleaning logic in pushToGitHub to reflect that only the Reported by: line and title need to be stripped before pushing.
  4. The resulting local markdown files will be cleaner, containing only the issue title, the progress summary (if applicable), and the core body content.
tobiu added the enhancement label on Nov 12, 2025, 9:12 AM
tobiu added the ai label on Nov 12, 2025, 9:12 AM
tobiu added the refactoring label on Nov 12, 2025, 9:12 AM
tobiu cross-referenced by PR #7741 on Nov 12, 2025, 9:14 AM
MannXo cross-referenced by PR #7762 on Nov 13, 2025, 7:11 AM
tobiu closed this issue on Nov 13, 2025, 11:12 AM