Repository navigation
Grill #1142: a Fleet in one Console, through an API behind scoped tokens - #1752
Merged
Merged
Conversation
Four rounds of grilling on seeing and running every machine's Commands from one Console. ADR 0026 records each Console serving /api/v1 that can do what the CLI can, behind scoped tokens, and ADR 0016 points to it. The glossary gains Fleet, and Console and Console account follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…it assumption Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 5, 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
The grilling for #1142, plus the decisions it produced: one Console shows and runs every machine in its Fleet, through an HTTP API on each Console that sits behind scoped tokens.
flowchart LR B[Browser, signed in] -->|session| C1[Console on thirdshift] C1 -->|token: read, security, act, run, admin| C2[Console on stephens] C1 -->|token| C3[Console on ETA servers] CLI[thirdshift CLI / scripts] -->|token| C2 C2 -->|checks the person's scopes, logs the call| A2[Activity log on stephens]The next step is four issues: Spec A (the API with
read,securityandact), then aready-for-humanrelease step, then Spec B (#1142 rewritten: the Fleet in the Console). Spec C (runandadmin, absorbing #952) follows Spec A.Evidence
After: ADR 0026 records the API, its token scopes and handling, the check against each machine's own sign-in list, and what stays CLI-only. ADR 0016 points to it.
status --jsonfields, the Pickup reservation'sHost:, what a Security run row carries, the dependencies already inCargo.toml, and that no sign-in limiter exists beyond 5 tries per emailed code.Merge Danger
Door: two-way
Docs only. The ADR sets direction for Specs A to C, and it can be amended before any code lands.
Blast Radius: none
No code changes. Agents that read
GLOSSARY.mdand the ADRs will see Fleet, and see the Console as an API that can start work.🤖 Generated with Claude Code