feat(flows): serve the generated Software Garden from the catalog (re-land #179 on main, #174)
Re-lands #179 on main. It was squash-merged into trunk as 4fa3c8d, but the trunk policy was reverted (#184) and trunk deleted before promotion, so the commit never reached main (compare main...4fa3c8d = diverged, ahead 1 behind 3). This is a clean cherry-pick of 4fa3c8d onto ecf06ab. It touches the same 7 files, with no conflicts and no changes.
All review threads on #179 were addressed there. Bots and CI review this head afresh.
What it does
flows.0(software-factory, "Software Garden") →AgentWorkforce/agentrelay.com@e3f5442web/public/flows/software-garden/v1.flow.ts, releasesoftware-garden-v1, sha256b89a36e2cf9054036a7fc53fba20011a42ef0275ffbaaa907b080738ab46ad27. Todaymainstill serves flowsexamples/software-factoryv2.0.42 (14 KB).catalogVersion4 → 5. Cloud'supgradeRecommendedFlowActivationrefuses a new source identity at the same catalog version, so existing v4 activations need v5 to upgrade.- The verifier anchors generated sources to the manifest (no git tag). The contract matches the generated code, including the zero-match closing-reference branch. Tests cover the pinned bytes and the catalogVersion↔source history. Docs updated.
Verified on this head (5ce4293)
- Live published bytes:
curl https://agentrelay.com/flows/software-garden/v1.flow.ts | sha256sum=b89a36e2…, 64,355 B. This equals the catalog pin and the raw file ate3f5442. npm run verify:recommended-flows:software-factory: verified software-garden-v1 (e3f5442…) sha256:b89a36e2….verify:setup-skillsok. Web 45 files / 528 tests and router 9 / 133 pass.tscweb and router ok.
Cloud's matching recovery change is AgentWorkforce/cloud#4308, which follows once this is live.
Closes #174.
🤖 Generated with Claude Code
[!NOTE]
Medium Risk
Changes the canonical deployed flow bytes and catalog version for a production recommended flow; mis-pinned digest or version could block deploys or confuse upgrades, though CI verifies pins and fetches.
Overview
Software Garden in the recommended flow catalog now pins the generated /flows output on this repo (web/public/flows/software-garden/v1.flow.ts, release software-garden-v1) instead of the old AgentWorkforce/flows example at v2.0.42. catalogVersion and the software-factory entry version bump to 5 so Cloud can treat this as a new source identity for activation upgrades.
Verification and tests follow the new model: manifest-backed digest checks for agentrelay.com sources (no semver git tag), updated source-contract snippets for ticket-derived PR titles and exact GitHub closing references, and tests that the catalog pin matches published bytes and that source changes always advance catalogVersion. Docs describe the published-version source, catalog bump semantics, and the pending Cloud recovery copy alignment (cloud#4308).
Reviewed by Cursor Bugbot for commit bd2e62d9b81516f932ae763318a0e58974384681. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Serves the generated Software Garden flow from the catalog instead of the separately-authored example.
The software-factory entry now points at the published generator output (agentrelay.com web/public/flows/software-garden/v1.flow.ts, SHA-256 pinned, release software-garden-v1) rather than the old flows repo example at v2.0.42. catalogVersion moves 4 → 5 because Cloud refuses to move an existing activation onto a different source at the same catalog version, so v4 activations need v5 to upgrade.
Changes
- Verifier treats
agentrelay.comsources as generated: no release tag, manifest-based digest check instead ofgit ls-remote. - Contract assertion updated to match the generated code, including the zero-match closing-reference branch.
- New tests pin the published bytes and require
catalogVersionto advance whenever the source changes. - Docs updated to describe the published-version source model and Cloud's recovery copy, which stays on the earlier
flowsexample untilAgentWorkforce/cloud#4308lands.
Closes #174.
Agent Relay sessions
claudesessioneae07e25· opened viagh pr create· last active 2026-10-09