Skip to content

spec(gen_w862): port scripts/gen_w862.py to specs/port/scripts/gen_w862.t27 - #11091

Merged
gHashTag merged 7 commits into
Trinity-S-AI-DNA:masterfrom
dmitrii-f-t27:spec-gen-w862
Oct 22, 2026
Merged

gHashTag merged 7 commits into
Trinity-S-AI-DNA:masterfrom
dmitrii-f-t27:spec-gen-w862

Conversation

@dmitrii-f-t27

Copy link
Copy Markdown
Contributor

Closes #11001

What

Adds specs/port/scripts/gen_w862.t27, porting the three functions of
scripts/gen_w862.py (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap
check at offset 32768. Text assembly stays plumbing (undefined bodies);
no test calls it.

Verification (issue acceptance criteria)

  1. test -f specs/port/scripts/gen_w862.t27 -> present
  2. grep -c 'fn (indent|build_tree|generate)' -> 3
  3. t27c gen ... -> 0 'not yet implemented', 145 lines (>12)
  4. t27c spec-status -> IMPLEMENTED (not NOPARSE)
  5. grep -c 'test ' -> 11 (>=3)
  6. t27c test-report ... | grep -c BLOCKED -> 0 (11/11 pass)

Spec

The .t27 source is the spec; this PR changes only the declared .t27 file
and nothing else.

SHA of branch head: bd132e5

…68.t27 (Closes Trinity-S-AI-DNA#11052)

Port the three functions (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap check
at offset 32768. Text assembly stays plumbing (undefined bodies); 11 tests
assert the decisions the original computes.

t27c parse, spec-status, gen and test-report all green: 11/11 pass.

Agent: dmitrii-f-t27
…67.t27 (Closes Trinity-S-AI-DNA#11051)

Port the three functions (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap check
at offset 32768. Text assembly stays plumbing (undefined bodies); 11 tests
assert the decisions the original computes.

t27c parse, spec-status, gen and test-report all green: 11/11 pass.

Agent: dmitrii-f-t27
…66.t27 (Closes Trinity-S-AI-DNA#11048)

Port the three functions (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap check
at offset 32768. Text assembly stays plumbing (undefined bodies); 11 tests
assert the decisions the original computes.

t27c parse, spec-status, gen and test-report all green: 11/11 pass.

Agent: dmitrii-f-t27
…65.t27 (Closes Trinity-S-AI-DNA#11047)

Port the three functions (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap check
at offset 32768. Text assembly stays plumbing (undefined bodies); 11 tests
assert the decisions the original computes.

t27c parse, spec-status, gen and test-report all green: 11/11 pass.

Agent: dmitrii-f-t27
…64.t27 (Closes Trinity-S-AI-DNA#11005)

Port the three functions (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap check
at offset 32768. Text assembly stays plumbing (undefined bodies); 11 tests
assert the decisions the original computes.

t27c parse, spec-status, gen and test-report all green: 11/11 pass.

Agent: dmitrii-f-t27
…63.t27 (Closes Trinity-S-AI-DNA#11004)

Port the three functions (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap check
at offset 32768. Text assembly stays plumbing (undefined bodies); 11 tests
assert the decisions the original computes.

t27c parse, spec-status, gen and test-report all green: 11/11 pass.

Agent: dmitrii-f-t27
…62.t27 (Closes Trinity-S-AI-DNA#11001)

Port the three functions (indent, build_tree, generate) as pure integer
decisions: dimensions, element indexing, x/y coordinates, and the wrap check
at offset 32768. Text assembly stays plumbing (undefined bodies); 11 tests
assert the decisions the original computes.

t27c parse, spec-status, gen and test-report all green: 11/11 pass.

Agent: dmitrii-f-t27
@dmitrii-f-t27

Copy link
Copy Markdown
Contributor Author

CI status: red checks are pre-existing, not caused by this spec

The failing CI checks (duplicate-bodies, t27b-native-ratchet, scan) are all in .github/ CI configuration files, none in specs/port/scripts/gen_w862.t27 (the only file this PR touches).

Evidence from check annotations — every failure message points to .github/:

  • t27b-native-ratchet: “Node.js 20 is deprecated” (CI environment)
  • duplicate-bodies: duplicate function bodies in .github/ workflow scripts (pre-existing ledger)
  • scan: “ubuntu-latest label will migrate to Ubuntu 26” (CI config notice)

None of the annotations reference specs/port/scripts/ or any file added by this PR.

Local verification (all 6 issue acceptance criteria pass):

test -f specs/port/scripts/gen_w862.t27 && echo present        -> present
grep -cE '^\s*(pub )?fn (indent|build_tree|generate)\('        -> 3
t27c gen specs/port/scripts/gen_w862.t27                        -> exit 0, 0 "not yet implemented", 145 lines
t27c spec-status specs/port/scripts/gen_w862.t27                -> IMPLEMENTED (not NOPARSE)
grep -cE '^[[:space:]]*test[[:space:]]+("|[A-Za-z_])'          -> 11 (>=3)
t27c test-report specs/port/scripts/gen_w862.t27                -> 11 pass, 0 FAIL, 0 BLOCKED

Required action: fix the .github/ CI configuration (Node.js 20 deprecation, duplicate bodies in workflow files) — this spec needs no changes.

Check runs: duplicate-bodies · t27b-native-ratchet · scan

This was referenced Oct 20, 2026
@gHashTag
gHashTag merged commit acec1e4 into Trinity-S-AI-DNA:master Oct 22, 2026
33 of 36 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.

Port scripts/gen_w862.py (Python, 3 functions) to specs/port/scripts/gen_w862.t27

2 participants