Progmasoft Git

tazel

A build system for C, C++, Objective-C, Objective-C++ and Zig, with C# project files.

Clonegit clone https://git.progmasoft.com/tazel

refactor: rename Cedre Celeste to Cadre Celeste across engine, CLI, docs, and tests (#56)

Commit
6271e50077c55baaea29c7e6d96ae6415055ca85
Author
Leitwolf ·
Committer
GitHub
Parents
d4ee17416c2c

Files · Download .tar.gz

Changes

 CHANGELOG.md                                               |  1 +
 Tazel.slnx                                                 |  2 +-
 docs/commands.md                                           |  2 +-
 .../GraphEngine.cs                                         |  2 +-
 .../GraphSnapshot.cs                                       |  6 +++---
 .../NodeKey.cs                                             |  4 ++--
 .../Progmasoft.Tazel.CadreCeleste.csproj}                  |  4 ++--
 src/Progmasoft.Tazel/Cli/CommandLine.cs                    |  2 +-
 src/Progmasoft.Tazel/Cli/CommandMakers.cs                  |  2 +-
 src/Progmasoft.Tazel/Cli/CommandTypes.cs                   |  4 ++--
 src/Progmasoft.Tazel/Cli/DumpCommands.cs                   | 14 +++++++-------
 src/Progmasoft.Tazel/Cli/Help.cs                           |  6 +++---
 src/Progmasoft.Tazel/Cli/ShellCompletion.cs                |  2 +-
 src/Progmasoft.Tazel/Progmasoft.Tazel.csproj               |  2 +-
 .../{CedreCelesteTests.cs => CadreCelesteTests.cs}         |  4 ++--
 tests/Progmasoft.Tazel.Tests/DumpAndIdeTests.cs            | 10 +++++-----
 16 files changed, 34 insertions(+), 33 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b4ac317..30d6591 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
 
 ## Unreleased
 
+- Renamed the evaluation engine from `Progmasoft.Tazel.CedreCeleste` (`--cedre-celeste`) to `Progmasoft.Tazel.CadreCeleste` (`--cadre-celeste`, JSON key `cadreCeleste`).
 - Added `tazel modules` (`graph`, `deps`, `explain`, `tidy`, `resolve`, `diff`, `merge`, `export`, `verify`), `tazel update`, `--locked`/`--frozen`/`--offline` lockfile enforcement on builds and fetches, `ModuleCoordinates.Registry`, and shell-completion registry-name escaping across Bash, Zsh, Fish, and PowerShell.
 - Added `Z3ModuleResolver` (`Microsoft.Z3`) for order-independent lexicographic dependency resolution with unreachable-module elimination, yanked-version handling, cycle detection, and subset-minimal UNSAT conflict cores.
 - Added `Progmasoft.Tazel.Lock` (`LOCK.sqlite3`) deterministic SQLite lockfile reader, writer (`VACUUM INTO`, fixed page size, sorted inserts), JSON exporter, semantic diff/Markdown formatter, and verifier.
diff --git a/Tazel.slnx b/Tazel.slnx
index 7d95105..ebb3477 100644
--- a/Tazel.slnx
+++ b/Tazel.slnx
@@ -1,6 +1,6 @@
 <Solution>
   <Folder Name="/src/">
-    <Project Path="src/Progmasoft.Tazel.CedreCeleste/Progmasoft.Tazel.CedreCeleste.csproj" />
+    <Project Path="src/Progmasoft.Tazel.CadreCeleste/Progmasoft.Tazel.CadreCeleste.csproj" />
     <Project Path="src/Progmasoft.Tazel.Dsl/Progmasoft.Tazel.Dsl.csproj" />
     <Project Path="src/Progmasoft.Tazel/Progmasoft.Tazel.csproj" />
     <Project Path="src/Progmasoft.Tazel.Guest/Progmasoft.Tazel.Guest.csproj" />
