Trevor PaughSystems engineer
Trevor PaughProject Chronicles

Chronicles / The Factory

The path the launcher checked

Progress

Project names, job ids and worktree paths are now checked where the factory starts a job and where it resumes one, and later agents are sent to the path that was checked, not to whatever the job record says.

A job’s project name and id become folder and file names. Its record says where its worktree is. Until today the factory trusted all three.

Plain names only

The launch script now refuses a project name or job id that is not a plain name. Approving or reworking a job fails with a clear error when its record points the worktree outside the factory’s own worktree folder.

One value, not two

The approver of that change noticed something better than a missing check: the path the launcher checked and the path it printed for the next agents were two different values, read from two places. Resuming a job now always sends the pipeline to the path that was checked. A record inside a worktree can say what it likes.

A flaky case in the factory’s own suite was also fixed. It had gone red once and green on the second run, and a flake here costs a full re-run or a parked job.