Skip to content

feat(t27f): NETLIST constructor view-wave -- 15 renderer-neutral specs, 158 tests - #13881

Merged
gHashTag merged 8 commits into
masterfrom
lane/netlist-parts-palette
Nov 15, 2026
Merged

gHashTag merged 8 commits into
masterfrom
lane/netlist-parts-palette

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #13925
see #13650

NETLIST constructor view-wave module system (epic #13650) — 15 renderer-neutral specs, 158 tests.

Summary

NETLIST t27f specs (all numbers-only, renderer-neutral):

Wave Spec Tests
B1 specs/t27f/netlist_graph.t27 — IR: BLOCK/INSTANCE/NET/PIN/DEVICE/REFUSAL 3
C1 specs/t27f/netlist_view.t27 — layout plan 8
D1 specs/t27f/netlist_slice.t27 — viewport slice 8
E1 specs/t27f/netlist_selection.t27 — selection state 8
F1 specs/t27f/netlist_inspector.t27 — node data for inspector 9
G1 specs/t27f/netlist_parts.t27 — PartPalette catalog 8
H1 specs/t27f/netlist_node_port.t27 — port enumeration + compatibility 12
I1 specs/t27f/netlist_connection.t27 — connection preview + validation 12
J1 specs/t27f/netlist_toolbar.t27 — action availability from selection 15
K1 specs/t27f/netlist_constructor.t27 — unified state container 8
L1 specs/t27f/netlist_toolbar_view.t27 — toolbar layout plan 15
L2 specs/t27f/netlist_selection_view.t27 — selection badge plan 16
L3 specs/t27f/netlist_connection_view.t27 — connection line plan 16
L4 specs/t27f/netlist_constructor_view.t27 — root screen plan 15
— specs/t27f/netlist_tokens.t27 — color/size tokens 5

UIKit foundation (Waves 1–2):

  • specs/uikit/catalog.t27 — SSOT component/state indices for all hosts
  • specs/uikit/design_tokens.t27 — design tokens
  • specs/uikit/native_tokens.t27 — native tokens wired to FRONTEND petal
  • specs/uikit/stories.t27 — Button stories (Wave 1)
  • specs/uikit/stories_badge.t27 — Badge stories (Wave 1)

Not included in this PR (follow-up required):

  • UIKit stories for NETLIST constructor (each component needs unique ?story= URL)
  • Host renderer (Web React or T27OS native)
  • Visual regression screenshots
  • Merge of epic into master

Test plan

  • t27c seal on all 15 NETLIST specs passes (or CI verifies)
  • Diff limited to specs/t27f/netlist_*.t27, specs/uikit/, .trinity/seals/
  • No foreign-language hand-written code

🤖 Generated with Claude Code

gHashTag and others added 8 commits November 14, 2026 23:13
…ity rules (Closes #13726)

H1 (netlist_node_port): NpPortList, np_ports_for_node, np_can_connect, np_typical_port_count.
Port enumeration via edge traversal from NetlistGraph; compatibility via NG_EDGE_FROM/TO_KINDS masks.
12 tests, 3 invariants; all pass locally.

Depends on master (G1 merged: netlist_parts; E1/F1 merged: netlist_selection/inspector).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
I1 (netlist_connection): NcPreview, NcResult, nc_validate, nc_validate_nodes, nc_preview_result.
Reason codes: NC_OK, NC_INCOMPATIBLE, NC_INVALID_KIND, NC_SELF_LOOP.
12 tests, 3 invariants; all pass locally.

Depends on master (H1 merged: netlist_node_port).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Closes #13734)

J1 (netlist_toolbar): NtToolbar, nt_toolbar, nt_can_start_connection.
can_add always true; can_delete/inspect when selected; can_connect derived
from nc_validate (I1 contract) -- BLOCK/INSTANCE/NET can initiate, PIN/DEVICE/REFUSAL cannot.
TDD: stub → 7 fails (8 pass); implementation → 15 pass, 0 fail, 3 invariants.

Stacked on lane/netlist-connection-i1 (I1: nc_validate).
Depends on master (H1 merged: netlist_node_port d88ef30).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
#13736)

K1 (netlist_constructor): NnetlistConstructor, nc_constructor_state, nc_no_preview.
Integrates NtToolbar (J1) + NcPreview/NcResult (I1) into one state call.
preview_ok/preview_reason derived from nc_preview_result; toolbar from nt_toolbar.
TDD: stub -> 1 fail (7 pass); implementation -> 8 pass, 0 fail, 3 invariants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
 #13742)

L1 (netlist_toolbar_view): NtvButton, NtvToolbarView, ntv_toolbar_view, ntv_btn_alpha.
4 buttons (Add/Delete/Connect/Inspect) with positions and enabled/alpha from NtToolbar.
All alpha values from uikit::native_tokens -- no RGBA literals.
TDD: stub (enabled=false) -> 4 fail (11 pass); impl -> 15 pass, 0 fail, 3 invariants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…oses #13747)

L2 (netlist_selection_view): NsvBadge, nsv_badge_view, NSV_GOLD_R/G/B, NSV_ACCENT_ALPHA_ON/OFF.
Derives visible/kind_label/x/y/accent_alpha from NvSelection + NetlistGraph + NvPlan.
Gold constants match TH_GOLD=0xFFD700; no RGBA literals.
TDD: stub (visible=false) -> 6 fail (10 pass); impl -> 16 pass, 0 fail, 3 invariants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…oses #13761)

L3 (netlist_connection_view): NcvLine, ncv_line_view, NCW_ALPHA_DEFAULT/INACTIVE.
Derives visible/ok/reason/x0/y0/x1/y1/alpha from NcPreview + NcResult + NvPlan.
Alpha from uikit::native_tokens BTN_ALPHA_DEFAULT -- no RGBA literal.
TDD: stub (visible=false) -> 9 fail (7 pass); impl -> 16 pass, 0 fail, 3 invariants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…plan (Closes #13767)

L4 (netlist_constructor_view): NcvConstructorView, ncv_constructor_view.
Integrates toolbar plan (L1 ntv_toolbar_view), selection badge (L2 nsv_badge_view),
and connection line (L3 ncv_line_view) into one root render plan.
Pure delegation to sub-views: 15 pass, 0 fail, 3 invariants on first run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Nov 15, 2026
@gHashTag
gHashTag marked this pull request as ready for review November 15, 2026 07:45
@gHashTag
gHashTag enabled auto-merge (squash) November 15, 2026 07:46
@gHashTag
gHashTag merged commit dccf55a into master Nov 15, 2026
72 of 80 checks passed
@gHashTag
gHashTag deleted the lane/netlist-parts-palette branch November 15, 2026 08:07
gHashTag added a commit that referenced this pull request Nov 15, 2026
…13950, Refs #13650) (#13952)

Establishes runs/netlist_stories/ artifact directory and T27L evidence record
for 7 NETLIST UIKit story screenshots. Status PARTIAL: specs landed (PR #13908,
PR #13884, PR #13881), screenshots blocked pending VPS rendering pipeline run.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
gHashTag added a commit that referenced this pull request Nov 15, 2026
…13961)

* feat(uikit): NETLIST stories T27L record -- Lane D scaffold (Closes #13950, Refs #13650)

Establishes runs/netlist_stories/ artifact directory and T27L evidence record
for 7 NETLIST UIKit story screenshots. Status PARTIAL: specs landed (PR #13908,
PR #13884, PR #13881), screenshots blocked pending VPS rendering pipeline run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(uikit): update Lane D T27L -- storybook blank confirmed (HTTP 200, 0 bytes) (Refs #13950)

Storybook investigation result: app.t27.ai/game/browser returns HTTP 200 with
0-byte body (confirmed via curl, Safari, and in-app browser). Trinity /game/browser
route is not deployed. Screenshots blocked on Trinity deployment, not browser JS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(uikit): add 14 NETLIST story screenshots + T27L PASS record (Refs #13950)

7 stories x 2 themes (dark TH_COAL + light TH_PAPER) captured locally
via Trinity website dev server at localhost:5173/#/uikit.
T27L status promoted from PARTIAL to PASS: 14/14 screenshots present.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(t27f): NETLIST view-wave -- 15 renderer-neutral specs (B1-L4, see #13650)

1 participant