1
0
Fork 0
Code Issues Pull requests Projects Releases 2 Packages Wiki Activity Actions Pages

Enforce strict Pyright gate

This commit is contained in:
Andraxion 2026-07-24 22:26:01 -04:00
parent 90898cfd63
commit 2841042b9c
16 changed files with 214 additions and 77 deletions

View file

@ -1,5 +1,20 @@
# Completed slices
## DFG-15 strict static typing gate
### Changed
- Made the existing strict Pyright configuration resolve DocForge's `.venv` automatically.
- Converted validated TOML, JSON, subprocess, socket, MCP, render, and visualization boundaries
from unknown dynamic values into explicit checked types.
- Kept runtime validation and fail-closed behavior at every untrusted input boundary.
- Made strict `pyright` an explicit repository development gate.
### Verification
- Pyright reports zero errors, warnings, or informational diagnostics across all source modules.
- Ruff lint and formatting, Python compilation, all 52 warning-strict tests, and diff checks pass.
## DFG-14.1 detached viewer lifecycle correction
### Changed