docs: add expansion roadmap and workflow baseline

This commit is contained in:
faumaray committed 2026-11-24 02:04:38 +03:00
1 parent f1f9ba375b
commit faa8a5198d
65 files changed
+9292

No files matched your search

+73
View File
@@ -0,0 +1,73 @@
# 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 |
+44
View File
@@ -0,0 +1,44 @@
# Workflow state
Updated: 2026-11-24.
Repository: VoidLibrary; branch `main`; baseline HEAD
`f1f9ba375b22abf1adcc7c550ec21ac20895c0a4`.
## Completed objective
The approved multi-file expansion planning package is authored and verified: 54 roadmap
documents with 300 planned feature tasks. Application implementation, release, and
deployment are not part of this documentation delivery.
## Baseline and authorization
The tracked tree was clean before authoring. Existing unrelated untracked files were
left untouched. The user approved the proposal with “Implement the plan.” Confirmed
requirements and decisions are recorded in the roadmap and DECISIONS.md.
Prior read-only exploration, architectural planning, primary-source research, and
independent preflight are complete. Preflight verdict: READY, with one minor wording
correction applied. Current stage: DOCUMENTATION_COMPLETE. Independent reviews A and B
are READY after all four P2 findings were corrected and rechecked. No feature
implementation has started.
## Verification already observed
- GCC 16.2.0, CMake 4.4.4; separate all-module RelWithDebInfo configure/build succeeded.
- VoidTests: 1,250 discovered; 1,245 passed, 2 failed, 3 skipped.
- The failures hard-code absent `/bin/echo` and `/bin/cat` on this NixOS host.
- Installed component-consumer test passed.
- Warnings-as-errors configuration failed in pinned Boost 1.84 headers.
- No sanitizer, cross-platform, performance, or new-feature verification is claimed.
## Ownership and next step
Root owns shared contracts, master index, delivery/validation plans, workflow records,
integration, and review. Separate documentation workers receive exclusive area files.
See TASKS.md for durable assignments; live agent processes are not persistent state.
Coverage/link/task checks and direct Markdown checks pass; final evidence is in
VERIFICATION.md. Documentation workers/reviewers are closed. All future feature tasks
remain PLANNED. Subsequent implementation starts with a bounded task selected from
DELIVERY.md and its area plan after reconciling the current source state. Nothing has
been staged, committed, pushed or deployed by this delivery.
+20
View File
@@ -0,0 +1,20 @@
# Documentation delivery tasks
Baseline: `f1f9ba375b22abf1adcc7c550ec21ac20895c0a4`; approved 2026-11-24.
These tasks author plans. Future feature task IDs inside those plans remain planned.
| ID | Deliverable | Owner | State | Dependencies |
| --- | --- | --- | --- | --- |
| T-DOC-ROOT | Shared contracts, requirements, index, delivery, quality, migration and workflow records | Root | VERIFIED | All 54 roadmap files present; complete-package checks pass; independent reviews A/B READY |
| T-DOC-101 | Foundation/data module and subsystem plans | sol_implementer | VERIFIED | 11 plans, 70 planned feature tasks; worker checks passed; review A READY after corrections |
| T-DOC-102 | Runtime/system/service plans and reloadable platform | sol_implementer | VERIFIED | 11 plans, 59 planned feature tasks; worker checks passed; review B READY after corrections |
| T-DOC-103 | Network/security/distributed plans | sol_implementer | VERIFIED | 12 plans, 73 planned feature tasks; worker checks passed; review B READY |
| T-DOC-104 | Storage/operations/quality plans and networked platform | astra_implementer | VERIFIED | 10 plans, 66 planned feature tasks; worker checks passed; user-approved fallback; review B READY after corrections |
| T-DOC-REVIEW-A | Fresh independent shared/foundation review | astra_reviewer | READY | All 21 documents reviewed; P2 dependency correction and current/proposed Update wording rechecked; no remaining actionable findings |
| T-DOC-REVIEW-B | Fresh independent runtime/storage/network/platform review | astra_reviewer | READY | All 33 area plans reviewed; three P2 corrections and affected acceptance rows rechecked; no remaining actionable findings |
All workers share the checkout and have disjoint file ownership defined in their
persisted task specifications. Root owns all cross-cutting files and resolves contract
changes. No worker owns application code, build files, existing docs/short-url.md, or Git
operations. Configured roles use XHigh; runtime model identity is not independently
verified by the available spawn response.
+145
View File
@@ -0,0 +1,145 @@
# Verification record
Repository baseline: `main`, `f1f9ba375b22abf1adcc7c550ec21ac20895c0a4`.
Date: 2026-11-24. Cwd for repository commands: `/home/faumaray/Projects/VoidLibrary`.
## Discovery baseline, before document authoring
| Check | Outcome |
| --- | --- |
| Git root/branch/HEAD/status | Correct repository and baseline; tracked tree clean; unrelated untracked files preserved |
| Serena manual/project | Manual read; active VoidLibrary project confirmed |
| Code graph identity/freshness/coverage | Exact repository project verified; cited paths checked; flagged ranges read directly; graph remains best-effort evidence |
| Configure fresh full build | Passed with existing cached Boost source path |
| Build with warnings-as-errors | Failed in Boost 1.84 headers due to GCC 16/C++26 deprecation diagnostics |
| Ordinary full build | Passed, exit 0 |
| CTest | Exit 8: VoidTests 1,245 passed, 2 failed, 3 skipped; installed consumers passed |
| Two process-test failures | Explicit absent `/bin/echo` and `/bin/cat` paths; exit 127 matches inspected exec failure path |
| Tracked diff after discovery | Empty |
Exact build/test commands and environmental prerequisites are in
[VALIDATION.md](../roadmap/VALIDATION.md). Results were observed during the same
conversation before authoring; they are not new-feature verification.
## Planning and delegation evidence
- T-DISC-001: architecture planner returned source-backed dependencies and opportunities;
no file edits or tests by that worker.
- T-DISC-002: researcher returned primary-source guidance for I/O, durability, consensus,
and TLS; no runtime evidence claimed.
- T-PLAN-003: fresh reviewer returned READY for the authoring contract. P3 wording about
future examples/commands was corrected before execution.
- Persisted T-DOC-101 through T-DOC-104 specifications passed the supplied task linter.
Structural lint is not semantic approval; root reviewed ownership/contracts separately.
- T-DOC-104's configured Sol model reported capacity exhaustion. The user approved the
configured Astra implementer/XHigh fallback; the revised specification passed lint.
- Model roles/efforts are configured; the spawn response does not independently attest
the actual executing model identity.
## Documentation verification
Status: COMPLETE. Both independent review slices are READY after all four P2 findings
were corrected and rechecked. Complete-package documentation checks pass. This verdict
applies to planning quality, not implementation or release readiness.
| Authored packet | Worker-reported scoped checks | Integration status |
| --- | --- | --- |
| T-DOC-101 | 11 files, 70 unique planned tasks; source links, placeholders, fences/whitespace and scoped diff checks passed; 122 source/test/build paths received coverage checks and flagged ranges were read | Review A READY after focused corrections |
| T-DOC-102 | 11 files, 59 planned tasks; source links, task DAG, status/fences/whitespace and scoped diff checks passed; 76 cited source paths checked with partial ranges read | Review B READY after focused corrections |
| T-DOC-103 | 12 files, 73 planned tasks; source links, task DAG, placeholders/fences/whitespace and scoped diff checks passed; 38 source/document paths checked | Review B READY |
| T-DOC-104 | 10 files, 66 planned tasks; 155 local links, whitespace/fences/placeholders and scoped diff checks passed; 106 scoped source paths checked and 13 partially parsed files read directly | Review B READY after focused corrections |
Root's read-only `/tmp/void-roadmap-check.py` currently checks expected coverage against
the actual src module inventory, relative files/headings, task definitions/references and
explicit dependency cycles, and required content signals. Partial runs at 45 and 47 of
54 documents, followed by 51 and 53 of 54, reported only links/files still being authored;
they were not final passes. Direct whitespace/fence/final-newline checks passed for the
53 present roadmap documents, workflow Markdown and README. Graph coverage for those 53
roadmap paths reported no recorded issue with matching metadata; source evidence still
received separate exact-path coverage and direct reads. Root additionally checked 42
source anchors in packet104, reading all five partial files' reported ranges.
The script reads documentation only and does not change repository state. Its heuristic
task graph does not replace semantic review of named cross-area gates.
`git diff --check` passed, and the scoped implementation/build/existing ShortUrl-document
diff was empty. New untracked Markdown also requires direct checker/worker inspection;
tracked Git diff alone does not cover it.
Root integration identified two ownership/wording issues: Storage checksum helpers belong
to Storage rather than an undeclared Binary feature; replication recovery must follow the
durably published CURRENT/generation pointer, never select an uncommitted newer manifest.
These corrections are subject to the integrated review, not claims of runtime behavior.
Independent review A inspected the ten shared documents and eleven foundation plans and
reported one P2 dependency contradiction. The root map allowed Algorithms to import
Containers while the detailed plans required Containers→Algorithms; Math's vague container
prerequisite could also close that cycle. Root split the map, prohibited those reverse
imports, and made Algorithms' scalar arithmetic prerequisite explicitly M-MATH-02.
ARCHITECTURE, DEPENDENCIES, Math and Algorithms now state the same direction. Review A
rechecked the affected contracts and marked the original finding resolved.
Root also reconciled the finished Update plan with C-07 and Data's baseline wording.
Direct inspection of Feed.cpp confirmed general Json use and schema-3 readable-document
comparison before signature verification. The shared/Data plans now label verification-
before-payload-parsing as future hardening and preserve legacy parsing separately from
StrictJson. Coverage was checked for Feed.cpp/Feed.hpp and their flagged ranges were read.
Review A independently verified these corrections against source and returned READY for
its original 21-document slice, with no remaining actionable findings. Its final checker
run passed at 54/54 files, 878 local links and 300 task definitions. Review B subsequently
completed the remaining 33-area review and the root finalized integrated records/checks.
## Review B corrections
Review B inspected the remaining 33 plans and shared interfaces, returning three P2
planning findings. Root corrected each boundary; focused independent recheck returned
READY with every original finding resolved and no new actionable defect.
1. Async's first-stop-wins wording conflicted with Storage/Update committed outcomes.
C-03 and Async now separate stop intent, domain-result classification and single
delivery. IO preserves late successful/failed sync evidence rather than replacing it
with timeout. Storage and fake-adapter acceptance cases cover stop before append,
pending sync, success after stop and failure after stop.
2. Runtime stopped execution resources before exporter flushing. Shutdown now separates
business work from bounded cleanup/export scopes, joins exporters before their IO and
workers stop, and retains those resources after an expired flush/shutdown budget.
Runtime and the NetworkedApplications plan include the timed-out in-flight-export case.
3. Storage's first durability milestone lacked its required manifest implementation.
S-STORAGE-03 now owns minimal CURRENT/manifest bootstrap, WAL-segment publication and
creation/rotation crash tests; S-STORAGE-04 extends it with tables/checkpoints. The
filesystem fault harness is required from the first durability milestone.
These are document corrections, not implemented C++ repairs or observed runtime failures.
After all corrections, the root documentation checker passed again: 54/54 documents,
75,163 words, 878 local links and 300 planned task definitions. The amended review-B task
specification passed structural lint, and `git diff --check` passed.
Review B independently repeated the checker and affected-document/source-scope checks,
confirmed the unchanged baseline and empty application/build diff, and accepted the
previously reviewed 33-plan slice. Both review agents have been closed.
## Complete-package root checks
Root ran `python3 -B /tmp/void-roadmap-check.py` after all documents existed: PASS,
54/54 files, 74,290 words, 878 local links, 300 planned feature task definitions.
Coverage is 26 existing public modules, 15 new subsystems, three platforms and ten shared
documents. `git diff --check` passed. All six persisted author/review task specifications
passed `python3 -B /home/faumaray/.codex/astra-workflow/tools/tasklint.py` (structure only).
The scoped diff over include/, src/, tests/, CMake/build/CI files and existing ShortUrl
documentation was empty. These results precede review B's final disposition; affected
checks will be repeated only if review corrections require it.
After the last author returned DONE, root's direct whitespace/fence/final-newline audit
covered all 65 changed/new Markdown files (roadmap, workflow/specifications and README):
zero issues. Git again reported branch main and the unchanged baseline HEAD; the scoped
implementation diff remained empty. No staging, commit, push or deployment occurred.
All 54 roadmap paths received matching-metadata coverage checks. Packet104's final source
anchor count is 49; the additional Json/Feed flagged ranges were read directly. Matching
metadata does not prove graph completeness: the existing verifyEnvelope source function
was not returned by the scoped symbol query, so its implementation was inspected directly.
## Unrun checks and limits
No C++ source or build-system modification is part of this delivery. Application tests
are not rerun solely for Markdown authoring. Sanitizers, fuzzing, benchmarks, alternative
platforms, NEW APIs, native storage and distributed scenarios remain unrun/planned.
Written designs and proposed commands do not establish implementation or release readiness.
+62
View File
@@ -0,0 +1,62 @@
# Foundation and data plans
Task ID: T-DOC-101
Role: sol_implementer
Status: APPROVED
## 1. Context and baseline
Repository/cwd /home/faumaray/Projects/VoidLibrary, main at f1f9ba375b22abf1adcc7c550ec21ac20895c0a4. Tracked tree was clean; unrelated protected untracked .env, WG.conf, keys and .serena untouched. Parent now authors docs/roadmap and docs/agent-workflow in the shared checkout. User approved a detailed planning package with "Implement the plan"; the approved plan explicitly says feature implementation follows separately. Prior astra_planner architecture investigation and fresh astra_reviewer preflight READY completed. You implement documentation only. Requirements R-001 through R-016 in docs/roadmap/REQUIREMENTS.md are authoritative. Role configured Sol/XHigh; no alternate model selection.
## 2. Objective and deliverables
Author all 11 exclusive Markdown files listed below as substantial, individually actionable plans grounded in existing source. Module plans cover existing capabilities and expansion; subsystem/platform plans clearly mark NEW designs. Deliver actual documents, not summaries or placeholders. Each includes source baseline, concrete capability backlog, proposed APIs/types/examples, dataflow/algorithms/ownership/failure behavior, backend rationale, performance/resource limits, ordered implementation tasks, validation and migration. Specific content emphasis: Deepen small utility and data capabilities without layering cycles. Core UUID cannot require broad Math. Functional owns errors/adapters, Time clocks, Memory allocators; Data general parsing must not broaden StrictJson signed-document semantics. New Unicode uses pinned data and explicit UTF error policy; Text dependency stays one-way. Define concrete native structures, numeric representation/checked conversions, binary writer and codec boundaries; specialized containers/algorithms justified by workloads, not wholesale reimplementation of std. Time benchmark changes distinguish measurement overhead. Propose coherent NEW API examples, bounds, migration, and meaningful tasks for every area.
## 3. Scope and non-goals
Only planning documents are implemented. No C++ changes, CMake/CI changes, new runnable applications, dependency installation, benchmark execution, Git commits/pushes, publishing or configuration edits. No edits to another worker's files. Do not reopen the user interview, narrow the approved breadth, or implement features while documenting them. Existing docs/short-url.md remains intact. Do not change shared contracts unilaterally.
## 4. Files to inspect
First read docs/roadmap/REQUIREMENTS.md, docs/roadmap/ARCHITECTURE.md, docs/agent-workflow/DECISIONS.md and /home/faumaray/.codex/skills/code-intelligence/SKILL.md. Inspect exact relevant headers under include/Void/{Core,Functional,Containers,Math,Text,Time,Binary,Data}, sources/module.cmake under src/{Core,Functional,Containers,Math,Text,Time,Binary,Data}, and tests/standalone/{Core,Functional,Containers,Math,Text,Time,Binary,Data}. These are real directories, not permission to traverse secrets. Adjacent explicitly identified shared source files are readable when necessary. CMakeLists.txt, cmake/Module.cmake and tests/CMakeLists.txt define current targets/tests; inspect only as needed, root owns cross-cutting analysis. New subsystems have no current source directory: label proposed paths NEW. Use scoped file inventory before citing any specific file not listed here.
## 5. Write ownership and coordination
Write scope: docs/roadmap/modules/Core.md; docs/roadmap/modules/Functional.md; docs/roadmap/modules/Containers.md; docs/roadmap/modules/Math.md; docs/roadmap/modules/Text.md; docs/roadmap/modules/Time.md; docs/roadmap/modules/Binary.md; docs/roadmap/modules/Data.md; docs/roadmap/subsystems/Memory.md; docs/roadmap/subsystems/Algorithms.md; docs/roadmap/subsystems/Unicode.md
You are not alone in the codebase. All other files are non-owned, including shared roadmap root documents, workflow/task records, existing project docs and application/build/test files. Shared checkout is intentional; do not switch branches, reset, stash, clean, stage or commit. Edit only assigned Markdown files directly with apply_patch; create their parent directories if needed. Do not revert others' work. Root owns shared contracts and master integration. Return any conflict with exact evidence and proposed change to root.
## 6. Implementation or investigation approach
1. Read shared contracts C-01..C-14 and preserve them. Root-owned decisions already select overall scope, boundaries and algorithms; fill bounded details for your assigned areas coherently.
2. Confirm repo and codememory project home-faumaray-Projects-VoidLibrary identity/freshness with index_status. Query only scoped include/src/tests paths. Graph may contain protected data, so no whole-repo text/graph browsing. Use search_graph then trace_path/get_code_snippet for structure; inspect source for important claims. Call check_index_coverage for EVERY relied-on source file and directly read flagged missing ranges. If graph unavailable, use scoped source fallback and disclose. Serena manual must be read if used; project is already active VoidLibrary, do not change activation.
3. For each document, ground existing features/tests and gaps before designing NEW additions. Cite portable relative source links from the file location, not absolute workstation paths. Keep source facts separate from design recommendations.
4. Use sections tailored to the area but cover all deliverables. Each task gets a unique ID M-<MODULE>-NN, S-<SUBSYSTEM>-NN, or P-<PLATFORM>-NN, explicit dependencies, intended implementation scope, acceptance and role recommendation. Use phase P0 baseline, P1 foundations, P2 module completion, P3 initial platforms/optimization, P4 distributed. All feature tasks are PLANNED.
5. Draft concrete representative NEW API/type shapes; preserve existing namespace facts and distinguish illustrative NEW code from compiling examples. Shared types are referenced to their owner, not independently redefined. Choose bounded sensible defaults and explain tradeoffs. Avoid unspecified "consider X or Y" where it changes implementation; select a design or explicitly stage alternatives behind a later named capability gate.
6. Native-vs-external choices are per module. Retain current security primitives as initial implementations. Cite primary sources already supplied below; if new consequential library facts require research, use context7 skill resolving library id first, then official docs/web only, never submit private source.
7. Cross-link shared architecture/performance/validation/migration and relevant area documents. Other workers may still be creating them; expected names in master contract below are valid planned links. Do not repeatedly check unfinished peers.
8. Validate your own documents for ownership, meaningful content, source/path accuracy, unique IDs and no unresolved placeholders. Tell root any shared decision that needs reconciliation. Do not pad every file with repeated common text.
## 7. Interfaces and data contracts
Authoritative shared contracts: architecture C-01 foundation layers; C-02 Result/expected errors; C-03 std::stop_token+steady deadline and one completion; C-04 embedded/managed composition; C-05 bounds; C-06 IO/Net; C-07 general vs strict signed data; C-08 native Storage separate from SQLite; C-09 owning Service/Plugin/C ABI; C-10 FSM/Scheduler/Update commit; C-11 Log/Observability; C-12 distributed ownership/consistency; C-13 naming/migration; C-14 platforms.
Existing names must be source-verified. NEW API illustrations do not claim existence. Detailed task IDs use area names uppercased (e.g. M-ASYNC-01, S-IO-01, P-RELOADABLE-01). Relative references to peers: ../modules/<Name>.md, ../subsystems/<Name>.md or ../platforms/<Name>.md; shared files ../ARCHITECTURE.md, ../REQUIREMENTS.md, ../DEPENDENCIES.md, ../DELIVERY.md, ../PERFORMANCE.md, ../VALIDATION.md, ../MIGRATION.md, ../BUILD-AND-DISTRIBUTION.md, ../DOCUMENTATION.md.
## 8. Dependencies and integration
Parent creates shared root documents and workflow records concurrently. Four worker packages have disjoint ownership. Existing modules planned: Core Functional Containers Math Text Data Async Time Log System Configuration Stacktrace Plugin Service Fsm Testing TestingMock Binary Archive Crypto Security Sqlite Resilience Update ShortUrl Net. NEW subsystems: Memory Algorithms Unicode IO Runtime Scheduler Storage IPC RPC Messaging Observability Discovery Coordination Replication DistributedStorage. Platforms: NetworkedApplications ReloadableApplications DistributedApplications. Only your listed paths are writable. Parent checks integration and commissions fresh adversarial review of actual docs. No dependency on other worker completion before drafting against ARCHITECTURE.md.
## 9. Edge cases security and performance
Never read .env, .env.*, WG.conf, keys or descendants; ~/.config/agent-integrations, ~/.ssh, ~/.gnupg, ~/.opencodex, /run/agenix.d, nixos-config/jev_token. No broad indexing/reindexing and no private source in public queries. No credentials or other repository information in documents.
Specify concrete failure paths, resource accounting, cancellation/shutdown and compatibility relevant to each area. No fabricated performance results, compiler support, test passes or production readiness. Performance profiles measure p50/p95/p99, throughput, allocations, peak RSS/CPU and build cost; avoid arbitrary universal speedup claims. Cryptographic/TLS recommendations based on OpenSSL 3.5 guide; new storage durability methodology on SQLite atomiccommit; Raft paper for consensus. Primary URLs: https://docs.openssl.org/3.5/man7/ossl-guide-tls-client-block/ ; https://sqlite.org/atomiccommit.html#_testing_atomic_commit_behavior ; https://sqlite.org/wal.html ; https://raft.github.io/raft.pdf ; https://man7.org/linux/man-pages/man7/epoll.7.html . Cite near claims.
## 10. Acceptance criteria
1. All owned documents exist and contain distinct, substantial implementation guidance; no empty boilerplate or arbitrary word-count padding.
2. Source links and existing behavior are checked; NEW contracts clearly labeled; source coverage limitations reported.
3. Each plan has concrete APIs/dataflow, native/backend decision, ownership/failure/resource limits, task DAG/dependencies, test scenarios and compatibility/rollback.
4. Shared C-01..C-14 contracts are respected and cross-links use agreed names.
5. Commands distinguish CURRENT available checks from PROPOSED checks with prerequisites; future reference apps are specified only.
6. No unowned modifications, implementation changes, unsupported measured claims or unresolved high-impact alternatives.
## 11. Verification commands and evidence
Cwd /home/faumaray/Projects/VoidLibrary. Observed current baseline commands: cmake -S . -B /tmp/voidlibrary-discovery-f1f9ba3 -G Ninja -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVOID_ENABLE_TESTING=ON -DVOID_WARNINGS_AS_ERRORS=OFF -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DFETCHCONTENT_SOURCE_DIR_BOOST=/home/faumaray/Projects/VoidLibrary/build/_deps/boost-src ; cmake --build /tmp/voidlibrary-discovery-f1f9ba3 --parallel 4 ; ctest --test-dir /tmp/voidlibrary-discovery-f1f9ba3 --output-on-failure --timeout 60. Do not rerun builds/tests for this documentation task. Normal build passed; VoidTests 1245 passed/2 failed/3 skipped out of1250; failures hard-code absent /bin/echo and /bin/cat; installed component consumers passed. Werror failed in cached Boost1.84 headers. No sanitizer/benchmark/cross-platform checks ran. Actual test runner --filter syntax exists but verify names before showing existing filtered commands. Generic future build paths must be labeled templates/proposed.
Run documentation checks via scoped rg, file inventory and git diff --check -- <owned paths> (new files require direct content inspection too). Root will run full coverage/link/ID validation. Do not add a validation script or tests outside ownership.
## 12. Constraints and stop conditions
No child agents or independent user questions. Stop on ownership collision, a required protected read, unavailable configured role, or a contradiction requiring shared contract change; report to parent with a bounded resolution. Missing graph coverage alone permits scoped direct reads. Do not treat an absent NEW file as a blocker. No commits/pushes or application edits. Finish all owned documents before returning unless a genuine blocker exists.
## 13. Authorization and decisions
User approved this exact planning-package scope on 2026-11-24. Prior architectural planner and fresh preflight reviewer complete; current handoff specifies exclusive documentation ownership. Parent reviewed technical content and will lint full specification before dispatch. Default choices within ARCHITECTURE.md are authorized planning decisions. No permission to implement features is inferred.
## 14. Return format
Return task ID; DONE/BLOCKED/PARTIAL; files changed; concise content/decision highlights; source and graph coverage limitations; exact documentation checks and outcomes; unrun checks; cross-file integration issues. Do not paste full documents or spawn children.
+62
View File
@@ -0,0 +1,62 @@
# Runtime, systems and reloadable platform plans
Task ID: T-DOC-102
Role: sol_implementer
Status: APPROVED
## 1. Context and baseline
Repository/cwd /home/faumaray/Projects/VoidLibrary, main at f1f9ba375b22abf1adcc7c550ec21ac20895c0a4. Tracked tree was clean; unrelated protected untracked .env, WG.conf, keys and .serena untouched. Parent now authors docs/roadmap and docs/agent-workflow in the shared checkout. User approved a detailed planning package with "Implement the plan"; the approved plan explicitly says feature implementation follows separately. Prior astra_planner architecture investigation and fresh astra_reviewer preflight READY completed. You implement documentation only. Requirements R-001 through R-016 in docs/roadmap/REQUIREMENTS.md are authoritative. Role configured Sol/XHigh; no alternate model selection.
## 2. Objective and deliverables
Author all 11 exclusive Markdown files listed below as substantial, individually actionable plans grounded in existing source. Module plans cover existing capabilities and expansion; subsystem/platform plans clearly mark NEW designs. Deliver actual documents, not summaries or placeholders. Each includes source baseline, concrete capability backlog, proposed APIs/types/examples, dataflow/algorithms/ownership/failure behavior, backend rationale, performance/resource limits, ordered implementation tasks, validation and migration. Specific content emphasis: Freeze NEW Async operation options around std::stop_token plus optional steady deadline and reference Time's injectable clock; no separate context types per consumer. Resolve coroutine/frame ownership, cancellation/completion races and safe shutdown. IO uses level-triggered epoll sockets + bounded file workers initially, future optional io_uring. Managed Runtime depends on Async/IO, not vice versa. Service owning handles survive replacement and callbacks run outside registry locks. Plugin C ABI separate from existing C++ descriptors, with explicit generation and async-operation pins, quiescence/readiness and rollback. Fsm checkpoints state boundaries, cancels/joins race losers, consistent fault termination. Scheduler persistent job at-least-once semantics and occurrence IDs; IPC explicit framing and quotas. Configuration validation/reload must be transactional. Platform spec describes future runnable host, never implements it.
## 3. Scope and non-goals
Only planning documents are implemented. No C++ changes, CMake/CI changes, new runnable applications, dependency installation, benchmark execution, Git commits/pushes, publishing or configuration edits. No edits to another worker's files. Do not reopen the user interview, narrow the approved breadth, or implement features while documenting them. Existing docs/short-url.md remains intact. Do not change shared contracts unilaterally.
## 4. Files to inspect
First read docs/roadmap/REQUIREMENTS.md, docs/roadmap/ARCHITECTURE.md, docs/agent-workflow/DECISIONS.md and /home/faumaray/.codex/skills/code-intelligence/SKILL.md. Inspect exact relevant headers under include/Void/{Async,System,Configuration,Service,Fsm,Plugin}, sources/module.cmake under src/{Async,System,Configuration,Service,Fsm,Plugin}, and tests/standalone/{Async,System,Configuration,Service,Fsm,Plugin}. These are real directories, not permission to traverse secrets. Adjacent explicitly identified shared source files are readable when necessary. CMakeLists.txt, cmake/Module.cmake and tests/CMakeLists.txt define current targets/tests; inspect only as needed, root owns cross-cutting analysis. New subsystems have no current source directory: label proposed paths NEW. Use scoped file inventory before citing any specific file not listed here.
## 5. Write ownership and coordination
Write scope: docs/roadmap/modules/Async.md; docs/roadmap/modules/System.md; docs/roadmap/modules/Configuration.md; docs/roadmap/modules/Service.md; docs/roadmap/modules/Fsm.md; docs/roadmap/modules/Plugin.md; docs/roadmap/subsystems/IO.md; docs/roadmap/subsystems/Runtime.md; docs/roadmap/subsystems/Scheduler.md; docs/roadmap/subsystems/IPC.md; docs/roadmap/platforms/ReloadableApplications.md
You are not alone in the codebase. All other files are non-owned, including shared roadmap root documents, workflow/task records, existing project docs and application/build/test files. Shared checkout is intentional; do not switch branches, reset, stash, clean, stage or commit. Edit only assigned Markdown files directly with apply_patch; create their parent directories if needed. Do not revert others' work. Root owns shared contracts and master integration. Return any conflict with exact evidence and proposed change to root.
## 6. Implementation or investigation approach
1. Read shared contracts C-01..C-14 and preserve them. Root-owned decisions already select overall scope, boundaries and algorithms; fill bounded details for your assigned areas coherently.
2. Confirm repo and codememory project home-faumaray-Projects-VoidLibrary identity/freshness with index_status. Query only scoped include/src/tests paths. Graph may contain protected data, so no whole-repo text/graph browsing. Use search_graph then trace_path/get_code_snippet for structure; inspect source for important claims. Call check_index_coverage for EVERY relied-on source file and directly read flagged missing ranges. If graph unavailable, use scoped source fallback and disclose. Serena manual must be read if used; project is already active VoidLibrary, do not change activation.
3. For each document, ground existing features/tests and gaps before designing NEW additions. Cite portable relative source links from the file location, not absolute workstation paths. Keep source facts separate from design recommendations.
4. Use sections tailored to the area but cover all deliverables. Each task gets a unique ID M-<MODULE>-NN, S-<SUBSYSTEM>-NN, or P-<PLATFORM>-NN, explicit dependencies, intended implementation scope, acceptance and role recommendation. Use phase P0 baseline, P1 foundations, P2 module completion, P3 initial platforms/optimization, P4 distributed. All feature tasks are PLANNED.
5. Draft concrete representative NEW API/type shapes; preserve existing namespace facts and distinguish illustrative NEW code from compiling examples. Shared types are referenced to their owner, not independently redefined. Choose bounded sensible defaults and explain tradeoffs. Avoid unspecified "consider X or Y" where it changes implementation; select a design or explicitly stage alternatives behind a later named capability gate.
6. Native-vs-external choices are per module. Retain current security primitives as initial implementations. Cite primary sources already supplied below; if new consequential library facts require research, use context7 skill resolving library id first, then official docs/web only, never submit private source.
7. Cross-link shared architecture/performance/validation/migration and relevant area documents. Other workers may still be creating them; expected names in master contract below are valid planned links. Do not repeatedly check unfinished peers.
8. Validate your own documents for ownership, meaningful content, source/path accuracy, unique IDs and no unresolved placeholders. Tell root any shared decision that needs reconciliation. Do not pad every file with repeated common text.
## 7. Interfaces and data contracts
Authoritative shared contracts: architecture C-01 foundation layers; C-02 Result/expected errors; C-03 std::stop_token+steady deadline and one completion; C-04 embedded/managed composition; C-05 bounds; C-06 IO/Net; C-07 general vs strict signed data; C-08 native Storage separate from SQLite; C-09 owning Service/Plugin/C ABI; C-10 FSM/Scheduler/Update commit; C-11 Log/Observability; C-12 distributed ownership/consistency; C-13 naming/migration; C-14 platforms.
Existing names must be source-verified. NEW API illustrations do not claim existence. Detailed task IDs use area names uppercased (e.g. M-ASYNC-01, S-IO-01, P-RELOADABLE-01). Relative references to peers: ../modules/<Name>.md, ../subsystems/<Name>.md or ../platforms/<Name>.md; shared files ../ARCHITECTURE.md, ../REQUIREMENTS.md, ../DEPENDENCIES.md, ../DELIVERY.md, ../PERFORMANCE.md, ../VALIDATION.md, ../MIGRATION.md, ../BUILD-AND-DISTRIBUTION.md, ../DOCUMENTATION.md.
## 8. Dependencies and integration
Parent creates shared root documents and workflow records concurrently. Four worker packages have disjoint ownership. Existing modules planned: Core Functional Containers Math Text Data Async Time Log System Configuration Stacktrace Plugin Service Fsm Testing TestingMock Binary Archive Crypto Security Sqlite Resilience Update ShortUrl Net. NEW subsystems: Memory Algorithms Unicode IO Runtime Scheduler Storage IPC RPC Messaging Observability Discovery Coordination Replication DistributedStorage. Platforms: NetworkedApplications ReloadableApplications DistributedApplications. Only your listed paths are writable. Parent checks integration and commissions fresh adversarial review of actual docs. No dependency on other worker completion before drafting against ARCHITECTURE.md.
## 9. Edge cases security and performance
Never read .env, .env.*, WG.conf, keys or descendants; ~/.config/agent-integrations, ~/.ssh, ~/.gnupg, ~/.opencodex, /run/agenix.d, nixos-config/jev_token. No broad indexing/reindexing and no private source in public queries. No credentials or other repository information in documents.
Specify concrete failure paths, resource accounting, cancellation/shutdown and compatibility relevant to each area. No fabricated performance results, compiler support, test passes or production readiness. Performance profiles measure p50/p95/p99, throughput, allocations, peak RSS/CPU and build cost; avoid arbitrary universal speedup claims. Cryptographic/TLS recommendations based on OpenSSL 3.5 guide; new storage durability methodology on SQLite atomiccommit; Raft paper for consensus. Primary URLs: https://docs.openssl.org/3.5/man7/ossl-guide-tls-client-block/ ; https://sqlite.org/atomiccommit.html#_testing_atomic_commit_behavior ; https://sqlite.org/wal.html ; https://raft.github.io/raft.pdf ; https://man7.org/linux/man-pages/man7/epoll.7.html . Cite near claims.
## 10. Acceptance criteria
1. All owned documents exist and contain distinct, substantial implementation guidance; no empty boilerplate or arbitrary word-count padding.
2. Source links and existing behavior are checked; NEW contracts clearly labeled; source coverage limitations reported.
3. Each plan has concrete APIs/dataflow, native/backend decision, ownership/failure/resource limits, task DAG/dependencies, test scenarios and compatibility/rollback.
4. Shared C-01..C-14 contracts are respected and cross-links use agreed names.
5. Commands distinguish CURRENT available checks from PROPOSED checks with prerequisites; future reference apps are specified only.
6. No unowned modifications, implementation changes, unsupported measured claims or unresolved high-impact alternatives.
## 11. Verification commands and evidence
Cwd /home/faumaray/Projects/VoidLibrary. Observed current baseline commands: cmake -S . -B /tmp/voidlibrary-discovery-f1f9ba3 -G Ninja -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVOID_ENABLE_TESTING=ON -DVOID_WARNINGS_AS_ERRORS=OFF -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DFETCHCONTENT_SOURCE_DIR_BOOST=/home/faumaray/Projects/VoidLibrary/build/_deps/boost-src ; cmake --build /tmp/voidlibrary-discovery-f1f9ba3 --parallel 4 ; ctest --test-dir /tmp/voidlibrary-discovery-f1f9ba3 --output-on-failure --timeout 60. Do not rerun builds/tests for this documentation task. Normal build passed; VoidTests 1245 passed/2 failed/3 skipped out of1250; failures hard-code absent /bin/echo and /bin/cat; installed component consumers passed. Werror failed in cached Boost1.84 headers. No sanitizer/benchmark/cross-platform checks ran. Actual test runner --filter syntax exists but verify names before showing existing filtered commands. Generic future build paths must be labeled templates/proposed.
Run documentation checks via scoped rg, file inventory and git diff --check -- <owned paths> (new files require direct content inspection too). Root will run full coverage/link/ID validation. Do not add a validation script or tests outside ownership.
## 12. Constraints and stop conditions
No child agents or independent user questions. Stop on ownership collision, a required protected read, unavailable configured role, or a contradiction requiring shared contract change; report to parent with a bounded resolution. Missing graph coverage alone permits scoped direct reads. Do not treat an absent NEW file as a blocker. No commits/pushes or application edits. Finish all owned documents before returning unless a genuine blocker exists.
## 13. Authorization and decisions
User approved this exact planning-package scope on 2026-11-24. Prior architectural planner and fresh preflight reviewer complete; current handoff specifies exclusive documentation ownership. Parent reviewed technical content and will lint full specification before dispatch. Default choices within ARCHITECTURE.md are authorized planning decisions. No permission to implement features is inferred.
## 14. Return format
Return task ID; DONE/BLOCKED/PARTIAL; files changed; concise content/decision highlights; source and graph coverage limitations; exact documentation checks and outcomes; unrun checks; cross-file integration issues. Do not paste full documents or spawn children.
+62
View File
@@ -0,0 +1,62 @@
# Networking, security and distributed plans
Task ID: T-DOC-103
Role: sol_implementer
Status: APPROVED
## 1. Context and baseline
Repository/cwd /home/faumaray/Projects/VoidLibrary, main at f1f9ba375b22abf1adcc7c550ec21ac20895c0a4. Tracked tree was clean; unrelated protected untracked .env, WG.conf, keys and .serena untouched. Parent now authors docs/roadmap and docs/agent-workflow in the shared checkout. User approved a detailed planning package with "Implement the plan"; the approved plan explicitly says feature implementation follows separately. Prior astra_planner architecture investigation and fresh astra_reviewer preflight READY completed. You implement documentation only. Requirements R-001 through R-016 in docs/roadmap/REQUIREMENTS.md are authoritative. Role configured Sol/XHigh; no alternate model selection.
## 2. Objective and deliverables
Author all 12 exclusive Markdown files listed below as substantial, individually actionable plans grounded in existing source. Module plans cover existing capabilities and expansion; subsystem/platform plans clearly mark NEW designs. Deliver actual documents, not summaries or placeholders. Each includes source baseline, concrete capability backlog, proposed APIs/types/examples, dataflow/algorithms/ownership/failure behavior, backend rationale, performance/resource limits, ordered implementation tasks, validation and migration. Specific content emphasis: Net: actual server transports, secure peer+hostname defaults, total deadlines, redirects, HTTP/WebSocket conformance, persistent connections, streaming and cancellation; native preference with existing Boost migration adapter. Crypto/OpenSSL and Security/libsodium remain initial cryptographic backends; distinguish cryptographic primitives from authentication/policy workflows. Preserve frozen ShortUrl V1; existing service contract is not a shipped provider. Coordination is pure deterministic protocol with ports; Replication owns RPC/storage adapters to avoid cycles. Discovery static/local initial; consensus-backed discovery an upper adapter. Fixed-membership Raft first, quorum-consistent reads, durable replies, application+applied-index+dedup atomic state. Messaging explicit at-least-once, no blanket exactly-once. DistributedStorage sequences single-group correctness before sharding/rebalance and disclaims unimplemented cross-shard transactions. Complete concrete failure matrices and algorithmic/operational decisions, not aspirational bullet lists.
## 3. Scope and non-goals
Only planning documents are implemented. No C++ changes, CMake/CI changes, new runnable applications, dependency installation, benchmark execution, Git commits/pushes, publishing or configuration edits. No edits to another worker's files. Do not reopen the user interview, narrow the approved breadth, or implement features while documenting them. Existing docs/short-url.md remains intact. Do not change shared contracts unilaterally.
## 4. Files to inspect
First read docs/roadmap/REQUIREMENTS.md, docs/roadmap/ARCHITECTURE.md, docs/agent-workflow/DECISIONS.md and /home/faumaray/.codex/skills/code-intelligence/SKILL.md. Inspect exact relevant headers under include/Void/{Net,Resilience,Crypto,Security,ShortUrl}, sources/module.cmake under src/{Net,Resilience,Crypto,Security,ShortUrl}, and tests/standalone/{Net,Resilience,Crypto,Security,ShortUrl}. These are real directories, not permission to traverse secrets. Adjacent explicitly identified shared source files are readable when necessary. CMakeLists.txt, cmake/Module.cmake and tests/CMakeLists.txt define current targets/tests; inspect only as needed, root owns cross-cutting analysis. New subsystems have no current source directory: label proposed paths NEW. Use scoped file inventory before citing any specific file not listed here.
## 5. Write ownership and coordination
Write scope: docs/roadmap/modules/Net.md; docs/roadmap/modules/Resilience.md; docs/roadmap/modules/Crypto.md; docs/roadmap/modules/Security.md; docs/roadmap/modules/ShortUrl.md; docs/roadmap/subsystems/RPC.md; docs/roadmap/subsystems/Messaging.md; docs/roadmap/subsystems/Discovery.md; docs/roadmap/subsystems/Coordination.md; docs/roadmap/subsystems/Replication.md; docs/roadmap/subsystems/DistributedStorage.md; docs/roadmap/platforms/DistributedApplications.md
You are not alone in the codebase. All other files are non-owned, including shared roadmap root documents, workflow/task records, existing project docs and application/build/test files. Shared checkout is intentional; do not switch branches, reset, stash, clean, stage or commit. Edit only assigned Markdown files directly with apply_patch; create their parent directories if needed. Do not revert others' work. Root owns shared contracts and master integration. Return any conflict with exact evidence and proposed change to root.
## 6. Implementation or investigation approach
1. Read shared contracts C-01..C-14 and preserve them. Root-owned decisions already select overall scope, boundaries and algorithms; fill bounded details for your assigned areas coherently.
2. Confirm repo and codememory project home-faumaray-Projects-VoidLibrary identity/freshness with index_status. Query only scoped include/src/tests paths. Graph may contain protected data, so no whole-repo text/graph browsing. Use search_graph then trace_path/get_code_snippet for structure; inspect source for important claims. Call check_index_coverage for EVERY relied-on source file and directly read flagged missing ranges. If graph unavailable, use scoped source fallback and disclose. Serena manual must be read if used; project is already active VoidLibrary, do not change activation.
3. For each document, ground existing features/tests and gaps before designing NEW additions. Cite portable relative source links from the file location, not absolute workstation paths. Keep source facts separate from design recommendations.
4. Use sections tailored to the area but cover all deliverables. Each task gets a unique ID M-<MODULE>-NN, S-<SUBSYSTEM>-NN, or P-<PLATFORM>-NN, explicit dependencies, intended implementation scope, acceptance and role recommendation. Use phase P0 baseline, P1 foundations, P2 module completion, P3 initial platforms/optimization, P4 distributed. All feature tasks are PLANNED.
5. Draft concrete representative NEW API/type shapes; preserve existing namespace facts and distinguish illustrative NEW code from compiling examples. Shared types are referenced to their owner, not independently redefined. Choose bounded sensible defaults and explain tradeoffs. Avoid unspecified "consider X or Y" where it changes implementation; select a design or explicitly stage alternatives behind a later named capability gate.
6. Native-vs-external choices are per module. Retain current security primitives as initial implementations. Cite primary sources already supplied below; if new consequential library facts require research, use context7 skill resolving library id first, then official docs/web only, never submit private source.
7. Cross-link shared architecture/performance/validation/migration and relevant area documents. Other workers may still be creating them; expected names in master contract below are valid planned links. Do not repeatedly check unfinished peers.
8. Validate your own documents for ownership, meaningful content, source/path accuracy, unique IDs and no unresolved placeholders. Tell root any shared decision that needs reconciliation. Do not pad every file with repeated common text.
## 7. Interfaces and data contracts
Authoritative shared contracts: architecture C-01 foundation layers; C-02 Result/expected errors; C-03 std::stop_token+steady deadline and one completion; C-04 embedded/managed composition; C-05 bounds; C-06 IO/Net; C-07 general vs strict signed data; C-08 native Storage separate from SQLite; C-09 owning Service/Plugin/C ABI; C-10 FSM/Scheduler/Update commit; C-11 Log/Observability; C-12 distributed ownership/consistency; C-13 naming/migration; C-14 platforms.
Existing names must be source-verified. NEW API illustrations do not claim existence. Detailed task IDs use area names uppercased (e.g. M-ASYNC-01, S-IO-01, P-RELOADABLE-01). Relative references to peers: ../modules/<Name>.md, ../subsystems/<Name>.md or ../platforms/<Name>.md; shared files ../ARCHITECTURE.md, ../REQUIREMENTS.md, ../DEPENDENCIES.md, ../DELIVERY.md, ../PERFORMANCE.md, ../VALIDATION.md, ../MIGRATION.md, ../BUILD-AND-DISTRIBUTION.md, ../DOCUMENTATION.md.
## 8. Dependencies and integration
Parent creates shared root documents and workflow records concurrently. Four worker packages have disjoint ownership. Existing modules planned: Core Functional Containers Math Text Data Async Time Log System Configuration Stacktrace Plugin Service Fsm Testing TestingMock Binary Archive Crypto Security Sqlite Resilience Update ShortUrl Net. NEW subsystems: Memory Algorithms Unicode IO Runtime Scheduler Storage IPC RPC Messaging Observability Discovery Coordination Replication DistributedStorage. Platforms: NetworkedApplications ReloadableApplications DistributedApplications. Only your listed paths are writable. Parent checks integration and commissions fresh adversarial review of actual docs. No dependency on other worker completion before drafting against ARCHITECTURE.md.
## 9. Edge cases security and performance
Never read .env, .env.*, WG.conf, keys or descendants; ~/.config/agent-integrations, ~/.ssh, ~/.gnupg, ~/.opencodex, /run/agenix.d, nixos-config/jev_token. No broad indexing/reindexing and no private source in public queries. No credentials or other repository information in documents.
Specify concrete failure paths, resource accounting, cancellation/shutdown and compatibility relevant to each area. No fabricated performance results, compiler support, test passes or production readiness. Performance profiles measure p50/p95/p99, throughput, allocations, peak RSS/CPU and build cost; avoid arbitrary universal speedup claims. Cryptographic/TLS recommendations based on OpenSSL 3.5 guide; new storage durability methodology on SQLite atomiccommit; Raft paper for consensus. Primary URLs: https://docs.openssl.org/3.5/man7/ossl-guide-tls-client-block/ ; https://sqlite.org/atomiccommit.html#_testing_atomic_commit_behavior ; https://sqlite.org/wal.html ; https://raft.github.io/raft.pdf ; https://man7.org/linux/man-pages/man7/epoll.7.html . Cite near claims.
## 10. Acceptance criteria
1. All owned documents exist and contain distinct, substantial implementation guidance; no empty boilerplate or arbitrary word-count padding.
2. Source links and existing behavior are checked; NEW contracts clearly labeled; source coverage limitations reported.
3. Each plan has concrete APIs/dataflow, native/backend decision, ownership/failure/resource limits, task DAG/dependencies, test scenarios and compatibility/rollback.
4. Shared C-01..C-14 contracts are respected and cross-links use agreed names.
5. Commands distinguish CURRENT available checks from PROPOSED checks with prerequisites; future reference apps are specified only.
6. No unowned modifications, implementation changes, unsupported measured claims or unresolved high-impact alternatives.
## 11. Verification commands and evidence
Cwd /home/faumaray/Projects/VoidLibrary. Observed current baseline commands: cmake -S . -B /tmp/voidlibrary-discovery-f1f9ba3 -G Ninja -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVOID_ENABLE_TESTING=ON -DVOID_WARNINGS_AS_ERRORS=OFF -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DFETCHCONTENT_SOURCE_DIR_BOOST=/home/faumaray/Projects/VoidLibrary/build/_deps/boost-src ; cmake --build /tmp/voidlibrary-discovery-f1f9ba3 --parallel 4 ; ctest --test-dir /tmp/voidlibrary-discovery-f1f9ba3 --output-on-failure --timeout 60. Do not rerun builds/tests for this documentation task. Normal build passed; VoidTests 1245 passed/2 failed/3 skipped out of1250; failures hard-code absent /bin/echo and /bin/cat; installed component consumers passed. Werror failed in cached Boost1.84 headers. No sanitizer/benchmark/cross-platform checks ran. Actual test runner --filter syntax exists but verify names before showing existing filtered commands. Generic future build paths must be labeled templates/proposed.
Run documentation checks via scoped rg, file inventory and git diff --check -- <owned paths> (new files require direct content inspection too). Root will run full coverage/link/ID validation. Do not add a validation script or tests outside ownership.
## 12. Constraints and stop conditions
No child agents or independent user questions. Stop on ownership collision, a required protected read, unavailable configured role, or a contradiction requiring shared contract change; report to parent with a bounded resolution. Missing graph coverage alone permits scoped direct reads. Do not treat an absent NEW file as a blocker. No commits/pushes or application edits. Finish all owned documents before returning unless a genuine blocker exists.
## 13. Authorization and decisions
User approved this exact planning-package scope on 2026-11-24. Prior architectural planner and fresh preflight reviewer complete; current handoff specifies exclusive documentation ownership. Parent reviewed technical content and will lint full specification before dispatch. Default choices within ARCHITECTURE.md are authorized planning decisions. No permission to implement features is inferred.
## 14. Return format
Return task ID; DONE/BLOCKED/PARTIAL; files changed; concise content/decision highlights; source and graph coverage limitations; exact documentation checks and outcomes; unrun checks; cross-file integration issues. Do not paste full documents or spawn children.
+62
View File
@@ -0,0 +1,62 @@
# Storage, operations, quality and networked platform plans
Task ID: T-DOC-104
Role: astra_implementer
Status: APPROVED
## 1. Context and baseline
Repository/cwd /home/faumaray/Projects/VoidLibrary, main at f1f9ba375b22abf1adcc7c550ec21ac20895c0a4. Tracked tree was clean; unrelated protected untracked .env, WG.conf, keys and .serena untouched. Parent now authors docs/roadmap and docs/agent-workflow in the shared checkout. User approved a detailed planning package with "Implement the plan"; the approved plan explicitly says feature implementation follows separately. Prior astra_planner architecture investigation and fresh astra_reviewer preflight READY completed. You implement documentation only. Requirements R-001 through R-016 in docs/roadmap/REQUIREMENTS.md are authoritative. Role configured Astra/XHigh; user explicitly approved this fallback after the Sol model reported capacity exhaustion. No further model substitution.
## 2. Objective and deliverables
Author all 10 exclusive Markdown files listed below as substantial, individually actionable plans grounded in existing source. Module plans cover existing capabilities and expansion; subsystem/platform plans clearly mark NEW designs. Deliver actual documents, not summaries or placeholders. Each includes source baseline, concrete capability backlog, proposed APIs/types/examples, dataflow/algorithms/ownership/failure behavior, backend rationale, performance/resource limits, ordered implementation tasks, validation and migration. Specific content emphasis: Storage is original native WAL + ordered memory index + immutable sorted checkpoint/table files, single serialized writer, atomic batches/preconditions, stable snapshots, ordered scans, bounded compaction, explicit fsync/manifest/unknown-outcome contracts and format evolution. SQLite is a separate first-class C API integration, not reimplemented SQL/file format. Specify WAL records/commit boundaries sufficiently to guide implementation with checksums/versioning/torn-write and corruption recovery, compaction crash ordering and snapshot retention. Log handles process-wide LogState, reentrant callbacks, bounded total in-flight memory, saturation/flush/failure. Observability hook-only lower dependencies, bounded cardinality and traces, context lifetimes. Testing/Mock add deterministic/property/fuzz capabilities with own framework regression checks, do not count intentional skip demos as broken feature work. Archive preserves anti-traversal limits and atomic workflows. Update exact signed bytes, strict profile and existing durable healthy commit point stay protected. Platform specifies future reference service workflows and operations using shared contracts.
## 3. Scope and non-goals
Only planning documents are implemented. No C++ changes, CMake/CI changes, new runnable applications, dependency installation, benchmark execution, Git commits/pushes, publishing or configuration edits. No edits to another worker's files. Do not reopen the user interview, narrow the approved breadth, or implement features while documenting them. Existing docs/short-url.md remains intact. Do not change shared contracts unilaterally.
## 4. Files to inspect
First read docs/roadmap/REQUIREMENTS.md, docs/roadmap/ARCHITECTURE.md, docs/agent-workflow/DECISIONS.md and /home/faumaray/.codex/skills/code-intelligence/SKILL.md. Inspect exact relevant headers under include/Void/{Log,Stacktrace,Testing,TestingMock,Archive,Update,Sqlite}, sources/module.cmake under src/{Log,Stacktrace,Testing,TestingMock,Archive,Update,Sqlite}, and tests/standalone/{Log,Stacktrace,Testing,TestingMock,Archive,Update,Sqlite}. These are real directories, not permission to traverse secrets. Adjacent explicitly identified shared source files are readable when necessary. CMakeLists.txt, cmake/Module.cmake and tests/CMakeLists.txt define current targets/tests; inspect only as needed, root owns cross-cutting analysis. New subsystems have no current source directory: label proposed paths NEW. Use scoped file inventory before citing any specific file not listed here.
## 5. Write ownership and coordination
Write scope: docs/roadmap/modules/Log.md; docs/roadmap/modules/Stacktrace.md; docs/roadmap/modules/Testing.md; docs/roadmap/modules/TestingMock.md; docs/roadmap/modules/Archive.md; docs/roadmap/modules/Update.md; docs/roadmap/modules/Sqlite.md; docs/roadmap/subsystems/Storage.md; docs/roadmap/subsystems/Observability.md; docs/roadmap/platforms/NetworkedApplications.md
You are not alone in the codebase. All other files are non-owned, including shared roadmap root documents, workflow/task records, existing project docs and application/build/test files. Shared checkout is intentional; do not switch branches, reset, stash, clean, stage or commit. Edit only assigned Markdown files directly with apply_patch; create their parent directories if needed. Do not revert others' work. Root owns shared contracts and master integration. Return any conflict with exact evidence and proposed change to root.
## 6. Implementation or investigation approach
1. Read shared contracts C-01..C-14 and preserve them. Root-owned decisions already select overall scope, boundaries and algorithms; fill bounded details for your assigned areas coherently.
2. Confirm repo and codememory project home-faumaray-Projects-VoidLibrary identity/freshness with index_status. Query only scoped include/src/tests paths. Graph may contain protected data, so no whole-repo text/graph browsing. Use search_graph then trace_path/get_code_snippet for structure; inspect source for important claims. Call check_index_coverage for EVERY relied-on source file and directly read flagged missing ranges. If graph unavailable, use scoped source fallback and disclose. Serena manual must be read if used; project is already active VoidLibrary, do not change activation.
3. For each document, ground existing features/tests and gaps before designing NEW additions. Cite portable relative source links from the file location, not absolute workstation paths. Keep source facts separate from design recommendations.
4. Use sections tailored to the area but cover all deliverables. Each task gets a unique ID M-<MODULE>-NN, S-<SUBSYSTEM>-NN, or P-<PLATFORM>-NN, explicit dependencies, intended implementation scope, acceptance and role recommendation. Use phase P0 baseline, P1 foundations, P2 module completion, P3 initial platforms/optimization, P4 distributed. All feature tasks are PLANNED.
5. Draft concrete representative NEW API/type shapes; preserve existing namespace facts and distinguish illustrative NEW code from compiling examples. Shared types are referenced to their owner, not independently redefined. Choose bounded sensible defaults and explain tradeoffs. Avoid unspecified "consider X or Y" where it changes implementation; select a design or explicitly stage alternatives behind a later named capability gate.
6. Native-vs-external choices are per module. Retain current security primitives as initial implementations. Cite primary sources already supplied below; if new consequential library facts require research, use context7 skill resolving library id first, then official docs/web only, never submit private source.
7. Cross-link shared architecture/performance/validation/migration and relevant area documents. Other workers may still be creating them; expected names in master contract below are valid planned links. Do not repeatedly check unfinished peers.
8. Validate your own documents for ownership, meaningful content, source/path accuracy, unique IDs and no unresolved placeholders. Tell root any shared decision that needs reconciliation. Do not pad every file with repeated common text.
## 7. Interfaces and data contracts
Authoritative shared contracts: architecture C-01 foundation layers; C-02 Result/expected errors; C-03 std::stop_token+steady deadline and one completion; C-04 embedded/managed composition; C-05 bounds; C-06 IO/Net; C-07 general vs strict signed data; C-08 native Storage separate from SQLite; C-09 owning Service/Plugin/C ABI; C-10 FSM/Scheduler/Update commit; C-11 Log/Observability; C-12 distributed ownership/consistency; C-13 naming/migration; C-14 platforms.
Existing names must be source-verified. NEW API illustrations do not claim existence. Detailed task IDs use area names uppercased (e.g. M-ASYNC-01, S-IO-01, P-RELOADABLE-01). Relative references to peers: ../modules/<Name>.md, ../subsystems/<Name>.md or ../platforms/<Name>.md; shared files ../ARCHITECTURE.md, ../REQUIREMENTS.md, ../DEPENDENCIES.md, ../DELIVERY.md, ../PERFORMANCE.md, ../VALIDATION.md, ../MIGRATION.md, ../BUILD-AND-DISTRIBUTION.md, ../DOCUMENTATION.md.
## 8. Dependencies and integration
Parent creates shared root documents and workflow records concurrently. Four worker packages have disjoint ownership. Existing modules planned: Core Functional Containers Math Text Data Async Time Log System Configuration Stacktrace Plugin Service Fsm Testing TestingMock Binary Archive Crypto Security Sqlite Resilience Update ShortUrl Net. NEW subsystems: Memory Algorithms Unicode IO Runtime Scheduler Storage IPC RPC Messaging Observability Discovery Coordination Replication DistributedStorage. Platforms: NetworkedApplications ReloadableApplications DistributedApplications. Only your listed paths are writable. Parent checks integration and commissions fresh adversarial review of actual docs. No dependency on other worker completion before drafting against ARCHITECTURE.md.
## 9. Edge cases security and performance
Never read .env, .env.*, WG.conf, keys or descendants; ~/.config/agent-integrations, ~/.ssh, ~/.gnupg, ~/.opencodex, /run/agenix.d, nixos-config/jev_token. No broad indexing/reindexing and no private source in public queries. No credentials or other repository information in documents.
Specify concrete failure paths, resource accounting, cancellation/shutdown and compatibility relevant to each area. No fabricated performance results, compiler support, test passes or production readiness. Performance profiles measure p50/p95/p99, throughput, allocations, peak RSS/CPU and build cost; avoid arbitrary universal speedup claims. Cryptographic/TLS recommendations based on OpenSSL 3.5 guide; new storage durability methodology on SQLite atomiccommit; Raft paper for consensus. Primary URLs: https://docs.openssl.org/3.5/man7/ossl-guide-tls-client-block/ ; https://sqlite.org/atomiccommit.html#_testing_atomic_commit_behavior ; https://sqlite.org/wal.html ; https://raft.github.io/raft.pdf ; https://man7.org/linux/man-pages/man7/epoll.7.html . Cite near claims.
## 10. Acceptance criteria
1. All owned documents exist and contain distinct, substantial implementation guidance; no empty boilerplate or arbitrary word-count padding.
2. Source links and existing behavior are checked; NEW contracts clearly labeled; source coverage limitations reported.
3. Each plan has concrete APIs/dataflow, native/backend decision, ownership/failure/resource limits, task DAG/dependencies, test scenarios and compatibility/rollback.
4. Shared C-01..C-14 contracts are respected and cross-links use agreed names.
5. Commands distinguish CURRENT available checks from PROPOSED checks with prerequisites; future reference apps are specified only.
6. No unowned modifications, implementation changes, unsupported measured claims or unresolved high-impact alternatives.
## 11. Verification commands and evidence
Cwd /home/faumaray/Projects/VoidLibrary. Observed current baseline commands: cmake -S . -B /tmp/voidlibrary-discovery-f1f9ba3 -G Ninja -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVOID_ENABLE_TESTING=ON -DVOID_WARNINGS_AS_ERRORS=OFF -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DFETCHCONTENT_SOURCE_DIR_BOOST=/home/faumaray/Projects/VoidLibrary/build/_deps/boost-src ; cmake --build /tmp/voidlibrary-discovery-f1f9ba3 --parallel 4 ; ctest --test-dir /tmp/voidlibrary-discovery-f1f9ba3 --output-on-failure --timeout 60. Do not rerun builds/tests for this documentation task. Normal build passed; VoidTests 1245 passed/2 failed/3 skipped out of1250; failures hard-code absent /bin/echo and /bin/cat; installed component consumers passed. Werror failed in cached Boost1.84 headers. No sanitizer/benchmark/cross-platform checks ran. Actual test runner --filter syntax exists but verify names before showing existing filtered commands. Generic future build paths must be labeled templates/proposed.
Run documentation checks via scoped rg, file inventory and git diff --check -- <owned paths> (new files require direct content inspection too). Root will run full coverage/link/ID validation. Do not add a validation script or tests outside ownership.
## 12. Constraints and stop conditions
No child agents or independent user questions. Stop on ownership collision, a required protected read, unavailable configured role, or a contradiction requiring shared contract change; report to parent with a bounded resolution. Missing graph coverage alone permits scoped direct reads. Do not treat an absent NEW file as a blocker. No commits/pushes or application edits. Finish all owned documents before returning unless a genuine blocker exists.
## 13. Authorization and decisions
User approved this exact planning-package scope on 2026-11-24 and explicitly approved the configured astra_implementer/XHigh fallback for this unchanged assignment after Sol capacity failure. Prior architectural planner and fresh preflight reviewer complete; current handoff specifies exclusive documentation ownership. Parent reviewed technical content and will lint full specification before dispatch. Default choices within ARCHITECTURE.md are authorized planning decisions. No permission to implement features is inferred.
## 14. Return format
Return task ID; DONE/BLOCKED/PARTIAL; files changed; concise content/decision highlights; source and graph coverage limitations; exact documentation checks and outcomes; unrun checks; cross-file integration issues. Do not paste full documents or spawn children.
@@ -0,0 +1,64 @@
# Independent review of shared and foundation planning documents
Task ID: T-DOC-REVIEW-A
Role: astra_reviewer
Status: READY
## Additional baseline-wording integration recheck
Root verified src/Update/Feed.cpp lines631–704 and its Json.hpp include: schema3 parses the decoded signed payload for readable-document equality before Crypto::verifyEd25519. verifyFeedEnvelope does parse feed schema after verifyEnvelope, but the earlier shared/Data wording could imply all payload parsing already waits for verification. Root corrected ARCHITECTURE C-07 and modules/Data.md to distinguish current general-Json parsing from separate StrictJson, preserve both compatibility profiles, and label verify-before-payload-parse as planned Update hardening. Include these exact changed paragraphs in your focused recheck; Update.md contains the detailed contract and review B covers it. Root checked Feed.cpp/Feed.hpp graph coverage and directly read all flagged ranges; Feed.cpp's verifyEnvelope is absent from the best-effort graph despite source presence. No new write scope or assignment expansion.
## 1. Context and baseline
Repository/cwd /home/faumaray/Projects/VoidLibrary, main HEAD f1f9ba375b22abf1adcc7c550ec21ac20895c0a4. User approved authoring the expansion planning package, not C++ feature implementation. Prior roadmap preflight READY; this is fresh review of actual authored docs. README has a navigation addition; new docs are untracked, so git diff alone cannot show them. Existing unrelated protected untracked files remain untouched. Root and other workers share checkout; review scope below is authored/stable except root verification/state records being finalized.
## 2. Objective and deliverables
Read and adversarially review the 21 actual roadmap files in section 4 plus relevant workflow evidence. Return READY/CHANGES_REQUIRED/INSUFFICIENT_EVIDENCE with severity-ranked concrete defects, cross-plan contradictions, unsupported source claims and minimum corrections. Validate R-001..R-016 and C-01..C-14 against the written package, not worker summaries. This is documentation correctness, not proof that proposed algorithms are implemented.
## 3. Scope and non-goals
Shared architecture/requirements/delivery/quality/migration and all foundation/data plans. Another fresh reviewer will cover runtime/storage/network/distributed plans after remaining authors finish. You may read those adjacent docs to check a shared boundary if present, but do not duplicate a broad review of that slice. No files may be changed, no code builds/tests, no user questions or children.
## 4. Files to inspect
Primary authored files:
- docs/roadmap/README.md
- docs/roadmap/REQUIREMENTS.md
- docs/roadmap/ARCHITECTURE.md
- docs/roadmap/DEPENDENCIES.md
- docs/roadmap/DELIVERY.md
- docs/roadmap/PERFORMANCE.md
- docs/roadmap/VALIDATION.md
- docs/roadmap/MIGRATION.md
- docs/roadmap/BUILD-AND-DISTRIBUTION.md
- docs/roadmap/DOCUMENTATION.md
- docs/roadmap/modules/Core.md
- docs/roadmap/modules/Functional.md
- docs/roadmap/modules/Containers.md
- docs/roadmap/modules/Math.md
- docs/roadmap/modules/Text.md
- docs/roadmap/modules/Time.md
- docs/roadmap/modules/Binary.md
- docs/roadmap/modules/Data.md
- docs/roadmap/subsystems/Memory.md
- docs/roadmap/subsystems/Algorithms.md
- docs/roadmap/subsystems/Unicode.md
Also README.md navigation diff; docs/agent-workflow/DECISIONS.md, STATE.md, TASKS.md and VERIFICATION.md for authorization/evidence. Optional actual source is limited to explicitly linked include/Void/<Module>, src/<Module>, tests/standalone/<Module>, CMakeLists.txt/cmake files needed to verify a consequential claim. Source baseline read in prior discovery; no exhaustive rediscovery.
## 5. Write ownership and coordination
Write scope: none
All files non-owned. Shared checkout: no edits, branch switches, installs, reindexing, activation changes, or remote mutations. Root alone integrates corrections. Use actual file contents for new docs. Remaining storage/runtime authors have disjoint area files and cannot change your primary files.
## 6. Implementation or investigation approach
Read requirements and architecture, then authored area contracts/tasks. Verify API ownership, dependency direction, standard-library-only foundation, native/backend rationale, precise integer/codec semantics, strict signed-data preservation, allocator/borrow lifetime, bounds, migration, task readiness and useful acceptance checks. Check the plans are substantive and decisions are concrete rather than placeholder choices. Check CURRENT vs PROPOSED commands and evidence, including known baseline failures. Run the temporary read-only checker if useful; it may still report missing peer files while those are authored. Do not flag those known pending files as completed-package defects prematurely. Manually inspect semantic issues independent of checker.
For source/graph navigation read code-intelligence skill, verify project home-faumaray-Projects-VoidLibrary root/freshness, scope queries to actual linked paths, call check_index_coverage for every relied-on file and read flagged ranges. Graph is best effort. No broad repository query, no secret reads. Do not defer ordinary factual investigation to the user.
## 7. Interfaces and data contracts
Shared contracts C-01..C-14 are authoritative. Current modules' namespaces differ from targets; NEW examples must be marked. Functional owns errors; Time clocks; Async std::stop_token+steady deadline; Binary encoding primitives; Data value codec; Storage checksums/recovery; Memory allocators. Preserving StrictJson is required. Native proposals need no runtime benchmark success claim. Review source/ABI/wire/disk evolution separately.
## 8. Dependencies and integration
Author T-DOC-101 complete with 11 plans/70 task definitions; root 10 shared documents authored. T-DOC-102/104 may still finish. Other review covers their integration and T-DOC-103. Root reconciles findings, repairs documents and requests recheck for changed risk areas. No reviewer approval authorizes feature implementation/publication.
## 9. Edge cases security and performance
No .env, .env.*, WG.conf, keys or descendants; ~/.config/agent-integrations, ~/.ssh, ~/.gnupg, ~/.opencodex, /run/agenix.d or nixos-config/jev_token. No private source in public queries. Look for invalid byte/allocator lifetime, integer overflow, format ambiguity, silent loss, unsupported claims and cyclic dependency contracts. Performance targets must distinguish proposed budgets from measured evidence.
## 10. Acceptance criteria
1. All 21 primary files inspected sufficiently for a defensible verdict.
2. Findings include severity, exact file/section, triggering scenario, impact, evidence and minimal correction.
3. Important contracts are coherent and planned work is not described as implemented.
4. Verify source evidence for consequential disputed claims; do not invent findings from incomplete graph.
5. Files changed none; disclose unrun checks and coverage limitations.
## 11. Verification commands and evidence
Cwd repo root. Allowed git status --short, git diff --stat, git diff --check, scoped rg/sed, python3 -B /tmp/void-roadmap-check.py (read-only documentation inventory/links/IDs; partial peer presence may fail). Existing full normal build passed before authorship; VoidTests 1245 passed/2 failed/3 skipped and installed consumers passed; Werror Boost1.84 warnings failed. No tests have passed for NEW features. Do not rerun application tests for Markdown. Root will perform final complete-package link checks.
## 12. Constraints and stop conditions
Do not edit, run app tests, spawn or talk to user. Stop on protected access or wrong project. Return focused evidence gaps instead of broad unsupported claims. Treat in-progress workflow records as provisional; identify what must be updated before final completion. Prioritize actionable P0-P2; record P3 without derailing.
## 13. Authorization and decisions
User approved plan-file authoring. This configured astra_reviewer/XHigh task provides independent technical review. Prior authors had no review authority. Root persists and structurally lints this assignment before dispatch; model runtime identity remains configured, not independently attested.
## 14. Return format
Task ID; verdict; summary; severity-ranked findings with exact locations/corrections; files inspected; checks and outcomes; coverage caveats; files changed (none); tests not run. Keep report focused, not a restatement of all plans.
## Recheck scope after first correction
Review A found P2 at DEPENDENCIES.md: Algorithms→Containers conflicted with the detailed Containers→Algorithms design, with Math's container prerequisite adding a possible cycle. Root has corrected docs/roadmap/DEPENDENCIES.md, ARCHITECTURE.md C-01, modules/Math.md and subsystems/Algorithms.md. Re-read those files and unchanged modules/Containers.md/Text.md where needed. Verify Math scalar arithmetic → Algorithms → Containers/Text adapters, explicit M-MATH-02 prerequisite, standard-library scratch storage, and no reverse imports. No write ownership or broader assignment change. Root git diff --check passed; task specification lint passed. Return whether the original finding is resolved and a final verdict for your original 21-file slice; do not repeat the broad review without a new concern. Root will finalize workflow records after both review slices and complete-package checks.
+101
View File
@@ -0,0 +1,101 @@
# Independent integrated review of runtime, storage and platform plans
Task ID: T-DOC-REVIEW-B
Role: astra_reviewer
Status: READY
## 1. Context and baseline
Repository/cwd /home/faumaray/Projects/VoidLibrary; main HEAD f1f9ba375b22abf1adcc7c550ec21ac20895c0a4. User approved the multi-file expansion planning package, not C++ features. Original request is generic library from small stdlib-only foundations through complete modules and optional platforms. Existing source/test baseline was inspected and ordinary full build passed before document authoring. New roadmap docs are untracked, so inspect their actual contents; git diff alone does not show them. T-DOC-102 and 103 authors finished their 23 files. T-DOC-104 is finishing its last three files (Update, Observability, NetworkedApplications); read 102/103 and completed 104 documents first. Root will confirm the last packet is stable before your final verdict. All agents share this checkout.
## 2. Objective and deliverables
Fresh adversarial review of the actual 33 area plans listed below and their integrated contracts with shared roadmap documents. Return READY/CHANGES_REQUIRED/INSUFFICIENT_EVIDENCE with concrete severity-ranked defects and minimum corrections. Detect cross-file ownership, lifetime, durability, security, dependency and task-order contradictions. This review judges actionable planning quality, not whether proposed APIs have been implemented.
## 3. Scope and non-goals
Primary runtime/system/network/security/storage/operations/quality plans and all three platforms. The other fresh reviewer owns the 11 foundation plans and 10 shared documents but your cross-component findings may touch shared contracts. Read adjacent foundation docs only where a boundary requires it. No application edits, test builds, broad rediscovery, internet publication, questions to user, or additional agents.
## 4. Files to inspect
Primary area files:
- docs/roadmap/modules/Async.md
- docs/roadmap/modules/System.md
- docs/roadmap/modules/Configuration.md
- docs/roadmap/modules/Service.md
- docs/roadmap/modules/Fsm.md
- docs/roadmap/modules/Plugin.md
- docs/roadmap/subsystems/IO.md
- docs/roadmap/subsystems/Runtime.md
- docs/roadmap/subsystems/Scheduler.md
- docs/roadmap/subsystems/IPC.md
- docs/roadmap/platforms/ReloadableApplications.md
- docs/roadmap/modules/Net.md
- docs/roadmap/modules/Resilience.md
- docs/roadmap/modules/Crypto.md
- docs/roadmap/modules/Security.md
- docs/roadmap/modules/ShortUrl.md
- docs/roadmap/subsystems/RPC.md
- docs/roadmap/subsystems/Messaging.md
- docs/roadmap/subsystems/Discovery.md
- docs/roadmap/subsystems/Coordination.md
- docs/roadmap/subsystems/Replication.md
- docs/roadmap/subsystems/DistributedStorage.md
- docs/roadmap/platforms/DistributedApplications.md
- docs/roadmap/modules/Log.md
- docs/roadmap/modules/Stacktrace.md
- docs/roadmap/modules/Testing.md
- docs/roadmap/modules/TestingMock.md
- docs/roadmap/modules/Archive.md
- docs/roadmap/modules/Update.md
- docs/roadmap/modules/Sqlite.md
- docs/roadmap/subsystems/Storage.md
- docs/roadmap/subsystems/Observability.md
- docs/roadmap/platforms/NetworkedApplications.md
Read shared docs/roadmap/{REQUIREMENTS,ARCHITECTURE,DEPENDENCIES,DELIVERY,PERFORMANCE,VALIDATION,MIGRATION,BUILD-AND-DISTRIBUTION,DOCUMENTATION,README}.md as needed to evaluate these interfaces and coverage. Read docs/agent-workflow/{DECISIONS,VERIFICATION,STATE,TASKS}.md and T-DOC-102/103/104 task specs for original scope and evidence. Optional actual source is limited to linked include/Void/<Module>, src/<Module>, tests/standalone/<Module>, existing docs/short-url.md and build/CI declarations needed to verify a consequential claim. Read exact source, not summaries, when disputing a baseline fact.
## 5. Write ownership and coordination
Write scope: none
Every file is non-owned. No edits, branch changes, installations, reindexing, active-project changes, Git mutations or remote side effects. Root integrates fixes. T-DOC-104 exclusively owns the remaining three area files while completing them; avoid those until they exist and root confirms completion. T-DOC-102/103 and seven completed 104 files are stable except targeted corrections coordinated by root. No private worktree is assumed.
## 6. Implementation or investigation approach
Read contract IDs and requirements, then the actual area plans. Review coherent NEW API semantics, concrete resource/algorithm choices, task prerequisites, failure behavior and useful acceptance evidence. Focus on cross-boundary races and crash consistency:
- Async terminal arbitration versus Storage/SQLite durable commit outcomes: cancellation is not proof of rollback; durable outcomes must remain inspectable.
- TaskScope/Runtime join ownership on executor threads, deadlines with still-running work, IO late completions/buffers, cancellation/resume ticket single completion.
- Service handles, Plugin generation pins across async/callback/destructor activity, C ABI ownership, and ReloadableApplications single-generation publication plus read-only health window until Update's durable healthy commit.
- Storage single-writer visibility, bounded versions/snapshots/compaction, WAL/footer/CRC32C framing, CURRENT manifest authority, crash tails versus corruption, unknown commit outcomes; Binary owns encoders, Storage owns framing/checksum helper and tests.
- Raft persist-before-reply, stable identifiers and membership, atomic application/dedup/applied position, quorum read barriers, recovery/snapshot installation, durable discovery and at-least-once messaging.
- TLS verification/deadlines/redirects, RPC authentication/framing, retry/idempotency and bounded admission; platform budget composition.
- Log/Stacktrace/Observability dependency direction and callbacks outside locks; signal handling claims; TestingMock ownership/reentrancy and SQLite transaction lifetime.
Check CURRENT vs NEW/PROPOSED distinctions, unrun verification honesty, native-vs-adapter rationale, migration stages and source compatibility. Do not flag expected last author files as defects before completion. Do not demand implementation tests for documentation.
For source navigation use the code-intelligence skill at /home/faumaray/.codex/skills/code-intelligence/SKILL.md. Serena already active VoidLibrary; read initial instructions if not inherited, do not change the active project. Codememory project home-faumaray-Projects-VoidLibrary root/freshness verified by root; still verify identity before querying and call check_index_coverage for every relied-on path, reading flagged source ranges. Graph remains best effort. Public documentation queries must never include private source.
## 7. Interfaces and data contracts
Shared C-01..C-14 govern. C-03 OperationOptions contains std::stop_token and optional steady-clock deadline; C-04 Time owns injected monotonic clock, Async execution, Memory allocation, Runtime composition. No hidden foundation workers. C-08 original native KV is distinct from SQLite; WAL/manifest atomic recovery and unknown outcomes required. C-09 same-toolchain plugins are separate from versioned opaque C ABI; no STL/exception crossing. C-10 checkpoint application state, never serialized C++ coroutine frames. C-12 pure Coordination state machine with higher Replication adapters and application/dedup/applied position atomicity; no global exactly-once guarantee. Root already corrected Replication recovery to follow Storage's durable CURRENT/generation pointer rather than the largest complete manifest. Root directed Storage's CRC32C ownership correction; verify actual final text. Examples are explicitly NEW and may be illustrative rather than compiling.
## 8. Dependencies and integration
Author packet 102: 11 plans /59 tasks. Packet 103: 12 plans /73 tasks. Packet 104: 10 plans, completion message pending at dispatch. Root shared ten docs authored; review A found and is rechecking one P2 foundation graph contradiction already corrected. Read 102/103 while final 104 files finish, then review the complete 104 packet and integrated cross-file contracts before final verdict. Root will send the stable-file confirmation. Root resolves findings and requests recheck for changed risk areas. Review is technical acceptance of plans, not authorization to implement features, push or deploy.
## 9. Edge cases security and performance
Never read repo .env, .env.*, WG.conf, keys or descendants; ~/.config/agent-integrations, ~/.ssh, ~/.gnupg, ~/.opencodex, /run/agenix.d or nixos-config/jev_token. No broad graph search that may return excluded content. Watch finite counts AND bytes (including inflight/batches), borrow lifetime, reentrant teardown, post-timeout work, format endian/length/CRC ambiguity, partial writes, stale snapshots, retry duplication and resource retention. Distinguish selected design defaults from measured benchmarks; no performance victory claimed without evidence. Native engine/protocol plans need falsifiable safety gates before broad platform claims.
## 10. Acceptance criteria
1. All 33 primary plans read sufficiently for a defensible integrated verdict; do not finalize before remaining packet completion.
2. Relevant shared contracts and all three platform compositions assessed.
3. Every actionable finding has severity, exact file/section, triggering scenario, impact, evidence and minimum correction.
4. Important source claims checked against actual source, with graph coverage caveats, where needed.
5. No unrelated edits or unsupported execution/model claims. Return files changed: none.
6. Distinguish substantive defects from optional future enhancements and unrun implementation tests.
## 11. Verification commands and evidence
Cwd repo root. Read-only commands: git status --short; git diff --check; git diff -- README.md; scoped rg/sed; python3 -B /tmp/void-roadmap-check.py. The temporary checker validates 54-file inventory, relative files/anchors, required content signals, unique feature task IDs/references and a heuristic explicit prerequisite DAG; named-gate semantics still need review. At 51/54 only absent last three files/links failed. Root also checks all new Markdown whitespace/fences because tracked diff misses untracked docs. Baseline: ordinary build exit0; CTest exit8, VoidTests1245 passed/2 failed/3 skipped, absent /bin/echo and /bin/cat implicated, installed consumers passed. Werror failed in pinned Boost1.84 GCC16/C++26 warnings. No new-feature tests run; do not rerun C++ tests for these plans.
## 12. Constraints and stop conditions
Read-only role; no child agents or user questions. Stop on wrong repository/protected access. Prioritize actionable P0-P2, report P3 briefly. If a consequential fact is unverifiable, state the gap rather than assuming a defect. Workflow status/evidence are being finalized; identify final-record updates needed rather than claiming provisional status is a completed-package contradiction. Do not inspect unfinished last three files repeatedly; use the stable files first and root's completion notice.
## 13. Authorization and decisions
User approved authoring these expanded plans, plus explicit configured astra_implementer/XHigh fallback for packet104 after Sol capacity exhaustion. This separate configured astra_reviewer/XHigh did not author these changes. Task spec persisted and structurally linted before dispatch; root owns semantic acceptance. Tool metadata shows configured role/effort, not an independent proof of runtime model identity. No external publishing authorization.
## 14. Return format
Task ID; verdict; brief summary; severity-ranked concrete findings with exact locations, trigger, impact, evidence and minimum fix; primary files inspected and cross-contract coverage; commands/results and source coverage limits; files changed none; tests not run. Do not restate all plans. If only final-author completion is pending, report interim findings while retaining the task, then finalize on the stable package.
## Focused recheck after three P2 corrections
All 54 documents and all author packets are now complete/stable. Your original three findings have been corrected by root; review only the changed boundaries and directly affected contracts, not a new broad audit. Changed roadmap files: ARCHITECTURE.md C-03; modules/Async.md ownership/backlog/validation; subsystems/IO.md backend/completion/backlog/validation; subsystems/Storage.md cancellation, P1 bootstrap, S-STORAGE-03/04 and fault-validation gate; subsystems/Runtime.md shutdown order/backlog/validation; platforms/NetworkedApplications.md shutdown timeout paragraph. Root updated workflow evidence separately.
Correction 1: stop/expiry is intent, not generic domain-result selection; Async delivers one domain result after backend access ends. Side-effect-free abort is distinct from known commitment and Unknown effects. IO had the same first-stop-wins wording, so its sync completion now preserves success/native failure after stop, enabling Storage/Update outcomes. Fake-adapter and IO/Storage scenarios cover stop before append/execution, during sync, successful sync after stop, failed sync after stop; no duplicate completion or premature cleanup. Check consistency with Configuration/Update without modifying them.
Correction 2: Runtime stops/drains business producers/scopes while keeping a separate bounded cleanup/export scope and IO/CPU/file workers alive. Exporters flush/close/join before resource teardown; timeout yields shutdown_incomplete with owners retained and later join allowed. NetworkedApplications explicitly agrees. Check an in-flight exporter whose flush and total deadlines expire, then backend releases, against Observability's existing contract.
Correction 3: S-STORAGE-03 now implements minimal CURRENT/manifest and WAL registration before acknowledgements, with initial-create/rotation crash tests and the fault harness. S-STORAGE-04 extends the same publication protocol for tables/checkpoints. No valid CURRENT means incomplete initialization, not adoption of an orphan; no earlier acknowledged batch is possible. Verify phase/task/format ordering is coherent and no new backward dependency.
No write ownership or model/role change. Root checker after first correction set passed 54/54, 878 links, 300 feature task IDs; IO follow-through will receive the same checker before recheck dispatch. git diff --check passed. Return resolved/unresolved for each original finding, any new actionable defect in changed boundaries, and final verdict for the assigned slice. Original command/security/return constraints still apply.