Skip to content

feat(codeatlas): embed CodeAtlas architecture map; replace graphify - #9

Open
Mullassery wants to merge 1 commit into
mainfrom
codeatlas/architecture-map
Open

Mullassery wants to merge 1 commit into
mainfrom
codeatlas/architecture-map

Conversation

@Mullassery

Copy link
Copy Markdown
Owner

Summary

Replaces the optional Graphify integration with an embedded CodeAtlas architecture map.

  • tools/graphify/ + .graphifyignore removed.
  • tools/codeatlas/codeatlas_adapter.py — single integration point; embeds the codeatlas_rs engine in process (no external CLI, no network, no API key) and exposes a stable JSON-on-stdout interface: check, build, query, explain, affected, god-nodes, path, diagnose.
  • codeatlas.json + generated docs/codeatlas/ — deterministic components / relations / symbols map.
  • .github/workflows/codeatlas.yml — refreshes the map on main (installs codeatlas-rs / codeatlas-bundle from PyPI; no Rust toolchain needed).
  • Opt-in architecture extra (codeatlas-rs>=0.3.0); nothing here is required to build, test, or run the project.
  • tests/test_codeatlas_adapter.py (skips itself when the engine is absent, so the default suite stays dependency-free).

Why

Same command surface as the previous Graphify adapter (check / build / query / explain / affected / god-nodes / diagnose), now backed by an embedded, deterministic engine rather than an external CLI. Coding agents can answer structural questions from the map instead of scanning every file, keeping context small.

Notes

  • Rollback is safe: revert this branch/PR; the engine stays optional.
  • Generated with codeatlas-rs 0.3.0 (codeatlas-bundle build).

Replace the optional Graphify integration (tools/graphify + .graphifyignore)
with an embedded CodeAtlas map:
- tools/codeatlas/codeatlas_adapter.py: in-process codeatlas_rs backend exposing
  a stable JSON interface (check/build/query/explain/affected/god-nodes/path/diagnose)
- codeatlas.json + docs/codeatlas/: deterministic component/relation map
- .github/workflows/codeatlas.yml: regenerates the map on main (installs from PyPI)
- opt-in 'architecture' extra (codeatlas-rs>=0.3.0)
- tests/test_codeatlas_adapter.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant