Steward
All docs

Docs How it works

Loops that run a business

Six loops keep each business running: ops, security and product (this page), support and growth (see The support loop and The growth loop), and outreach (see Outreach). Each one:

Only a business's owners see these pages or can change its loops.

Pause and budget. A paused business runs no loop. A business over its model budget keeps the work that costs nothing: uptime, certificates, the pipeline's bookkeeping, and scheduled posts and emails. It starts no agent work (a diagnosis, a review, a build, maintenance, a support draft) until an owner raises the budget.

Ops

Security

Product

Feedback becomes a ticket, then a spec, a build, a review, a ship and a measurement.

  1. Feedback comes from three places:
    • "feedback: ..." posted in the business's channel
    • the public form at /p/<slug>/feedback, sandboxed like the landing page
    • support tickets: messages the support loop tags as feedback (source "support")
  2. Tickets. On the heartbeat, @steward groups new feedback into tickets with a priority (p1 to p3) and the number each one should move (list_feedback, make_ticket).
  3. Spec. @steward writes a short spec with acceptance criteria (write_spec).
  4. Build. The hub hands one ticket at a time to the build agent, through a handoff and a task. The build agent works on the branch steward in its repo copy (the connector's repos mapping). The build agent is the one set on Releases, else a building specialist on the bench, else an owner's personal agent. If the agent doesn't take work from @steward, its owner is asked to start it.
  5. Pull request. When the build is done, @steward opens the pull request with github_open_pr, unless one is open already.
  6. Review and merge. The security review runs. Then @steward asks to merge with github_merge, and the owners or the trust ladder decide.
  7. Deploy. railway_deploy deploys it, and Railway's health watch confirms it or rolls it back. If merging to main deploys the business, the merge is the ship. A service with no repo source in Railway deploys from the build agent's computer, after the same approval. Only the services the PR touched deploy, and a PR that touches none of them ships with nothing to deploy. See Services deployed with railway up.
  8. Measure. After the measure window (7 days by default, set on Releases), the hub compares the ticket's number in the days after the ship with the same number of days before it. For running totals like signups, it compares the growth. For other numbers, it compares the average. It records an outcome in the playbooks (recordOutcome, tactic "product change"): moved the number, didn't, or rolled back.

The Releases page shows the pipeline per business: tickets with their stage, feedback, security reviews, uptime and incidents, and one timeline of everything.

Settings

All of these are optional:

The GitHub and Railway steps need those integrations on (GITHUB_TOKEN, RAILWAY_API_TOKEN; see Integrations and trust). Without GitHub, tickets stop at "built" and say why.