diff --git a/docs/commands.md b/docs/commands.md
index c3ff408..8dc4fec 100644
--- a/docs/commands.md
+++ b/docs/commands.md
@@ -17,7 +17,7 @@
 | `tazel git add` | stages the module's files with system `git`, respecting `.gitignore` |
 | `tazel log cache\|workspace\|what-ran\|what-failed\|what-up\|snoop\|daemon\|registries` | read-only inspection of cache, module root, recent runs, daemon status, and effective registries |
 | `tazel doctor` | checks local compilers, runtime, git, Linux KVM/MicroVM, and daemon status without requiring a workspace |
-| `tazel dump [--cedre-celeste=...] [-o text\|json]` | inspects the running .NET daemon and Cedre Celeste state without starting a daemon |
+| `tazel dump [--cadre-celeste=...] [-o text\|json]` | inspects the running .NET daemon and Cadre Celeste state without starting a daemon |
 | `tazel ide compdb [labels] [-o <file>]` | writes a deterministic `compile_commands.json` for C/C++/ObjC targets (default `//...`) |
 | `tazel fetch` | downloads and checks the modules and plugins the module depends on, without building |
 | `tazel vendor` | copies the modules of Tazel Portal Modules and their indexes into `vendor/` |
diff --git a/src/Progmasoft.Tazel.CedreCeleste/GraphEngine.cs b/src/Progmasoft.Tazel.CadreCeleste/GraphEngine.cs
similarity index 99%
rename from src/Progmasoft.Tazel.CedreCeleste/GraphEngine.cs
rename to src/Progmasoft.Tazel.CadreCeleste/GraphEngine.cs
index 1168e8c..21f7ed3 100644
--- a/src/Progmasoft.Tazel.CedreCeleste/GraphEngine.cs
+++ b/src/Progmasoft.Tazel.CadreCeleste/GraphEngine.cs
@@ -9,7 +9,7 @@ using System.Linq;
 using System.Threading;
 using System.Threading.Tasks;
 
-namespace Progmasoft.Tazel.CedreCeleste;
+namespace Progmasoft.Tazel.CadreCeleste;
 
 /// <summary>Evaluation context passed to node evaluators for dynamic dependency reads.</summary>
 public interface IEvaluationContext
diff --git a/src/Progmasoft.Tazel.CedreCeleste/GraphSnapshot.cs b/src/Progmasoft.Tazel.CadreCeleste/GraphSnapshot.cs
similarity index 95%
rename from src/Progmasoft.Tazel.CedreCeleste/GraphSnapshot.cs
rename to src/Progmasoft.Tazel.CadreCeleste/GraphSnapshot.cs
index ae48c62..7410901 100644
--- a/src/Progmasoft.Tazel.CedreCeleste/GraphSnapshot.cs
+++ b/src/Progmasoft.Tazel.CadreCeleste/GraphSnapshot.cs
@@ -6,9 +6,9 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 
-namespace Progmasoft.Tazel.CedreCeleste;
+namespace Progmasoft.Tazel.CadreCeleste;
 
