Fix audit finding F02: comparison contract schema and query generator mismatch.
Recorded from user approval of implementation plan in conversation 78d87a8b-d52c-4b44-b8f5-077656700b95. The user request explicitly authorized autonomous execution.
src/data2dsl_contract_v0/comparison.schema.jsonsource.kind enum from ["markdown", "github"] to include all 10
adapter source kinds: code2logic, code2schema, curllm, planfile,
deta, intent_contract, oql, sumd.location oneOf from 2 variants to 3:
markdown-lines, yaml-lines, json-lines (shared shape)github-page (unchanged)oql-scenario, oql-telemetry-log, sumd-document,
sumd-missing (new, with optional scenario_id)src/data2dsl_generator.pymetric.version from "1.0.0" to "v1" (contract pattern ^v[1-9][0-9]*$)._EQUALITY_MAP for deriving contract-valid equality from value_kind."exact" and "set-exact" with "integer-exact",
"string-set-exact" etc.window_start/window_end parameters for explicit control.tests/test_generator.pyv1 version and contract-valid equality.test_generate_query_template_float and _string for coverage.test_generate_query_template_dynamic_window and _explicit_window.test_generate_query_template_right_source_defaults verifying all
right sources are in VALID_SOURCE_KINDS.test_generated_query_passes_contract_validation — the key acceptance
test: every adapter × value_kind combination’s generated query is validated
against the full contract schema.test_legacy_exact_equality_mapped for backward compatibility.