docs(architecture): sync install-flow to CLI-first template catalogue (retire skill onboarding)#439
Merged
Merged
Conversation
The user-facing install wedge moved from the host-agent markdown skill (/agentsfleet-install-platform-ops, npx skills add) to the agentsfleet CLI + the M94 fleet-bundle template catalogue (Pull Request #438). The architecture docs still described the skill-orchestrated flow; this aligns them with the shipped CLI path and the docs-repo rewrite (agentsfleet/docs PR #106). - user_flow.md §8.0: reframe "the wedge surface" from the skill to the CLI + template catalogue (install --template / --from); add a transitional note that the substrate calls are unchanged, only orchestration moved. §8.2.1 bootstrap drops `npx skills add`; §8.2.2 / §8.7 reattribute doctor / credential / install / webhook-register / frontmatter steps from the skill to the CLI + the user/bundle author. Anchor kept as #80-the-wedge-surface (README link updated to match). - scenarios/01: rewrite the install half (mermaid, §1/§1.1 steps, §3.1 transcript, §4 takeaway) to the CLI + bundle flow; the §2 execution back-half (webhook -> lease -> billing -> runner) is unchanged. - scenarios/02: self-managed install fork reattributed to the bundle's frontmatter sentinels (overlay rule unchanged); the cap.json client-embed is the CLI, not the skill. - high_level.md, README.md, scenarios/README.md, billing_and_provider_keys.md, data_flow.md: "install-skill" -> CLI / bundle terminology. Memory architecture (capabilities.md §4, runner_fleet.md §Selection policy, direction.md) was already correct and is unchanged; the docs-repo memory page was aligned to it separately (PR #106). Scope: docs/architecture/** only. Out of scope (separate handoffs): the agentsfleet.dev installer and the website still ship the skill flow. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
The prior head (c2b1561, a web-UI edit) did not fire the pull_request CI, so gitleaks/lint/test/memleak/test-integration sat as "Expected — Waiting" and blocked the merge. A normal push re-fires them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 user-facing install wedge moved from the host-agent markdown skill (
/agentsfleet-install-platform-ops,npx skills add agentsfleet/skills) to theagentsfleetCLI + the M94 fleet-bundle template catalogue (#438). These architecture docs still described the skill-orchestrated install; this aligns them with the shipped CLI path and the docs-repo rewrite (agentsfleet/docs#106).What changed (
docs/architecture/**only)user_flow.md§8.0 — reframed "the wedge surface" from the skill to the CLI + template catalogue (install --template/--from). Added a transitional note: the substrate calls (doctor,credential add,install --from,steer, theghwebhook registration) are unchanged — only the orchestration moved from the skill to the CLI + the user. §8.2.1 bootstrap dropsnpx skills add; §8.2.2 / §8.7 reattribute the doctor / credential / install / webhook-register / frontmatter steps. The §8.0 anchor is kept (#80-the-wedge-surface); theREADME.mdlink was updated to match.scenarios/01_default_install.md— rewrote the install half (mermaid, §1 / §1.1 steps, §3.1 terminal transcript, §4 takeaway) to the CLI + bundle flow. The §2 execution back-half (webhook → lease → billing → runner) is unchanged.scenarios/02_self_managed.md— the self-managed install fork is now attributed to the bundle's frontmatter sentinels; the overlay rule (model:""/context_cap_tokens:0→ inherit at lease time) is unchanged.high_level.md,README.md,scenarios/README.md,billing_and_provider_keys.md,data_flow.md—install-skill→ CLI / bundle terminology.Not changed
capabilities.md§4,runner_fleet.md§Selection policy,direction.md) was already correct — noworkspacecategory, "selected, not searched", core-pinned hydration, 72hdailyprune, no vector search. The docs-repo memory page was aligned to it in docs: consolidate operator and contributor docs (M13_002) #106; no architecture change was needed.Verification
Docs-only
.mdchange: pre-commit gitleaks ✅ (harness-verify + lint lanes skip — no source surface touched); pre-push runs no test lanes.Out of scope (separate handoffs)
The
agentsfleet.devinstaller (ui/agentsfleet.dev/dist/install.sh) and the website (ui/packages/website) still ship the skill flow — handoffs written for both.🤖 Generated with Claude Code
Greptile Summary
This docs-only PR syncs
docs/architecture/**to the shipped CLI-first install flow, retiring the skill-orchestrated wedge (/agentsfleet-install-platform-ops/npx skills add) in favour of theagentsfleetCLI plus the M94 template catalogue.user_flow.md§8.0–§8.2 is the core change: the wedge surface is reframed from a host-agent SKILL.md to direct CLI commands (install --template/--from), a transitional note acknowledges the prior approach, and all "install-skill" phrasing is replaced throughout.scenarios/01_default_install.mdis fully rewritten for the CLI path — new mermaid diagram, revised install steps, and a new terminal transcript replacing the skill-driven walkthrough; the execution back-half (webhook → lease → billing → runner) is untouched.scenarios/02_self_managed.md,billing_and_provider_keys.md,data_flow.md,high_level.md,README.md, andscenarios/README.mdeach receive small, consistent terminology substitutions.Confidence Score: 5/5
Safe to merge — all changes are documentation only with no source or schema surface touched.
Every changed file is a markdown doc under docs/architecture/. The rewrite is coherent and internally consistent; the two findings are wording gaps that won't break anything at runtime.
user_flow.md §8.0.1 (one unreplaced 'The skill' sentence) and scenarios/01_default_install.md §1.1 step 6 (HMAC self-verify failure-mode gap).
Important Files Changed
Sequence Diagram
%%{init: {'theme': 'neutral'}}%% sequenceDiagram participant Op as User (laptop) participant CLI as agentsfleet CLI participant API as agentsfleetd-api participant Runner as agentsfleet-runner participant GH as GitHub Note over Op,CLI: Bootstrap (once per machine) Op->>CLI: curl install + agentsfleet login (Clerk OAuth) Op->>CLI: agentsfleet doctor --json CLI->>API: GET /v1/me + workspace binding API-->>CLI: health OK Note over Op,CLI: Per-fleet install Op->>CLI: agentsfleet templates (browse catalogue) Op->>CLI: install --template id OR --from local/bundle/ CLI->>API: "POST /v1/workspaces/{ws}/fleets" API->>API: "XGROUP CREATE fleet:{id}:events" API-->>CLI: "{ fleet_id, webhook_urls }" Op->>GH: gh api repos/.../hooks (HMAC secret + webhook URL) GH-->>Op: "{ id, active: true }" Op->>CLI: "agentsfleet steer {id} morning health check" CLI->>API: "POST /steer → XADD fleet:{id}:events" Runner->>API: POST /v1/runners/me/leases Runner-->>Op: streams steer response%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% sequenceDiagram participant Op as User (laptop) participant CLI as agentsfleet CLI participant API as agentsfleetd-api participant Runner as agentsfleet-runner participant GH as GitHub Note over Op,CLI: Bootstrap (once per machine) Op->>CLI: curl install + agentsfleet login (Clerk OAuth) Op->>CLI: agentsfleet doctor --json CLI->>API: GET /v1/me + workspace binding API-->>CLI: health OK Note over Op,CLI: Per-fleet install Op->>CLI: agentsfleet templates (browse catalogue) Op->>CLI: install --template id OR --from local/bundle/ CLI->>API: "POST /v1/workspaces/{ws}/fleets" API->>API: "XGROUP CREATE fleet:{id}:events" API-->>CLI: "{ fleet_id, webhook_urls }" Op->>GH: gh api repos/.../hooks (HMAC secret + webhook URL) GH-->>Op: "{ id, active: true }" Op->>CLI: "agentsfleet steer {id} morning health check" CLI->>API: "POST /steer → XADD fleet:{id}:events" Runner->>API: POST /v1/runners/me/leases Runner-->>Op: streams steer responseReviews (3): Last reviewed commit: "ci: re-trigger required checks on curren..." | Re-trigger Greptile