Repository navigation
Enforce complete CLI and Console API parity - #1818
Merged
Merged
Conversation
This was referenced Nov 6, 2026
Merged
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
Adds the remaining Process, Eval, Experiment, email-test and other-account API twins. New Command and subcommand variants fail parity until covered. Exclusions state why they remain in the shell; all twins appear in OpenAPI.
Closes #1775
Test seams
Evidence
Execution evidence
cargo test --bin thirdshift console::parity::every_cli_command_has_an_api_twin_or_reasoned_exclusion -- --exactCLI commands have neither an API twin nor a reasoned exclusion, listing help, version, Eval/Process reads, Experiment starts/rechecks, email-test and other-account changes.1 passed; 0 failed.cargo test --test console api::api_process_show_accepts_cli_single_component_names -- --exactleft: 422,right: 200, withname must be a Process name, not a pathfor the CLI-valid nameinspect.v1.1 passed; 0 failed.cargo test --test console start::api_repeated_completed_experiment_is_successful -- --exactleft: 422,right: 200, afterthirdshift exited with exit status: 0 before a Command record appeared.1 passed; 0 failed.All three review findings were reproduced as written before disposition. Both behavioral regression tests remain; the site regression is retained in
site/tests/pages.test.cjs. The Standards documentation command failed before and exited 0 after:Validation on final head
d9b9c67c: CI passed the full Rust job, formatting, Clippy, site and Console tests. Release builds and smoke checks also passed.Local
scripts/affected-tests 75e023689e636524878122e7b477a499ca1dc013passed all 66 site tests, all 139 Console browser tests and the locked build. Its Rust run stopped after 1,923 passes and one assertion failure ina_failed_ticket_stops_only_its_dependents_and_is_not_started_again: the call list omitted21. The exact isolated rerun below passed. A lower-concurrency continuation was deliberately interrupted once CI passed the final head; its SIGINT results are cleanup, not further behavioral failures. The initial full local command did not pass.cargo test --test spec_run a_failed_ticket_stops_only_its_dependents_and_is_not_started_again -- --exact --test-threads=1The final Difficulty schema correction passed these focused checks, then Clippy again:
The CLI schema assertion failed before with
AssertionError: {'type': 'object'}and passed afterward:Visual evidence
The changed API-start paragraphs, with their containing sections expanded, at matching viewports and states:
Home — 1440×900
Home — 390×844
How it works — 1440×900
How it works — 390×844
Architecture — 1440×900
Architecture — 390×844
Merge Danger
Door: two-way
Adds scoped HTTP twins and a parity guard; no storage migration. Existing CLI functions continue to perform the work.
Blast Radius: Console
The new routes expose additional read, act, run and admin capabilities under the existing authorization and audit middleware.
Unaddressed findings
Standards
None. STD-1775-01 fixed; 1 finding raised, 0 skipped.
Spec
None. SPEC-1775-01 and SPEC-1775-02 fixed; 2 findings raised, 0 skipped.
Security
None.
Security review outcome
No unaddressed introduced findings.
Review coverage
Independent Standards and Spec reviews used the
issue-1768remote tip pinned at75e023689e636524878122e7b477a499ca1dc013, then reviewed the fixes. Both read all 20 changed files through the review-fix commitd860c414. A subsequent self-checked correction makes Difficulty responses arrays in OpenAPI and adds a regression assertion. Its final hunks insrc/console/openapi.rsandtests/console/api.rswere not read by the reviewers. No other unread changes; generated-output exclusions: none.Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh