Repository navigation
Plan / Interface: mecatui remote endpoints and first-use connect sign-in - #2049
Merged
Merged
Conversation
… sign-in Draft acceptance plan for operator-owned named remote endpoints, interactive first-use discovered sign-in from `mecatui connect`, operator-pinned private discovery, and a one-command connect to the mecak8s kind Keycloak fixture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jhrozek
approved these changes
Oct 1, 2026
The connection profile (gRPC target, gRPC CA, private discovery and its CA) now comes from connect flags, all-or-none, falling back to a named client-settings endpoint only when no profile flag is given. Kind tasks pass the flags instead of writing a fixture-owned settings root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Amended per review: |
Merged
2 tasks
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.
Stage: Plan / Interface
Acceptance plan:
docs/acceptance/mecatui-remote-endpoints.md(status: draft). Tracking: none (no issue yet).Goal
Connect to the OIDC-protected
deploy/mecak8s-kindKeycloak fixture with one command,task mecak8s:kind-connect. The first interactivemecatui connectuses the server's RFC 9728 metadata the same waymecatui login HOSTdoes: it confirms the discovered tuple, runs the browser login, and continues into the TUI.Scope (5 scenarios)
remote:block in operator-owned settings resolves targets forconnect,login, andlogout.connect. Allowed only when all six gates hold. The trigger is a pre-TUI, credential-free, read-onlyListSessionsprobe. Saved targets keep ADR 0277's no-browser rule.oidc.resource,clientID, andscopes;kind-connectwrites the endpoint under an absolute, fixture-owned XDG root;Review notes
connectnever opens a browser) and ADR 0305 (public-only discovery) without amending them. This risk is recorded under Human decisions.proposed:~/.config/mecatui/settings.yaml);Checks
check-acceptance-plan.sh: passedcheck-acceptance-plan-test.sh: passedtask docs: passed🤖 Generated with Claude Code