Skip to content

feat(widgets): spike - vc-the-loop as a script-free static page (FR-106) - #13562

Draft
gHashTag wants to merge 3 commits into
masterfrom
feat/vc-static-view-spike
Draft

gHashTag wants to merge 3 commits into
masterfrom
feat/vc-static-view-spike

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Description

Spike FR-106 of the wasm-view epic: can a course-12 widget ship as a page with no script, built by t27 alone? specs/widgets/static_view_spike.t27 writes every reachable state of the vc-the-loop widget as one <section> of a single HTML page, linked by anchors and switched by CSS :target, using the html_out writer. A cap on the number of rounds keeps the state set finite.

This PR is a measurement, not a feature. It stays draft and is closed once the numbers are posted. Nothing is wired into the widget pages.

Refs #10937

Changes

  • specs/widgets/static_view_spike.t27 (new): transition fns, page writer for caps 6, 12 and 24, a fixed-Huffman deflate size estimator, tests.

Testing

The existing spec-test CI runs the file. Tests named measure_* assert a wrong value on purpose: a failing assertion prints the value of its non-literal side, so the number is in the failing line of the log. These tests are red by design and are the whole point of the PR. No workflow is added: a new hand-written .yml is DENY under own_language.t27 and t27c has no backend that writes one.

Review Notes

The compressed size is not gzip. It is the size of one fixed-Huffman deflate block from a greedy LZ77, computed in t27, and is quoted as an upper bound for gzip -9.


🤖 Generated with Claude Code

Writes every reachable state of the vc-the-loop widget as one section of a
single HTML page, linked by anchors and switched by CSS :target, with no
script, for three caps on the number of rounds (6, 12, 24). The numbers
(state count, raw bytes, a fixed-Huffman deflate size) come out of the spec's
own tests: measure_* assert a wrong value on purpose and the failing line
prints the real one. Spike only, nothing is wired into the widget pages.

Refs #10937

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-10 12:22:30 UTC

Summary

Status Count
Total Open PRs 31
PRs with Failing Checks 27
PRs with All Checks Green 4
READY 0
FAILING 27
PENDING 0
NO CHECKS YET 0

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

Seal Status

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

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-10 12:29:06 UTC

Summary

Status Count
Total Open PRs 31
PRs with Failing Checks 27
PRs with All Checks Green 4
READY 0
FAILING 27
PENDING 0
NO CHECKS YET 0

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

Seal Status

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

…static page

The affected-specs gate prints only the count of failing tests per spec, so
each probe is the spike code plus a ladder of tests that fail at growing
thresholds: the failing count is the rung the measured size falls on.
Round 1 (powers of 2^(1/4)) found the brackets, round 2 narrows them. The
probes are deleted once the numbers are posted. The anchor fn of the spike
is reordered so its body is not a byte copy of jtag_verdict's.

Refs #10937

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gHashTag
gHashTag force-pushed the feat/vc-static-view-spike branch from 04ab56f to 57a5001 Compare November 10, 2026 12:34
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-10 12:34:27 UTC

Summary

Status Count
Total Open PRs 31
PRs with Failing Checks 27
PRs with All Checks Green 4
READY 0
FAILING 27
PENDING 0
NO CHECKS YET 0

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

Seal Status

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

…comment

The four static_view_probe_* specs only existed to read the page size through
failing-test counts; the numbers are now recorded in the spike spec header.

Refs #10937

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-10 12:43:27 UTC

Summary

Status Count
Total Open PRs 30
PRs with Failing Checks 28
PRs with All Checks Green 2
READY 0
FAILING 28
PENDING 0
NO CHECKS YET 0

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

Seal Status

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

This was referenced Nov 10, 2026
This was referenced Nov 10, 2026

This branch has not been deployed

No deployments
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