Skip to content

Tracking: typed native styling — slice rollout (supersedes #1195) #1204

Closed

Description

@jonkwheeler

Context

PR #1195 delivered typed native styling for Octane as one large diff (~8,100 additions across 189 files). To make it reviewable, it is being re-cut into small, independently-mergeable PRs to main, ordered by dependency waves. Its upstream companion, tsrx#141, splits into two.

Each slice is a mechanical re-cut of the validated work — no redesign — with its own tests, changeset, and a PR body that explains what changed, why, and how it benefits Octane.

Slice map

Slice Contents Depends on PR Status
T-A tsrx: diagnostic severity + code transport (CompileError.severity, tsrx-tsc tsc-style logging, language-server warning mapping) — tsrx#142 closed draft (pending RFC)
T-B tsrx: fatal-failure stub emit, exit-path behavior, class-map emit/type pins T-A merged — queued
O1 Diagnostic-code propagation fix: octane analyze + MCP octane_compile keep real codes — #1210 closed draft (pending RFC)
O2 defineThemeTokens module (octane/theme-tokens), export registration, tests — #1211 closed draft (pending RFC)
O3 CSS-correctness analyzer (octane-css-* diagnostics) + octane-ignore suppression — — queued
O4 Same-module class-key check (octane-style-unknown-class-key) O3 merged — queued
O5 In-<style> token-contract enforcement O2 + O3 merged — queued
O6 Bundler error channel — error-severity diagnostics fail builds (vite/rspack/rsbuild) O2 + O3 merged — queued
O7 Evals + styling-failure ledger O3/O5 codes landed — queued
O8 Teaching surfaces + migration (rules, docs, llms.txt, MCP skills, CLI templates) all feature slices — queued

Merge order

Wave 0 (independent): T-A, O1, O2, O3 — any order.
Wave 1: T-B (after T-A), O4 (after O3), O5 (after O2+O3), O6 (after O2+O3).
Wave 2: O7 (after O3/O5 codes).
Wave 3: O8 (after all feature slices).

Note: O3/O5/O6 may land before the @tsrx/* publish — Octane's own octane analyze path surfaces warning severity natively; editor/tsrx-tsc severity display is temporarily degraded until T-A ships and the catalog bump follows (maintainer-owned).

Umbrella PRs

  • octane#1195 — closes once the first replacement slices open
  • tsrx#141 — closes once both T-A and T-B are open

Coverage is verified at patch level: the union of all slice diffs must equal the umbrella diffs, modulo generated output (pnpm sync) and maintainer-owned publish steps.

Activity

  1. jonkwheeler commented on Sep 21, 2026

    @jonkwheeler
    ContributorAuthor

    Status update 2026-09-21: the four wave-0 slice PRs (tsrx#142, #1210, #1211, #1212) were opened as drafts, verified, and then closed — the typed-styling work is moving to an RFC-first path so the approach can be discussed before slice review. Branches/worktrees remain intact locally; slices can be reopened or re-cut after the RFC. Slice table statuses updated accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions