100%

Author the 4 .scm query families + populate the graph

Goal

Author the hand-written decls/calls/imports/impls query families for Odin (no official tags.scm, same path zig/haskell/swift took), validate the matrix, extract + import, and confirm the parse error rate and symbol/CALLS counts clear the bar so /query-intel similar --repo odin returns real prior art.

Implementation Sketch

  • Author queries/odin/{decls,calls,imports,impls}.scm: proc/struct/enum/union decls, call expressions (bare + method), string-literal import refs; impls.scm an empty stub if Odin has no explicit impl blocks (Go/C++ precedent).
  • Run validate-parsers.py --matrix (language x family x condition) clean.
  • Run extract_symbols.py odin + import_code_graph.py; record odin symbol + CALLS counts and the measured parse error rate (target < 0.10).

Work Items

  • Author decls/calls/imports/impls .scm for Odin syntax.
  • validate-parsers —matrix clean for odin.
  • Extract + import; odin parse error rate < 0.10, symbols > 0.

Acceptance

  • Odin parse error rate is below the full-coverage bar (probe python3 intel_repo/scripts/validate-parsers.py --full --repo odin, comparator lower-is-better, expected 0.10).

Fresh intel (regenerated)

{ “schema_version”: 1, “target”: { “kind”: “plan-section”, “ref”: “odin-competitive/s-6f708166” }, “generated_at”: “2026-06-25T18:02:03.841189+00:00”, “graph_state”: { “head_sha”: “b74d6b9a”, “last_code_import_at”: “2026-06-25T17:58:49.957Z”, “embedding_stale”: false, “insights_stale”: false, “cpg_stale”: false }, “surfaces”: {}, “summary”: “intel-package[plan-section:odin-competitive/s-6f708166] agent-authored dossier”, “degraded”: false, “dossier”: { “objective_symbols”: [], “tiers”: {}, “agent_authored”: true, “difficulty”: { “class”: “routine”, “research_online”: false, “research_mode”: “auto”, “signals”: [], “plan_dir”: “/home/eric/projects/ori_lang/plans/odin-competitive” } } }

(full dossier: query-families—s-6f708166.intel.json)