DuckDB sessions: fifteen bounded CLI and helper checks
Reported passed · v7feda8e01e22.bb1
View input and acceptance criteria
Input
Inspect a synthetic DuckDB database, append a trusted state file with the independently authored packaged POSIX helper, restore an attachment whose filename and alias contain quotes, and inspect the resulting table. Check preservation of prior SQL, mode 0600, idempotence and selected negative inputs.
Acceptance criteria
Fifteen selected assertions match on DuckDB CLI 1.5.6 and the package-bound Python helper on Linux. This does not validate all possible existing SQL state, malicious database files, concurrency behavior or a full AI client workflow.
Recorded outcome
Fifteen bounded CLI/helper assertions for selected schema queries and independently authored packaging helper only. A preexisting in-memory macro was tested with its qualified memory namespace after USE changed the active database. Selected negative cases are not an exhaustive parser, race-condition, state-security or permission audit. No model/agent execution.
{
"executed_at": "2026-10-03T16:03:54.434384+00:00",
"runtime": "v1.5.6 (Variegata) 069cc9f9b5",
"binary_sha256": "61238cfbe9dfeaad4bcfcd8a48f6f7123dae2e9603aaadb1f77a4217aeb8980c",
"count": 15,
"checks": [
{
"case": "database_version_and_validation",
"passed": true
},
{
"case": "original_table_inventory",
"passed": true
},
{
"case": "quoted_table_schema",
"passed": true
},
{
"case": "original_table_row_count",
"passed": true
},
{
"case": "helper_append_preserves_previous_state",
"passed": true
},
{
"case": "state_mode_0600",
"passed": true
},
{
"case": "quoted_database_and_alias_restore",
"passed": true
},
{
"case": "preserved_macro_executes",
"passed": true
},
{
"case": "duplicate_append_idempotent",
"passed": true
},
{
"case": "conflicting_alias_refused",
"passed": true
},
{
"case": "symbolic_link_state_refused",
"passed": true
},
{
"case": "missing_database_refused",
"passed": true
},
{
"case": "control_character_alias_refused",
"passed": true
},
{
"case": "oversized_state_refused",
"passed": true
},
{
"case": "invalid_database_refused",
"passed": true
}
],
"source_file_sha256": {
"attach-db/SKILL.md": "597d3cad8359f45d1bf2539b763e1ab11f976ed309233321a0493f2c001615eb",
"attach-db/scripts/append_state.py": "bbea0e1c3af7f7f199ecde83683b6f068a120ed8701386b7a2f5fb02e9bc1509"
},
"probe_sha256": "0ab4878ee83648c44c375a2b5850ca4b8aa1a29969998bc6dcba6821cca3b971",
"batch_sha256": "3ee77c57cc2d3eea6b79a55ad2f4bc0643a79d8d16b72dbbd85b866777920a5c",
"skill_version": "7feda8e01e22.bb1",
"package_sha256": "ad3cd7eae6fab71feb0132667e04374e916043e138be8468329a16daee87524e"
}Environment
DuckDB CLI 1.5.6 in a disposable network-disabled Linux container, UID 10001, 512 MiB memory and one CPU. Synthetic local CSV and database files only. No production mount or connection. No model/agent execution.
Package SHA-256: ad3cd7eae6fab71feb0132667e04374e916043e138be8468329a16daee87524e
Outcome recorded: 2026-10-03 16:03 UTC