Skip to content

master red: trinity_fpga_adapter width repaired at the cause, hex_val merged (Closes #10382) - #10386

Merged
gHashTag merged 4 commits into
masterfrom
fix/master-red-10382
Oct 18, 2026
Merged

gHashTag merged 4 commits into
masterfrom
fix/master-red-10382

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #10382

Two required checks were red on master (b2fbb75 / #10370 through 9969315). #10373 turned them green by hand-adding a width-ledger line and blessing 20 duplicate names. This PR repairs what it can and says plainly what it leaves.

1. Verilog widths: fixed at the cause

specs/port/tools/trinity_fpga_adapter.t27 self_check held a local var c: Consts. Consts is a struct of four str fields; a str has no bit form, so the packed width is 0 and range_decl printed [0 - 1 : 0] as [4294967295:0]. The spec reached the gate only when #10370 made it compile.

2. Duplicate bodies: one group merged, the rest left with a reason

hex_val (url.t27 and net.t27 were byte-identical) is merged: specs/tri/net/url.t27 now has use tri::net::net; and no local copy. Tests: url 16/16, net 15/15, 0 vacuous. The TriUrl seals (two files naming the spec) were regenerated by t27c. hex_val 2 is removed from tools/duplicate_bodies_baseline.txt by hand, so the file keeps its shape. dupe_scan.py exits 0.

The other groups are NOT merged here, and nothing was blessed again. I read each pair: they are the same text over module-local types, state or constants, so a use would either pull in a second module's types or clash on names (two imports defining one function name are reported ambiguous).

group where why it stays
str_eq x4, same_text, text_of, text_append_byte/str/u32, string_arena_reserve, arena_reserve specs/config/{paths,migrate,schema}, specs/ar/*, specs/claw/suggest_feed each is written over that module's own text/arena struct or constant: same shape, different type
free_node, new_graph, find_byte, find_scheme_end, split_rest, is_word_char, all_positive, isDatabaseConfigured tri/trees, tri/graph, tri/net/http, ml/transformer, config operate on module-local node/graph/state types or consts
bytes_eq (8,3), concat (3,2), starts_with (2,2) suggest_feed + port specs port specs are standalone by design (#10370); suggest_feed carries its own fixed-array helpers

A follow-up that gives byte helpers a single home (as #10318 did for claw text) would retire most of these. It needs a design decision on a shared text type, so it is out of this PR. Note that dupe_scan.py --bless rewrites the ledger and drops comments, so the reasons live here and in #10382, not in the file.

Checks (all on the Railway lab, none on the Mac)

  • python3 tools/dupe_scan.py: ok, exit 0
  • python3 tools/check_verilog_widths.py --require: OK: 4 known, 0 new
  • t27c seal-audit: no entry for the touched specs
  • tests: adapter 6/6, url 16/16, net 15/15

Only .t27, seals and ledgers changed.

🤖 Generated with Claude Code

gHashTag and others added 4 commits October 18, 2026 17:34
…op its width-ledger line (Refs #10382)

Consts is four str fields, a str has no bit representation, so the local
var c: Consts was a 0-bit register and range_decl printed [4294967295:0].
self_check now passes good_consts() inline.

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

Written by t27c seal --save on the Railway lab, no --force; test-report 6 of 6, 0 vacuous.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…10382)

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-18 10:46:33 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 49
PRs with All Checks Green 1
READY 0
FAILING 49
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=fad12492937a != 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 8ea4720 into master Oct 18, 2026
30 of 33 checks passed
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.

master red: trinity_fpga_adapter emits a 2^32-1 bit width; 20 blessed duplicate helper bodies to merge

1 participant