feat(cli): tri railway -- 3-seed Gate-2 ONE SHOT for trios-trainer-igla#544
Open
feat(cli): tri railway -- 3-seed Gate-2 ONE SHOT for trios-trainer-igla#544
Conversation
Adds spec specs/cli/railway.t27 (12 tests, 6 invariants, 2 benches) and the Rust backend cli/tri/src/railway.rs with subcommands login/link/up/status/ logs/gate2. The 'up --confirm' command prints the exact GraphQL bodies that WOULD be POSTed to backboard.railway.com/graphql/v2 and exits with code 2 to signal 'planned but not executed' (R5-honest: tri has no HTTP client yet, operator runs the actual mutation). Gate-2 stop rule: 3 seeds (43,44,45) with BPB<1.85 AND step>=4000, deadline 2026-04-30 23:59 UTC. Anchor: phi^2 + phi^-2 = 3. Workspace member added (cli/tri); clap env feature enabled. 19 tests pass: cargo test -p tri railway:: Closes #543
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
This was referenced Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #543
Summary
Adds the
tri railwaysubcommand: a R5-honest ONE SHOT for launching the trios-trainer-igla Gate-2 chase on Railway.Spec
specs/cli/railway.t27(sha256eaba6daa..81816) -- 12 tests, 6 invariants, 2 benches, ASCII-only.Backend
cli/tri/src/railway.rs(sha256e84e9a0b..5074).login | link | up [--confirm] | status | logs | gate2.up --confirmprints the exact GraphQL bodies that WOULD be POSTed tobackboard.railway.com/graphql/v2and exits 2 (planned-but-not-executed). Without--confirmit exits 0 (dry-run). The operator runs the actual mutation -- tri has no HTTP client yet.ghcr.io/ghashtag/trios-trainer-igla:latest; target BPB<1.85; steps 30000.assertions/embargo.txtbefore any plan emit.Tests
cargo test -p tri railway::-> 19 passed, 0 failed.Constitutional anchors
phi^2 + phi^-2 = 3(Trinity invariant)BPB=<v> @ step=<N> seed=<S> sha=<7c> jsonl_row=<L> gate_status=<g>Workspace
cli/trito rootworkspace.members.envfeature forRAILWAY_TOKEN/GITHUB_SHAenv wiring.