From 7f3b06222dc9f58be78ffa6e9b77d719a2e20556 Mon Sep 17 00:00:00 2001 From: soul Date: Fri, 23 Oct 2026 06:03:44 +0200 Subject: [PATCH] Economy command: run the batches once on the trial, check that copy, replace Aetheria.cc with it atomically; refuse introduced shape faults by rule and record Co-Authored-By: Claude Sonnet 5.5 --- tools/AetherDb/EconomyCommand.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/AetherDb/EconomyCommand.cs b/tools/AetherDb/EconomyCommand.cs index e5657a619..df568ca9e 100644 --- a/tools/AetherDb/EconomyCommand.cs +++ b/tools/AetherDb/EconomyCommand.cs @@ -53,14 +53,13 @@ public sealed class EconomyAuthor // EconomyChecks owns every rule; this command only calls it. public static class EconomyCommand { - // The invariants whose faults on a record a batch wrote refuse it. The rest (a missing sink, no consumer demand, a commodity + // The invariants whose faults the batches introduce refuse them. The rest (a missing sink, no consumer demand, a commodity // with no recipe yet) are completeness: reported, and settled by the batch that closes the chain. private static readonly string[] Shape = { EconomyChecks.LRecipe, EconomyChecks.LLore, EconomyChecks.LProductive, EconomyChecks.LOneKindList }; // A batch is compiled code under tools/AetherDb/Economy/ and runs with the operator's authority: reviewed code, never an input. - private const string Usage = "economy report | author ... [apply] -A batch is reviewed code: it runs on a trial copy and must write only through EconomyAuthor."; + private const string Usage = "economy report | author ... [apply]\nA batch is reviewed code: it runs on a trial copy and must write only through EconomyAuthor."; public static int Run(string[] args) {