commit
ca04975d54
62 files changed
+3381
No files matched your search
@@ -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