Skip to content

Console API: the User config through the CLI, the API and the page #1770

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Parent

#1768 (Spec: starting work and administering a machine through the Console API). Built on #1753 (the Console API). Governing decision: ADR 0026.

What to build

The User config can be read and changed from the CLI, the API and the Console page (#952).

  • A new thirdshift config command. config shows every setting with its value and default, config <key> shows one, and config <key> <value> sets one. All accept --json. It uses the same validation and comment-preserving writes as setup and the console settings commands. It refuses the Console sign-in list and address scopes, naming why. No secret appears in its output.
  • API twins under /api/v1 with the admin scope: a GET for the whole config and for one setting, and a POST to set one. Each change is written to the Console log with who asked, the key, and the old and new values.
  • A User config page in the Console showing every setting, its value and its default. It's editable for a person with admin, and read-only for one with only read.

Acceptance criteria

  • Through the binary: config, config <key>, config <key> <value> and --json work. An invalid value is refused with setup's message. Comments and layout survive a write.
  • config console.allowed_emails ... and the address scopes are refused from the CLI and the API.
  • An HTTP test: an admin token reads and sets a value, a read token gets a 403 naming admin for the set, and the Console log records old and new values.
  • The page is editable for an admin session and read-only for a read session (site browser test).
  • docs/guide.md documents thirdshift config and the User config page.

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 5, 2026
  2. JacobStephens2 commented on Nov 6, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #1808, merged into issue-1768 by a thirdshift Ticket run with Self-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions