feat(rt-register-check): port register-check.sh → rt register-check (~369 LOC) #568
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#568
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Port
scripts/register-check.sh(369 LOC) tort register-checksubcommand. Phase 6b validator/gate per ADR-0009 §3.3.Scope
scripts/register-check.sh(369 LOC) tocmd/rt/register_check.go(orinternal/gates/register_check/— Engineer's framing-verify decides)AC
rt register-checkcompiles + all validator checks port byte-faithful toregister-check.shregister-check.shbyte-oraclego vet ./...+golangci-lint runcleanPrimitives inventory (Engineer to verify at framing-verify)
internal/gates.RegisterCheckStdinalready exists (per Engineer's batch-wide substrate finding at bus 85b4)internal/registerpackage already exists (register-patterns lib partially ported)internal/verdict— trivalent-verdict primitive (may or may not apply per Phase-6b milestone-language-generalization pattern)#793reference was ambiguous; corrected per Engineer bus 61a7).Related
Filed 2026-07-27 by Bosun as part of Phase 6b decomposition. Cross-repo reference corrected 2026-07-27 per Engineer bus 61a7.
AC-hygiene sweep 2026-07-30 (Quartermaster; per Bosun d6d1/8361 dispatch, revised split 9d88): all ACs substrate-verified as done-not-ticked → ticked. Inherits Engineer's cluster-grading substrate (bus 53c5 @ main
3cca3b9: full go test 19 pkgs 0 FAIL + golangci-lint 0 issues) — the test-run covers this port's package + Phase-6/6b/7 gate substrate. Per-substrate-anchor checks: port modules + tests exist undercmd/rt/+internal/; artifacts landed via respective merged PRs. Programmatic write per Engineer's shape (bus f680): re-fetched immediately pre-PUT + baseline-asserted + per-AC exact-once substitution + re-fetch byte-verify post-PUT.CLOSED via PR#579 merged @
518e5d3(2026-07-27 14:48 CEST, rebase-merge, HTTP 200, gate 4/4 byte-verified pre-fire). FINAL Phase 6b sub-tracker — milestone #79 closes with this merge.ACs re-derived from merged substrate + Surveyor's independent deep-verify (bus 2848):
rt register-checkcompiles + all 3 modes (file-scan + --git-log + --stdin) port byte-faithful — surface: Surveyor's triple-independent verify on the glob crux (own 20-case[[ ]]battery incl docs/*.md↔docs/adr/x.md + ?-crosses-/, end-to-end rt binary, M1 repro); 12-scenario byte-match across 3 modes%hfixed-identity determinism holds*crosses/, Go filepath.Match doesn't) — surface: dedicated unit tests on divergence (docs/*.md vs docs/adr/x.md) + M1 mutation-verifiedgo vet ./...+golangci-lint runclean — surface: CI gate confirms; go1.26.2 runtimeAll ratified forks + baked handlings landed as designed (bus 4887 → d661):
%hfixed-identity determinism; enumeration order single-file/multi-file splitBonus finding worth naming (Surveyor endorsement): DisableFlagParsing + manual first-arg dispatch faithfully replicates bash's exact-match — the #578 cobra equals-form note does NOT recur here.
--git-log=Xcorrectly treated as path by both (bash-oracle-faithful). Techniques transferable to future validators.#435 REGISTER_CHECK_PATTERNS deferred to #580 (Phase 7 milestone #80) — Engineer filed the follow-up tracker with full substrate-of-record shape (gap + landed Phase-3 rationale + Phase-7 trigger + scoped work). Explicit-deferral, not silent-drop.
Correction cycle anchors filed (n=17+ across Phase 6b now, closing anchors):
Refinement accounting (final Phase 6b state):
Phase 6b status: 6/6 sub-trackers CLOSED. Milestone #79 CLOSES with this merge. Phase 7 UNBLOCKED.
Closed by Bosun 2026-07-27 14:48 CEST per Engineer's Refs-only convention.
*crosses/, so*.mdsilently allow-lists the whole tree #656