Skip to content

fix(nap): Add ## heading awareness to archiveDecisions() #22

@diberry

Description

@diberry

Problem

archiveDecisions() only parses ### headings. Real decisions.md uses ## for section groupings (e.g., ## Foundational Directives). These are invisible to the parser — section headers become orphaned during archival.

From

Postmortem action item A2. Related to #20.

Proposed Fix

Extend the entry parser to recognize ## headings as section boundaries. Preserve section structure during archival — don't archive a ## heading while keeping its ### children, or vice versa.

Owner

EECOM (Core Dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgo:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:fidoAssigned to FIDO (Quality Owner)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions