WORK-023
ID:WORK-023Status:done

Build decision-log Rune

Priority:lowComplexity:moderateSource:SPEC-021
changeset-release/main View source

Criteria completion

No incremental history — criteria tracking started on Apr 19.

Branches 3
History 7
  1. f262d7b
    Content editedby Claude
    Backfill source attributes on all 123 work items
  2. cf0cfc0
    Content editedby Claude
    Revert "Fix plan site truncation by escaping Markdoc tags in code fences
  3. 703b85a
    Content editedby Claude
    Fix plan site truncation by escaping Markdoc tags in code fences
  4. 28a3e49
    Content editedby Claude
    Add Lumina CSS for backlog and decision-log runes
  5. bcb01d8
    Content editedby Claude
    Add entity registration, backlog, and decision-log runes (WORK-020, WORK
  6. ebe0c64
    Content editedby Claude
    Migrate plan files to {% ref %} xref syntax (WORK-021)
  7. 3fc7634
    Created (done)by Claude
    Add work items for remaining SPEC-021 plan runes gaps

Summary

Aggregation rune that renders a chronological view of all architecture decision records. Queries the entity registry for decision entities and displays them as a sortable, filterable list with date, status, and title.

Simpler than the backlog rune — no grouping, no card layout. Just a clean chronological list.

Attributes

NameTypeDefaultDescription
filterStringFilter by status or tags (same field:value syntax as backlog)
sortStringdateSort order: date (reverse chronological) or id

Example

{% decision-log sort="date" /%}
{% decision-log filter="status:accepted" sort="date" /%}

Acceptance Criteria

  • Rune schema in runes/plan/src/tags/decision-log.ts with filter/sort attributes
  • aggregate() pipeline hook queries entity registry for decision entities
  • Results sorted by date (reverse chronological by default) or id
  • Filter parsing reuses backlog filter syntax
  • Renders as a list with date, status badge, id, and title per entry
  • Engine config in runes/plan/src/config.ts
  • CSS in packages/lumina/styles/runes/decision-log.css
  • Tests for filtering, sorting, and rendering
  • Exported from runes/plan/src/index.ts

Dependencies

  • WORK-020 (entity registration) must be complete first
  • Filter parsing can be shared with backlog rune (WORK-022)