docs(hosted): guide private remote runs - #1019
Merged
Merged
Conversation
mkceichelbeck
enabled auto-merge
August 14, 2026 10:02
Greptile SummaryThe PR documents and packages the unpublished hosted CLI candidate while renaming its user-facing runtime selector from
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness, packaging, or security defects identified. The candidate package preserves its downstream runtime contract, installs guidance at the documented location, keeps private assets out of the public artifact, and aligns the new examples and help text with current validation behavior.
|
| Filename | Overview |
|---|---|
| private/hosted-cli-candidate/runtime-config.js | Renames the local runtime selector to harness while preserving the capsule-facing executable field during bundle resolution. |
| private/hosted-cli-candidate/build-candidate.js | Adds the guide, examples, and help module to the private candidate package and creates parent directories for nested files. |
| private/hosted-cli-candidate/register.js | Adds contextual help for target setup and hosted runs without changing the established validation boundary. |
| private/hosted-cli-candidate/README.md | Provides an end-to-end guide for candidate installation, target setup, remote execution, custom clusters, and retry recovery. |
| private/hosted-cli-candidate/default-run-intent-services.js | Expands uncertain-submission errors to state the exact payload-stability requirements for safe idempotent retries. |
| tests/private-hosted-cli/package-isolation.test.js | Verifies that private guidance is included in the candidate package while remaining excluded from the public artifact. |
| tests/private-hosted-cli/guidance.test.js | Validates the packaged guidance and examples against the candidate’s runtime and command contracts. |
Sequence Diagram
sequenceDiagram
participant User
participant CLI as Private candidate CLI
participant Config as Local runtime config
participant Target as Hosted target
participant Capsule as Hosted capsule
User->>CLI: target setup --runtime-config
CLI->>CLI: Store absolute config path
User->>CLI: run --target --graph --input --ship
CLI->>Config: Re-read provider, harness, model, and references
Config-->>CLI: Resolved runtime bundle
CLI->>CLI: Map harness to executable
CLI->>Target: Submit RunIntent with idempotency key
Target->>Capsule: Start bounded delivery job
Capsule-->>Target: Status and result
Target-->>CLI: RunIntent observations
CLI-->>User: Result or resume command
Reviews (1): Last reviewed commit: "docs(hosted): guide private remote runs" | Re-trigger Greptile
|
🎉 This PR is included in version 6.40.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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
Verification
npm run test:hosted(59 private-candidate tests, 44 hosted-target tests)npm run check(typecheck and lint; no errors)The candidate remains unpublished and private. Normal Zeroshot npm packing excludes the private candidate, guide, examples, and tests.