Repository navigation
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNTrqcfC5J5LwcM5eT8qcZ
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
Contributor
Spec lint
Advisory. None of this blocks the merge; the review decides. Advisory, and never a merge gate. Linter: |
Member
|
Closing for now until we get local + networking story straight. |
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.
Adds
docs/specs/16-spec-remote-hosts-cli/, idRHC, written from gominimal/inbox#669 through the spec process (interview, prose behaviours, EARS, tiers, review), with the Box Provider API as its architecture of record.What it covers. The CLI as a provider's client: choosing the provider and host (
--provider/MIN_PROVIDER/min provider use,--host/MIN_HOST, placement on providers that can and cannot create hosts), having a host created and enrolled on demand (the §4.4 hand-off, standard host class, the admin-scope and mint preconditions refused up front), the host states shown and the exit statuses on failure, where the box listing's remote entries come from,min host list|rm|resume, and limits (min provider show, refusal before anything is created, and the provider's own refusal reported the same way).What it deliberately leaves out, and where it lives. Creating the session on the chosen host, attaching, stopping and destroying it: CRA (#1374) as the architecture admits them; in v1 the daemon's remote set is list, show, attach, rename and stop (Gatehouse §7.4, MMI-027), and admitting create and destroy on the CLI's certificate connections is raised in gominimal/arch#65. One listing and one grammar across providers, and addressing an ambiguous name: the box data path (BDP-005/006, gominimal/arch#45). Re-establishing a session's identity after a host resumes: per session, on the next attach (Gatehouse §6.3.3).
Requirements. 40, with 8 at T2 (Kani, in the lane
just kanialready runs): the placement decision (RHC-001, 005, 008–011) and the limit check (RHC-038, 039). Each T2 names the pure function the implementation has to keep separate from provider calls.Open questions. How an unanswering host is decided and where its sessions come from; the CLI's custody of the enrolment token and candidate WireGuard key (for #648); how long to wait for READY; automatic host reuse; starting a session on another enrolled machine.
Lint.
spec-lint --repo-root .: 40 × P004 (named tests not written yet). The plugin's copy also reports F004 for the missingstatus:field, which foundry main has removed.Blocked on. gominimal/arch#65 for the first slice to run end to end with a placed session; gominimal/arch#45 for BDP's ownership of the listing (coordination comment posted there).
Part of gominimal/inbox#494; the epic is gominimal/inbox#669.
🤖 Generated with Claude Code
https://claude.ai/code/session_01UNTrqcfC5J5LwcM5eT8qcZ