Skip to content

opt(t27os): transition engine Pareto speed — 3 variants (Closes #12779) - #13129

Merged
gHashTag merged 1 commit into
masterfrom
lane/t27f-transition-speed
Nov 2, 2026
Merged

gHashTag merged 1 commit into
masterfrom
lane/t27f-transition-speed

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #12779.

Pareto speed optimizations for the transition engine (graph_transition.t27):

Variant 1 — adaptive frame budgets: when pending > TRS_ADAPT_THRESHOLD(5),
stage budgets halve (min 2). Backlog consumes ~2x faster on burst.

Variant 2 — fast-forward through stages: when pending > TRS_FAST_THRESHOLD(8),
skip HIGHLIGHT (start at FADE_OUT) and skip SETTLE (settle to NONE directly).
Only the two most important stages run: movement + appearance. ~24% fewer
frames per transition on burst.

Variant 3 — delta position precompute: TrDelta struct precomputes (dx, dy)
movement vectors once; trs_lerp interpolates per frame without calling
lg_node_pos. MOVE stage goes from O(nodes * frames) to O(nodes) per stage.

Tests: 15/15; t27b --check clean (0 mismatches); seals saved and MATCH.
phi^2 + phi^-2 = 3 | TRINITY

Variant 1 — adaptive frame budgets: when pending > TRS_ADAPT_THRESHOLD(5),
stage budgets halve (min 2). Backlog consumes ~2x faster on burst.

Variant 2 — fast-forward through stages: when pending > TRS_FAST_THRESHOLD(8),
skip HIGHLIGHT (start at FADE_OUT) and skip SETTLE (settle to NONE directly).
Only the two most important stages run: movement + appearance. ~24% fewer
frames per transition on burst.

Variant 3 — delta position precompute: TrDelta struct precomputes (dx, dy)
movement vectors once; trs_lerp interpolates per frame without calling
lg_node_pos. MOVE stage goes from O(nodes * frames) to O(nodes) per stage.

Tests: 15/15 (new: adaptive_budget_reduces, adaptive_budget_normal,
fast_forward_skips_highlight, fast_forward_skips_settle, delta_positions,
fast_forward_reduces_total_frames); t27b --check clean (0 mismatches);
seal saved and MATCH.

phi^2 + phi^-2 = 3 | TRINITY
@gHashTag
gHashTag enabled auto-merge (squash) November 2, 2026 13:59
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-02 14:00:48 UTC

Summary

Status Count
Total Open PRs 48
PRs with Failing Checks 44
PRs with All Checks Green 4
READY 2
FAILING 44
PENDING 0
NO CHECKS YET 0

These columns do not partition: 2 + 44 + 0 + 0 = 46, and there are 48 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=e75b498e5e79 != 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).

@gHashTag
gHashTag merged commit 141198a into master Nov 2, 2026
33 of 38 checks passed
@gHashTag
gHashTag deleted the lane/t27f-transition-speed branch November 2, 2026 14:01
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.

[EPIC] T27F Live mycelium on all 27 T27 OS petals -- the swarm's work graph visible everywhere

1 participant