Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-001] Parse document into section tree
# FR-001: Parse document into section tree

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-002-section-query-by-heading.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-002] Section query by heading
# FR-002: Section query by heading

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-003-table-extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ relationships:
type: 'implements'
---

# [FR-003] Table extraction
# FR-003: Table extraction

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-004-structured-list-extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-004] Structured list extraction
# FR-004: Structured list extraction

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-005-frontmatter-extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ relationships:
type: 'implements'
---

# [FR-005] Frontmatter extraction
# FR-005: Frontmatter extraction

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-006-diagram-extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ relationships:
type: 'implements'
---

# [FR-006] Diagram extraction with type tags
# FR-006: Diagram extraction with type tags

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-007-full-text-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-007] Full-text search across sections
# FR-007: Full-text search across sections

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-008-quireprovider-react-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-008] QuireProvider React context
# FR-008: QuireProvider React context

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-009-usesection-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-009] useSection hook
# FR-009: useSection hook

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-010-usetable-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ relationships:
type: 'implements'
---

# [FR-010] useTable hook
# FR-010: useTable hook

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-011-uselist-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-011] useList hook
# FR-011: useList hook

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-012-usefrontmatter-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-012] useFrontmatter hook
# FR-012: useFrontmatter hook

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-013-usediagram-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-013] useDiagram hook
# FR-013: useDiagram hook

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-014-section-update-and-write-back.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-014] Section update and write-back
# FR-014: Section update and write-back

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-015-sectioncard-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-015] SectionCard component
# FR-015: SectionCard component

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-016-sectiontable-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ relationships:
type: 'implements'
---

# [FR-016] SectionTable component
# FR-016: SectionTable component

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-017-sectionlist-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ relationships:
type: 'implements'
---

# [FR-017] SectionList component
# FR-017: SectionList component

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-018-autosections-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-018] AutoSections component
# FR-018: AutoSections component

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-019-delegation-annotation-parsing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-019] Delegation annotation parsing
# FR-019: Delegation annotation parsing

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-020-find-diagram-by-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-020] Find diagram by tag
# FR-020: Find diagram by tag

## Description

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-021] Standards resolution from frontmatter
# FR-021: Standards resolution from frontmatter

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-022-adr-artifact-section-parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-022] ADR artifact section parser
# FR-022: ADR artifact section parser

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-023-grouped-dependency-renderer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-023] Grouped dependency classification
# FR-023: Grouped dependency classification

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-024-extract-fr-process-diagrams.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-024] Extract FR process diagrams from artifacts
# FR-024: Extract FR process diagrams from artifacts

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-027-error-handling-and-edge-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ relationships:
type: 'implements'
---

# [FR-027] Error handling and edge cases
# FR-027: Error handling and edge cases

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/functional/FR-028-render-error-boundaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'implements'
---

# [FR-028] Render error boundaries
# FR-028: Render error boundaries

## Description

Expand Down
2 changes: 1 addition & 1 deletion spec/non-functional/NFR-001-parse-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'constrains'
---

# [NFR-001] Parse performance
# NFR-001: Parse performance

## Attribute

Expand Down
2 changes: 1 addition & 1 deletion spec/non-functional/NFR-002-round-trip-fidelity.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'constrains'
---

# [NFR-002] Round-trip fidelity
# NFR-002: Round-trip fidelity

## Attribute

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'constrains'
---

# [NFR-003] Bundle size and tree-shakeability
# NFR-003: Bundle size and tree-shakeability

## Attribute

Expand Down
2 changes: 1 addition & 1 deletion spec/non-functional/NFR-004-theme-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'constrains'
---

# [NFR-004] Theme integration
# NFR-004: Theme integration

## Attribute

Expand Down
2 changes: 1 addition & 1 deletion spec/non-functional/NFR-005-test-coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'constrains'
---

# [NFR-005] Test coverage
# NFR-005: Test coverage

## Attribute

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: 'Eliminate parsing duplication'
type: StR
---

# [StR-001] Eliminate parsing duplication
# StR-001: Eliminate parsing duplication

## Statement

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: 'Structured document interaction'
type: StR
---

# [StR-002] Structured document interaction
# StR-002: Structured document interaction

## Statement

Expand Down
8 changes: 4 additions & 4 deletions spec/usecase/US-001-parse-a-spec-into-sections.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'traces_to'
---

# [US-001] Parse a spec into sections
# US-001: Parse a spec into sections

## Story

Expand All @@ -24,19 +24,19 @@ markdown.

## Acceptance Examples (Illustrative)

### [US-001-EX-1] Headings become sections
### US-001-EX-1: Headings become sections

- **Given** a markdown string with `##` headings
- **When** it is parsed
- **Then** each heading becomes a named section with its content.

### [US-001-EX-2] Nested headings form a hierarchy
### US-001-EX-2: Nested headings form a hierarchy

- **Given** nested headings (`##`, `###`, `####`)
- **When** parsed
- **Then** sub-sections nest under their parent.

### [US-001-EX-3] Empty input is safe
### US-001-EX-3: Empty input is safe

- **Given** an empty string
- **When** parsed
Expand Down
8 changes: 4 additions & 4 deletions spec/usecase/US-002-query-a-specific-section.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'traces_to'
---

# [US-002] Query a specific section
# US-002: Query a specific section

## Story

Expand All @@ -23,19 +23,19 @@ case-insensitive full-text search across all section content.

## Acceptance Examples (Illustrative)

### [US-002-EX-1] Heading lookup
### US-002-EX-1: Heading lookup

- **Given** a parsed document
- **When** I query `section("Purpose")`
- **Then** I receive the `## Purpose` section.

### [US-002-EX-2] Missing heading
### US-002-EX-2: Missing heading

- **Given** a heading that does not exist
- **When** queried
- **Then** I receive `null`.

### [US-002-EX-3] Numbered headings match
### US-002-EX-3: Numbered headings match

- **Given** `## 2.1 In Scope`
- **When** I query `section("In Scope")`
Expand Down
8 changes: 4 additions & 4 deletions spec/usecase/US-003-extract-tables-from-sections.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ relationships:
type: 'traces_to'
---

# [US-003] Extract tables from sections
# US-003: Extract tables from sections

## Story

Expand All @@ -23,19 +23,19 @@ convenience that locates the section then parses its first table.

## Acceptance Examples (Illustrative)

### [US-003-EX-1] Table to rows
### US-003-EX-1: Table to rows

- **Given** a section containing a markdown table
- **When** I extract it
- **Then** I receive header-stripped row arrays.

### [US-003-EX-2] No table
### US-003-EX-2: No table

- **Given** a section with no table
- **When** extracted
- **Then** I receive empty headers and rows.

### [US-003-EX-3] Multiple tables
### US-003-EX-3: Multiple tables

- **Given** a section with multiple tables
- **When** I call `parseTables()`
Expand Down
Loading
Loading