CHECKING AVAILABILITYLoading current availability…Loading availability

Loading
vygoai
Readiness Check

Ratchet system guide · v1.2

Available

Architecture

Overview · Index · Next: Principles


System map

At product level, Ratchet is four cooperating ideas:

flowchart TB
  subgraph human [Human intent]
    UI[Composer · goal capture]
    Q[Mission queue]
  end

  subgraph factory [Build-and-verify loop]
    H[Build → deploy gate → live test]
  end

  subgraph outside [Outside the loop]
    GH[Product git remote]
    LIVE[Live app]
    V[Credentials boundary]
  end

  UI --> Q --> H
  V -.->|brokered access only| H
  H -->|commit + push| GH
  GH -->|host deploy| LIVE
  H -->|check deployed version| LIVE

ASCII fallback:

Human goal → Composer → Queue → Build-and-verify loop
                                  ├→ push product repo
                                  ├→ wait for live version signal
                                  └→ test the live app only

Gallery: diagrams.md


Trust boundaries (product ideas)

ZoneWhoProduct rule
Human + ComposerOperatorCaptures goals, owns the queue of missions
Builder workspaceCoding agentMay edit the product repo; never holds cloud secrets
Tester workspaceTester agentJudges the live app only — not the builder’s local tree
Credentials boundaryHarness-side brokerShort-lived, named actions — tokens never enter agent env
Product livePublic usersExposes an honest version signal the loop can wait on

Secrets stay out of agent prompts and builder/tester environments. That boundary is the architecture; how any one install implements it is private.


End-to-end product flow

flowchart LR
  subgraph intent [1 Intent]
    UI[Goal capture]
    Q[Queue]
  end
  subgraph work [2 Work]
    BL[Build]
    DG[Deploy gate]
    TE[Live test]
  end
  subgraph done [3 Finish]
    EX[Streak of passes]
  end
  UI --> Q --> BL --> DG --> TE
  TE -->|FAIL| BL
  TE -->|PASS streak| EX

1. Intent

A human describes product work. The control plane turns that into one or more focused missions scoped to a product — not one mega-mission for a multi-part goal.

2. Build → deploy gate → test

  1. Build — a coding agent changes the product repo and pushes the deploy branch.
  2. Deploy gate — the loop waits until the live app reports the same version the builder just pushed.
  3. Test — a tester agent exercises the live site and returns pass or fail with actionable feedback.

3. Finish

The run ends only after a streak of consecutive passes. A single fail resets the streak. Durable notes stay with the campaign so the next iteration knows what still fails.


Pluggable roles (concept)

The loop has three replaceable roles:

RolePurpose
BuilderChange product code and prove real git work happened
Deploy gateWait until live version matches what was pushed
TesterGrade the live URL only; emit structured pass/fail

Early development can simulate any role; production-minded installs use real agents against a real live URL. Mixing simulated and real roles is a rollout technique, not a host recipe.


Where product state conceptually lives

No install paths here — only the ideas:

StateProduct idea
QueueOrdered missions per product
Run workspaceOne isolated workspace per mission attempt
Product shellRepo + live URL + version URL bound together
Credentials storeEncrypted secrets outside agent workspaces

Continue → Principles