meta-ast Documentation
This directory contains the implementation-facing technical documentation for
meta-ast.
The structure is intentionally traceable: specs -> architecture -> structure -> ADRs -> roadmap -> validation artifacts, so design decisions are easy to trace back to requirements and forward to tests.
Document map
ARCHITECTURE.md- system architecture, component boundaries, runtime flow, output formats, and themetacall-deployfeature layer.STRUCTURE.md- code structure, data structures, design patterns, module layout, and implementation order.DEPLOY.md- MetaCall deploy manifests: scanner, pod partitioning, mesh annotation.DEV_CRATE_DECISIONS.md- crate selection rationale and trade-offs.CI_CD.md- CI/CD architecture and quality gates.ROADMAP.md- phase-aligned implementation milestones and measurable exit gates.BENCHMARKS.md- criterion benchmark results for pipeline, graph, and incremental.DEMO.md- recorded CLI walkthroughs (GIFs) aligned to the delivered artifacts.FINAL_REPORT.md- GSoC 2026 completion report.
Specs
specs/requirements.md- normative requirements and acceptance criteria.specs/graph-model.md- symbol graph and datagraph contracts, includinglanguage_id, project-root-relativepath,snapshot_id,file_id,visibility, andDataNodesemantics.specs/symbol-extraction.md- language-pack extraction contracts.specs/traceability.md- mapping from deliverables to implementation/docs/tests.
Architecture Decision Records (ADRs)
adr/0001-stateful-import-resolver.md- Stateful import resolver trait seamadr/0002-scope-resolution-heuristics.md- Scope resolution heuristicsadr/0003-unresolved-import-policy.md- Unresolved import handling policyadr/0004-global-scope-synthetic-symbols.md- Global scope synthetic symbol generation
Requests for Comments (RFCs)
rfcs/0001-language-loading-model.md- Language loading modelrfcs/0002-error-semantics-and-recovery.md- Error semantics and recoveryrfcs/0003-incremental-parsing-strategy.md- Incremental parsing strategyrfcs/0004-graph-representation-and-scc.md- Graph representation and SCCrfcs/0005-output-contract-policy.md- Output contract policyrfcs/0006-type-inference-scope.md- Type inference scoperfcs/0007-dgraph-integration-scope.md- Dgraph integration scoperfcs/0008-graph-module.md- Graph module designrfcs/0009-cross-file-dependency-mapping.md- Cross-file dependency mappingrfcs/0010-deploy-manifests.md- MetaCall deploy manifests (superseded by the pod model)rfcs/0011-metacall-client-api-support.md- MetaCall client call support:metacall()and the full invocation surfacerfcs/0012-polyglot-lsp-server.md- Polyglot LSP Server proposal: architecture, protocol, and deployment
Scope policy
- MVP (must ship): symbol extraction, dependency graph + SCC/Deployment Unit analysis, cross-platform CI.
metacall-deployfeature: Cross-Language Call Site detection, Deploy Manifest generation, Root Manifest assembly, Mesh Annotation from SCC.- Stretch: intra-procedural dataflow beyond simple def-use, live Dgraph sink, advanced cross-language type matching, expanded language support.
Update policy
When implementation changes any public contract (schema, CLI behavior, graph semantics, language support), update the corresponding file in this directory in the same pull request.