You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 722e7fe
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: ai-database-sql.plan.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,9 @@ no reliable cheaper-tier correctness/routing evidence is available in this run.
27
27
| TASK-AISQL-012A; Accepted ADR-054 integration repair | models worker; Client/Features/BlobStorage/BlobClient.cs and NEW UnitTests/Features/BlobStorage/BlobSdkArgumentTests.cs only; root owns Send access join | 012,006,009 | Tests-first public null guards, source-compatible feature extension methods, same transport/IDs; root review + exact build/RF3 |
28
28
| TASK-AISQL-012B; Accepted ADR-054 integration repair | gates worker; QueryCandidateReader.cs only | 008,009 | Remove depth4 nesting without new allocations/semantic changes; existing25 real-store regression cases + exact build |
29
29
| TASK-AISQL-018; root static scenario review | models worker; RelationalSchemaTests.cs only | 002,004,009 | Ensure schema-change fixture is independently valid (retain indexed name column), then assert exact UnsupportedCapability and unchanged persisted schema; malformed-index validation remains separately tested. No production precedence change or assertion weakening |
30
+
| TASK-AISQL-023; existing AC-RC-003/AC014 contract before code | gates worker; RecoveryTests.cs RunSeededCrashTrialAsync call placement only | 014,009 | Receipt immediately after successful real atomic/durable assertions inside originaltry before mandatorycleanup, same15slinkedtoken/20x50trials/4slots; existingcatch capturesreceiptfailureidentity, no newtimeout/skip/looserassertion; exact3OSrecovery+1000receiptsperOS join |
31
+
| TASK-AISQL-020; Accepted ADR-036/AC013 refinement before code | SQL worker; GrainReplyFactory.cs, RequestGrain.cs, DatabaseReadGrain.cs, CommandPartitionGrain.cs and new GrainReplyCancellationTests.cs only | 013,011,009 | Genuine caller-token cancellation tests first, sole classifier and3 actual token joins; preserve domain errors, command unknown outcomes, current closed-category logging/privacy and unchanged retry assertions; root reviews and exact-SHA complete gates join |
32
+
| TASK-AISQL-019; exact formatter diagnostics | root; SqlRf3DeliveryTests.cs and OrleansRpcFailureTests.cs only | 006,011,009 | Split object initializer members and explicitly qualify the one native messaging exception to remove conflicting import ordering; no semantic/test changes; exact-SHA formatter join |
30
33
| TASK-AISQL-015; exact UnitTests compiler diagnostics | models worker; RelationalLinkageTests.cs, RelationalTestData.cs and RelationalRowTests.cs only | 002–004,009 | Correct actual ordered TUnit collection comparison and cache CompositeFormat without altering exact raw decimal fixtures or assertions; exact-SHA compiler/units join |
31
34
| TASK-AISQL-016; exact UnitTests compiler diagnostics | SQL worker; OrleansRpcFailureTests.cs, SqlOperationBudgetTests.cs and SqlOperationCompilerTests.cs only | 005,007,011,009 | Await native CancelAsync before cancellation assertions and remove imports proven redundant by actual compiler; same errors and test coverage, no suppression |
32
35
| TASK-AISQL-014; exact RF3 compiler diagnostics | gates worker; SqlRf3AdmissionTests.cs only, root owns static scenario member | 004,007,009 | Isolate existing per-node using/await-using ownership in VerifyNodeAsync outside fixture try/finally/loop analysis; start caller deadline after separately bounded fixture readiness; preserve all3 real-node assertions, same-ID control progress and schema/linkage contracts; no suppression/test weakening |
Root source review found the schema-migration test removed the indexed name column while retaining its index. ValidateResource correctly rejects that malformed schema before checking migration. TASK-AISQL-018 changes only the intended valid changed-schema fixture and proves it validates independently; migration refusal and unchanged original persisted schema must remain exact. CI3a744d19a is already running, so its observed result remains authoritative and the repaired fixture needs a later exact-SHA run.
184
187
185
188
TASK-AISQL-017 independent review is complete/clean for all11 original compiler diagnostics. TASK-AISQL-018 is source-complete and root-reviewed: valid nullable Name change with preserved indexes, explicit schema validity, exact migration refusal and byte-for-byte persisted-resource equality. GitHub execution remains required.
189
+
190
+
Candidatec3eeb2b7a512f31e3489cef44b6127d9d280e836 / [37070513242](https://github.com/managedcode/KeyLoad/actions/runs/37070513242) includes reviewed TASK-AISQL-018 and is queued behind3a744d19a. The3a candidate has passed Linux/macOS solution builds, analyzer-rule tests and IntegrationTests compilation; RF3 runtime/formatter/remaining verification are in progress. These partial successes do not qualify the complete stage.
191
+
192
+
Candidate3a744d19a / run37070004864 Ubuntu job111047630094 passed full build and real process recovery136/136 with no skips. Formatter failed on SqlRf3DeliveryTests95/96 two same-line initializer members and OrleansRpcFailureTests import order. Units/scalar units were skipped after format failure, so they are not qualified. TASK-AISQL-019 source fixes only those exact diagnostics; full gates must repeat.
193
+
194
+
Actual3a744d19a RF3 artifact SHA matches. Job111047630080 passed59/60, no skips; all14 new SQL/relational scenarios passed. Existing retained-replica catch-up failed17.976sec with server Cancelled detail, not SDK write timeout. Required accepted retry errors are unchanged. Investigate caller-token vs internal native read cancellation distinction; initial-RPC source correction does not by itself prove the original cause. Receipt: docs/implementation/ai-sql-qualification-37070004864.json.
195
+
196
+
TASK-AISQL-020 approved before implementation: server-sourced Cancelled in retained-replica test exposes read OCE classification without incoming-token context. SDK write transport mapping is already correct. Per-fixture failure names can overwrite prior tails, so exact causal phase remains unproven; concurrent diagnostic work is preserved. No native-helper expansion, SDK workaround or broader election retry acceptance.
197
+
198
+
Run37070004864 completed failure: complete three-OS builds/analyzer-rules pass, known formatter failures; Linux process recovery136/136, macOS recovery passes pendingcount, Windows recoveryfails under read-only audit. RF359/60 all14newpass; comparisonsfail under audit. Supersededc3eeb2b7a run37070513242 cancelled because parent formatter/cancellation defects remain and reviewed repairs must be qualified together; cancellation/unfinished jobs never count as passing.
199
+
200
+
TASK-AISQL-021 read-only audit complete: Windows135/136, failurebatch7/seed1708 at evidence.WriteLineAsync aftersuccessfulatomicassertions and cleanup. The actualdeadline source/trial remainunproven. TASK-AISQL-023 accepts existing Receipt-before-Cleanup contract correction only; no storage/dependency fault is inferred or hidden.
201
+
202
+
TASK-AISQL-022 completed read-only retained-artifact audit: comparison reports bind exact3a; smoke96cases46measured48unsupported2failed (KeyLoadStreamAppend native adapter defaultReadEventAsync),552measuredsamples succeeded, TimeSeries20attempts+20correctnesspass but both publicAspiretestsWaiting/noCreation/Health. Job2/4passing/no skips. Committedcomparisoncaller/compositionunchangedfrombaseline; concurrentowningworkpreserved. No SQL-specific performance claim or passing comparison gate.
203
+
204
+
TASK-AISQL-020/023 source artifacts are complete and root-reviewed; independent gates review is clean. Source corrections preserve every domain error, actual actor token, unknown command outcome, native diagnostics privacy, original crash trial bound/receipt fields/cleanup and unchanged RF3 retry expectations. TASK-AISQL-019 exact formatter source repair joined. No complete runtime gate is inferred; new exact-SHA CI and1000 native crash receipts perOS remain required.
Copy file name to clipboardExpand all lines: docs/Features/StorageRecovery.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -219,3 +219,20 @@ alone proves no historical recovery, power-loss guarantee or performance gain.
219
219
ProcessDurable та QuorumProcessDurable описують перевірений declared process failure model історичного коду; `LocalDurable`/`QuorumDurable`, power-loss і endurance не приймаються із process-kill source/test names. Full ACK barrier — [ADR-003](../ADR/ADR-003-durability-ack-barrier.md); committed read views — [ADR-004](../ADR/ADR-004-committed-read-views.md); versioned keyspace — [ADR-005](../ADR/ADR-005-canonical-keyspace-codec.md); backup/log retention — [ADR-008](../ADR/ADR-008-backup-log-retention.md), [BackupRestore](BackupRestore.md).
220
220
221
221
Current-code journal/compaction/checkpoints і in-progress scoped visitor ремонти не є proof нового delivered SHA. Все source/recovery evidence кваліфікується тільки в GitHub TUnit, actual child-process recovery і RF3 suites. Future maintenance автоматизація, широкі upgrades та power-loss gates залишаються explicit pending. Provider/container composition — один owner; нові helper/test scopes не міняють format без ADR contract.
222
+
223
+
### Seeded receipt lifetime correction
224
+
225
+
REQ-STORAGE-014 / AC-RC-003 also maps AC-AISQL-014 and TASK-AISQL-023. Exact
226
+
run37070004864 Windows job111047630131 passed135/136, no skips; batch7/seed1708
227
+
cancelled during receipt write after atomic assertions and cleanup completed.
228
+
The log cannot identify the trial, deadline source or storage damage. Move the
229
+
unchanged receipt into the original trial try immediately after atomic/durable
230
+
assertions, matching the Receipt-before-Cleanup diagram above. Keep original15s
231
+
linked token, all20x50 faults/trials, actual four-slot ownership and unconditional
232
+
cleanup. The existing catch then retains seed/trial/stage for receipt failures;
233
+
any cleanup failure still fails qualification. Owner: gates worker, RecoveryTests.cs
0 commit comments