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