Skip to content

spec(t27f): the graph view backdrop is brand black #000000 (Closes #12406) - #12408

Merged
gHashTag merged 5 commits into
masterfrom
claude/t27f-black-backdrop-12406
Oct 26, 2026
Merged

gHashTag merged 5 commits into
masterfrom
claude/t27f-black-backdrop-12406

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Closes #12406

Why

The owner asked for pure black #000000 behind the T27F pages and their cards. The t27.ai graph page and its card are now #000000 (gHashTag/trinity PR #1750). The graph itself is still drawn on VIEW_BACKDROP = #0B0D0C, which shows as a lighter rectangle inside the card. The host draws whatever this constant says, so the law is the only place to change it.

What changes

  • specs/t27f/spec_graph_view.t27. VIEW_BACKDROP changes from 0x0B0D0C to 0x000000, the brand black the reel backdrop already uses. A new test, the_backdrop_is_brand_black_and_every_box_shows_on_it, checks two things:
    • the backdrop is #000000;
    • VIEW_TEXT and every VIEW_LABEL_FILL and VIEW_LABEL_STROKE differ from it.
  • specs/t27f/deps_card.t27 and specs/t27f/why_card.t27. Both print VIEW_BACKDROP into their ffmpeg colour source, so each pinned string changes to color=c=0x000000:s=1080x1350:d=1. These share cards become pure black too.
  • Seals. Re-saved with the master-built t27c (672aaca) for spec_graph_view, deps_card, why_card and spec_graph_fold. The spec_graph_fold seal changes only because its closure records spec_graph_view's hash. None of the seals contains a /Users path.

The label fills and strokes are unchanged. They are the T27F label encoding.

Verified

Spec t27c test-report
spec_graph_view 10/10, 0 vacuous; the new test runs 8 runtime asserts
deps_card 22/22, 0 vacuous
why_card 10/10, 0 vacuous
  • Negative control: with 0x0B0D0C put back, the new test fails and the rate drops to 90%.
  • Generator check: the master-built t27c gen-js reproduces trinity's committed graph/spec_graph_view.mjs byte for byte (sha256 6918f507...) from its vendored spec. So the trinity copy of this one-line change can be regenerated rather than hand-edited.
  • Hooks: pre-commit passed (foreign-budget, own-language, secret-gate; gitleaks found no leaks).

🤖 Generated with Claude Code

…2406)

VIEW_BACKDROP changes from the near-black #0B0D0C to #000000. That is the
brand black the reel backdrop already uses. The t27.ai graph page and its
card are now #000000 (gHashTag/trinity PR #1750), and the old value showed
up as a lighter rectangle inside them.

- New test the_backdrop_is_brand_black_and_every_box_shows_on_it. It checks
  that the backdrop is #000000, and that the text and every label fill and
  stroke differ from it. It runs 8 runtime asserts. Negative control: with
  #0B0D0C put back, the test fails and the rate drops to 90%.
- deps_card.t27 and why_card.t27 print VIEW_BACKDROP into their ffmpeg
  colour source, so their pinned string changes to color=c=0x000000.
- Results: spec_graph_view 10/10, deps_card 22/22, why_card 10/10, with no
  vacuous passes.
- Seals were re-saved with the master-built t27c (672aaca) for
  spec_graph_view, deps_card, why_card and spec_graph_fold. The fold seal
  changes because its closure records spec_graph_view's hash.

