commit
ca04975d54
62 files changed
+3381
No files matched your search
@@ -0,0 +1,38 @@
|
||||
# Approved scope
|
||||
|
||||
Approved by the user: "Implement the plan." on 2026-11-25.
|
||||
Initial baseline: /home/faumaray/Projects/VoidLanguageServer, no Git repository,
|
||||
only Serena runtime metadata. Root initialized main locally; HEAD remains unborn.
|
||||
|
||||
## Immediate milestone
|
||||
Initialize repository; persist requirements, architecture, decisions, 27 detailed
|
||||
subsystem plans and workflow evidence; implement a C++26 VoidLibrary-backed
|
||||
CLI and stdio LSP lifecycle shell with meaningful unit and subprocess tests.
|
||||
CMake/Ninja bootstrap is approved. Native VBS self-build is a later milestone.
|
||||
No staging, commit, remote, push or publishing is included.
|
||||
|
||||
## Full product requirements
|
||||
Independent compiler-library-based C++ server; GCC16 Void fidelity; Linux first;
|
||||
Neovim and VS Code; Library/VBS first adoption; native VBS plus compdb providers;
|
||||
core IDE operations, modules/reflection; templates/constraints/constant-evaluation
|
||||
and reflection debugging with live control AND recorded replay, DAP AND custom UIs.
|
||||
Responsive editing targets: warm completion p95 approximately100ms, navigation50ms.
|
||||
Milestones, no fixed deadline. License intentionally deferred until backend gate.
|
||||
|
||||
## Gated work
|
||||
The current Clang/P2996 candidate needs a later bounded feasibility experiment.
|
||||
Its documented missing constexpr-range expansion is a likely incompatibility.
|
||||
Compiler fixes, backend replacement or standard-library substitution need a new
|
||||
explicit decision. Full semantics/debugger implementation is not bootstrap scope.
|
||||
VBS tooling producer is a separate upstream dependency, not authorized sibling edits.
|
||||
|
||||
The user reports another worker is adding VoidLibrary JSON decimal support.
|
||||
Inspect and pin the committed update after the capability suite passes; do not
|
||||
write a competing decimal parser. Until then, proceed with independent work and
|
||||
mark final JSON integration/shell acceptance blocked rather than verified.
|
||||
|
||||
## Execution amendment D-021
|
||||
The user subsequently instructed: "not yet implemented, watch main no need to pin".
|
||||
VoidLibrary now follows main by default; historical pin instructions above and
|
||||
in T-001 are superseded. Record the exact tested commit and validate upstream
|
||||
JSON changes. The final JSON acceptance gate remains mandatory.
|
||||
@@ -0,0 +1,46 @@
|
||||
# Confirmed decisions
|
||||
|
||||
Date: 2026-11-25. These are user choices unless explicitly marked proposed.
|
||||
|
||||
| ID | Decision | Status / implication |
|
||||
| --- | --- | --- |
|
||||
| D-001 | Independent server reusing compiler libraries | CONFIRMED; no clangd fork or from-scratch C++ frontend |
|
||||
| D-002 | GCC16 Void projects define fidelity | CONFIRMED; actual flags/headers/extensions matter |
|
||||
| D-003 | Initial delivery is plans plus working shell | CONFIRMED; semantic/debug implementation remains gated |
|
||||
| D-004 | Linux first | CONFIRMED; Windows/macOS later |
|
||||
| D-005 | Neovim and VS Code | CONFIRMED; both are acceptance clients |
|
||||
| D-006 | Core IDE plus modules/reflection | CONFIRMED; diagnostics/completion/hover/navigation/references/safe rename |
|
||||
| D-007 | Metadata refresh and private IDE caches | CONFIRMED; trusted metadata scope, explicit project generator/dependency builds |
|
||||
| D-008 | CMake now, VBS later | CONFIRMED; native VBS self-build has its own gate |
|
||||
| D-009 | VoidLibrary and VBS adoption first | CONFIRMED; remaining Void projects follow evidence |
|
||||
| D-010 | Probe Clang reflection fork first | CONFIRMED; reject unsupported GCC-context fidelity; no implicit compiler repairs |
|
||||
| D-011 | Defer license until backend decision | CONFIRMED; do not add an invented LICENSE |
|
||||
| D-012 | Responsive daily editing | CONFIRMED; proposed targets accepted: warm completion100ms/navigation50ms p95 |
|
||||
| D-013 | Follow VBS profile with override | CONFIRMED; keep per-file target alternatives |
|
||||
| D-014 | Milestones without a fixed date | CONFIRMED |
|
||||
| D-015 | Metaprogram debugging required in first usable release | CONFIRMED; separate instrumentation track |
|
||||
| D-016 | Templates/constraints plus constant evaluation/reflection | CONFIRMED; not reflection-only debugging |
|
||||
| D-017 | Live AND recorded replay | CONFIRMED; neither substitutes for the other |
|
||||
| D-018 | DAP AND custom UI | CONFIRMED by free-text correction; one service, two client surfaces |
|
||||
| D-019 | Upstream worker will add Void JSON decimals | CONFIRMED user report, implementation NOT yet verified; dependency gate |
|
||||
| D-020 | Implement the plan | CONFIRMED; authorizes milestone0 local writes, no commit/push/deploy |
|
||||
| D-021 | Follow VoidLibrary main; no commit pin | CONFIRMED execution follow-up: "not yet implemented, watch main no need to pin"; supersedes previous VoidLibrary pin requirements, retains exact tested-commit evidence and JSON acceptance gate |
|
||||
|
||||
## Root technical defaults accepted into the reviewed plan
|
||||
- LSP3.17 compatibility, stdio, empty semantic capability set in bootstrap.
|
||||
- New immutable VBS tooling export, separate from declaration JSON and exact execution records.
|
||||
- Server/compiler workers/DAP in C++; thin clients TypeScript/Lua.
|
||||
- Compiler/plugin execution identity separate from metadata authority.
|
||||
- Guarded rename across declared affected contexts, no atomic filesystem-save claim.
|
||||
- One live debug session;2GiB worker/3GiB aggregate;256MiB/1M-event trace;
|
||||
running60s CPU/120s wall; paused30min idle; disconnect5s grace, configurable.
|
||||
- License and candidate compatibility remain gates; no silent libc++ substitution.
|
||||
- No competing VLS decimal parser; follow upstream main and verify its actual revision, adding only remaining local validation.
|
||||
- No telemetry or remote service is part of the initial product.
|
||||
|
||||
## Routing record
|
||||
The initial astra_planner candidate was used for VBS discovery; astra_researcher
|
||||
provided independent official-source frontend evidence. The later upstream-status
|
||||
follow-up created no new implementation package while in Plan Mode, so its Sol
|
||||
candidate was not dispatched. The execution-turn Sol candidate owns T-001.
|
||||
Roles are configured XHigh; model execution was not independently verified.
|
||||
@@ -0,0 +1,21 @@
|
||||
# Preflight record
|
||||
|
||||
Date: 2026-11-25. Scope: initial shell/documents and gated future roadmap.
|
||||
Configured independent astra_reviewer (gpt-6-astra/XHigh); runtime model routing
|
||||
was not independently exposed by spawn metadata.
|
||||
|
||||
Initial verdict: CHANGES_REQUIRED. Final contract re-review: READY, with explicit
|
||||
upstream JSON and later compiler/debugger feasibility prerequisites.
|
||||
No implementation diff, build, client run or release was approved by that review.
|
||||
|
||||
| Finding | Binding correction |
|
||||
| --- | --- |
|
||||
| Compiler options can load native code | Metadata cannot authorize tools; identity-bound approved tools, response-file inspection, no arbitrary plugins/unapproved wrappers. |
|
||||
| Rename coverage/application undefined | All affected provider-exported workspace contexts; materialize and synchronize files, version/content preconditions, transactional buffer application or refusal. No filesystem-atomic claim. |
|
||||
| Trace quotas do not isolate debugger resources | One live session, memory/admission limits, CPU and running wall watchdogs, paused lifetime and disconnect reaping. |
|
||||
| Void JSON parsers have incompatible ingress properties | Verified upstream decimal revision, full JSON capability suite, VLS-owned validation only for remaining UTF-8/surrogate/depth gaps. No integer-only fallback. |
|
||||
|
||||
Additional invariants: post-shutdown requests return InvalidRequest; debug handles
|
||||
include stop/replay-position generation; Gate2 includes failed constraints,
|
||||
nested evaluator/Sema transitions, cancellation and truncated replay.
|
||||
Fresh review of the actual integrated implementation is still required.
|
||||
@@ -0,0 +1,50 @@
|
||||
# Integrated review record
|
||||
|
||||
Date: 2026-11-25. Scope: approved initial milestone, main with unborn HEAD.
|
||||
Reviewer role: astra_reviewer, configured XHigh; runtime model not independently
|
||||
verified. The reviewer did not implement the changes and had read-only ownership.
|
||||
Review contracts: [initial review](tasks/T-REVIEW-001.md) and
|
||||
[focused re-review](tasks/T-REVIEW-002.md). Root inspected actual code and tests.
|
||||
|
||||
## Final verdict
|
||||
Independent implemented shell behavior and documentation: READY.
|
||||
Full JSON acceptance: CHANGES_REQUIRED, blocked upstream.
|
||||
No additional actionable defects were found in the focused re-review.
|
||||
These verdicts do not claim a usable clangd replacement or authorize publication.
|
||||
|
||||
## Finding dispositions
|
||||
| Finding | Severity | Disposition and evidence |
|
||||
| --- | --- | --- |
|
||||
| Valid incoming response envelopes produced error replies | P2 | Fixed: Server::handle classifies success/error responses before request-ID validation, ignores unmatched responses including null IDs and preserves lifecycle state; request/response hybrids remain invalid. Unit and executable regressions pass. |
|
||||
| Capability tests rejected integral IDs spelled1.0/1e0 | P2 | Fixed expectations and boundary visitor: accept finite integral signed32-bit values, preserve strings, reject bool/fractions/out-of-range values before narrowing. Numeric tests cover exponent forms, negative zero and boundaries. Runtime decimal behavior still waits on upstream. |
|
||||
| StrictJson rejects valid decimal/exponent syntax | P1 | OPEN: tested main9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5 rejects affected initialization requests. All six capability bodies fail normally. No skip, xfail, substitute parser or dependency patch. |
|
||||
|
||||
## Independent evidence
|
||||
The reviewer inspected all18 source/build/test files and all27 plans during the
|
||||
initial review, then the actual corrected files, assertions and current records.
|
||||
Graph coverage for new files is absent; conclusions rely on direct source reads.
|
||||
Review snapshots are ignored scratch artifacts; current source is authoritative.
|
||||
|
||||
Re-review execution used binaries under build/bootstrap/tests, with cwd /tmp:
|
||||
|
||||
- vls_unit_tests --no-color: exit0,22/22 pass.
|
||||
- vls_process_tests --no-color: exit0,9/9 pass.
|
||||
- vls_json_capabilities --no-color: exit1,6/6 fail.
|
||||
- Registration.cmake with the three binaries: exit0,37 registered bodies and
|
||||
successful execution of a named regression.
|
||||
- Separate Python probe of vls --stdio with a3-second deadline:36 valid responses
|
||||
ignored across all three lifecycle states;6 invalid hybrids/error payloads
|
||||
rejected;11 expected response IDs/lifecycle transitions correct; exit0, empty stderr.
|
||||
|
||||
Root independently built and tested fetched-main and local-override configurations,
|
||||
formatted the source, checked documentation links/whitespace, installed the corrected
|
||||
binary and ran its version command outside the checkout. See
|
||||
[verification evidence](VERIFICATION.md) for commands and observed outcomes.
|
||||
|
||||
## Required follow-up
|
||||
Follow VoidLibrary main per D-021 and record the actual tested revision. Inspect
|
||||
the arriving numeric representation, including precision/range behavior; the current
|
||||
generic floating branch is uninstantiated and unverified against that future API.
|
||||
Require every corrected capability body to pass, then obtain focused integration
|
||||
review before closing full shell acceptance. No compiler frontend, VBS provider,
|
||||
debugger, editor-client, sanitizer or fuzz acceptance is claimed by this milestone.
|
||||
@@ -0,0 +1,33 @@
|
||||
# Development state
|
||||
|
||||
Updated: 2026-11-25
|
||||
Repository: /home/faumaray/Projects/VoidLanguageServer
|
||||
Branch: main; HEAD: unborn
|
||||
Stage: AWAITING_UPSTREAM — independent scope reviewed; final JSON acceptance blocked
|
||||
Baseline: only .serena runtime metadata; preserved and ignored.
|
||||
Git initialized locally; no stage/commit/remote/push.
|
||||
|
||||
## Delivered work
|
||||
Root: 27 plans, requirements, architecture and decisions written; T-001 handed
|
||||
source ownership back. Upstream and local-override builds pass. Unit/process tests
|
||||
pass (31 cases); six JSON capability cases fail on the actual upstream limitation.
|
||||
Initial review found unmatched-response handling and incorrect numeric-ID test
|
||||
expectations; both are corrected and cleared by T-REVIEW-002. Independent scope
|
||||
verdict READY; final JSON acceptance CHANGES_REQUIRED. See REVIEW.md and
|
||||
VERIFICATION.md for evidence. Implementer and reviewer are closed; no active workers.
|
||||
|
||||
## Prerequisites
|
||||
VoidLibrary inspected HEAD: 9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5.
|
||||
Upstream decimal support is not implemented yet, confirmed by the user. D-021
|
||||
selects following main WITHOUT a commit pin; the fetched/tested commit remains
|
||||
the baseline above. Reconfigure to check main, inspect its API and run the full
|
||||
suite before closing final JSON integration and shell acceptance.
|
||||
Semantic/backend, debugger and native VBS capabilities remain planned.
|
||||
|
||||
## Next concrete action
|
||||
When upstream main changes, rerun the default configure command, record its actual
|
||||
fetched commit, inspect StrictJson's numeric API and adapt only the thin VLS boundary
|
||||
if necessary. Build and run all four CTest entries, inspect all six JSON capability
|
||||
bodies and re-review representation/range behavior. Do not accept the full shell
|
||||
while any required case fails, restore a pin, or patch a sibling repository.
|
||||
The final main check still returned9931c5f. No persistent watcher was created.
|
||||
@@ -0,0 +1,16 @@
|
||||
# Task graph and ownership
|
||||
|
||||
Baseline: main, unborn HEAD. Shared checkout; no isolated worktrees.
|
||||
|
||||
| Task | Status | Owner | Exclusive writes/dependencies |
|
||||
| --- | --- | --- | --- |
|
||||
| T-ROOT-INIT | COMPLETE | Root Astra | Git initialization, AGENTS.md, .gitignore |
|
||||
| T-DOC | COMPLETE_REVIEWED | Root Astra | README.md, docs/; 27 plans, contracts and local links reviewed |
|
||||
| T-001 | PARTIAL_UPSTREAM_GATE | Root after Sol handoff | Source/build/tests implemented; 31 cases pass, 6 upstream JSON capability cases fail |
|
||||
| T-JSON-MAIN | BLOCKED_UPSTREAM | Root | Follow main per D-021; record tested commit; complete JSON suite must pass |
|
||||
| T-INTEGRATE | PARTIAL_UPSTREAM_GATE | Root Astra | Both build modes, install and independent scope verified; final JSON gate remains |
|
||||
| T-REVIEW | COMPLETE | Independent astra_reviewer, closed | T-REVIEW-002: independent READY, full acceptance CHANGES_REQUIRED; see REVIEW.md |
|
||||
|
||||
Jev's sol_implementer candidate matches T-001. Root handles docs concurrently.
|
||||
T-001 completed handoff; root now owns source/build paths. All workers are closed.
|
||||
All future roadmap ownership is proposed, not an active worker assignment.
|
||||
@@ -0,0 +1,87 @@
|
||||
# Verification evidence
|
||||
|
||||
Updated: 2026-11-25. Builds and independent shell suites pass; final JSON acceptance is blocked upstream.
|
||||
|
||||
## Planning evidence
|
||||
- `dev cpp-gcc -c g++ --version`: exit0, GCC16.2.0.
|
||||
- `dev cpp -c clang++ --version`: exit0, Clang23.1.3.
|
||||
- Syntax-only enum helper probe including Void/Detail/Enum.hpp:
|
||||
GCC16.2, C++26, -freflection exit0; Clang23.1.3 same probe exit1 on reflection.
|
||||
No application artifacts were produced. This is not a full VoidLibrary build.
|
||||
- VoidLibrary inspected/remote HEAD: 9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5.
|
||||
- Candidate Clang/P2996 p2996 ref: 562409c7942690d59ea470762515f88f24b16e23.
|
||||
Candidate has not been built or tested.
|
||||
- VBS initial investigation found declaration bootstrap, not native tooling export.
|
||||
Its checkout subsequently advanced; verify current contracts before upstream integration.
|
||||
- Graph coverage: VoidLibrary had stale/partial metadata; flagged sources were read
|
||||
directly. VBS graph lacked current source coverage. No reindex of secret-bearing
|
||||
sibling checkouts occurred.
|
||||
|
||||
## Implementation evidence
|
||||
All commands below ran in /home/faumaray/Projects/VoidLanguageServer unless stated.
|
||||
Root observed:
|
||||
|
||||
| Command | Result |
|
||||
| --- | --- |
|
||||
| `dev cpp-gcc -c cmake -S . -B build/bootstrap -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON` | Exit0; original exact baseline fetched; repeated after D-021 follows main, resolves same9931c5f |
|
||||
| `dev cpp-gcc -c cmake --build build/bootstrap --parallel 2` | Exit0; full initial build, later no-work confirmation after ref change |
|
||||
| `dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure` | Exit8;3/4 CTest entries pass, only JSON capability suite fails |
|
||||
| `dev cpp-gcc -c cmake -S . -B build/local -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVLS_VOID_SOURCE_DIR=/home/faumaray/Projects/VoidLibrary` | Exit0; explicit override provenance |
|
||||
| `dev cpp-gcc -c cmake --build build/local --parallel 2` | Exit0; configuration also updated to D-021 policy |
|
||||
| `dev cpp-gcc -c ctest --test-dir build/local --output-on-failure` | Exit8; same3/4 suite result |
|
||||
| `dev cpp-gcc -c cmake --install build/bootstrap --prefix /home/faumaray/Projects/VoidLanguageServer/build/install` | Exit0 |
|
||||
| `/home/faumaray/Projects/VoidLanguageServer/build/install/bin/vls --version` (cwd /tmp) | Exit0; VoidLanguageServer0.1.0 |
|
||||
| `git -C build/bootstrap/_deps/voidlibrary-src rev-parse HEAD` | 9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5 |
|
||||
|
||||
Initial runs before review corrections:21 unit cases and8 actual-subprocess cases
|
||||
pass;4 JSON capability cases fail normally (not skipped/xfail). Registration verifies33 bodies and executes
|
||||
a named regression. Root inspected actual source/assertions; counts are not inferred
|
||||
from an empty CTest invocation.
|
||||
|
||||
Known failing cases: decimal/exponent values; decimal initialization options;
|
||||
numeric-ID validation after number parsing; executable initialization with decimals.
|
||||
Current StrictJson rejects decimal syntax, so these are real acceptance failures.
|
||||
The user confirmed the upstream change is not implemented yet; follow main per D-021.
|
||||
|
||||
Documentation validation:27 numbered plans, required contracts/implementation/failure/
|
||||
acceptance/ownership sections present,0 broken local Markdown links.
|
||||
Source graph remains untracked/stale for new files; important claims use direct reads.
|
||||
|
||||
After review corrections, root rebuilt both build/bootstrap and build/local with
|
||||
the same commands above: exit0 in each. Full CTest reruns: exit8 in each;22 unit
|
||||
cases and9 subprocess cases pass; all6 JSON capability bodies fail. Registration
|
||||
checks37 bodies and executes a named regression. The two added passing regressions
|
||||
exercise unmatched response envelopes at every lifecycle state and through the
|
||||
actual executable. Numeric acceptance now covers integer-valued decimal/exponent
|
||||
IDs, signed32-bit limits, fractional/out-of-range rejection and executable ID
|
||||
correlation. These six capability failures remain required; they are not waived.
|
||||
The adapter's floating numeric branch is not instantiated by the present upstream
|
||||
variant and must be verified against its eventual numeric API.
|
||||
|
||||
`git ls-remote https://git.faumaray.com/Void/VoidLibrary.git refs/heads/main`
|
||||
was repeated after the fixes: exit0, still9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5.
|
||||
Root formatted exactly the five changed C++ files with dev cpp -c clang-format -i:
|
||||
exit0. Final clang-format --dry-run --Werror on all13 owned C++ source/header paths:
|
||||
exit0. The untracked-file whitespace check initially found extra blank EOF lines in
|
||||
42 root-created documentation/ignore files; these were removed. Repeated per-file
|
||||
git diff --no-index --check against /dev/null produced no warnings for all61 files
|
||||
(exit1 denotes a new-file diff, not a whitespace failure). A script verified27 plans,
|
||||
all6 required sections and37 valid local Markdown links: exit0.
|
||||
Reinstall of the corrected build into build/install: exit0; its bin/vls --version
|
||||
from /tmp: exit0, VoidLanguageServer0.1.0.
|
||||
|
||||
## Independent review and final state
|
||||
T-REVIEW-001 found two P2 defects; root corrected both and T-REVIEW-002 cleared them.
|
||||
The reviewer independently ran22 unit and9 process cases (all pass),6 JSON capability
|
||||
bodies (all fail), registration (37 bodies plus named execution) and an additional
|
||||
bounded executable probe covering36 incoming responses and6 invalid hybrids/error
|
||||
payloads. Independent scope READY; full JSON acceptance CHANGES_REQUIRED.
|
||||
See [review record](REVIEW.md). The numeric adapter's future representation still
|
||||
requires review when upstream changes; the passing independent scope does not waive it.
|
||||
|
||||
Final repeated remote-main check: exit0, still9931c5f. All three task contracts pass
|
||||
the workflow structure linter; root also reviewed their technical scope. Git remains
|
||||
main/unborn, with only the expected new task files, no index entries or remotes.
|
||||
The local VoidLibrary tracked diff remained empty. Implementer/reviewer are closed.
|
||||
No full compiler/frontend, VBS provider, debugger, editor-client or sanitizer suite
|
||||
was run; those components remain planned. No staging/commit/remote/push occurred.
|
||||
@@ -0,0 +1,76 @@
|
||||
# Bootstrap and stdio LSP lifecycle shell
|
||||
Task ID: T-001
|
||||
Role: sol_implementer
|
||||
Status: APPROVED
|
||||
|
||||
Execution amendment D-021: after worker handoff, the user selected following
|
||||
VoidLibrary main without a commit pin. Root changed the default dependency ref.
|
||||
Historical pin instructions below are superseded; exact tested-commit evidence
|
||||
and the upstream JSON acceptance gate remain required.
|
||||
|
||||
## 1. Context and baseline
|
||||
Cwd/repository /home/faumaray/Projects/VoidLanguageServer. Root initialized main with unborn HEAD. Existing .serena runtime metadata is preserved/ignored. Root has added AGENTS.md, .gitignore and docs/agent-workflow records; no source, CMake, tests or formatting files existed. User approved the complete plan with "Implement the plan." Current execution scope is the initial compiling shell plus detailed plans, NOT the full language server/debugger. Relevant requirements R-001 C++26/VoidLibrary, R-002 lifecycle shell, R-003 reliable JSON, R-004 honest capability reporting, R-005 reproducible dependency/testing. Independent planner mapped VBS; fresh preflight reviewer accepted revised contracts. See docs/agent-workflow/APPROVED_PLAN.md and PREFLIGHT.md.
|
||||
|
||||
## 2. Objective and deliverables
|
||||
Implement a maintainable C++26 vls executable and reusable protocol library, using actual VoidLibrary APIs. Deliver CLI, bounded LSP framing, safe JSON adapter, lifecycle state machine, and meaningful unit plus real-subprocess tests. Establish CMake/Ninja build with exact VoidLibrary pin/default remote fetch and explicit VLS_VOID_SOURCE_DIR development override. Keep final JSON conformance visibly pending if the user's upstream decimal revision has not landed; complete all independent code/testing. Do not substitute an integer-only protocol success claim.
|
||||
|
||||
## 3. Scope and non-goals
|
||||
In: local bootstrap, help/version/stdio, JSON-RPC envelope validation and LSP3.17 lifecycle, error handling, input bounds, tests, install of executable if straightforward. Out: semantic parsing/diagnostics/completion, document synchronization, VBS or compdb providers, compiler-fork downloads, DAP/debugging/editor extensions, unrelated dependency fixes, Git mutations and docs writes. The shell advertises no unimplemented capabilities and never returns fake semantic results.
|
||||
|
||||
## 4. Files to inspect
|
||||
Read project AGENTS.md and workflow records first. Dependency read-only at /home/faumaray/Projects/VoidLibrary: CMakeLists.txt, include/Void/Configuration/Argparse.hpp, include/Void/Data/StrictJson.hpp, include/Void/Data/Json.hpp, include/Void/Unicode/Utf.hpp, include/Void/System/Process.hpp, cmake/VoidTesting.cmake, tests/standalone/Data/StrictJson.cpp and relevant Testing examples. VBS read-only reference: /home/faumaray/Projects/VoidBuildSystem/cmake/VoidDependency.cmake, tests/CMakeLists.txt, tests/SdkRegistration.cmake, src/main.cpp. Do not assume VBS provides a native executor. Inspect actual APIs before code; do not change sibling repositories.
|
||||
|
||||
## 5. Write ownership and coordination
|
||||
Write scope: CMakeLists.txt; cmake; include; src; tests; .clang-format
|
||||
All these are NEW VLS paths. Root exclusively owns .gitignore, AGENTS.md, README.md and docs/; do not edit them. You share the checkout, not an isolated worktree. Do not revert others' changes. No branch changes, staging, commits, clean/reset/stash, remote setup or push. Use build/worker for your builds; root will use build/bootstrap and build/local. Do not edit generated .serena config, global tools or Nix sources. Report changed paths; parent integrates after explicit handoff.
|
||||
|
||||
## 6. Implementation or investigation approach
|
||||
Mandatory sequence:
|
||||
1. Inspect actual Void APIs and establish narrowly selected dependency modules (Configuration, Data, Unicode; Testing and System as needed for tests). Configure C++26/-freflection with GCC16+ checks and CMake>=4; scope Void options, disable dependency tests/benchmarks and use static linkage for this bootstrap.
|
||||
2. Implement stream-independent framing and lifecycle components plus thin main. Prefer simple synchronous shell with clean interfaces over premature worker/index abstractions.
|
||||
3. Use Void::Argparse for CLI. No-argument and --stdio launch LSP; --help/-h and --version/-V are standalone, mixed/incompatible modes or unknown options exit2. Help/version can use stdout outside stdio. In stdio stdout only framed protocol; stderr logs.
|
||||
4. JSON UPSTREAM GATE: inspected VoidLibrary baseline 9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5 has StrictJson integer-only parsing. The user says another worker is adding decimal support. DO NOT create a competing decimal parser or edit VoidLibrary. Design a thin adapter to use improved upstream StrictJson with raw UTF-8 validation and any needed bounded escape/depth validation. Use variant visitors tolerant of the future numeric alternative rather than assuming an unobserved exact new API. Until a verified committed revision exists, pin the observed baseline provisionally, complete independent components, and keep decimal capability tests as real FAILURES (no skip/xfail/false success). Parent owns final pin decision after verification. Notify parent when ready to adopt any observed upstream change.
|
||||
5. Add unit and executable protocol tests using Void::Testing and a bounded subprocess harness. Preserve real test failure exit codes; registration must be nonzero.
|
||||
6. Format exact owned C++ paths, inspect your diff, build and test what is available. Return code complete vs blocked accurately.
|
||||
|
||||
## 7. Interfaces and data contracts
|
||||
NEW C++ public interfaces should separate framing, JSON-envelope processing and lifecycle so tests exercise the real main path; choose clear minimal names under namespace vls and include/vls. No public ABI commitment yet.
|
||||
Framing: Content-Length ASCII decimal, CRLF headers, body length in BYTES, optional UTF-8 Content-Type, multiple messages/partial reads. Header max8192 bytes; body max16777216 bytes; JSON depth64. Reject missing/duplicate/invalid/overflow length, unsupported charset, oversized/truncated framing without trying to resynchronize: stderr and nonzero exit. Validate before unbounded allocation. Exact-limit cases testable through smaller injectable limits in units.
|
||||
JSON: valid objects with jsonrpc="2.0"; preserve integer/string request IDs (LSP signed32-bit integer range), reject invalid ID types/ranges. Arrays/batches and malformed envelopes return InvalidRequest with appropriate id/null. Full decimal/exponent grammar in initializationOptions/ignored fields is REQUIRED, pending upstream. Reject raw controls, invalid UTF-8 and escaped lone surrogates. Void's general parser alone lacks these guards; raw UTF-8 validation alone does not reject escaped surrogates. No unchecked recursive parse before a depth bound. Known-size malformed JSON -> ParseError (-32700), id:null and continue.
|
||||
Lifecycle: before initialize, requests except initialize receive ServerNotInitialized (-32002); ignore notifications except exit as prescribed by LSP. Initialize returns serverInfo{name:"VoidLanguageServer",version:"0.1.0"} and capabilities:{}; initialized notification accepted. Repeated initialize -> InvalidRequest (-32600). Unknown requests after initialize -> MethodNotFound (-32601); unknown notifications no response. Shutdown request -> result:null and enter shutdown state. Post-shutdown requests -> InvalidRequest before generic method handling. Exit notification returns process0 after shutdown,1 otherwise. Unexpected/truncated EOF before proper shutdown/exit must not report a successful lifecycle. Initialization params are an object; test complete client payloads and tolerant handling of unknown fields. No responses to notifications, including invalid/unknown methods when no response id exists; malformed JSON itself uses id:null.
|
||||
No compiler, build description, shell, plugin, package manager, network listener, or metadata command executes during normal server operation.
|
||||
|
||||
## 8. Dependencies and integration
|
||||
Default dependency URL https://git.faumaray.com/Void/VoidLibrary.git with exact revision, no floating branches. Current observed HEAD baseline above. VLS_VOID_SOURCE_DIR bypass must be explicit and print clear provenance; build output goes into VLS build dir, never dependency source. Root will validate new upstream pin and repeat default+override paths after handoff.
|
||||
The source API may change while the other worker works. Inspect and report rather than silently adopting dirty source or pretending pin validation. Root documentation proceeds independently. No Nix module change is needed; use existing dev cpp-gcc. Flake/store source copying, --impure and installer work are prohibited.
|
||||
|
||||
## 9. Edge cases security and performance
|
||||
Bound read buffers, depth and frame sizes. Check stream errors and avoid stderr/stdout mixing. Ignore unknown extension fields without rejecting valid decimal values once gate passes. Test surrogate pairs and malformed escapes; preserve quoted/non-ASCII string IDs. Enforce argument mode errors deterministically. Subprocess tests need timeouts and cleanup; do not let a blocked child hang CTest. Do not read/index .env, keys, WG.conf, .aws, credentials or ignored caches from dependencies. Graph identities known: home-faumaray-Projects-VoidLibrary and home-faumaray-Projects-VoidBuildSystem; old indexes are stale. Use exact-path coverage and source verification; no reindex. Keep Serena active project VoidLanguageServer; do not switch shared activation.
|
||||
|
||||
## 10. Acceptance criteria
|
||||
1. Default pinned and explicit local builds have truthful provenance and leave dependency source unchanged (R-001/R-005).
|
||||
2. CLI --help/--version and invalid combinations have correct output/exit codes; stdio default writes only protocol (R-002).
|
||||
3. Unit tests cover frame boundaries, length overflow, encoding/JSON/ID checks and lifecycle precedence (R-002/R-003).
|
||||
4. End-to-end tests run the built vls executable through initialize/initialized/shutdown/exit; fragment headers/bodies, send multiple messages, unknown methods/notifications, malformed JSON, premature exit, post-shutdown requests (R-002).
|
||||
5. Decimal/exponent initialization options and Unicode/depth tests pass on the VERIFIED upstream pin before final shell acceptance (R-003). If not available, return PARTIAL with exact failing prerequisite.
|
||||
6. Capability response is empty; no semantic/debugger/VBS behavior claimed (R-004).
|
||||
7. Tests are nonzero, fail visibly, time-bounded; no ignored failures/xfails fabricated to pass (R-005).
|
||||
|
||||
## 11. Verification commands and evidence
|
||||
Cwd /home/faumaray/Projects/VoidLanguageServer. Existing environment commands observed: dev cpp-gcc -c g++ --version =>16.2.0; dev cpp -c clang++ --version =>23.1.3. GCC passes reflection syntax probe, installed Clang fails, so GCC required.
|
||||
NEW project acceptance commands once you create build files:
|
||||
dev cpp-gcc -c cmake -S . -B build/worker -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DVLS_VOID_SOURCE_DIR=/home/faumaray/Projects/VoidLibrary
|
||||
dev cpp-gcc -c cmake --build build/worker
|
||||
dev cpp-gcc -c ctest --test-dir build/worker --output-on-failure
|
||||
dev cpp-gcc -c ctest --test-dir build/worker -N
|
||||
Default pin verification belongs to root after pin settles; you may use build/worker-pinned if needed and report.
|
||||
These commands write only ignored build artifacts and may fetch dependency packages. Use plain commands and capture exits. Scope clang-format to exact owned C++ paths. Do not run NixOS checks or edit environment tooling.
|
||||
|
||||
## 12. Constraints and stop conditions
|
||||
Stop and report if upstream JSON API/pin is unavailable for final integration, a change needs unowned/sibling files, a consequential API decision contradicts this contract, or toolchain access fails. Continue independent code before returning partial. After two unsuccessful repairs of same issue, return original failure, attempts and diff for Astra re-diagnosis; no third same-hypothesis loop. Do not disable tests or patch dependency as a workaround. No children.
|
||||
|
||||
## 13. Authorization and decisions
|
||||
User "Implement the plan" authorizes initial shell+repo/plans after completed discovery and READY preflight; root is executing repository/docs in parallel. Configured sol_implementer gpt-6.1-sol/XHigh; do not assert runtime routing verified. Full future product/debugger work and publishing remain gated. This full task is persisted and structurally linted before dispatch; root semantically reviewed it.
|
||||
|
||||
## 14. Return format
|
||||
Return T-001; DONE/PARTIAL/BLOCKED; summary; exact changed paths; decisions/deviations; commands with cwd, exits and test counts; every acceptance criterion evidence; unrun checks; JSON gate/pin status; residual risks and handoff. Do not contact user directly or spawn agents.
|
||||
@@ -0,0 +1,69 @@
|
||||
# Independent integrated bootstrap and roadmap review
|
||||
Task ID: T-REVIEW-001
|
||||
Role: astra_reviewer
|
||||
Status: READY
|
||||
|
||||
Execution amendment D-021: the user now requires following VoidLibrary main
|
||||
without a commit pin. Root changed CMakeLists.txt/cmake/VoidDependency.cmake and
|
||||
updated current policy docs. Judge the actual main-ref behavior; historical
|
||||
pin requirements below are superseded, and tested-commit provenance still applies.
|
||||
|
||||
## 1. Context and baseline
|
||||
Review /home/faumaray/Projects/VoidLanguageServer, main, unborn HEAD. All source/docs files are NEW relative to the initially empty source repository; only preexisting .serena runtime metadata was preserved/ignored. User approved milestone0 repository+27 detailed plans+C++26 VoidLibrary LSP shell. T-001 Sol implementer has handed back all files. Root wrote docs and inspected actual code/tests. This is a fresh final review, distinct from prior preflight. Known external blocker: VoidLibrary StrictJson at9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5 rejects decimals; user says another worker is adding them and explicitly chose upstream reuse.
|
||||
|
||||
## 2. Objective and deliverables
|
||||
Adversarial review of actual integrated source/tests/build and documentation contracts. Find actionable correctness, protocol, safety, dependency, regression-test or dishonest-status issues. Return separate verdict for independent implemented shell behavior/docs and final full shell acceptance. Do not wave away known failing required JSON tests; final acceptance is currently blocked. Identify any additional defects that should be fixed now.
|
||||
|
||||
## 3. Scope and non-goals
|
||||
Review all18 new source/build/test files and relevant roadmap architecture/01/02/08/16-23 consistency. Validate that all27 plans exist with specific dependencies/ownership/contracts/tests and retain user choices. No compiler/backend/VBS/debug implementation expected. No writes, dependency edits, toolchain installation or Git mutations; no user messages or children. Review actual diff/source, not just worker summary.
|
||||
|
||||
## 4. Files to inspect
|
||||
Read AGENTS.md, docs/agent-workflow/APPROVED_PLAN.md, PREFLIGHT.md and tasks/T-001.md. Source snapshot at build/review/integrated.patch and SHA256 manifest build/review/manifest.tsv (created before this review-task file). All changes are new files against /dev/null; git diff alone will omit untracked files.
|
||||
Actual code: CMakeLists.txt, cmake/VoidDependency.cmake, .clang-format; include/vls/{Framing,Json,Server}.hpp; src/{Framing,Json,Server,main}.cpp; tests/CMakeLists.txt, Registration.cmake, TestSupport.hpp, FramingTests.cpp, JsonTests.cpp, LifecycleTests.cpp, JsonCapabilities.cpp, ProcessTests.cpp.
|
||||
Docs: README.md, docs/DEPENDENCIES.md, docs/roadmap/README.md, REQUIREMENTS.md, ARCHITECTURE.md and relevant numbered plans. Exact worker tests/logs available in build/worker/Testing/Temporary/LastTest.log; root pinned tests build/bootstrap/Testing/Temporary/LastTest.log.
|
||||
Dependency source only if necessary: pinned build/bootstrap/_deps/voidlibrary-src/include/Void/Data/StrictJson.hpp and Unicode/Utf.hpp. Do not scan unrelated external checkout content.
|
||||
|
||||
## 5. Write ownership and coordination
|
||||
Write scope: none
|
||||
Root owns source after handoff, but will keep it stable while review runs; verification/status documentation may be updated. .serena, dependencies and global tools non-owned. Use your own /tmp or ignored scratch directory only for non-repository test artifacts if needed; no source mutation. No editing, stage/commit/push/reset/stash/clean or changing Serena active project. All actors share the checkout.
|
||||
|
||||
## 6. Implementation or investigation approach
|
||||
Verify baseline/manifest and read actual code. Check frame byte/limit/EOF/stream semantics, JSON validation before recursive parsing, ID/envelope handling, lifecycle and stdout discipline. Inspect test assertions/failure propagation and subprocess deadlines. Check exact pin/default fetch vs override and real module linkage. Examine instructions/plans for contradictory scope, source claims, missing chosen debugger/client features and false verification.
|
||||
Root established graph project home-faumaray-Projects-VoidLanguageServer -> exact root; .gitignore excludes build/.vls/.serena/.cache/keys/env/WG.conf. Exact-path coverage reports not_tracked for all new code; structural search returns no symbols. Check coverage for relied paths as required, read source directly, do not reindex or pretend graph completeness. Serena active project is VLS; do not switch.
|
||||
If protocol facts are disputed, use current primary LSP/JSON-RPC sources. Root flags two HYPOTHESES for independent assessment: tests enforce rejection of numeric IDs spelled1.0/1e0 even though integer-valued JSON numbers may need value-based handling; implementation returns InvalidRequest for incoming response envelopes although this shell sends no server requests. These are not asserted defects or requested outcomes.
|
||||
|
||||
## 7. Interfaces and data contracts
|
||||
Original T-001 gives full binding WHAT/HOW. Core facts: default/--stdio LSP3.17 lifecycle; standalone help/version; header8KiB/body16MiB/depth64; strict UTF-8/escape validation; exact string/integer ID correlation; empty capabilities; no semantic fake success; before-init ServerNotInitialized, repeated-init InvalidRequest, unknown requests MethodNotFound, notifications silent, shutdown null, post-shutdown InvalidRequest, exit0 after shutdown or1 otherwise.
|
||||
User confirmed no competing decimal parser: wait for committed upstream revision, then validate/pin. Existing capability suite is ordinary failing tests, not skip/xfail. Full product requires GCC16 fidelity, modules/reflection, core IDE and safe rename, live+replay template/constraint/constexpr/reflection debugging, DAP+custom UI in Neovim+VSCode. Future contracts are explicitly NEW/planned with compiler/VBS/license gates.
|
||||
|
||||
## 8. Dependencies and integration
|
||||
No active source implementer remains; root integrates findings. Source header/runtime APIs from exact VoidLibrary pin were inspected, and dependency is statically linked with scoped module options. No frontend compiler fork downloaded. VBS source advanced independently and is not owned. If upstream decimal revision becomes available, root will separately validate pin/API and request re-review of affected code.
|
||||
|
||||
## 9. Edge cases security and performance
|
||||
Inspect malformed/batched envelopes, notification response behavior, integer limits/decimal representation, Unicode/escaped IDs, header duplicate/overflow, premature EOF, broken pipes/output flush and nesting scanner safety. Confirm tests are not tautological-only and actually exercise executable fragmentation/immediate response.
|
||||
Future boundaries: metadata execution authority; complete declared-context guarded rename without filesystem-atomic claims; debug memory/admission/watchdog/disconnect limits and position-scoped handles. Do not expand bootstrap into a sandbox or full semantic server.
|
||||
|
||||
## 10. Acceptance criteria
|
||||
1. Severity-ranked reproducible findings with exact location/trigger/impact/correction; distinguish hypotheses from established defects.
|
||||
2. Verify all selected user features remain in plans and implementation advertises only lifecycle.
|
||||
3. Review actual test assertions and counts, not only CTest green/red summary.
|
||||
4. State known JSON prerequisite independently of new findings; no final VERIFIED verdict while required tests fail.
|
||||
5. Return targeted validation/re-review scope for fixes and any material residual risk.
|
||||
|
||||
## 11. Verification commands and evidence
|
||||
Cwd /home/faumaray/Projects/VoidLanguageServer.
|
||||
Root observed default pinned configure: dev cpp-gcc -c cmake -S . -B build/bootstrap -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON =>exit0, clone exact9931c5f, GCC16.2/reflection pass.
|
||||
Root observed dev cpp-gcc -c cmake --build build/bootstrap --parallel2 (actual invocation uses separate '--parallel','2') =>exit0.
|
||||
Root observed dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure =>exit8,3/4 suites pass, only vls_json_capabilities fails (four bodies). Unit21 and process8 plus registration pass.
|
||||
Worker observed same local override build/test outcomes in build/worker; total33 bodies,29pass/4fail. Worker scoped format/whitespace/install/version checks pass, root has not independently repeated all.
|
||||
Root documentation check:27 numbered plans, each~350-420 words and all6 required sections; local markdown links0 errors.
|
||||
You may run focused existing test binaries or crafted subprocess probes with deadlines; record actual exits. No need to rebuild full dependencies for unchanged code.
|
||||
|
||||
## 12. Constraints and stop conditions
|
||||
No dependency fixes or competing JSON parser. Treat missing upstream revision as explicit blocked final acceptance, not a reason to hide or disable tests. Do not infer model routing, tests or distribution approval from role labels. Stop on unowned writes/secret risk; return precise evidence. Keep review bounded to actionable integrated defects and requirements.
|
||||
|
||||
## 13. Authorization and decisions
|
||||
User requested implementation of the approved first milestone. Prior READY preflight applies to contracts only; this fresh reviewer must independently inspect code. All roles configured XHigh; spawn metadata does not verify model runtime. No merge/release/push requested or authorized. Task persisted, linted and root semantically checked.
|
||||
|
||||
## 14. Return format
|
||||
T-REVIEW-001; verdict for independent scope and full acceptance; severity-ranked findings; acceptance evidence/gaps; exact commands/cwd/results; files changed none; checks not run and residual risks. Do not spawn or message the user.
|
||||
@@ -0,0 +1,125 @@
|
||||
# Focused re-review of lifecycle and numeric-ID corrections
|
||||
Task ID: T-REVIEW-002
|
||||
Role: astra_reviewer
|
||||
Status: READY
|
||||
|
||||
## 1. Context and baseline
|
||||
Repository/cwd /home/faumaray/Projects/VoidLanguageServer; branch main, unborn HEAD,
|
||||
no stage/commit/remote. Source and documentation are NEW relative to the initial
|
||||
empty source repository. This continues your independent T-REVIEW-001 review.
|
||||
Root owns the corrected files; Sol has released ownership and is closed.
|
||||
VoidLibrary fetched/tested HEAD is still9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5.
|
||||
D-021 follows main, without a commit pin. User confirms decimals are not implemented.
|
||||
|
||||
## 2. Objective and deliverables
|
||||
Re-review corrections to your two P2 findings and the current evidence/status
|
||||
documents. Return separate verdicts for independent shell/docs behavior and final
|
||||
JSON acceptance. Check actual source and tests, not only this report. Full
|
||||
acceptance remains blocked by the known upstream JSON prerequisite.
|
||||
|
||||
## 3. Scope and non-goals
|
||||
Focus on unmatched response handling, numeric ID expectations/adapter, regression
|
||||
tests, registration and documentation status. Prior full review of18 source files
|
||||
and27 plans remains relevant; no need to repeat unrelated work without new evidence.
|
||||
No compiler/VBS/debug implementation, upstream changes or general redesign.
|
||||
|
||||
## 4. Files to inspect
|
||||
Original contracts: docs/agent-workflow/tasks/T-001.md and T-REVIEW-001.md;
|
||||
docs/agent-workflow/APPROVED_PLAN.md and PREFLIGHT.md.
|
||||
Changed source: src/Json.cpp, src/Server.cpp, tests/LifecycleTests.cpp,
|
||||
tests/ProcessTests.cpp, tests/JsonCapabilities.cpp, tests/Registration.cmake.
|
||||
Context: include/vls/Json.hpp, include/vls/Server.hpp, tests/TestSupport.hpp.
|
||||
Changed policy/status: CMakeLists.txt, cmake/VoidDependency.cmake, README.md,
|
||||
docs/DEPENDENCIES.md, docs/roadmap/02-lsp-protocol-lifecycle.md,
|
||||
docs/agent-workflow/{STATE,TASKS,VERIFICATION,DECISIONS}.md.
|
||||
Snapshot: build/review/integrated-r2.patch and manifest-r2.tsv; initial snapshot
|
||||
predates D-021 and corrections. Current files are authoritative.
|
||||
|
||||
## 5. Write ownership and coordination
|
||||
Write scope: none
|
||||
Read-only shared checkout. Root keeps source stable during review, may update
|
||||
verification/status records. No sibling/global/generated config edits, staging,
|
||||
commit, push, reset, stash, clean, branch switch or Serena project switch.
|
||||
Use bounded scratch artifacts only under your own /tmp or ignored build/review.
|
||||
Do not spawn agents or communicate with the user.
|
||||
|
||||
## 6. Implementation or investigation approach
|
||||
Inspect exact correction and affected contracts, then run focused existing tests
|
||||
or bounded executable probes to distinguish remaining defects. Initial correction:
|
||||
classify valid incoming success/error responses before request-ID validation;
|
||||
ignore unmatched responses (including null IDs) without state changes; preserve
|
||||
InvalidRequest for request/response hybrids. Added unit and process regressions.
|
||||
ID correction: signed32-bit value semantics; generic integral/floating visitor
|
||||
checks finite/integral/in-range before narrowing; strings preserved, bool rejected.
|
||||
Capability expectations now accept1.0/1e0 and limits, reject fractions/out-of-range.
|
||||
Current upstream has no floating variant, so runtime decimal behavior is unverified.
|
||||
Do not infer future upstream API guarantees from the generic visitor.
|
||||
Coverage for these files was not_tracked; check coverage as required, then inspect
|
||||
direct source. Graph project is home-faumaray-Projects-VoidLanguageServer; do not
|
||||
reindex or select any sibling project.
|
||||
|
||||
## 7. Interfaces and data contracts
|
||||
Existing Server::handle returns optional response/exit_code; lifecycle states remain
|
||||
awaiting_initialize/running/shutdown. Valid responses yield neither field and do not
|
||||
advance state. Requests still require a method and signed32-bit integer/string ID.
|
||||
JSON remains Void::Json::Strict::Value, parse_json adds UTF8/depth validation only;
|
||||
no competing decimal parser. String/integer ID output remains exact. Signed32-bit
|
||||
boundaries and decimal/exponent spellings must be evaluated as numeric values
|
||||
without a lossy unchecked conversion. New upstream representation must be inspected
|
||||
and tested before accepting the JSON gate.
|
||||
|
||||
## 8. Dependencies and integration
|
||||
Root integrates findings. No active source worker. Full JSON gate waits for upstream
|
||||
main; no pin, xfail or substitute parser. First P2 response fix should be independently
|
||||
acceptable now; numeric expectation correction is assessable now, numeric runtime
|
||||
support remains an upstream integration requirement. State/TASKS/VERIFICATION now
|
||||
record actual observed runs; the stale-status observation from the first review
|
||||
should be checked against current files.
|
||||
|
||||
## 9. Edge cases security and performance
|
||||
Check before-init/running/shutdown response silence, null/string/numeric response IDs,
|
||||
success versus error shape, request/response hybrids, no reply loops, lifecycle
|
||||
order and stdout framing. Check signed bounds, negative zero, fractions, exponent
|
||||
forms, nonfinite guards and bool exclusion. Subprocess checks have2s bounds and CTest
|
||||
outer timeouts. No new public listener, execution authority or semantic capabilities.
|
||||
|
||||
## 10. Acceptance criteria
|
||||
1. Disposition for each original P2 with source/test evidence and any residual defect.
|
||||
2. Verify22 unit and9 subprocess cases, registration and real executable assertions.
|
||||
3. Verify six normal failing JSON capability bodies express correct future behavior.
|
||||
4. Keep final acceptance blocked until actual upstream decimal integration passes.
|
||||
5. Report any additional actionable defect with severity, location, trigger, impact,
|
||||
expected/actual result and smallest meaningful correction/check.
|
||||
|
||||
## 11. Verification commands and evidence
|
||||
Cwd /home/faumaray/Projects/VoidLanguageServer.
|
||||
Root ran dev cpp-gcc -c cmake --build build/bootstrap --parallel 2 and same for
|
||||
build/local: both exit0 after corrections.
|
||||
Root ran dev cpp-gcc -c ctest --test-dir build/bootstrap --output-on-failure and
|
||||
same for build/local: both exit8;3/4 CTest entries pass;22unit+9process pass and
|
||||
6capability bodies fail. Current logs: build/{bootstrap,local}/Testing/Temporary/LastTest.log.
|
||||
Root ran dev cpp -c clang-format -i on the five changed C++ files: exit0.
|
||||
Root repeated git ls-remote https://git.faumaray.com/Void/VoidLibrary.git refs/heads/main:
|
||||
exit0, still9931c5f. Your focused commands may use build/bootstrap/tests/vls_unit_tests
|
||||
--no-color --filter '^LifecycleTests.unmatched_responses_do_not_reply_or_change_lifecycle$'
|
||||
and build/bootstrap/tests/vls_process_tests --no-color --filter
|
||||
'^ProcessTests.unmatched_peer_responses_do_not_create_reply_loops$'.
|
||||
No full rebuild needed unless actual evidence contradicts source/binaries.
|
||||
|
||||
## 12. Constraints and stop conditions
|
||||
Do not modify dependencies, write an alternative parser, disable failing tests or
|
||||
claim complete shell acceptance. Escalate unowned writes/secret exposure; do not
|
||||
scan secret-bearing sibling directories. No fake model/runtime verification.
|
||||
After two unsuccessful repair cycles, root must rediagnose with astra_implementer;
|
||||
these are the first corrections to each original finding.
|
||||
|
||||
## 13. Authorization and decisions
|
||||
User approved the initial milestone and later following VoidLibrary main. No merge,
|
||||
release or remote action is requested. This is a focused continuation of the fresh
|
||||
independent integrated review, by its original read-only reviewer. Root will lint
|
||||
this full task contract and send it verbatim before dispatch.
|
||||
|
||||
## 14. Return format
|
||||
T-REVIEW-002; verdict for independent scope and full acceptance; disposition of both
|
||||
P2s; remaining severity-ranked findings; exact commands/cwd/results; files changed
|
||||
none; unrun checks and residual risks. Do not spawn children or message the user.
|
||||
Reference in new issue
Block a user