Skip to content

Preserve captured multi-statement SQL readbacks - #150

Open
dfrysinger wants to merge 1 commit into
dfrysinger/echo-autopilot-replayfrom
dfrysinger/echo-task-snapshot-recovery
Open

dfrysinger wants to merge 1 commit into
dfrysinger/echo-autopilot-replayfrom
dfrysinger/echo-task-snapshot-recovery

Conversation

@dfrysinger

Copy link
Copy Markdown
Owner

Accept nonempty historical SQL readback lists without imposing an arbitrary four-call requirement. A captured call can contain multiple read-only statements; validate their combined row count while preserving its original query and expected output.

Use SQLite's statement-completeness check so semicolons inside string literals do not split statements. Keep the existing read-only authorizer active for every statement.

Eight focused snapshot tests pass, including later-statement mutation/attachment rejection, malformed SQL and row-count mismatches. The existing native continuation route also verified a five-table snapshot, both exact multi-statement readbacks, real file/shell/SQL work, native completion and cleanup. Both independent source reviews completed without findings.

This is an importer repair and infrastructure proof, not a historical behavioral reproduction or skill-effectiveness claim. Targets the dependent native-autopilot source branch; no merge, release or installation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cf89240b-a65d-414a-9123-5c1dc9c40c7d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant