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

Docs plugin migration to metaFields + zones

Phase 2 of SPEC-079. Migrates the docs plugin's meta-bearing runes (Api, Symbol) from the legacy slots + structure config shape to the new metaFields + zones + contentSlots model.

Priority:mediumComplexity: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. 2d85b5f
    statusreadydone
    by bjornolofandersson
  2. 81ceb3b
    Content editedby bjornolofandersson
  3. 4f945b1
    Created (ready)by bjornolofandersson

Acceptance Criteria

  • plugins/docs/src/config.ts rewritten.

    • Api: method, path, auth. Eyebrow: method (left) + path (right) — the existing HTTP-method-+-route header pattern projected via split. Metadata: auth (when condition met). The method field's sentimentMap preserved verbatim (GET: positive, POST: neutral, PUT: neutral, PATCH: caution, DELETE: negative).
    • Symbol: kind, lang, since, deprecated. Eyebrow: kind + deprecated (when set, with negative sentiment from the existing sentimentMap: { true: 'negative' }). Metadata: lang + since.
  • Per-rune CSS updated. Selectors in plugins/docs/styles/{api,symbol}.css referencing __header-primary / __header-secondary rewritten to __eyebrow / __metadata. API method-pill coloring quirks preserved.

  • Changelog / SymbolGroup / SymbolMember untouched. Content containers without meta projection — stay on the existing path.

  • Plugin tests updated. Tests in plugins/docs/test/ that snapshot rune output reflect the new DOM shape.

  • Backwards-compat shim warning silent for docs.

  • Docs. Docs rune doc pages (site/content/runes/docs/{api,symbol}.md) — output-contract snippets updated.

Approach

Two-rune migration. Api is the more interesting case (method+path projected as split-eyebrow); Symbol is a trimmed variant. Land both on one branch.

The path field's eyebrow rendering wants monospace (it's a URL pattern) — that comes for free via metaType: 'id', which already carries the monospace typography hint.

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-318. Targeted the SPEC-079 zones model for the docs plugin (Api, Symbol); the docs package migrated straight to the SPEC-080 blocks/layout model instead (Api eyebrow bar, Symbol eyebrow + source href link + metadata def-list) on branch claude/spec-079-implementation. Same supersession as WORK-310/311/312.