Repository navigation
Expose User config through the CLI, Console API and page - #1808
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
Read and change the User config through the binary, an admin-scoped API and the Console page. Read sessions get a read-only page; sign-in access settings remain under shell control.
Test seams: the binary's
configcommand; the Console over HTTP; the Console browser page; the existing route-table parity test.Evidence
Execution evidence
cargo test --test user_config config_reads_defaults_and_sets_one_value_without_changing_layout -- --exactfailed withnot a GitHub issue URL: config(Some(2)instead ofSome(0)).After: the same command passed:
1 passed; 0 failed.node --test --test-name-pattern='User config is editable' console/tests/accounts.test.cjsfailed with404 !== 200.After: the same command passed:
tests 1,pass 1,fail 0, covering admin saves and read sessions at 1440×900 and 390×844.tests/user_config.rs.scripts/affected-tests issue-1768: site checks passed (94.36s), Console browser checks passed (213.52s). Its Rust run stopped on an existing Architect test's systemd scope collision; that exact test passed alone. The duplicate one-thread local retry was deliberately stopped after CI passed the exact final head.cargo nextest runin CI onf91e0a04697f4d6c3a32e94b4c56517e3ede6bb3: 3808 passed, 83 skipped, 1073.700s execution plus 50.83s compilation. Reused this successful exact-head run asdocs/testing.mddirects.cargo fmt --check,cargo clippy --all-targets -- -D warnings, site and Console browser checks. The compact-help and protected-access HTTP regressions pass locally.Visual evidence
/config, initial load with an isolated fixture home and local admin access. Before is the same URL returning 404; After is the new User config page.1440×900 desktop:
390×844 mobile:
Review coverage
Reviewed against
issue-1768(8ee0544034522da2a57c52f35eebfb01320d73b6): Standards 0 findings; Spec 2, both fixed. Both axes read all 23 changed files, including the coverage follow-up for the protected-access HTTP regression and the generated manual hunks. Changed files left unread: none. Generated-output exclusions: none.Unaddressed findings
Standards
None.
Spec
None. Both findings were reproduced and fixed.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
The CLI and routes can be rolled back; successful saves persist the requested User config values. Configured values apply on subsequent reads; a new Console port needs a restart.
Blast Radius: machine
An admin can change future factory defaults on this machine. Access-control settings remain refused, and export URLs and TOML source diagnostics do not expose credentials.
Closes #1770
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh