Walking skeleton — one Odin symbol queryable end-to-end
Goal
Prove the whole Odin->graph pipeline with the thinnest vertical slice before the full query-family + reference-repo build: Odin source present, a minimal repos.yaml + languages.yaml + a single decls.scm, extract + import, and at least one Odin symbol returned by /query-intel.
Implementation Sketch
- Shallow-clone Odin to
~/projects/reference_repos/lang_repos/odin(source only). - Add a MINIMAL
odin:stub tointel_repo/repos.yaml(include:core/) andintel_repo/languages.yaml(grammartree-sitter-odin, ext.odin, families[decls]). - Author a single
intel_repo/queries/odin/decls.scmcapturing top-levelprocdeclarations as@definition.function. - Run
extract_symbols.py odin+import_code_graph.py; confirmscripts/intel-query.sh file-symbols <one .odin file> --repo odinreturns >=1 symbol.
Work Items
- Shallow-clone Odin into the reference-repos tree (source only).
- Minimal repos.yaml + languages.yaml odin stub (decls-only).
- Single decls.scm capturing top-level proc declarations.
- Extract + import; one Odin symbol returned by /query-intel.
Acceptance
- Walking skeleton returns >=1 Odin symbol via /query-intel (probe
scripts/intel-query.sh file-symbols core/fmt/fmt.odin --repo odin, comparator higher-is-better, expected1).
Fresh intel (regenerated)
{ “schema_version”: 1, “target”: { “kind”: “plan-section”, “ref”: “odin-competitive/s-bb77ee26” }, “generated_at”: “2026-06-25T16:04:12.357343+00:00”, “graph_state”: { “head_sha”: “b74d6b9a”, “last_code_import_at”: “2026-06-25T16:00:50.85Z”, “embedding_stale”: false, “insights_stale”: false, “cpg_stale”: false }, “surfaces”: {}, “summary”: “intel-package[plan-section:odin-competitive/s-bb77ee26] 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: walking-skeleton—s-bb77ee26.intel.json)