refactor: build from conventions, adopt ConsoleLogger, and colorize TTY output
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s

This commit is contained in:
faumaray committed 2026-12-04 23:42:50 +03:00
1 parent ea6ac852e7
commit 83ec08390f
23 files changed
+172 -151

No files matched your search

+7
View File
@@ -273,6 +273,13 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 90 (`vbs verify --trusted-public-key` & RFC 7232 If-None-Match)**: `vbs verify` accepts trusted key sources and rejects untrusted signer keys before verifying. A swarm worker (6/6 tasks) added ETag/304 support to the binary-variant detail endpoint and hardened `If-None-Match` handling per RFC 7232 (weak `W/` prefixes, comma lists, `*`) for all ETag-validated responses.
- **Wave 91 (Convention-Based Self-Build & VoidLibrary Console Logging)**:
- Source membership no longer enumerates files: the SDK lives in `sdk/` (`Build.cpp`, `Json.cpp`), the registry CLI entry in `registry/cli/Main.cpp`, and `build.cpp` plus the self-host recipe use `project.glob("src/**/*.cpp")`, `recipes/**`, `sdk/*.cpp`, and `registry/service/*.cpp`. `Bootstrap::sdk_source_dir` now points at `sdk/`, and `sdk/` joins the snapshot root discovery.
- A real bug was found and fixed: cached dependency paths are now absolute, so a relative `--build-dir` no longer breaks the self-host build (`std::filesystem::absolute` in `materialize_dependency_source`).
- Logging now uses VoidLibrary's `Void::Logging::ConsoleLogger` through `Void::Log::make_sink`, removing the hand-written sink and the `vbs` prefix (`[Info] [Deps] ...`); the `Log` module is enabled in every configuration.
- **Wave 92 (TTY-Aware CLI Help & Log Colors)**: `ConsoleLogger` now installs a `PatternFormatter` with `ColorPolicy::defaults()` when stderr is a terminal, so log levels are colored (previously the default policy was disabled); CLI help is colorized (bold section headers/usage, cyan commands and options) when stdout is a terminal. `NO_COLOR` and the new global `--no-color` flag disable both.
## Remaining future scope
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Track C (macOS/Windows ports + dual-profile cross-compilation) and dedicated external editor plugins remain planned; Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement/distribution, binary-variant signing/distribution) and Track E3 daemon capabilities are implemented, and Track E4 now uses `Void::Net` for the registry client/server and remote cache plus `Void::Sqlite` for the StateStore when available.