Files
Build-System/docs/agent-workflow/DECISIONS.md
T
faumaray ab64147f9d
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
Implement VoidBuildSystem v1 (Plans 01-19) with VoidLibrary integration
2026-11-26 20:45:54 +03:00

51 lines
4.5 KiB
Markdown

# Decision ledger
All dates: 2026-11-25. CONFIRMED means user-selected; APPROVED DEFAULT means root
technical choice included in the approved plan; REVISED records preflight corrections.
| ID | Status | Decision and consequence |
| --- | --- | --- |
| D-001 | CONFIRMED | Linux first, native executor, GCC/Clang target drivers; other desktop OSes later. |
| D-002 | CONFIRMED | C++26/GCC16 host baseline matching VoidLibrary. |
| D-003 | CONFIRMED | Ordinary build.cpp with cpp/hpp helpers; root may choose internal API. |
| D-004 | CONFIRMED | Conventional include/src/source plus explicit/glob/custom layouts. |
| D-005 | CONFIRMED | Core targets plus modules/header units/PCH/unity/LTO/sanitizers in full v1. |
| D-006 | CONFIRMED | Reliable one-shot builds and explicit rebuilding watch. |
| D-007 | CONFIRMED | Content verification and immutable execution input snapshots. |
| D-008 | CONFIRMED | Multiple selected targets/profiles coexist inside one build directory. |
| D-009 | CONFIRMED | Per-profile compile databases, manual swapping, automatic refresh and independent metadata watcher. |
| D-010 | CONFIRMED | Editor selection follows latest single-profile build; multiple profiles need explicit editor-profile. |
| D-011 | CONFIRMED | Native package manager owns version solving and source/binary packages. |
| D-012 | CONFIRMED | Dependency declarations in C++ and parsed files such as TOML. |
| D-013 | CONFIRMED | CMake/Meson/Conan run-and-import first; native foreign graph translation later. |
| D-014 | CONFIRMED | Both C++ convenience dependency API and CMake-facing FetchContent/CPM-style integration. |
| D-015 | CONFIRMED | Hosted registry service plus web administration required. |
| D-016 | CONFIRMED | Void-first with focused extra dependencies/wrappers; mark upstream candidates. |
| D-017 | CONFIRMED | Local cache first; remote build cache/distributed workers deferred. |
| D-018 | CONFIRMED | Self-hosting required; CMake shim allowed for seed; self + VoidLibrary first adoption targets. |
| D-019 | CONFIRMED | Initial delivery includes detailed plans and compiling bootstrap skeleton. |
| D-020 | CONFIRMED | MIT license; use existing dev / dev cpp-gcc environment. |
| D-021 | APPROVED DEFAULT | CLI vbs; separate configuration process with versioned declarative protocol. |
| D-022 | REVISED | Profile discovery then per-context evaluation; host preprocessor is not a target selector. |
| D-023 | REVISED | Helpers selected by filesystem membership, including archive/no-Git operation. |
| D-024 | REVISED | Canonical timestamps/epoch/path mapping; nonreuse for nondeterministic actions. |
| D-025 | REVISED | Atomic revision-checked project lock updates and one immutable lock revision per build. |
| D-026 | REVISED | Metadata watcher never runs foreign configure/build/install/fetch or lock updates. |
| D-027 | APPROVED DEFAULT | SHA-256 identities, SQLite adapter, TOML1.0/toml++ and native PubGrub-style solving planned. |
| D-028 | APPROVED DEFAULT | C++ registry with filesystem CAS and SQLite; ordinary browser assets use same authenticated API. |
| D-029 | APPROVED DEFAULT | Loopback development, reverse-proxy TLS for eventual hosting; deployment separately authorized. |
| D-030 | APPROVED DEFAULT | Compdb editor projection is distinct from exact snapshot execution records. |
| D-031 | APPROVED DEFAULT | Source bootstrap pin 9931c5f; static selected Void modules; no incidental VoidLibrary changes. |
| D-032 | CONFIRMED | Naming conventions: C++ namespace `Void::Build`, public umbrella `<Void/Build.hpp>`, PascalCase internal headers/sources/types/enums (`Visibility::Public`/`Private`/`Interface`, `CompilerFamily::Gcc`/`Clang`, `TargetKind::Executable`/`StaticLibrary`), `snake_case` functions/methods, CMake targets `Void::BuildSdk`/`Void::BuildCore`, short CLI/project filenames (`vbs`, `vbs.deps.toml`, `vbs.lock`, `.vbs/`, `VbsDeps.cmake`). |
| D-033 | CONFIRMED | Reusable VoidLibrary gaps tracked in `docs/VOIDLIBRARY_UPSTREAM_REQUESTS.md` for the dedicated VoidLibrary worker; VBS uses swappable local adapters so implementation proceeds without stalling. |
## Approval and deferred actions
The user approved the complete proposal with "Implement the plan". This authorizes
the initial local delivery described in APPROVED_PLAN.md, not a claim that the entire
v1 roadmap is finished. No remote repository, commit, push, deployment or changes to
the global Nix-managed agent installation have been requested.
No deadline, paid infrastructure or performance SLA was supplied. Prefer measured
correctness first; document measurements before promising numerical performance.