Skip to content

πŸ—ΊοΈ Roadmap: priorities from multi-repo dogfooding (#170–#178)Β #179

Description

@zaebee

πŸ—ΊοΈ cgis roadmap β€” distilled from real-world dogfooding (2026-06-11)

This consolidates the 9 issues filed after running cgis on 4 repos of deliberately different topology, so the work is grounded in observed failure modes, not speculation.

Dogfooding corpus

Repo Topology What it stressed
Ownima backend layered, package-per-domain real cross-module import cycles; IDOR via impact analysis
httpx flat, one-file-per-concern intra-module cycle artifacts; pattern mislabeling
click dynamic CLI, src/ layout high unresolved; silent zero-match; "shapeless" modules
sqlalchemy large, deeply-nested scale; multi-level domains; quotient layer (in progress)

P0 β€” without these, drift can't be adopted / trusted

P1 β€” correctness & signal quality

P2 β€” turn the graph into a linter / agent substrate

P3 β€” operational ergonomics


Suggested sequencing

  1. Add cgis init-ontology: auto-propose patterns.yaml from measured graphΒ #174 + cgis_drift: zero-match / no-signal domains report 'clean' instead of 'empty' (silent mis-targeted ontology passes green)Β #178 together (authoring + safety) β€” makes drift usable & trustworthy for newcomers.
  2. cycle_ratio: split import-cycles (real smell) from intra-module call-cycles (benign); flat repos give false criticalsΒ #176 + cgis_drift: hygiene-gate breaches (cycles) should force critical; per-domain tolerance vs global max_drift precedenceΒ #170 β€” make the gate correct across topologies.
  3. cgis_drift: report fit-quality (nearest-template residual) + domain coverage; surface 'no template fits'Β #177 β€” self-reported completeness.
  4. trace_flow / analyze_impact: add JSON output (real FQNs) for agent/CI useΒ #171 β†’ Add reachability/coverage audit primitive (authz coverage, layering, validation gaps)Β #172 / Add cgis_find_symbol (partial name β†’ FQN); error on zero-match FQNΒ #173 β€” agent/linter substrate (JSON first, it unblocks the rest).
  5. Incremental / auto ingest: keep graph.db fresh without manual re-ingestΒ #175 β€” ergonomics for the distributed forms.

Cross-refs: #170 #171 #172 #173 #174 #175 #176 #177 #178

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions