The repository is a single Maven reactor rooted at the graphitron-rewrite-parent parent pom (10-SNAPSHOT). Fourteen modules cover the generator, its inputs, its consumers, the reusable runtime surface, the tooling that wraps both ends, and the documentation site. The roadmap-tool check-module-enumeration step fails the build if this table stops naming a module the root pom declares, so the set below cannot fall behind the reactor:
| Module | Purpose |
|---|---|
|
The fact tier: the DDL that defines the generator’s fact base, the jOOQ compile-time surface generated from it, the in-memory H2 bootstrap a run captures into, and capture itself, which reads the consumer’s three sources (their GraphQL schema, their jOOQ-generated database classes, their compiled Java) and writes down what it found. Builds before the core, so editing the DDL fails javac in every consumer that touched the changed relation and the core cannot reach back into the tier that feeds it. It also holds the defect fix guidance, one AsciiDoc fragment per code that the store gathers beside the codes, and the renderer the docs build runs to publish the defects reference from them, so the page and the store it reads cannot drift. |
|
The Java functions the fact store’s SQL calls, bound by |
|
The generator core: the classifier, the validator, the planners and every emitter. Reads facts and writes none. |
|
Builds the test database and runs jOOQ codegen against it. |
|
Packages those generated jOOQ classes as a jar that downstream tests depend on: the fixture catalog, every schema of the Sakila-inspired database in a sub-package each, and the single-schema fixture beside it in the root-package layout. |
|
|
|
Maven plugin: |
|
End-to-end consumer: compiles emitted Java against a real jOOQ catalog, executes it against Postgres, and serves a runnable Quarkus + JAX-RS reference application from the same module. |
|
Editor LSP server for |
|
MCP server embedded in the |
|
Reusable, spec-conformant GraphQL-over-HTTP serving library (vendor-neutral Jakarta REST + CDI) over a Graphitron schema: the |
|
Regenerates |
|
Packaging |
graphitron-tree-sitter-natives sits alongside these as a plain subdirectory (not a reactor module); it packages the tree_sitter_graphql grammar and libtree-sitter runtime the LSP loads at startup.
Per-module READMEs are deliberately not maintained, with one exception: graphitron-sakila-example/README.md is the consumer-facing "copy this" recipe that the root README and the quick-start send readers to, and its relative links are build-enforced by ReadmeLinkIntegrityTest in that module’s test suite. For everything else this table is the orientation surface, and lives next to the architecture pages so it stays in sync with the pipeline they describe.