Skip to content

spec(t27f): hud full layout — status bar, task cards (Closes #10262) - #11846

Merged
gHashTag merged 1 commit into
masterfrom
a-hud-10262
Oct 23, 2026
Merged

gHashTag merged 1 commit into
masterfrom
a-hud-10262

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Full HUD layout for T27F Live M3. Pure function of work_graph + frame (FR-001). Test-report: 6/6, 0 vacuous. Seal saved. Refs #10262

…10262)

Builds the HUD scene as a pure function of the work graph and frame number
(FR-001). Status bar with agent state and task count; task cards per active
node. The a11y mirror (FR-002) lands in the next spec.

Test-report: 6/6, 0 vacuous. Seal saved.

Refs #10262
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-23 16:16:32 UTC

Summary

Status Count
Total Open PRs 28
PRs with Failing Checks 24
PRs with All Checks Green 4
READY 3
FAILING 24
PENDING 0
NO CHECKS YET 0

These columns do not partition: 3 + 24 + 0 + 0 = 27, and there are 28 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=5aec047d42ec != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@tri-claw

tri-claw Bot commented Oct 23, 2026

Copy link
Copy Markdown

Summary by t27-bees

Checked by the t27 compiler

t27c parse, parse-complete and typecheck on each changed .t27 file at fa2fd7d. Nothing was generated, built or run. A pass means the file is well formed, not that it is right.

  • specs/t27f/hud.t27: parses and typechecks.

Read by the model

This PR replaces the minimal hud_scene stub with a full HudScene record that captures status bar presence, per-node task cards (kind + provenance label), and element counts. The change makes the HUD a pure function of work_graph + frame (FR-001), adds comprehensive tests for card counts, status bar logic, frame independence, and kind/label fidelity, and introduces an HUD_ABSENT sentinel for the missing status bar.

Worth a look

  • specs/t27f/hud.t27:62–63 — HudScene uses fixed [2048]u8 arrays for card_kind and card_label. The code asserts n <= NODE_CAP but never checks NODE_CAP <= 2048; if the work graph capacity grows past 2048, the scene will silently overflow or fail to compile.
  • specs/t27f/hud.t27:84–85 — hud_new_scene() initializes arrays with [0] ** 2048. If the language expects a different repeat syntax (e.g., [0; 2048]), this will not compile; the diff shows the file typechecks, but the syntax is worth verifying against the compiler's array literal rules.
  • specs/t27f/hud.t27:103–104 — hud_scene_of sets s.status_bar = HUD_ABSENT then conditionally overwrites it, but hud_status_bar_count(wg) is called after to compute element_count. The logic is consistent today, but the order is fragile: if hud_status_bar_count ever diverges from the n > 0 check, element_count will disagree with status_bar.
  • specs/t27f/hud.t27:112 — hud_scene now takes *WorkGraph (pointer) whereas the original took WorkGraph by value. Call sites outside this file (if any) will need updating; the diff doesn't show other files, so this could be a breaking API change.
  • specs/t27f/hud.t27:120 — hud_mirror signature changed to *WorkGraph but body still returns 0 with a TODO. The comment says mirror construction "lands in the next spec", so this is a known stub, but the pointer change propagates the same API shift as above.

Read: 1 files, +188 -27, the whole diff. Head fa2fd7d. Model: openai-compatible/nvidia/nemotron-3-ultra-550b-a55b. Commands: @t27-bees review | summary | help | pause | resume. Free for every repository.

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.

1 participant