Skip to content

Grill #1142: a Fleet in one Console, through an API behind scoped tokens - #1752

Merged
JacobStephens2 merged 2 commits into
mainfrom
connect-other-consoles
Nov 5, 2026
Merged

JacobStephens2 merged 2 commits into
mainfrom
connect-other-consoles

Conversation

@JacobStephens2

Copy link
Copy Markdown
Owner

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.

 docs/
 ├── adr/
 │   ├── 0016-the-console-is-a-long-running-reader.md   # "never starts work" and "no HTTP API" now point to 0026
+│   └── 0026-each-console-serves-an-api-that-can-do-what-the-cli-can.md
 └── grill-with-docs/
+    └── 1142-every-machine-one-console.md                # Rounds 1-4, Technology, Settled
 GLOSSARY.md   # + Fleet; Console and Console account updated
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]
Loading

The next step is four issues: Spec A (the API with read, security and act), then a ready-for-human release step, then Spec B (#1142 rewritten: the Fleet in the Console). Spec C (run and admin, absorbing #952) follows Spec A.

Evidence

  • Before: the glossary's Console shows one machine's Commands. ADR 0016 says the Console "never starts work" and that "no HTTP API is promised to anyone".
    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.
  • Facts checked during the grilling: status --json fields, the Pickup reservation's Host:, what a Security run row carries, the dependencies already in Cargo.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.md and the ADRs will see Fleet, and see the Console as an API that can start work.

🤖 Generated with Claude Code

JacobStephens2 and others added 2 commits November 5, 2026 08:20
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]>
@JacobStephens2
JacobStephens2 merged commit 7b14004 into main Nov 5, 2026
4 checks passed
@JacobStephens2
JacobStephens2 deleted the connect-other-consoles branch November 5, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant