Fleetyard Sign in

Learn Firstmate · Episode 2 of 15

How a session starts

One start-up script takes charge, checks its tools and reads the fleet back in.

0:59, narrated, with captions. Download the video · captions

Next episode · 3 of 15Standing watch for freeA tiny script with no AI in it keeps watch, so waiting costs nothing. 0:48.

Transcript

When you open a Firstmate session, a single start-up script runs, once. It does everything, in a fixed order.

First, it takes a lock on its home folder. Only one Firstmate can be in charge of a home at a time. If another one already is, this session opens read-only, and changes nothing.

Slow checks, like your GitHub sign-in, start in the background, so start-up never waits on the network.

Then it checks that its tools are installed and up to date. If all is well, it says nothing at all.

Next, it shows what was waiting: anything that happened while no session was open, and any decisions still owed to you.

Finally, it reads the whole fleet back in from disk: every task, its latest status, and whether each worker is still alive.

Now Firstmate knows exactly where everything stands. It ends its turn, and a watcher takes over.

All episodes

  1. 0:47 Episode 1 Meet the crew You talk to one agent; it runs a crew of agents for you.
  2. 0:59 Episode 2 How a session starts One start-up script takes charge, checks its tools and reads the fleet back in.
  3. 0:48 Episode 3 Standing watch for free A tiny script with no AI in it keeps watch, so waiting costs nothing.
  4. 0:51 Episode 4 What wakes Firstmate up The watcher filters the noise and wakes Firstmate only when it needs to think.
  5. 0:38 Episode 5 Handling a wake-up, safely Read everything, handle it, then tick it off, so nothing is ever lost.
  6. 0:43 Episode 6 From your request to a task Firstmate sizes up what you asked for and writes the worker a complete brief.
  7. 0:44 Episode 7 Launching a crewmate Pick the right agent, give it a clean copy of the code, and start it on its brief.
  8. 0:40 Episode 8 How workers report in One line per update, and only the lines that matter wake Firstmate.
  9. 0:45 Episode 9 Stuck workers and steering Spotting a worker that has gone quiet, and sending it messages it must acknowledge.
  10. 0:42 Episode 10 Decisions: who answers what Questions stay open until answered, and only the real ones come to you.
  11. 0:42 Episode 11 The no-mistakes pipeline Every change is checked on your machine before it reaches a pull request.
  12. 0:52 Episode 12 Review gates and fix rounds The pipeline stops at a gate, fixes what it finds, and sends real questions up.
  13. 0:43 Episode 13 Green checks, pull request ready Test, document, lint, push, open the PR and get CI green.
  14. 0:45 Episode 14 Landing the change Who may merge, what is checked first, and how you hear it landed.
  15. 0:45 Episode 15 Cleaning up after a task The lane is torn down safely and its copy of the code goes back to the pool.