{ "schema_version": 1, "instance_id": "database-sqlc-4585", "kind": "native_contract", "network": "bridge", "repeat_count": 3, "required_regression_worlds": [ "all_buggy", "all_fixed" ], "test_files": [ { "path": "tests/native/public-source-preparation-r1/fixtures/compiler/crossrepo_duckdb_contract_test.go", "sha256": "80b692dccce74a6fc1a71e44e836a92707fecd3616bf75e9c6de2af399b4d0bb", "bytes": 4390, "kind": "native_test_material", "source_sha256": "80b692dccce74a6fc1a71e44e836a92707fecd3616bf75e9c6de2af399b4d0bb" }, { "path": "tests/native/public-source-preparation-r1/fixtures/compiler/selector_test.go", "sha256": "527ae3ae6b116a81a09d09d5ededb30d3e9de05d13e24cfb1c6168aaf8b748d6", "bytes": 1344, "kind": "native_test_material", "source_sha256": "527ae3ae6b116a81a09d09d5ededb30d3e9de05d13e24cfb1c6168aaf8b748d6" }, { "path": "tests/native/public-source-preparation-r1/fixtures/darkwing/crossrepo_duckdb_contract_test.go", "sha256": "3042f402c013a0c349a103708f6a0844f0d780c1c19946ddf1b55723acba3fb0", "bytes": 2971, "kind": "native_test_material", "source_sha256": "3042f402c013a0c349a103708f6a0844f0d780c1c19946ddf1b55723acba3fb0" } ], "specifications": [ { "source_sha256": "a8ae8a28cbbae3fec9f969c0461fbd8cccea578e8bb0a492bdf64e7570932615", "specification": { "expected_native_events": { "compiler": [ "TestCrossRepoSQLCDuckDBCollation", "TestCrossRepoSQLCDuckDBSourceDiagnostics", "TestCrossRepoSQLCDuckDBAnalyze", "TestCrossRepoSQLCExistingEngines", "TestSelector" ], "darkwing": [ "TestCrossRepoDarkwingQuotedCollation", "TestCrossRepoDarkwingSourceDiagnostics", "TestCrossRepoDarkwingExistingDDLAndDML" ] }, "fixture_package_paths": { "compiler": "github.com/sqlc-dev/sqlc/internal/compiler", "darkwing": "github.com/sqlc-dev/darkwing/parser" }, "instance_id": "e43d75ef2173" } } ], "source_record_commands": [ { "repository": "sqlc", "container_path": "/testbed/sqlc-dev/sqlc", "setup_command": "DW=/repos/sqlc-dev/darkwing; [ -d \"$DW\" ] || DW=/testbed/sqlc-dev/darkwing; go mod edit -replace=github.com/sqlc-dev/darkwing=$DW; go mod download", "environment": { "GOTOOLCHAIN": "local" }, "test_cwd": null, "evaluation_setup_command": "go mod edit -replace=github.com/sqlc-dev/darkwing=/testbed/sqlc-dev/darkwing; go mod download", "evaluation_setup_cwd": null, "evaluation_setup_order": 10, "evaluation_ready_command": null, "evaluation_teardown_command": null, "evaluation_config": null, "fail_to_pass": "go test ./internal/engine/duckdb -run '^TestCrossRepoDuckDBCollateContract$' -count=1", "pass_to_pass": "go test ./internal/compiler -run '^TestSelector$' -count=1" }, { "repository": "darkwing", "container_path": "/testbed/sqlc-dev/darkwing", "setup_command": "go mod download", "environment": { "GOTOOLCHAIN": "local" }, "test_cwd": null, "evaluation_setup_command": "go mod download", "evaluation_setup_cwd": null, "evaluation_setup_order": 0, "evaluation_ready_command": null, "evaluation_teardown_command": null, "evaluation_config": null, "fail_to_pass": "go test ./parser -run '^TestCrossRepoCollateStringContract$' -count=1", "pass_to_pass": "go test ./parser -run '^(Test(Parse|Corpus)|TestCreate|TestInsert|TestUpdate|TestDelete)' -count=1" } ], "execution_policy": { "test_patches": "Apply in listed order after candidate patches, in an isolated evaluator workspace.", "commands": "Complete source setup in setup_order, then evaluator setup in evaluation_setup_order, ready checks, pass_to_pass and fail_to_pass commands; teardown in reverse evaluator setup order.", "world_placeholder": "A world labels the prepared source state for both regression and behavior commands: all_buggy for base, all_fixed for gold, candidate for submitted patches.", "success": "All required behavioral and regression tests pass; infrastructure failures are not behavioral outcomes.", "isolation": "The agent receives base sources and statement only; evaluation and reference materials remain outside its workspace." }, "availability": { "test_materials": "included", "portable_environment": "pending", "dependencies": "Some commands require external toolchains or dependency assets; complete portable recipes are a follow-up release." } }