diff --git a/docs/agent-workflow/TASKS.md b/docs/agent-workflow/TASKS.md index 72f2b92..8653ec0 100644 --- a/docs/agent-workflow/TASKS.md +++ b/docs/agent-workflow/TASKS.md @@ -176,11 +176,11 @@ specs' observed baselines (D-035); not separately scheduled. | VL-TOML-01 | P1 | Qualify `Data/Toml` limits for dotted keys/table paths/inline tables; API change only with reproducer | PLANNED | | VL-LUA-01 | P2 | Sandboxed Lua runtime (allocation/step budgets, no ambient IO) | PLANNED (backend decision needed) | | VL-STORE-01 | P2 | Native Storage conformance support for Forge | PLANNED | -| VL-SQLITE-01 | P2 (non-blocking) | Structural SQLite primary/extended result codes (distinguish UNIQUE/CONSTRAINT vs BUSY/LOCKED) instead of message-only (`Sqlite/Types.hpp`, `Sqlite.cpp`) | PLANNED | -| VL-SQLITE-02 | P2 (non-blocking) | Documented `Unknown` commit outcome for failed COMMIT under WAL I/O error (like `Storage` `Outcome::Unknown`) | PLANNED | -| VL-SEC-01 | P2 (non-blocking) | Public CSPRNG bytes API (e.g. `Security::random_bytes(std::span)`) | PLANNED | -| VL-SQLITE-03 | P3 (non-blocking) | Per-connection, phase-targetable `ScopedFaultGuard` (incl. "COMMIT succeeded but reported failure") | PLANNED | -| VL-SQLITE-04 | P3 (non-blocking) | Per-call busy-timeout override | PLANNED | +| VL-SQLITE-01 | P2 (non-blocking) | Structural SQLite primary/extended result codes (distinguish UNIQUE/CONSTRAINT vs BUSY/LOCKED) instead of message-only (`Sqlite/Types.hpp`, `Sqlite.cpp`) | VERIFIED (`0e8ee18`, merged `797ea63`): native primary/extended codes carried in `Error::system_code()` with a SQLite error category and `sqlite_native_code()` accessor | +| VL-SQLITE-02 | P2 (non-blocking) | Documented `Unknown` commit outcome for failed COMMIT under WAL I/O error (like `Storage` `Outcome::Unknown`) | VERIFIED (`7eaa96f`, merged `103523f`): `TransactionState::Unknown` for unprovable COMMIT outcomes, Active retained when SQLite leaves the transaction open, stale commit/rollback rejected | +| VL-SEC-01 | P2 (non-blocking) | Public CSPRNG bytes API (e.g. `Security::random_bytes(std::span)`) | VERIFIED (`54d143b`, merged `a29c947`): `Security::random_bytes` fills from libsodium, wipes on fault, empty buffer is a no-op | +| VL-SQLITE-03 | P3 (non-blocking) | Per-connection, phase-targetable `ScopedFaultGuard` (incl. "COMMIT succeeded but reported failure") | VERIFIED (`3b1ef4b`, merged `2532485`): `FaultConfig::connection` and `FaultPhase` targeting prepare/step/exec/commit/checkpoint/close, isolation and phase-mismatch tests | +| VL-SQLITE-04 | P3 (non-blocking) | Per-call busy-timeout override | VERIFIED (`7e5cf73`, merged `a1308a4`): scoped `BusyTimeoutOverride` with exact nested restore and negative-timeout rejection | | VL-NET-W01 | P2 (hygiene) | `src/Net/HttpServer.cpp:1797,1871` ignore `read()`/`write()` results (`-Wunused-result` under consumer flags, likely `_FORTIFY_SOURCE`); VoidLibrary's own `-Werror` build at `38436b1` passes | PLANNED | | VL-SQLITE-05 | P2 (non-blocking) | Write admission and `wal_checkpoint_recommended` use on-disk `-wal` size, which passive checkpoints never shrink, so `begin(Immediate)` stays `overloaded`; admit on un-checkpointed frames or truncate on admission failure (`Sqlite.cpp` ~:417-423, :1756-1762, :1918-1923) | PLANNED | | VL-SQLITE-06 | P2 (non-blocking) | `Statement::step`/`exec` do not detect SQLite automatic rollback (FULL/IOERR/NOMEM/BUSY/INTERRUPT) via `sqlite3_get_autocommit`, so `Transaction` stays `Active` and later statements run in autocommit (`Sqlite.cpp` ~:884-910) | PLANNED |