WORK-312
Setting up your dashboard 0 entities found · 9/32 branches scanned
ID:WORK-312Status:done

Core Budget rune migration to metaFields + zones

Phase 2 of SPEC-079. Migrates the core {% budget %} rune (the only core rune using meta-projection — currency, duration meta fields) from the legacy slots + structure config shape to the new metaFields + zones + contentSlots model.

Priority:lowComplexity:simpleMilestone:v0.17.0Source:SPEC-079
claude/spec-079-implementation View source

Criteria completion

Criteria completion: 0 of 6 (0%) checked; tracking started on Jun 1, no incremental history yet0%25%50%75%100%Jun 1Jun 15

Tracking started Jun 1 — check back for trends.

Branches 2
claude/spec-079-implementation current done
changeset-release/main donemain done
History 3
  1. e4d5cbc
    statusreadydone
    by bjornolofandersson
  2. 81ceb3b
    Content editedby bjornolofandersson
  3. 4f945b1
    Created (ready)by bjornolofandersson

Acceptance Criteria

  • packages/runes/src/config.ts Budget entry rewritten.

    • Budget: currency, duration. Metadata zone projected via def-list (or chip-row, depending on how it reads with 1-2 fields). currency keeps metaType: 'category', duration keeps metaType: 'temporal' + tag: 'time'.
    • The conditionAny: ['currency', 'duration'] wrapper that today's structure declares becomes implicit: the def-list layout naturally skips rendering rows for absent fields when each field carries its own condition.
  • packages/lumina/styles/runes/budget.css updated. Selectors referencing __header-primary / __header-secondary / __meta rewritten if present.

  • BudgetCategory / BudgetLineItem untouched. Container child runes without meta projection — stay on existing path.

  • Core tests updated. Tests touching Budget output DOM reflect the new shape.

  • Backwards-compat shim warning silent for Budget.

  • Docs. site/content/runes/budget.md output-contract snippets updated where they reference the legacy class names.

Approach

Tiny migration — one rune, two meta fields. Quick win. Lands on its own branch or batched with another Phase 2 item.

Dependencies

  • WORK-305 — engine + layout primitives (done).
  • WORK-306 — plan plugin migration reference (done).

References

  • SPEC-079 — the spec being implemented.

Resolution

Completed: 2026-06-02

Superseded by WORK-319. Targeted the SPEC-079 zones model; the core budget rune migrated straight to the SPEC-080 blocks/layout model instead on branch claude/definitions-list-styling-9nOGL.