-/// <summary>Snapshot of a single node in the Cedre Celeste graph.</summary>
+/// <summary>Snapshot of a single node in the Cadre Celeste graph.</summary>
 public sealed record GraphNodeSnapshot(
     NodeKey Key,
     bool IsInput,
@@ -27,7 +27,7 @@ public sealed record GraphSnapshot(
     long PrunedEvaluations,
     IReadOnlyList<GraphNodeSnapshot> Nodes)
 {
-    /// <summary>Formats the snapshot according to a <c>tazel dump --cedre-celeste=&lt;view&gt;</c> mode.</summary>
+    /// <summary>Formats the snapshot according to a <c>tazel dump --cadre-celeste=&lt;view&gt;</c> mode.</summary>
     public string Format(string view) => view.ToLowerInvariant() switch
     {
         "summary" => FormatSummary(),
diff --git a/src/Progmasoft.Tazel.CedreCeleste/NodeKey.cs b/src/Progmasoft.Tazel.CadreCeleste/NodeKey.cs
similarity index 96%
rename from src/Progmasoft.Tazel.CedreCeleste/NodeKey.cs
rename to src/Progmasoft.Tazel.CadreCeleste/NodeKey.cs
index 8ae04f3..30cd7ae 100644
--- a/src/Progmasoft.Tazel.CedreCeleste/NodeKey.cs
+++ b/src/Progmasoft.Tazel.CadreCeleste/NodeKey.cs
@@ -8,9 +8,9 @@ using System.Security.Cryptography;
 using System.Text;
 using System.Threading;
 
-namespace Progmasoft.Tazel.CedreCeleste;
+namespace Progmasoft.Tazel.CadreCeleste;
 
-/// <summary>Typed, immutable identity of a node in the Cedre Celeste evaluation graph.</summary>
+/// <summary>Typed, immutable identity of a node in the Cadre Celeste evaluation graph.</summary>
 public readonly record struct NodeKey(string Kind, string Name)
 {
     /// <inheritdoc/>
diff --git a/src/Progmasoft.Tazel.CedreCeleste/Progmasoft.Tazel.CedreCeleste.csproj b/src/Progmasoft.Tazel.CadreCeleste/Progmasoft.Tazel.CadreCeleste.csproj
similarity index 78%
rename from src/Progmasoft.Tazel.CedreCeleste/Progmasoft.Tazel.CedreCeleste.csproj
rename to src/Progmasoft.Tazel.CadreCeleste/Progmasoft.Tazel.CadreCeleste.csproj
index 3e633a4..8083424 100644
--- a/src/Progmasoft.Tazel.CedreCeleste/Progmasoft.Tazel.CedreCeleste.csproj
+++ b/src/Progmasoft.Tazel.CadreCeleste/Progmasoft.Tazel.CadreCeleste.csproj
@@ -1,9 +1,9 @@
 <!-- SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> -->
 <!-- SPDX-License-Identifier: MIT -->
-<!-- Cedre Celeste: Tazel's internal demand-driven incremental evaluation engine. -->
+<!-- Cadre Celeste: Tazel's internal demand-driven incremental evaluation engine. -->
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <RootNamespace>Progmasoft.Tazel.CedreCeleste</RootNamespace>
+    <RootNamespace>Progmasoft.Tazel.CadreCeleste</RootNamespace>
     <IsPackable>false</IsPackable>
   </PropertyGroup>
   <ItemGroup>
diff --git a/src/Progmasoft.Tazel/Cli/CommandLine.cs b/src/Progmasoft.Tazel/Cli/CommandLine.cs
index c8e91c5..5e593e6 100644
--- a/src/Progmasoft.Tazel/Cli/CommandLine.cs
+++ b/src/Progmasoft.Tazel/Cli/CommandLine.cs
@@ -71,7 +71,7 @@ internal static class CommandLine
         new("short", OptionKind.Flag, null, "help", "explain"),
         new("long", OptionKind.Flag, null, "help", "explain"),
         new("algorithm", OptionKind.Value, ["ed25519", "rsa-4096", "ml-dsa"], "cache"),
-        new("cedre-celeste", OptionKind.Value, DumpCommands.CedreCelesteViews, "dump"),
+        new("cadre-celeste", OptionKind.Value, DumpCommands.CadreCelesteViews, "dump"),
         new("daemon", OptionKind.Value, ["true", "false"], "dump"),
         new("watcher", OptionKind.Value, ["true", "false"], "dump"),
         new("scripts", OptionKind.Value, ["true", "false"], "dump"),
diff --git a/src/Progmasoft.Tazel/Cli/CommandMakers.cs b/src/Progmasoft.Tazel/Cli/CommandMakers.cs
index 5bf5169..b094914 100644
--- a/src/Progmasoft.Tazel/Cli/CommandMakers.cs
+++ b/src/Progmasoft.Tazel/Cli/CommandMakers.cs
@@ -110,7 +110,7 @@ internal static class CommandMakers
         DumpCommands.ValidateFilter(filter);
         return new DumpCommand(
             output,
-            scanned.Last("cedre-celeste") ?? "summary",
+            scanned.Last("cadre-celeste") ?? "summary",
             ParseDumpBool(scanned, "daemon"),
             ParseDumpBool(scanned, "watcher"),
             ParseDumpBool(scanned, "scripts"),
diff --git a/src/Progmasoft.Tazel/Cli/CommandTypes.cs b/src/Progmasoft.Tazel/Cli/CommandTypes.cs
index fb7ba84..be55211 100644
--- a/src/Progmasoft.Tazel/Cli/CommandTypes.cs
+++ b/src/Progmasoft.Tazel/Cli/CommandTypes.cs
@@ -211,10 +211,10 @@ internal sealed record LogCommand(OutputOptions Output, string Action) : Command
 /// <summary><c>tazel doctor</c>: read-only environment diagnostics with actionable hints.</summary>
 internal sealed record DoctorCommand(OutputOptions Output) : Command(Output);
 
-/// <summary><c>tazel dump</c>: inspects the running daemon and Cedre Celeste state.</summary>
+/// <summary><c>tazel dump</c>: inspects the running daemon and Cadre Celeste state.</summary>
 internal sealed record DumpCommand(
     OutputOptions Output,
-    string CedreCelesteView,
+    string CadreCelesteView,
     bool IncludeDaemon,
     bool IncludeWatcher,
     bool IncludeScripts,
diff --git a/src/Progmasoft.Tazel/Cli/DumpCommands.cs b/src/Progmasoft.Tazel/Cli/DumpCommands.cs
index 49a41fc..aecb764 100644
--- a/src/Progmasoft.Tazel/Cli/DumpCommands.cs
+++ b/src/Progmasoft.Tazel/Cli/DumpCommands.cs
@@ -12,14 +12,14 @@ using Progmasoft.Tazel.Output;
 
 namespace Progmasoft.Tazel.Cli;
 
-/// <summary>Implements <c>tazel dump</c>: inspects the running daemon and Cedre Celeste state without starting one.</summary>
+/// <summary>Implements <c>tazel dump</c>: inspects the running daemon and Cadre Celeste state without starting one.</summary>
 internal sealed class DumpCommands(Reporter reporter)
 {
     public const int MaxFilterLength = 16 * 1024;
     private static readonly TimeSpan RegexTimeout = TimeSpan.FromMilliseconds(250);
     private static readonly JsonSerializerOptions JsonOptions = new(JsonSerializerDefaults.Web) { WriteIndented = true };
 
-    public static readonly IReadOnlyList<string> CedreCelesteViews =
+    public static readonly IReadOnlyList<string> CadreCelesteViews =
         ["false", "summary", "count", "value", "deps", "rdeps", "funcgraph", "active-dirs", "active-dirs-frontier-deps"];
 
     /// <summary>Validates an optional <c>--filter</c> regex under the 16 KiB / 250 ms limits.</summary>
@@ -103,11 +103,11 @@ internal sealed class DumpCommands(Reporter reporter)
             payload["executor"] = new { activeCommand = status.ActiveCommand, running = status.ActiveCommand is null ? 0 : 1, queued = 0 };
         }
 
-        if (!string.Equals(command.CedreCelesteView, "false", StringComparison.OrdinalIgnoreCase))
+        if (!string.Equals(command.CadreCelesteView, "false", StringComparison.OrdinalIgnoreCase))
         {
-            payload["cedreCeleste"] = new
+            payload["cadreCeleste"] = new
             {
-                view = command.CedreCelesteView,
+                view = command.CadreCelesteView,
                 filter = command.Filter,
                 label = command.Label,
                 revision = 1,
@@ -154,9 +154,9 @@ internal sealed class DumpCommands(Reporter reporter)
             reporter.Plain($"  active: {status.ActiveCommand ?? "(idle)"}, queued: 0");
         }
 
-        if (!string.Equals(command.CedreCelesteView, "false", StringComparison.OrdinalIgnoreCase))
+        if (!string.Equals(command.CadreCelesteView, "false", StringComparison.OrdinalIgnoreCase))
         {
-            reporter.Strong($"cedre-celeste ({command.CedreCelesteView})");
+            reporter.Strong($"cadre-celeste ({command.CadreCelesteView})");
             reporter.Plain("  revision: 1, nodes: 0");
         }
 
diff --git a/src/Progmasoft.Tazel/Cli/Help.cs b/src/Progmasoft.Tazel/Cli/Help.cs
index f1ddc61..624b111 100644
--- a/src/Progmasoft.Tazel/Cli/Help.cs
+++ b/src/Progmasoft.Tazel/Cli/Help.cs
@@ -388,12 +388,12 @@ internal static class Help
             whether the .NET daemon is running) and prints a summary table with actionable hints. Runs without a
             workspace and never starts a daemon.
             """),
-        ["dump"] = new("tazel dump [--cedre-celeste=...] [-o text|json]: inspects the running daemon.", """
-            tazel dump [--cedre-celeste=false|summary|count|value|deps|rdeps|funcgraph|active-dirs|active-dirs-frontier-deps]
+        ["dump"] = new("tazel dump [--cadre-celeste=...] [-o text|json]: inspects the running daemon.", """
+            tazel dump [--cadre-celeste=false|summary|count|value|deps|rdeps|funcgraph|active-dirs|active-dirs-frontier-deps]
                        [--daemon=false] [--watcher=false] [--scripts=false] [--executor=false] [--memory=false]
                        [--filter=<regex>] [--label=<label>] [-o|--output text|json]
 
-            Reads the running .NET daemon's internal state and Cedre Celeste evaluation graph. Never starts a daemon.
+            Reads the running .NET daemon's internal state and Cadre Celeste evaluation graph. Never starts a daemon.
             """),
         ["ide"] = new("tazel ide compdb [labels] [-o <file>]: writes compile_commands.json.", """
             tazel ide compdb [labels] [-o|--output <file>]
diff --git a/src/Progmasoft.Tazel/Cli/ShellCompletion.cs b/src/Progmasoft.Tazel/Cli/ShellCompletion.cs
index 160f14a..c20549f 100644
--- a/src/Progmasoft.Tazel/Cli/ShellCompletion.cs
+++ b/src/Progmasoft.Tazel/Cli/ShellCompletion.cs
@@ -68,7 +68,7 @@ internal static class ShellCompletion
         ("git", "Stage module files with git"),
         ("log", "Inspect workspace, cache, runs, daemon, and registries"),
         ("doctor", "Check local tools, runtime, KVM/MicroVM, and daemon status"),
-        ("dump", "Inspect the running daemon and Cedre Celeste state"),
+        ("dump", "Inspect the running daemon and Cadre Celeste state"),
         ("ide", "Generate IDE integration files such as compile_commands.json"),
         ("modules", "Resolve dependencies and inspect, diff, merge, export, or verify LOCK.sqlite3"),
         ("update", "Update project and system dependencies"),
diff --git a/src/Progmasoft.Tazel/Progmasoft.Tazel.csproj b/src/Progmasoft.Tazel/Progmasoft.Tazel.csproj
index 51571d1..fa47255 100644
--- a/src/Progmasoft.Tazel/Progmasoft.Tazel.csproj
+++ b/src/Progmasoft.Tazel/Progmasoft.Tazel.csproj
@@ -10,7 +10,7 @@
     <TieredPGO>true</TieredPGO>
   </PropertyGroup>
   <ItemGroup>
-    <ProjectReference Include="../Progmasoft.Tazel.CedreCeleste/Progmasoft.Tazel.CedreCeleste.csproj" />
+    <ProjectReference Include="../Progmasoft.Tazel.CadreCeleste/Progmasoft.Tazel.CadreCeleste.csproj" />
     <ProjectReference Include="../Progmasoft.Tazel.Dsl/Progmasoft.Tazel.Dsl.csproj" />
     <ProjectReference Include="../Progmasoft.Tazel.PluginApi/Progmasoft.Tazel.PluginApi.csproj" />
   </ItemGroup>
diff --git a/tests/Progmasoft.Tazel.Tests/CedreCelesteTests.cs b/tests/Progmasoft.Tazel.Tests/CadreCelesteTests.cs
similarity index 99%
rename from tests/Progmasoft.Tazel.Tests/CedreCelesteTests.cs
rename to tests/Progmasoft.Tazel.Tests/CadreCelesteTests.cs
index 5477aa1..dc99353 100644
--- a/tests/Progmasoft.Tazel.Tests/CedreCelesteTests.cs
+++ b/tests/Progmasoft.Tazel.Tests/CadreCelesteTests.cs
@@ -5,12 +5,12 @@ using System;
 using System.Collections.Generic;
 using System.Threading.Tasks;
 using CsCheck;
-using Progmasoft.Tazel.CedreCeleste;
+using Progmasoft.Tazel.CadreCeleste;
 using Xunit;
 
 namespace Progmasoft.Tazel.Tests;
 
-public sealed class CedreCelesteTests
+public sealed class CadreCelesteTests
 {
     [Fact]
     public async Task UnchangedInputDoesNotAdvanceRevisionOrRerunNodes()
diff --git a/tests/Progmasoft.Tazel.Tests/DumpAndIdeTests.cs b/tests/Progmasoft.Tazel.Tests/DumpAndIdeTests.cs
index f469959..dea5db0 100644
--- a/tests/Progmasoft.Tazel.Tests/DumpAndIdeTests.cs
+++ b/tests/Progmasoft.Tazel.Tests/DumpAndIdeTests.cs
@@ -18,8 +18,8 @@ public sealed class DumpAndIdeTests
     [Fact]
     public void ParsesDumpAndIdeCompdbCommands()
     {
-        var dump = Assert.IsType<DumpCommand>(CommandLine.Parse(["dump", "--cedre-celeste=deps", "--watcher=false", "-o", "json"]));
-        Assert.Equal("deps", dump.CedreCelesteView);
+        var dump = Assert.IsType<DumpCommand>(CommandLine.Parse(["dump", "--cadre-celeste=deps", "--watcher=false", "-o", "json"]));
+        Assert.Equal("deps", dump.CadreCelesteView);
         Assert.False(dump.IncludeWatcher);
         Assert.True(dump.IncludeDaemon);
         Assert.Equal("json", dump.Format);
@@ -28,7 +28,7 @@ public sealed class DumpAndIdeTests
         Assert.Equal(["//app:hello"], compdb.Labels);
         Assert.Equal("out.json", compdb.OutputPath);
 
-        Assert.Throws<CommandLineException>(() => CommandLine.Parse(["dump", "--cedre-celeste=bogus"]));
+        Assert.Throws<CommandLineException>(() => CommandLine.Parse(["dump", "--cadre-celeste=bogus"]));
         Assert.Throws<CommandLineException>(() => CommandLine.Parse(["dump", "--filter=[unclosed"]));
         Assert.Throws<CommandLineException>(() => CommandLine.Parse(["ide"]));
         Assert.Throws<CommandLineException>(() => CommandLine.Parse(["ide", "unknown"]));
@@ -60,8 +60,8 @@ public sealed class DumpAndIdeTests
             }
 
             using var textOut = new StringWriter();
-            Assert.Equal(0, await Program.RunAsync(["--color", "never", "dump", "--cedre-celeste=summary"], dir, textOut, cts.Token));
-            Assert.Contains("cedre-celeste (summary)", textOut.ToString(), StringComparison.Ordinal);
+            Assert.Equal(0, await Program.RunAsync(["--color", "never", "dump", "--cadre-celeste=summary"], dir, textOut, cts.Token));
+            Assert.Contains("cadre-celeste (summary)", textOut.ToString(), StringComparison.Ordinal);
 
             using var jsonOut = new StringWriter();
             Assert.Equal(0, await Program.RunAsync(["--color", "never", "dump", "-o", "json"], dir, jsonOut, cts.Token));