Repository navigation
spec(port): port specs/port/trios-railway/crates/trios-igla-race/src/bin/smoke_agent.t27 (Closes #9714) - #10022
Open
dmitrii-f-t27 wants to merge 5 commits into
Open
dmitrii-f-t27 wants to merge 5 commits into
dmitrii-f-t27 wants to merge 5 commits into
Conversation
…bin/smoke_agent.t27 (Closes gHashTag#9714) Port gHashTag/trios-railway:crates/trios-igla-race/src/bin/smoke_agent.rs (at 46ea51e585ee, 86 lines) as specs/port/trios-railway/crates/ trios-igla-race/src/bin/smoke_agent.t27 - Roadmap Stage 6, goal gHashTag#4548, target t27c gen-rust. ADR-002's synthetic smoke agent's decisions are ported as pure functions and tested (5 tests, 5 pass, 0 vacuous, 19 runtime asserts, 100% function coverage): the CLI defaults (steps 1, seed 42), the pass rule of the synthetic run (at least one jsonl line per requested step - jsonl_lines >= steps), the fail_on_error exit (a failing run exits 1 only when --fail-on-error was asked for, otherwise it still ends Ok), and main's smoke-feature gate (without the feature the agent bails with exit 1 before any run; the bail text is carried as a const). The tracing subscriber, the run_local call and the prints are the callers' plumbing. Verified: parse OK, spec-status IMPLEMENTED, typecheck 0 errors, coverage 3/3, test-report 5/5 pass, 0 BLOCKED, gen 69 lines with 0 'not yet implemented', boundary exactly this one file, dupe_scan: both helper names unique, bare body scan adds no group. Dmitrii Fedorov ([@dmitrii-f-t27](https://github.com/dmitrii-f-t27))
This was referenced Oct 17, 2026
…ate-bodies ledger upstream (Closes gHashTag#9714)
Contributor
Author
|
@gHashTag Please merge this PR into master via the golden chain — rights on gHashTag/t27 are read-only for me (403), so only you can merge it. Note: the first CI round had Verification of this head (d9df482):
After the merge I will: verify the spec file live on the merge SHA, confirm #9714 auto-closed, and file the 14-step report. Dmitrii Fedorov (@dmitrii-f-t27) |
This was referenced Oct 17, 2026
Merged
Merged
Merged
spec(policy): l2_generation -- gen/json/ is t27c gen-json's backend directory (Closes #10079)
#10082
Merged
Merged
This was referenced Oct 18, 2026
Merged
Merged
Merged
Merged
This branch has not been deployed
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.
Summary
Port
gHashTag/trios-railway:crates/trios-igla-race/src/bin/smoke_agent.rs(at46ea51e585ee, 86 lines) asspecs/port/trios-railway/crates/trios-igla-race/src/bin/smoke_agent.t27— Roadmap Stage 6 (goal #4548), target t27c gen-rust. Closes #9714.The original is ADR-002's synthetic smoke agent: it runs a 1-step experiment to prove the pipeline is alive, with a feature gate, CLI defaults and a pass rule.
Per the issue's rule ("Port the decision, not the plumbing"), the one listed function is ported under its name as a pure function (no transports — the tracing subscriber, the
run_localcall and the prints are the callers' plumbing) with 5 tests (19 runtime asserts, 0 vacuous, 100% function coverage):--steps 1,--seed 42— what a bare invocation runs with;jsonl_lines >= steps; fewer lines than steps fails;--fail-on-errorwas asked for; without the flag the run still endsOk(exit 0);main's smoke-feature gate (lines 81-84): without the 'smoke' feature the agent bails with exit 1 before any run; the bail text is carried as a const.Verification (all run live from the worktree root, zig 0.16.0)
t27c parse: OK.t27c spec-status: IMPLEMENTED.t27c typecheck: 0 errors, 0 warnings.t27c coverage: 3/3 tested (100%) — no transports in this port.t27c test-report: 5 tests / 5 pass / 0 FAIL / 0 BLOCKED, 0 vacuous passes — the defaults, the pass rule at/below/beyond the step count, the feature gate with and without the feature, and the fail_on_error exit both ways.t27c gen | grep -c 'not yet implemented': 0;gen | wc -l: 69 (> 12).grep -cE '^\s*(pub )?fn (main)\(': 1.grep -cE '^[[:space:]]*test[[:space:]]+("|[A-Za-z_])': 5 (≥ 1).git status --short— exactly this one file. The repo's lefthook pre-commit passed.dupe_scan: both helper names unique across 2059 specs (checked before the commit); the bare body scan adds no duplicate group and none of the known groups grew.Dmitrii Fedorov (@dmitrii-f-t27)