The label fills and strokes are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag added a commit to Trinity-S-AI-DNA/trinity that referenced this pull request Oct 25, 2026
… (refs #1717)

The owner asked for /t27f/gnn/ and /t27f/graph/ to follow /t27f/live/:
#000000 behind the page and every card, with grey #333 borders. Colour
literals only, no logic.

gnn:
- index.html: theme-color and the --bg, --panel and --raised tokens go from
  the GitHub navy (#0d1117, #161b22, #21262d) to #000000. --line goes from
  #30363d to #333. That covers the body, the TOC, the code chips and every
  figure card.
- gnn.js: the hero node boxes and the empty cells of the two matrix figures
  were filled #161b22. They are now #000000, and the cell strokes go from
  #30363d to #333.

graph:
- index.html: --panel and --raised go from #0b0d0c and #121614 to #000000.
  The #graph card border goes from the green hairline to #333.
- The SVG backdrop is not a page colour. The host draws VIEW_BACKDROP from
  the law, so the law changed first, in Trinity-S-AI-DNA/t27#12408. Here the vendored
  specs/spec_graph_view.t27 copies that one-line change. spec_graph_view.mjs
  was regenerated by `t27c gen-js` at t27 master 672aaca7d and not edited by
  hand: only the VIEW_BACKDROP line differs. Before the change, the same
  compiler reproduced the committed .mjs byte for byte. t27f.build carries
  the two new sha256 lines. The wasm is unchanged; it does not use the
  backdrop.

Kept: text, accent, legend and edge colours, and the label fills, which are
the T27F label encoding.

Checked on a local serve: getComputedStyle reads rgb(0, 0, 0) on the body and
on the cards of both pages, and the card borders read rgb(51, 51, 51). The
graph SVG backdrop rect fill is #000000. check:t27f (shasum -c on t27f.build)
passes.

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-25 12:19:17 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 44
PRs with All Checks Green 6
READY 3
FAILING 44
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=75249fe1efad != 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 25, 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 a27a3f2. Nothing was generated, built or run. A pass means the file is well formed, not that it is right.

  • specs/t27f/deps_card.t27: parses and typechecks.
  • specs/t27f/spec_graph_view.t27: parses and typechecks.
  • specs/t27f/why_card.t27: parses and typechecks.

Read by the model

This PR changes the graph view backdrop from #0B0D0C to pure brand black #000000 across spec_graph_view, deps_card, and why_card, and adds a test verifying the backdrop is black and that all label fills/strokes have sufficient luminance separation from it.

Worth a look

  • specs/t27f/spec_graph_view.t27 (new test the_backdrop_is_brand_black_and_every_box_shows_on_it): The test encodes hard-coded luminance thresholds (200000, 140000, 100000, 20000) with the comment "The floors are what the palette clears today with some room; they are not a WCAG ratio." If label colours are ever tuned, these assertions will need manual re-calibration; they do not guarantee accessibility.
  • specs/t27f/spec_graph_view.t27:95-96: The comment claims the graph backdrop is now the same black as "the page and the card the graph sits in," but the PR description says "The graph itself is still drawn on VIEW_BACKDROP = #0B0D0C, which shows as a lighter rectangle inside the card." The code change makes VIEW_BACKDROP = #000000, so the graph rectangle will now be pure black, not a lighter rectangle — the comment and description are inconsistent.
  • specs/t27f/deps_card.t27:474 and specs/t27f/why_card.t27:436: Test expectations updated to color=c=0x000000. If the ffmpeg colour source string format ever changes (e.g., different size or duration), these assertions will fail even though the backdrop colour is correct.

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

…loses #12406)

The bee review on #12408 pointed out that the backdrop test only asserted
that each colour differs from the backdrop, which a fill of 0x000001 would
pass. The test now computes Rec.601 luma in thousandths (black 0, white
255000) and asserts floors the palette clears today:

- text vs page black: at least 200000
- each box stroke vs page black: at least 140000 (lowest is grey, 144853)
- each box stroke vs its own fill: at least 100000 (lowest 116277)
- each box fill vs page black: at least 20000 (lowest 28576)
- text vs each box fill: at least 200000 (lowest 219512)

It is a luma floor, not a WCAG contrast ratio, and the comment says so.
Negative control: a stroke floor of 144854 fails the test, 144853 passes.

Re-sealed spec_graph_view and the three seals that record its hash
(spec_graph_fold, deps_card, why_card) with the master-built t27c.

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-25 13:35:21 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 40
PRs with All Checks Green 10
READY 3
FAILING 40
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=75249fe1efad != 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 Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-26 01:18:23 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 36
PRs with All Checks Green 14
READY 4
FAILING 36
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=75249fe1efad != 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-10-26 01:43:39 UTC

Summary

Status Count
Total Open PRs 43
PRs with Failing Checks 32
PRs with All Checks Green 11
READY 2
FAILING 32
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=75249fe1efad != 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 89fb803 into master Oct 26, 2026
35 checks passed
@gHashTag
gHashTag deleted the claude/t27f-black-backdrop-12406 branch October 26, 2026 03:41
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.

spec(t27f): the graph view backdrop is pure black #000000, like the page around it

1 participant