feat(run): crafter-review run and slots, the driver of the gates
Run: gate 0 (the artifact, the trees, the inventory, the run lock, the scratch dir, dispositions, reuse state, resume, reads per round, seats, the board), the stack and migration preflights, the prompts, reuse of whole and block verdicts, salvage, a gate on the pool, checkpoints, the dump, the dry-run report and the unit-state store; slots_plan and app_ready beside it. The CLI parses run's 28 options, types and choices included. A full run takes its lifetime lock beside the board before it joins it. A signal - or the stop file `crafter-review stop` writes, looked at every 2 s - stops the run once gate 0 is through, and the stop stays in force for the gates after; before that it ends the process with its descendants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
554a5ddd48
commit
0f803d90bd
9 changed files with 2639 additions and 13 deletions
|
|
@ -66,6 +66,7 @@ export namespace Crafter::Review::SeatPool {
|
|||
Json MarkOut(const std::string& seatId, std::string_view reason, std::optional<double> now = std::nullopt);
|
||||
void Save();
|
||||
const Json& Data() const;
|
||||
const std::filesystem::path& Path() const;
|
||||
|
||||
private:
|
||||
std::filesystem::path path;
|
||||
|
|
|
|||
Loading…
Reference in a new issue