From 6c84724facbb9a951327e681099621f69e3d7287 Mon Sep 17 00:00:00 2001 From: Khaliq Date: Wed, 7 Oct 2026 22:38:03 -0700 Subject: [PATCH 1/9] feat(signup): render the agent signup guides from the vendored setup skills - /signup/agent/teams and /signup/agent/flows keep only the signup header (policy, progress, web input) and include the AgentWorkforce/skills setup skills verbatim from a pinned commit (web/scripts/sync-setup-skills.mjs, --check fails on drift). - Flows parts: Cloud account, Flows, and writing-relayflows (v2) for the custom-flow path; the web-input example asks prebuilt or custom instead of listing code-review, which is not in the catalog. - Name the flow Software Garden in the /flows examples, the onboarding handoff, the builder copy, the local START-HERE and the cookbook. The id stays software-factory. - TODO in flow-workflows.ts: align WORKFLOWS step lists with the cloud deploy wizard once it reports its final step names. Co-Authored-By: Claude Opus 5.5 (1M context) --- web/app/flows/flow-examples.ts | 2 +- web/app/flows/onboarding/FactoryBuilder.tsx | 6 +- web/content/docs/relayflows/cookbook.mdx | 2 +- web/content/setup-skills/SOURCE.json | 11 + .../setting-up-agent-relay-desktop.md | 922 ++++++++++++++++++ .../setting-up-agent-relay-flows.md | 220 +++++ .../setting-up-agent-relay-sessions.md | 487 +++++++++ .../signing-in-to-agent-relay-cloud.md | 111 +++ .../setup-skills/writing-relayflows.md | 539 ++++++++++ web/lib/agent-signup-progress.ts | 6 +- web/lib/agent-signup.ts | 470 ++------- web/lib/flow-local.ts | 2 +- web/lib/flow-onboarding.ts | 2 +- web/lib/flow-workflows.ts | 2 + web/lib/generated/setup-skills.ts | 11 + web/lib/test/agent-signup-progress.test.ts | 14 +- web/lib/test/agent-signup.test.ts | 102 +- web/scripts/sync-setup-skills.mjs | 83 ++ 18 files changed, 2590 insertions(+), 402 deletions(-) create mode 100644 web/content/setup-skills/SOURCE.json create mode 100644 web/content/setup-skills/setting-up-agent-relay-desktop.md create mode 100644 web/content/setup-skills/setting-up-agent-relay-flows.md create mode 100644 web/content/setup-skills/setting-up-agent-relay-sessions.md create mode 100644 web/content/setup-skills/signing-in-to-agent-relay-cloud.md create mode 100644 web/content/setup-skills/writing-relayflows.md create mode 100644 web/lib/generated/setup-skills.ts create mode 100644 web/scripts/sync-setup-skills.mjs diff --git a/web/app/flows/flow-examples.ts b/web/app/flows/flow-examples.ts index 06d18b22..32a74b52 100644 --- a/web/app/flows/flow-examples.ts +++ b/web/app/flows/flow-examples.ts @@ -1,7 +1,7 @@ export const flowExamples = [ { "id": "software-factory", - "label": "Software factory", + "label": "Software Garden", "title": "Turn a ticket into a pull request.", "description": "Plan the change, write the code, and run the tests before opening a PR.", "filename": "software-factory.flow.ts", diff --git a/web/app/flows/onboarding/FactoryBuilder.tsx b/web/app/flows/onboarding/FactoryBuilder.tsx index c61ca24f..ef3e216b 100644 --- a/web/app/flows/onboarding/FactoryBuilder.tsx +++ b/web/app/flows/onboarding/FactoryBuilder.tsx @@ -225,8 +225,8 @@ export function FactoryBuilder() {