Files
Library/docs/agent-workflow/DECISIONS.md
T

75 lines
5.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Decision ledger
Date: 2026-11-24. Baseline: `main` at `f1f9ba375b22abf1adcc7c550ec21ac20895c0a4`.
## User-confirmed decisions
| ID | Decision | Status/source |
| --- | --- | --- |
| D-001 | Generic library spanning small foundations, complete modules, and full optional application platforms | CONFIRMED; discovery correction and follow-up answers |
| D-002 | Linux-first portable design | CONFIRMED |
| D-003 | Versioned modernization, with major-release breaks and migration guidance | CONFIRMED |
| D-004 | C++26 and reflection remain defining choices | CONFIRMED |
| D-005 | Full roadmap with phased delivery and expanded plans throughout | CONFIRMED |
| D-006 | General software infrastructure domain; no GUI/media/scientific/embedded platform expansion | CONFIRMED domain selection; general Math utilities remain in scope |
| D-007 | Prefer native implementations, deciding backend use separately for each module | CONFIRMED correction to blanket dependency choices |
| D-008 | Prioritize runtime/memory and separate workload profiles together | CONFIRMED combined selection |
| D-009 | Embedded and managed execution modes | CONFIRMED |
| D-010 | Include broad module completion, networked platform, and reloadable platform | CONFIRMED all three; sequencing follows dependencies |
| D-011 | First-class SQLite API using SQLite, plus a separate original Void engine | CONFIRMED explicit clarification |
| D-012 | Original engine starts with a transactional key-value core | CONFIRMED |
| D-013 | Full distributed platform roadmap in later phases | CONFIRMED |
| D-014 | Convenient C++ plugins plus a stable C boundary | CONFIRMED |
| D-015 | Standard-library-only foundation | CONFIRMED |
| D-016 | One expanded file per public module and new area | CONFIRMED |
| D-017 | Author the approved planning package now; feature implementation follows separately | APPROVED by “Implement the plan” after the proposal explicitly bounded that deliverable |
## Root-owned technical defaults
These are design choices made within the approved planning scope, not claims that the
user individually selected each algorithm or that any new implementation exists.
| ID | Choice and rationale | Contract |
| --- | --- | --- |
| D-018 | One authoritative owner for each shared interface; acyclic layered packages | C-01, C-13 |
| D-019 | Native level-triggered epoll sockets, bounded file workers, optional later io_uring | C-06; simple initial semantics and portable operation contract |
| D-020 | Original append WAL, ordered memory index, immutable sorted tables/checkpoints; serialized writer first | C-08; explicit durable core before concurrency/compaction expansion |
| D-021 | Preserve OpenSSL/libsodium for initial cryptographic implementations | C-06; native surrounding logic without changing cryptographic primitives |
| D-022 | Cooperative structured cancellation, one terminal completion, explicit admission bounds | C-03–C-05 |
| D-023 | Fixed-membership Raft first; deterministic core and separate replication adapters | C-12; avoid bootstrap cycles and unsupported reliability claims |
| D-024 | Quorum-confirmed consistent reads; stale reads explicit; no implied cross-shard transaction | C-12 |
| D-025 | Existing strict signed parsing, exact payloads, update commit markers, and frozen V1 remain protected | C-07, C-09, C-10 |
| D-026 | No deadline or staffing assumption; evidence-gated milestones | Delivery plan |
## Approved execution fallback
On 2026-11-24 the configured Sol model for T-DOC-104 reported capacity exhaustion before
starting the assignment. The user explicitly selected “Use configured Astra implementer.”
T-DOC-104 therefore uses the configured astra_implementer at XHigh with exactly the same
ten documentation files and task contract. The failed worker was closed. Other task
ownership and the documentation-only objective are unchanged. Model execution identity
remains configured rather than independently attested.
## Review decisions
- T-DISC-001: configured astra_planner completed the architecture investigation; source
and coverage gaps were reported. Runtime model identity was not independently attested.
- T-DISC-002: configured astra_researcher checked primary documentation for I/O,
persistence, consensus, and TLS; no runtime claims came from that research.
- T-PLAN-003: fresh configured astra_reviewer returned READY for plan-file authoring.
Its P3 distinction between future reference apps/proposed commands and existing
artifacts/evidence was incorporated. This was preflight, not review of written files.
Further decisions must identify affected contract IDs, compatibility impact, and the
plans requiring updates. Do not record a proposal as user approval.
## User-confirmed implementation decisions (2026-11-24)
| ID | Decision | Status/source |
| --- | --- | --- |
| D-027 | Execute in roadmap order: complete P0 baseline (`X-BASE-01`..`X-BASE-05`), then start P1 foundations (`Core`, `Functional`, `Time`, `Memory`, `Math`) | CONFIRMED by user |
| D-028 | Keep `docs/roadmap/` clean; author detailed per-task implementation specifications under `docs/agent-workflow/tasks/` prior to coding each wave | CONFIRMED by user |
| D-029 | Follow `MIGRATION.md` Wave A+B: keep 1.x public APIs and existing tests compiling/passing while introducing NEW APIs and adapters beside them | CONFIRMED by user |
| D-030 | Create dedicated git branch (`feat/roadmap-p0-p1-foundations`) and make focused commits per completed milestone/task; leave local untracked files (`.env`, `.serena/`, `WG.conf`, `keys`) untouched | CONFIRMED by user |
| D-031 | Proceed continuously across roadmap waves without pausing for confirmation between waves, and merge verified waves locally into `main` (without pushing to remote) | CONFIRMED by user |