WEBVTT

1
00:00:01.200 --> 00:00:04.966
When you open a Firstmate session, a single start-up script runs,

2
00:00:04.996 --> 00:00:08.657
once. It does everything, in a fixed order.

3
00:00:08.687 --> 00:00:11.467
First, it takes a lock on its home folder. Only

4
00:00:11.497 --> 00:00:14.462
one Firstmate can be in charge of a home at a time.

5
00:00:14.492 --> 00:00:19.671
If another one already is, this session opens read-only, and changes nothing.

6
00:00:19.701 --> 00:00:23.119
Slow checks, like your GitHub sign-in, start in the background,

7
00:00:23.149 --> 00:00:26.401
so start-up never waits on the network.

8
00:00:26.431 --> 00:00:30.662
Then it checks that its tools are installed and up to date. If all is well,

9
00:00:30.692 --> 00:00:32.713
it says nothing at all.

10
00:00:32.743 --> 00:00:37.810
Next, it shows what was waiting: anything that happened while no session was open,

11
00:00:37.840 --> 00:00:41.219
and any decisions still owed to you.

12
00:00:41.249 --> 00:00:45.735
Finally, it reads the whole fleet back in from disk: every task,

13
00:00:45.765 --> 00:00:50.274
its latest status, and whether each worker is still alive.

14
00:00:50.304 --> 00:00:53.444
Now Firstmate knows exactly where everything stands. It ends its turn,

15
00:00:53.474 --> 00:00:55.727
and a watcher takes over.
