ID |
|
|---|---|
Status |
In Progress |
Bucket |
architecture |
Priority |
1 |
Theme |
model-cleanup |
Created |
2026-08-28 |
Updated |
2026-11-12 |
Expensive derived reads are a modelling defect: every rule needs an owner, and once ownership is computed the derivation gatherer is unearned and meta_materialize has no subject
Goal
An expensive derived read is a modelling defect, so fix the shape and the cost goes with it. A read is dear because a fact is keyed by where it was written rather than by what it is, or because a family describes its corpus and affords nothing, or because a rule lives somewhere no instrument can see it. Reach for the shape first and the cost is not a thing to be managed.
The first consequence, and the one this item was filed for, was ownership. A registration is not a thing to be justified or retired one at a time; it is what a rule with no owner gets given, so that something somewhere refreshes it. Give every rule an owner and there is nothing left for a register to schedule. A rule reading one family’s facts moves into that family. A rule crossing families has an owner too, the gatherer that runs last, and that gatherer’s refresh plan is not a register; it is what every other gatherer already holds for its own family.
The crossing rules do not keep the register alive either, because the gatherer they would wait for is
not earned. No intent_ rule reads the configuration corpus, Java sources or the compiler, which are
three of the six dependencies the derivation gatherer declares. It was created to run last and
nothing it owns needed it to, so intent_ collapses into graphitron and meta_materialize loses
its subject rather than its justification.
When this lands, a contributor adding a derived relation picks a family and an owner, and there is no register to add a row to.
That consequence is delivered, and the thesis outlived it. This item said emptying the register
outright was not reachable. R955 reached it. meta_materialize is gone, no
registration is left and no _live view is left, so the thesis holds in full rather than in shape
only. The claim about which lever to reach for first also has a direct measurement behind it: the
workload’s worst reader was fixed by restating its rule, register untouched, every relation
returning identical rows.
What kept going under this number afterwards is the same thesis applied elsewhere: a directive application keyed five ways by site, a classpath family that described and afforded nothing, a chain resolution written as a loop no rule parser reaches, a classpath re-read once per graph. The graph below is rooted at the thesis for that reason, with ownership as its first branch.
A shape is not fixed while the old one still stands. Each of those arcs replaces a relation, and a replacement that leaves its predecessor in the schema has added a second producer of one fact rather than removed the first. Retiring what a new shape supersedes is therefore part of reaching this goal and not tidying afterwards: the read stays expensive for every consumer still on the old relation, and two producers of one fact can disagree with nothing comparing them, which is the defect this item is named for. A branch is done when what it replaced is gone.
The plan, as a Mikado graph
The goal is the root. A child is a prerequisite discovered by trying; a node is open when it can
be worked, blocked on the node it names, or done, and a branch heading says what holds when the
branch is done. A node is a claim, a status and at most two sentences. Whoever picks a node up
researches it then, in the code and in the history below, and grows the graph with what they find.
This graph was rebuilt from the one at 0721c28fb, which had grown past what could be kept
consistent. That version is the history, with the evidence, measurements and reasoning behind each
node: git show 0721c28fb:roadmap/derived-read-cost-is-a-shape-problem.md. Done work is not
restated here; the history and ## Retired vocabulary keep it.
Root: an expensive derived read is a modelling defect, so fix the shape rather than the cost.
Destination: a table-bound read is generated from the store alone, and so is a @service
field. A root fetcher’s query, its condition, order and page, and every <Type>.$project
projection unit below it are assembled by emitters that each own a jOOQ query over the store,
multiset for what nests, so neither the walk nor ServiceCatalog resolves anything for them. The
$project flip goes as soon as it can (Alf, 2026-11-13), and not in one pass (Alf, 2026-11-15):
whatever the store states whole flips first, piece by piece and censused as the service fields
were, unless keeping the walk working beside it costs too much. The filter conditions and the root
fetchers that call the units, @externalField included, flip the same way; it is also what makes
utdanningsregisteret generate again. Additive, flip, subtract; the critical path, by node title:
The walk's read path is gone
└── The projection units are rendered from the store
├── A projection unit is emitted from the store, censused
├── An argument binds the call parameter it supplies
├── The root query fetchers are emitted from the store, claimed by C
├── A child read inline is emitted from the store, claimed by E
│ ├── An inline list is emitted from the store in its stated or chosen order, claimed by E
│ └── A single child is looked up by its keys, claimed by E
├── A narrowed inline list is emitted from the store
├── A sort key's table element infers its key at the element
└── What an occurrence takes is a binding, claimed by C
Every other branch is a supporting track: worked when it unblocks this path, or when its own cost or a flip in flight below asks for it.
Flips in flight. Each place where an old and a new statement of one fact both run today, and the node that ends it. No node adds in an area with an open subtract here unless it is that subtract’s prerequisite, and a node that adds says which line it retires.
-
graphitron_ast_*_entryand the coordinate-keyedgraphitron_*_entry, both every capture. Ends at "Nographitron_*_entrysurvives, an entry being the transcription’s alone". -
graphitron_path_element_*beside the join path’s steps. Ends at "Nothing resolves a path but the walk". -
The code reference in the twins' columns beside
graphitron_ast_code_reference_entry. Ends at "The per-site copies and coordinate-keyed entries go". -
The walk’s
@conditionshape refusals besideCONDITION_OVERLOAD_SHAPE_DISAGREES. Ends at "The walk’s condition shape refusals go". -
The name-match join in
sql_name_matched_key_columnand inBuildContext.synthesizeNameMatchedJoin. Ends at "`sql_name_matched_key_column` is gone". -
Clear-and-recompute in
DerivationStratumand the assembly steps beside mark and sweep. Ends at "`DerivationStratum` is gone, each step anchored by its owner". -
A field’s departure table in the occurrence’s source and in
graphitron_result_table. Ends at "An object result is lifted onto a key row". -
A routine write’s refusals in the store’s codes and in the walk’s routine classification. Ends at "A routine write’s refusals are codes a stage writes".
-
The walk’s validator and
graphitron_entry_defect_site, both judging a schema. Ends at "`validate` reads its verdict from the store". -
The walk’s own schema beside the emitted one capture builds. Ends at "The generator builds no schema".
-
The walk’s untenanted acquisition reads the handed-down
ConnectionKeyin a build that accepts vouchers, beside the store’s stated connections (Alf, 2026-11-17: the walk’s untenanted arm reads theConnectionKey). Ends when the walk’s read path goes, at "`TypeFetcherGenerator` reads the store, one family of field at a time". -
FederationLinkComposerrewriting the linkgraphitron_federation_linkstates. Ends at "The generator builds no schema". -
The run’s configuration in the
store_graph_relations and onRunContext. Ends at "The generator reads its configuration from the store". -
OperationMemberRelationandDeliveryFactRelationbeside the leaf crosswalk. Ends at "Operation members and delivery are read from their relations alone". -
The type generators rendering the emitted schema’s forms while the variants carry their own. Ends at "The type and input generators read the emitted schema and the store".
-
The
utilpackage’s fixed classes written through the plan. Ends at "Theutilpackage’s fixed classes are not planned". -
FixedRuntimeEmitterreading the store fromrewrite.generators.schema, outsideemit, beside the renderers it calls. Ends at "The fixed classes' renderers move into `emit`". -
The position columns and the
code_typedictionary, both stating a signature’s parse. Ends at "`code_type` andcode_type_elementare gone". -
CodeCapturesweeping by instant beside the class-file sweep. Ends at "A single changed class re-reads only itself, swept at the class file". -
An argument’s or input field’s
@nodeIdroute in `NodeIdLeafResolver’s walk and in the store’s inferred and written paths. Ends at "The classifier reads its routes from the store, the @nodeId filter first". -
graphitron_nodeandNodeDeclaration.isNodeType, each saying what a node is, held to one set byNodeTypeShadowTest. Ends at "The shadow tests go with their walk side", the predicate’s readers going at "The classifier reads its routes from the store, the @nodeId filter first" and "The generator builds no schema". -
Walk derivations and their store replacements, pinned by the shadow tests. Ends at "The shadow tests go with their walk side".
-
The vocabulary listed twice, by the editor from
graphitron_directiveand by MCP fromgraphql_directive. Ends at "The MCP lists the composed vocabulary". -
SeededStoreand capture, both building test stores. Ends at "`SeededStore` is deleted". -
ProjectionCommandsandProjectionUnitRendererbeside the store-fed projection emitter, and the walk’s condition glue besideConditionEmitter, which nothing calls yet. Ends at "The projection units are rendered from the store", which moves the units, the conditions and the root fetchers, each as soon as the store states it whole.
Every rule has an owner, and the register has no subject open
Ownership leaves a register nothing to schedule, and meta_materialize, every registration and
every _live view are already gone. What is left is that every relation names its owner, so a new
relation cannot arrive without one.
-
Every relation has a
meta_relationrow naming its owner and its grainopen. Each relation listed inundeclared-relations.txtgets its row, or goes if nothing owns it. -
No relation can be added without an owner
blocked, on "Every relation has ameta_relationrow naming its owner and its grain".undeclared-relations.txtis deleted andMetaDeclarationGateTestrefuses any undeclared relation outright.
A fact is keyed by what it is, not by where it was written open
A fact keyed by where it was written has to be re-matched by every reader, and agrees only by luck. When this is done a directive application is identified by its position in the document, and a built-in directive means what graphql-java executes.
-
An occurrence’s shown coordinate marks its lists with
[]open. Where a coordinate is shown, a defect’s message, the editor’s hover, a fact document’s rendered output and the manual, each step that is a list carries[], one per list level:Query.films[],Film.details[].length(Alf, 2026-11-13;code-generation-triggers.adoc§ "The occurrence"). The key stays as it is, a field’s list depth being a fact of its declaration (graphitron_field.list_depth) that can change without the place changing. The marker reads other rows' list depth, so it is no generated column: the occurrence stage writes it as a column ofgraphitron_occurrence, or each surface renders it from the steps, one way for all of them. -
A redeclared
@skipor@includeloses to the specification, and says soopen. The anchor keeps the specification’s declaration for those two whatever a document says, and the discarded redeclaration is agraphql_schema_problemrow at its own position. -
An application is named by its coordinate, directive and ordinal
blocked, on the two below. Only theast_*_entryrelations key a fact by file, line and column; every other relation names an application, and what is written inside one, by names, keeping where it was written only for a defect to point at, since a stable key is what spares its readers churn.graphitron_directive_applicationis keyed so already. -
A code reference below its application is a subtype of the reference
open, E’s.graphitron_code_reference,graphitron_argmapping_site,_pair,_landing,_stepandgraphitron_call_context_keyare keyed by name: the element coordinate, the directive and its ordinal, the owner the reference was written under (service,path.0,fields.1,fields.1.path.0) and, for a pair, the parameter, the written position kept only for a defect. What is left is a subtype per owner below the application,PATH_ELEMENT,ORDER_FIELD,ORDER_FIELD_PATH, referencing what owns it: F’s path element for a path’s condition, the@orderfield’s ordinal for its method. -
The emitted applications number their own
open. A configured or minted application keeps an ordinal of its own, and the authored ones rank by position instead of copying one. -
The schema-file extensions are a set, keyed by the extension
open.store_graph_schema_extensionnumbers each accepted extension by an ordinal, but the extensions arrive as aSet(AbstractRewriteMojo.buildSchemaRecipe,RunContext), whose iteration order differs from one JVM to the next, so two captures of one configuration number the same extensions differently: on opptak, tilgangsstyring and sis the two rows swapped positions 0 and 1 between runs. The filter is a set, so the relation is keyed by graph and extension, the ordinal goes, and a reader that ordered by it orders by the extension. A capture twice over one configuration writes the same rows.
The classpath family affords what its readers ask open
code_ holds every fact its readers ask for, read from the classpath it is allowed to read, and the
census it replaced is gone.
-
A class’s supertypes are one code fact
open, E’s. What a class is, transitively, is the graph’s: each source states only the supertypes its class files declare (code_class_declared_supertype), and every question over them is answered per graph, since a source is shared by graphs on different classpaths (fact-model grain, Alf, 2026-11-12). First slice landed:code_graph_class.is_jooq_record, whichRESULT_SHAPES_CONFLICTandMEMBER_UNRESOLVEDread. Left:sql_table_record_supertypeand the node-id slot’s supertype checks move onto the edges, and the two below. -
Throwables are judged on the graph’s declared supertypes
open, E’s, off the critical path.code_throwableandcode_throwable_supertypeare decided at capture through the reading graph’s classpath into source-keyed rows, against fact-model’s grain ruling (Alf, 2026-11-12); they move graph-side overcode_class_declared_supertype, the@errorrules, the throwable slots and the language server’s throwable completions read graph keys, and `ClassAncestry’s capture-time fallback goes. -
Inherited members are offered by the graph’s declared supertypes
open, E’s, off the critical path.code_read_slot’s inherited members, which `CodeCapture.offeredByclimbs across entries at capture, are the same defect; they are derived per graph over the same edges. -
The client exception resolves through the code family, as a class the run is about to write
open, off the critical path.graphitron_error_handler_source_rulebuilds the class’s name from the output package, which is the emitter’s naming held in a rule (Alf, 2026-11-17: the model names no class the generator emits); the generating run hands its own classes to the code capture instead, so the handler resolves as any class does and the rule’s special case goes, which first needs a ruling on whether the code family may hold a class a run has not yet compiled, andscenarios/error-handler-client-exceptionpins what must not change. -
Whether a capture read a classpath is a stored fact, not inferred from code_class rows
open, off the critical path.graphitron_code_reference_entry_defect_ruleraises its class and method codes only where somecode_classrow hangs off one of the graph’s sources, so whether a classpath was read is inferred from what the reading happened to find;store_source.source_kindnames a directory or a jar entry but no kind says a graph’s classpath was read, so a capture handed no classpath, as graphitron’s inline test captures are, looks the same as one whose classpath held no class. The input fact is captured first, as the modeling discipline asks (capture, then derive), and the guard reads it. -
A graph’s
code_andsql_answers are a function of its own sources, whatever else the store holdsopen. A classpath entry or catalog source is shared by every graph that reads it, so what the store holds for it may depend on the source alone; of two entries declaring one class name, the first in the graph’s classpath wins, an order the store captures. Absorbs R1182: today a graph’s backings change with what was captured before it, and a graph read after another can be given a wrong backing. -
An entry is read alone
done. Each entry is read withreadEntry, so the store holds every copy of a class name;store_graph_dependency.positioncaptures the graph’s classpath order, and `graphitron_type_backing_rule’s slot hops and pass-through test take the first declaring entry. Nested slots are read for the names an entry’s own methods carry, so a nested class one entry names and only another declares is not read, accepted by Alf (2026-11-12) since reading it would write rows under an entry the reading did not open and cannot sweep. -
A graph’s visible class is one relation, read by every rule that resolves a name
done.code_graph_class, anchored by the code gatherer’sgraph-classesstage on every capture, holds the entry each of a graph’s class names resolves to; the type-backing rule, code reference resolution, the path-element method, scalar class, session handle, occurrence condition, built class and producer result rules, and the entry-defect arms that count candidates read it. It stays incode_though keyed by graph (Alf, 2026-11-12);FactSchemaGateTestadmits it by name. -
The editor and the MCP resolve a class name as the generator does
done. Every LSP class reader and the MCP’sSchemaQueriesandCodeQueriesread throughcode_graph_class, the member readers byStoreHandle.resolves; completions offer each visible name once. -
A catalog source is read alone
open. The reading is sound: every capture reads each catalog whole with no store-wide skip, and nothing in it depends on the order sources are read in. What is not: -
A graph’s catalog claims are dropped when it stops claiming them
done. Each pass drops the graph’sJOOQ_SCHEMAmemberships it did not claim, all of them when it names no package; an unclaimed source keeps its rows, as a schema file’s does. -
A catalog source is the entry its classes were read from, not its package name
done. A source is named by the classpath entry the loader finds the catalog’sDefaultCatalogin, then the schema package;sql_schemacarries the schema and catalog packages, so no reader takes a name apart. Two builds of one package are two sources, one build two graphs read is one, and a catalog only a transitive entry holds is no graph’s. Entry plus package first (Alf, 2026-11-13): one build reachable at two paths is stored twice, and keying by content instead is the refinement if that turns out common. A capture handed no classpath still takes the loader’s entry; only tests do that, and the node below removes it. -
Every read of
sql_tableby record class goes through the graph’s sourcesdone. The key-row and result-shape defect arms and the emitters'BuildQueryandNodeIdDecodeQuerycatalog reads join the graph’s sources; every othersql_tableread already did. -
A record class belongs to one table, the base table before a function returning its rows
open, E’s, high priority: it crashes a capture. jOOQ generates a table-valued function returningSETOF twitht’s own record class, so `sql_tableholds two rows for that class, the base table and theFUNCTIONrow. Seven rule views (graphitron_call_parameter_table_rule,graphitron_occurrence_binding_member_rule, the lift and lift-candidate rules, the producer entry defect rule,graphitron_field_handed_record_rule, the source-claim object member rule) and about a dozen emitter and editor readers join onrecord_class_fqnwith no preference, so each answers twice for that class: a@servicetaking the record fails the capture with a primary-key violation ingraphitron_occurrence_call_parameter, found when aSETOF film_endorsementfixture beside a service takingFilmEndorsementRecordbroke every capture of the sakila corpus. The base-table preference the producer result rule takes for a routine’s record is this fact spelled inside one rule, and moves onto it. The fix is one stored fact, the table a record class belongs to per graph, the base table preferred over aFUNCTIONrow, written where the catalog is read and joined by every reader in place ofsql_table.record_class_fqn, not ten patched joins (A, 2026-11-24). Ends with a fixture function returningSETOFa table whose record a@servicetakes, captured beside it. FS today (fs-private at 946fc4aa20, read only): no liveSETOF-of-table function; opptak’s one,plukk_neste_plasstildeling() RETURNS SETOF plasstildeling(V311), was dropped in V313, while opptak’s services takePlasstildelingRecord, so the shape has reached FS once and would have crashed its capture. -
sql_table_record_supertypeis never swept and is filled through the reading graph’s classpath, so it holds the union of every reader’s: ends with "A class’s supertypes are one code fact".NameMatchedKeysmatches functions against every catalog in the store: ends with "`sql_name_matched_key_column` is gone". A table with no schema takes the empty source name, and a foreign key to a table outside the pass guesses its source from the declaring table: both minor, fixed where those lines are next touched. -
What a class is by its supertypes is derived per graph
blocked, on "A class’s supertypes are one code fact". Throwable, lifter, enum and parameter role are classified throughClassAncestryover the reading graph’s classpath and written into shared rows, so the first graph’s answer is everyone’s. -
The test population shares stores across classpaths and catalogs
blocked, on "What a class is by its supertypes is derived per graph".FactGraphsshards by name alone, the library fixtures are distinct classes compiled with and without-parameters, graphitron-model’s heap pin goes, and a document’scode_claims read through its graph’s entries rather than additively. Every capture in the harness passes a classpath, the seven graphitron pipeline runs that pass none among them, and the catalog capture’s empty-classpath branch is deleted. -
A source declaration is read through the graph’s own source roots
open. The editor’sjava_readers (DeclarationFacts’ class, field and method declarations) match a class by name alone, so a store holding two source roots that declare one class answers a hover or a goto from either; they read through the graph’s source roots as the `code_readers read throughcode_graph_class.
A resolution keeps what a diagnostic needs open
Every entry defect the store reports agrees with what the generator accepts, so an author is never shown an error on a schema that generates, and validate can then fail on them.
-
A condition method over untyped tables resolves
open. A condition-only element whose method takesTable<?>steps from where the walk stands, as the generator calls it. -
sis draws no entry defect the generator accepts
open. Of the 34 sis drew, the 5OUTCOME_FIELD_NON_NULLwere ours and are fixed; the 19NODE_ID_TYPE_NAME_NOT_NODEname federation stubs sis writes@node(resolvable: false)once graphitron reads it, the 8COLUMN_UNRESOLVEDon a nesting type’s deprecatedid: ID!, keys a legacy split query needed, stay refused, the generator now refusing them too, and are sis’s to fix by dropping the fields (fs-plattform MR 6639), and the 2NODE_ID_LANDS_ON_TABLEare fs-plattform MR 6636 (Alf, 2026-11-07). -
An unknown
$sessionmember’s defect states what the handle offersopen. A detail relation under the defect holds one row per member the handle offers, asgraphitron_entry_defect_tableholdsTABLE_AMBIGUOUS’s candidates, and the build’s message reads it instead of querying `graphitron_session_handle_memberwhen it renders. -
An unresolved path element’s defect names the element
open.ELEMENT_UNRESOLVEDcarries no detail, so@reference(path: [{key: "no_such_fk"}])is reported at the element without sayingno_such_fk; the path stage states the spelling the element wrote as the defect’s detail.
The path replaces the walk it was built to retire open
A field’s path is the join from its source table to its target table. When this is done one forward walk, starting from the source and reading each written element once, resolves every path at every grain into rows that say where each step comes from, where it goes and how it joins; the readings, resolutions and links built beside it are gone.
-
An inferred join follows the key the field’s cardinality allows
open. Where no path is written and two foreign keys join the tables, a list field follows the key its target holds and a single field the key its parent holds or a unique key on the target, soStore.occupants: [Occupant!]!takesstaff_store_id_fkeyand a manager fieldstore_manager_staff_id_fkey, and only two keys fitting one cardinality stayROUTE_AMBIGUOUS. The store’s route count, the path stage that writesgraphitron_join_path_stepand the walk’sBuildContext.parsePathapply it together, or the store and the walk disagree. -
A round of the walk steps only its newest layer
open. Each round re-reads the rule from every start and keys, columns and stops read it again after the fixpoint, about 9 rule evaluations per capture and 1.4 to 1.6 s on sis at load 5 to 13; a round that steps only the steps the last one added, and writes their keys, columns and stops as it goes, reads each step once. -
A broken or refused path is a defect at its position
open. A walk that stops, ends at the wrong table or has no source, an element naming nothing, and@referencebeside@referenceForor@referenceForon a non-abstract type each draw a code at their position. No source means neither a result table nor a key row starts the walk. -
Nothing resolves a path but the walk
open. The step hops andgraphitron_condition_method_routeare gone;graphitron_path_element_*goes last, and the@referencepage says a path is read from source to target only. Its readers move with it:graphitron_join_path_step_rule,graphitron_join_path_key_move_rule,graphitron_occurrence_producer_lift_ruleandgraphitron_occurrence_sort_key_hop_rule, which readsgraphitron_path_element_keyfor a sort key path’s written keys.Stepswrites the step family in Java, andgraphitron_join_path_step_parameter_pairwith it, where the@routineapplication’s ordinal is known; whoever moves `Steps’ writes into rule views takes the pair too. -
Every field has a path, the written one or the one discovery implies
open. Inference is stored as path rows; what is left is the editor’s omitted-@referencehint (InlayHints), which fills in from those rows rather than discovering for itself.
Arguments and input fields are resolved as fields are, from a target model open
Every path a schema states or implies is a row in the store, and a field left without one is a
defect at the field. A path belongs to an output field: its own path runs from the table of the type
it is declared on to the type it returns, one path per pair of tables from its two ends; an
argument’s path is anchored at the argument; an input field’s exists only per occurrence under an
output field; both start on a step of their field’s path, the one an author named with as:, or at
its landing. The rules are stated in "User documentation (first-client check): paths" below, the
relations in "Path model (draft)", and scenarios/path-rules asserts both. The intent_argmapping_ relations go with "The argMapping readers read the landing, and the candidate and match go". R1099, the
author-facing navigation over output fields and its $source, $path.<as> and $target, builds on
this branch rather than modelling inputs again. Taken up on 2026-10-31. The relations it has
retired, the argument step targets, graphitron_field_path with its methods and the field reference
step hops, were among the costliest statements the build planned, about 265 CPU-seconds of
preparation over a graphitron test phase (roadmap/audits/2026-11-02-where-the-build-spends-its-cpu.md).
-
A single-table implementer without its own
@tableis a defectopen. The manual requires an implementer of a@tableinterface to carry the same@table; without one it has nographitron_tabletyperow and its fields no source, and nothing says so. -
A connection is recognised by the specification’s shape
open. The Relay Cursor Connections specification states the shape: a connection hasedgesandpageInfoand may have more fields, an edge hasnodeandcursorand may have more, andPageInfohashasPreviousPage,hasNextPage,startCursorandendCursor;nodesandtotalCountare conventions graphitron adds and facets graphitron’s own. The shape is stated:graphitron_connection_positionis its vocabulary andgraphitron_field_positionthe position each field of a recognised connection, edge and page info fills, written at macro expansion; the producer rule’sCOUNTandFACETSarms read the position. The connection and edge rules keep their literaledgesandnode: read through the vocabulary the name is no constant to the planner, which then probesgraphitron_fieldby graph alone instead of seekinggraphitron_field_name_ix(measured on the sakila store’s plan). What is left is recognition itself. Today’s test,edgesto an OBJECT edge tonode, is narrower than the specification althoughgraphitron_connection’s rationale calls it the specification’s own; recognising the full shape changes what is recognised, so it goes with `asConnection.adocand Alf’s ruling. -
An authored connection type that departs from the shape is a defect
blocked, on "A connection is recognised by the specification’s shape". A type used as a connection that lacks a required field raises a defect at the type, and the manual states the refusal. What an extra field binds is the open question below. -
A connection’s
totalCountis a producer of its ownopen. It starts from the returning producer, whose path, conditions and argument values say how the result set was produced, and is counted by running that producer’s statement where graphitron selected it; it runs only when queried. -
A connection’s facets are a producer of their own
open. TheFACETSsibling oftotalCount, with the same start. -
A count or facets graphitron cannot run is a defect
open. Under a producer graphitron does not compose, a@serviceor an index-backed connection, atotalCountor facets raises a defect rather than generating nothing. No connection producer today is one: every page is built by graphitron’s own statements, so this lands with the first that is not. -
The participant askers read the occurrence’s source tables
open. Four field-keyed rules ask whether, or across which tables, a union or interface target is read per table-bound participant:graphitron_producer_rule’s `landing, the reader rule’s polymorphic arm, theORDERING_ACROSS_PARTICIPANTSarm andgraphitron_occurrence_producer_result_rule’s polymorphic flag (a fifth, `graphitron_field_scope_table’s `PARTICIPANT_TABLE, went with the scope-table chain). Each joinsgraphitron_tabletype(resolved) or the written@tablewith the type’s members; no relation of its own is owed, since that would restate stored facts at a grain that cannot hold a nested type bound per occurrence (Alf, 2026-11-12). Which tables an occurrence’s statement reads isgraphitron_occurrence_source_table; the askers move onto it as the field-keyed family dissolves, "whether it runs anything" reading the written claim and "which tables" the resolved binding. F’s "A polymorphic type’s members are stored" touches the same rules, so F is told before either moves one. -
A connection’s producer returns the connection, and its fields read it
open. A connection’s producer returns an instance of a class graphitron generates for the connection type, holding the page and closures over how the result set was produced, and each field of the connection, its edge and its page info is registered to read one member (Alf, 2026-11-11: generated code changes authorised, it simplifies the model and makes it more powerful; every field is wired,emitter-conventions.adoc§ Return types). The store states which position each field fills; the class names and members are the emitter’s.ConnectionHelper’s resolvers, the per-type fetcher delegates and the maps behind `pageInfoand facets go. The design, with the principles-architect: -
One class per connection type and one per edge type, not generic: graphql-java registers a fetcher per type and field, so what differs per producer (table, condition, ordering, the tenant’s
DSLContext, how a hit’snodeis fetched) is supplied by the producer as closures over the values it already bound, never as a type parameter or an argument bag. A page’s elements are jOOQ `Record`s, as the generated code holds them (Alf, 2026-11-12). -
A cursor is computed from the element and the ordering, a keyset position, never from the element’s index in the page. Cursor encoding and decoding, whose bytes the manual promises, and the batch-count memo stay as one small generated utility.
-
The template is a constant vocabulary of positions (
EDGES,NODES,PAGE_INFO,TOTAL_COUNT,FACETS,NODE,CURSORand the four page-info positions) and a relation at the field’s grain saying which position a field fills; the emitter maps a position to a member. The connection rows ofgraphitron_runtime_classandgraphitron_runtime_member,graphitron_occurrence_producer_result.runtime_kindandRESULT_EXPRESSIONgo; the earlier idea of binding positions to runtime members is withdrawn. -
The classes are written by an emitter reading the store, counted by
EmissionCensusTest; the plan layer’s connection units shrink rather than grow. -
PageInfois wired to the shared generatedutil.PageInfo, each specification field it declares registered to its member; the specification’s fields sit onGraphitronType.PageInfoTypeuntil "A connection is recognised by the specification’s shape" states them as positions, and the wiring’s leaf arms in the schema-shape planner and the registrations emitter leave with the connection units. A field an author adds toPageInfobeyond the specification is refused (Alf, 2026-11-11); the refusal is owed, with an existing code if one fits and the reference page that states it. -
The facets types are wired to
util.Facets, a record per facets type (one component per facet) and per facet value type (Object value,int count: a facet value type is shared by columns of different Java types). Rendered from a facets command row the plan fills from the store’s per-occurrence facets (ConnectionsQuery); the command row goes when a store-reading emitter writes the records. The per-connection facets delegate builds the record from the helper’s buckets, and its registrations arm, its schema-shape planner arm and its compile-graph edges leave with the connection units. -
ConnectionHelper.totalCount(env)is generated wiring, not consumer API:runtime-api.adocnames it only as an example of a helper using thegraphitronContext(env)shim, and no consumer calls it. Removing it changes nothing an author or consumer sees, so that commit is arefactor(Alf, 2026-11-12); theruntime-api.adocsentence is reworded to the closure’s count. -
totalCountand facets read the producer’s arguments: the count’s condition and each facet’s condition are the arguments bound (RootLauncherRenderer.facetBindings), built eagerly by the producer today whether or not they are selected (Alf, 2026-11-11). So the closure carries the producer’s bound arguments and builds those conditions when its count or facets member is read. An author’s own fields on a connection or an edge type, and whether they may read an argument, are left for later (Alf, 2026-11-11). -
PageInfois one generated class shared by every connection, and each facets type and facet value type has a generated class of its own (Alf, 2026-11-11;emitter-conventions.adoc§ Return types). -
Every page a producer builds carries its count. A union or interface field with no table-bound participant, which the polymorphic emitter answered with an empty page and no count, is refused as
FIELD_WITHOUT_FETCHERwherever graphitron would fetch it (Alf, 2026-11-12): the reader rule no longer reads it asNESTEDand the producer rule no longer splits it, and its defensive branches are generator invariants; an interface’s own@tabledoes not count, so one carrying it that no table-bound type implements is refused as well (Alf, 2026-11-12). The page a tenant-routed batched fetcher answers for a parent whose key cannot match counts 0 (Alf, 2026-11-12).FIELD_WITHOUT_FETCHERis stated indiagnostics-glossary.adocunder "Named structural errors" (Alf, 2026-11-12). The askers of "read per table-bound participant" are listed in "The participant askers read the occurrence’s source tables". "A connection is recognised by the specification’s shape" states the positions before the classes. -
The classes are written:
ConnectionsQueryreads each connection and edge type and the positions its fields fill, andConnectionsEmitterwritesConnections, a class per connection type and per edge type with a member for each position its type fills. A connection is built from its elements, whether a next or a previous page exists, the cursor function and, where its type fills them, a count and a facets function of the request; an edge from its element and the cursor function, since one edge type serves every connection paging through it. The page info and facets classes are named by the caller. No unit emits them yet, so no consumer sees them before the producers return them;ConnectionsEmitterTestcompiles and drives them overscenarios/connection-positions, and the emission census compiles the sakila example’s. -
The producers return the connection type’s class.
util.Connectionsis one global unit rendered from the store (no plan-layer row; one global unit for now, Alf 2026-11-12, at the cost of coarser dev-loop recompiles), and itsregisterwires every connection and edge field to its member, from the sameConnectionsQueryrow that gives the class its members. The five construction sites build the closures: the count is a function of the request that runs when read (Scopedover the table and condition, aBatchCountsslot for a batched page), a tenant- routed producer capturing its ownDSLContext; the facets function builds the facets record.ConnectionResult, the per-type connection fetchers,ConnectionHelper’s resolvers, the connection and edge registration arms and the store’s runtime class vocabulary (graphitron_runtime_class, `graphitron_runtime_member,runtime_kind) went. Arefactor:ConnectionHelperis generated wiring, not consumer API (Alf, 2026-11-12); it stays as the producers' utility (page request, cursor codec, page flags, count types, facet bucketing). Pinned by the execution tests and by direct calls of the generated code:PageFlagsTest,FacetBucketsExecutionTest,ConnectionProducersExecutionTestoverscenarios/connection-producers, andConnectionsEmitterTest’s `registercases. -
The producers read their connection class from the store, the arity decided once.
ConnectionsQuery.byFieldreads, per field returning a connection, the connection type (graphitron_field_target.wrapper_type_name) and the positions it fills; a producer passes a count function where the type fillsTOTAL_COUNTand a facets function where it fillsFACETS, the same positions that give the class its constructor, and a connection field with no row is a generator bug.LauncherCommands.producereads it once and carries it onLauncherRelation.connections(), the classified-model generators onTypeFetcherEmissionContext;command.ConnectionClass,LauncherCommands.connectionClassAtand the classifiedtotalCountprobe went. The truth table (synthesised, authored withouttotalCount, faceted, union, batched child, two connections sharing an edge) isscenarios/connection-classes, read byConnectionClassPipelineTest. The document claims the wrappers and the positions and the pipeline test the join; a field’s wrapper has the foreign key tographitron_connection. A connection type’s shape (its class, the positions it fills, its facets record’s components) is a fact of the type; what fillstotalCountandfacetsis a fact of the producing occurrence, since two fields returning one connection type can take different arguments and so run different count and facet queries: the shapes match but they are not the same (Alf, 2026-11-18). The@asFacetnode below stores it at that grain.ConnectionProducersExecutionTestcalls the generated root, batched and union producers directly overscenarios/connection-producers. The schema-free emitted- text tests of connection fetchers went, each named covering test recorded in the commit. -
What fills a connection is stated per producing occurrence, and the facet refusals are the store’s.
graphitron_occurrence_producer_connection(the CONNECTION subtype of the producer result, the shape pinned by its key) states the connection type each connection-producing occurrence builds and whether it fills a count and facets of its own, read from the count and facets producers under it, not from the type’s positions;graphitron_occurrence_producer_facetstates the facets it surfaces from its own filter arguments (Alf, 2026-11-18). This node absorbs R606 (Alf, 2026-11-13).ConnectionsQuery.byFieldcollapses them onto the declared field, failing where occurrences disagree; the facets records and the producers' facets closures read it, and the generator’s facet-plan throw and the batched producer’s null facets went. The store statesCONNECTION_FACETS_DISAGREE(producers of one connection type surfacing different facets: name, value type, nullability, position, the filter argument and column being each producer’s own; every producer flagged),FACETED_CONNECTION_UNSUPPORTED(the walk’s root-only refusal),FACET_SURFACED_NOWHERE(the walk’s "@asFacet has no effect") andCONNECTION_FACETS_FIELD_DECLARED(an authoredfacetsfield on a connection type no@asConnectionmints), each with adefects/document; afeat!, the declaredfacetsfield being a new refusal.SharedFacetedConnectionExecutionTestcalls two producers of one faceted connection type with different arguments and gets different counts and buckets. -
@asFacetbehind an authored connection typeblocked, on emitting the schema’s types and their registrations from the store.@asFacetdoes not need@asConnection, and using it hands the facets shape to graphitron, which mints the facets type and the connection type’sfacetsfield, an authored connection type included (Alf, 2026-11-13). The store can mint them, but the runtime schema-shape classes (SchemaShapePlanner) and the fetcher registrations are still built from the classified schema, where an authored connection’s structural arm has no facets; minting in the store alone would leave the type unwired, and extending the classifier grows what is retiring. Shipped without it (Alf, 2026-11-18);asFacet.adocsays authored connections do not gain facets yet. With it goesCONNECTION_FACETS_FIELD_DECLARED’s restriction to types no `@asConnectionmints. Until then an@asFacetfilter taken only by fields returning authored connection types isAUTHORED_CONNECTION_FACET_UNSUPPORTED, a deferral, notFACET_SURFACED_NOWHERE(Alf, 2026-11-18); the deferral goes with this node. Open from the former R606: where derived types live, and the derived stratum’s provenance; first-occurrence-wins dedup of a duplicate facet name stays the walk’s refusal, the store counting a facet reached before dedup. -
Every store defect has a reference entry
open. Defects moved into the store (graphitron_defect_type: a code, its severity, its basis,GRAPHITRONor theUNSUPPORTEDdeferral, its LSP code and its one-sentencestatement), but the author-facing reference did not follow:diagnostics-glossary.adocis organised around the classifier’s rejection kinds and names a few store codes by hand in "Named structural errors", and its drift guard (DiagnosticsDocCoverageTest) covers only the classifier’s enums, so a code lands with no entry and nothing fails. This belongs to this item because defects moved (Alf, 2026-11-19). Working plan (principles-architect, 2026-11-19): a defects reference page rendered at docs build time from a booted store, not checked in, asrender-schema-referencerenders the schema reference, one anchored entry per code from its row; hand-written fix guidance lives once, in an AsciiDoc fragment per code, which the model build gathers into the store beside the defect types, so the page, the LSP and the MCP serve the same guidance (Alf, 2026-11-19); a fragment is required for everyUNSUPPORTEDdeferral and written for aGRAPHITRONcode where its statement does not say how to fix it (Alf, 2026-11-19); "Named structural errors" moves into those fragments, per code. The build fails on a fragment naming a code the store does not declare, on a deferral with no fragment, on an empty set of defect types or a blank statement, and, throughcheck-adoc-xrefs, on a link to a code no longer declared. The glossary keeps the walk’s kinds until the walk goes, linking to the new page;defects-as-facts.adoc§ "Adding a defect" gains the fragment step. -
The runtime connection vocabulary goes
open.RESULT_EXPRESSIONandResultShape.Connectiongo, with the retirement sweep, as does the store answer’s carriage onLauncherRelationandTypeFetcherEmissionContextwhere the producer renderers read the store rather thanLauncherCommandrows. The facets records and the producers' facets closures read the store through the plan’s facets command; the facet plans' groupings and condition fragments are still built from the classifier’s facet specs (the next node).
What the connection thread found (2026-11-11, Alf with this session and the principles-architect).
The terms result set, page, cursor position and how the result set was produced (Alf’s
environment) are working terms for thinking, not rulings.
* graphitron_result models a connection badly and works by accident: it treats each wrapper as an
object flowing down through readers, and needs the carrier exclusion in its reader arm to stop
that object reaching the element. Each level has a source of its own instead, narrowing: the
connection, an element with its position, the element’s row.
* What a connection’s own fields beyond the specification need is what totalCount and facets
already use: the table and condition the result set was produced with. The specification allows
such fields on a connection and on an edge.
* Graphitron writing the query, cursor included, over rows of one table is an assumption, not the
model. Where a search index or a service produces the result set, the edge (a hit: key, type,
score, highlights) and the node (the entity) are two things, and node/nodes may be a lookup
producer lifted from the hit’s key, batched over the page, which may miss a row a stale index
still names. Where graphitron selected the rows, edge and node coincide and the lookup is free.
* totalCount and facets are facts about the result set; running the producer’s statement again is
how graphitron obtains them where it selected the result set, not what they are. A search engine
returns both in its response.
Open for Alf and Filip.
. Does the 2026-11-03 ruling that a source states its tables or class and never a pointer to the
occurrence it came from stand for a connection? The principles-architect recommends it does: the
connection and its edge are object sources of CONNECTION_RESULT and CONNECTION_EDGE, and how
the result set was produced is the producing occurrence’s own facts, reached through the
producer; a count or facets' start is then a fact between producers on
graphitron_occurrence_producer. The thread leaned towards a source that is the connection
itself, its result and how it was produced.
. Is a result set a fact of its own grain, one per producer and, for a child connection, per
parent key, or the producer’s result as the runtime reads it?
. Is a @service connection fused, the service handing back elements graphitron pages, or like an
index, handing back hits whose node is lifted? Who supplies the cursors?
. What do facets compute over today? Answered from the generated ConnectionHelper.facets: each
facet counts under the connection’s condition and every other facet’s predicate, not its own,
so facets read a variant of how the result set was produced rather than the result set. Still
to be pinned by a test before it is modelled.
. What does an author’s extra field on a connection or an edge bind to? Left for later (Alf,
2026-11-11).
. Does the hit being an edge reopen R427’s decision to keep search apart from connections? R427’s
question, recorded there.
* The occurrence source is written once per depth open, F’s. The writer recomputes its union of rule arms for each relation it writes, so graphitron_occurrence_source costs about 1.6 s and its two subtypes 0.55 s on sis, against 0.5 s for graphitron_occurrence over the same 10,394 occurrences; a depth’s rows written once, the supertype read off them, is the expected fix.
The rules re-derive what a type is, its table and its members, so the type grain is stated as
structure first (Alf, 2026-11-11): graphitron_type is the strict supertype, complete over the
schema’s types and written first after the anchor, and a table is a type, a node a table, each a
foreign key on type and kind.
* A table defect is owned by the stage that decides the table open, F’s. TABLE_AMBIGUOUS
and TABLE_UNRESOLVED move from entry-defects to table-types, which leaves an ambiguous
@table without a graphitron_tabletype row, so the missing row and its refusal sit in one place.
* A polymorphic type’s members are stored open, F’s. graphitron_type_member (container,
member), both keyed into graphitron_type by kind, replaces the graphql_poly_member view, and
the per-depth rules and graphitron_occurrence_producer_result_rule read graphitron_tabletype
and it in place of their type, member and NOT EXISTS combinations, priced by a quiet-machine
A/B on prepare_ms.
* A claim states only what its rule finds open, F’s. The rules are stated in
graphitron_occurrence_source_precedence and graphitron_path_need_precedence, the winner is
the claim of lowest priority and the stored source and need carry its rule; object no longer
restates record, nor argumentCopy argumentWrite. The exclusions left that read the
parent’s stored source are precedence only where the condition implies the higher rule’s whole
condition, its own exclusions included, so each is proved or kept as the rule’s own: record
and object refusing a parent whose source is an object (likely its own, objectMember
refusing record classes), writePayload and writePayloadMember refusing a parent with any
source, against the nested rules' own exclusions, and the argument need rules refusing a
parent with needs, against argumentCopy’s landing. Each departure accepted is shown by a fact
document. The nested rules' tests for a service claim and a record-returning `@externalField
wait on whether graphitron_field_handed_class covers every such parent, which is the same
check as whether it restates what graphitron_occurrence_producer_result holds for the
parent’s producer. Whether the two precedence relations become one keyed by claim family is
open for Alf and Filip.
* A target’s binding shape is stated once open, F’s. "The field writes a path" and "the
target binds no table and no member binds one" are spelled again in about ten claim rules;
stored once at field grain, in occurrence-source-claims, the rules become key joins, priced
by a quiet-machine A/B on the depth stage.
* Relations nobody reads go open, F’s.
A census of every relation’s readers, static over the main sources and at runtime over a full
build (roadmap/audits/2026-11-07-relations-nobody-reads.md), found 56 that no main code reads.
Each is checked by hand before it goes, its readers in the DDL included (a subtype’s foreign key,
a view or rule view naming it), since the census holds false leads.
Gone 2026-11-12, each rechecked on trunk first: intent_poly_member; the defect details
graphitron_entry_defect_method and graphitron_entry_defect_parameter, the parameter rule view
answering the defect rule itself; and the scope-table chain, graphitron_field_scope_table,
graphitron_argument_scope_table and graphitron_input_field_resolving_table with their rule
views, intent_field_navigated_type and their three DerivationStratum steps, which leaves
ClassificationDomainCapture the stratum’s only step.
* Capture written twice and read by neither copy goes open, F’s. The graphitron_ast_*
entries and the decode copies beside them that the audit’s second group lists, a family at a
time, each family’s fact shown to reach its readers another way or its reader named. The
@service, @externalField, @pivot, @defaultOrder and DATABASE handler decodes went
(2026-11-12), their applications standing in the graphql_ast_ entries.
* Each relation written ahead of its reader names it open. The audit’s third group, among
them graphitron_occurrence_source_object: the owner names the reader in the graph, or the
relation goes. graphitron_entry_defect_method went (2026-11-12), and graphitron_occurrence_parameter
went with E’s PARAMETER deletion.
graphitron_fetcher is read: graphitron_producer and graphitron_reader key into it as its
subtypes and graphitron_entry_defect_rule reads it, a reach a census of Java readers does not
see; it goes with them under "The producer’s readers read the occurrence producer, and the field-keyed family goes, claimed by B".
E’s, answered (2026-11-07): the key row is gone, its fill graphitron_occurrence_producer_lift
read by FrameQuery, RoutineWriteQuery, the sources, the key defects and the outbox, and by
"A split carries the target’s key where the source states it"; graphitron_occurrence_producer_write
by "A @mutation(table:) that disagrees with its return’s table is a defect" and by the write
producer’s readers under
"The producer’s readers read the occurrence producer, and the field-keyed family goes, claimed by B";
graphitron_fetcher goes under that same node, the fetcher being
derived off graphitron_occurrence_producer, which the frame’s query reads already.
graphitron_occurrence_source_object is F’s, the source being F’s.
* Settings and catalog facts nothing reads go open, F’s. The audit’s fourth group, among
them the store_graph_ settings and sql_table_record_supertype, each checked against the
generator’s configuration first. store_graph_lint_disabled_rule and
federation_version_directive_location went (2026-11-12), the generator reading its lint
settings off its configuration; store_graph_supergraph stays, the <supergraph> parameter’s
only copy and named as its reader by R643’s peer surface.
* A path is keyed per pair of tables blocked, on "A walked landing judges PATH_LANDING_UNKNOWN`".
Landed but for its child.
* A walked landing judges `PATH_LANDING_UNKNOWN open, F’s.
A scalar’s written path whose last element names no table is PATH_LANDING_UNKNOWN at its claim.
* scenarios/path-rules runs open. It runs as a scenario; the condition cases of the six
documents the draft below lists have not moved into it.
* The readers read the paths, and the old path relations go blocked, on "`scenarios/path-rules` runs".
The condition, lookup-key, node-id and argMapping readers move, and the relations
"Path model (draft)" lists as replaced go.
* The manual states the path rules blocked, on "The readers read the paths, and the old path relations go".
reference.adoc carries them; referenceFor.adoc, how-to/polymorphic-types.adoc and the
examples rendered from query files over scenarios/path-rules remain.
* Every defect code is stated on its reference page open. The rule is
docs/manual/reference/index.adoc’s, and no page under `docs/manual names LIST_OVER_ONE_VALUE,
MANY_KEYS_INTO_ONE, OUTCOME_IN_A_LIST, WRITE_RESULT_HOLDS_ONLY_KEYS, REREAD_OF_DELETED_ROWS,
CONNECTION_RETURN, WRITE_TABLES_DISAGREE, CONDITION_ON_WRITE_RESULT,
ARGMAPPING_PATH_UNRESOLVED, SCOPE_MEMBER_UNKNOWN, ARGMAPPING_SOURCE_MISFIT,
NODE_ID_LANDS_ON_TABLE, NODE_ID_LANDING_TYPE_DISAGREES, NODE_ID_KEY_ARITY_EXCEEDS_SLOT,
NODE_ID_MEMBER_NOT_NODE_TYPE or MUTATION_WITHOUT_VERB. mutation.adoc still advertises
UPSERT, which MUTATION_UPSERT refuses, and a nesting type’s id rule (a column unless the type
implements Node) is not on its page.
* Each node-id rule is an entry defect open. The store’s checks on @nodeId and
@referenceFor become codes in graphitron_defect_type and arms of graphitron_entry_defect_rule,
each row at the application’s written position, so the editor shows them beside the build:
* the participant set: a name no consumer’s participants carry, and a consumer returning a single
table, at the input-field and the argument site;
* a @referenceFor on a slot without @nodeId, which only the walk refuses today.
The slot and container rules are already entry defects, the `+NODE_ID_+` codes over `+graphitron_occurrence_node_id_slot+`, with the members a container defect names in `+graphitron_entry_defect_member+`, and the landing's are `+NODE_ID_LANDS_ON_TABLE+` and `+NODE_ID_LANDING_TYPE_DISAGREES+`, each branch judged on its own route. `+ReferenceForParticipantDefects+` reads the rows. The walk's copies of the same refusals go with them, so an author meets one error rather than two: the four container refusals in `+BuildContext+` and `+NodeIdLeafResolver+`, and the refusal of `+@referenceFor+` without `+@nodeId+` in `+BuildContext+` and `+FieldBuilder+`. Two cases are settled by fact documents on the way: a polymorphic id at a parameter bound through `+argMapping+`, which only the store may check, and the participant set's single-table message at the argument site, which has no test. * *The node-id rules read the path model, and a `+@referenceFor+` route's landing is checked* `+open+`. The landing and participant arms read the walk from the using field's target. Neither side checks where a `+@referenceFor+` route lands today; it becomes a landing arm here. `+NodeIdDecodeCoverage+` stays, comparing the census with the walk's ledger, until the walk goes.
A reference resolves where its directive is decoded open
A directive naming Java code or a routine is resolved once, by the graphitron anchor against the classpath and catalog, and every reader reads that resolution rather than a view of its own.
-
The walk’s condition shape refusals go
open.ServiceCatalog.admitConditionShaperefuses a@conditionset withAmbiguousMethodwhereCONDITION_OVERLOAD_SHAPE_DISAGREESalready says the same. A path step’s condition no longer folds declarations its callmethod(sourceAlias, targetAlias)cannot reach, which refusedagreeingOnBoth(Customer, Address)beside the same with aStringthough the store keeps the two-parameter declaration. -
The per-site copies and coordinate-keyed entries go
open. The twins lose their class, method and argMapping columns. -
sql_name_matched_key_columnis goneblocked, on the child below. WithNameMatchedKeys, andfact-model.adocstops citing it; the walk’s name-match step reads it today and moves too, and so doesgraphitron_join_path_step_to_one_rule’s arm answering a name-matched step to-one, which goes with it. Every step riding a key reads `sql_referential_constraint_reach, the to-one test stated once in the sql family (Alf, 2026-11-25);graphitron_occurrence_producer_lift_ruleasks which key identifies a lift, not whether a hop reaches one row, and is not its reader. -
A routine result’s name-matched pairs are written where a join asks for them
open. By the anchor, keyed to the element or the routine write and to bothsql_columnrows, read by the walk’s step rule andRoutineWriteQuery. -
A scalar routine is a path element that lands on a value
blocked, on the children below. A scalar function reads at a root or projects in its parent’s statement. jOOQ’s routine model and what the store takes from it are inroadmap/audits/2026-10-22-jooq-routine-model.md. -
A routine is enriched by the database construct behind it
open. Thesql_family states each routine jOOQ generated, read from itsAbstractRoutineinstance found by type: qualified name with package, parameters with mode,DataTypeand default, and return, tied to the holder methods that call it by name and arity. A generated class that does not load is a stored fact, not a skip. -
@externalFieldis@routineopen. A value form bound to the parent’s table; its readers move to the form, and the directive is deprecated later as an alias. -
An
@externalFieldmethod read without parameter names isPARAMETER_NAMES_MISSINGblocked, on “@externalField` is@routine”. Once its parameters are stated in the store, one nothing binds in a class compiled without `-parametersraises the code a@serviceor@conditionmethod’s does, through the same rule, and not a refusal of its own. Should a second reader need to tell a nameless class apart, that becomes a fact captured once on the method rather than a null name tested at each rule. -
A table-valued function returned as a scalar is a defect
blocked, on "A routine is enriched by the database construct behind it". It can land before the reads. TodayQuery.titleFor, a scalar overfilms_for_actor, draws nothing.
A service call is resolved in the store and emitted from it open
A @service field’s call is the store’s answer: which method, on which holder, with what filling
each parameter, so the generator reads it and ServiceCatalog resolves nothing. A service class is
one whose instances graphitron can build; its public methods are service methods, and a public
static method needs no holder.
-
The argMapping readers read the landing, and the candidate and match go
open, E’s. R1099’s step 2 stored where an argument path lands,graphitron_argmapping_landing, under each occurrence of its call; what follows is its readers.graphitron_outbox_keyreads the landing, the node-id readers (ResolvedKeyProjections, theintent_argmapping_key-column chain and its projection defects) read the node-id binding at the landing’s path end, andgraphitron_argmapping_candidate, its stage andgraphitron_argmapping_matchgo. R1204’s first blocker retiredintent_argmapping_projection_defect’s `UNDECLARED_NODE_IDarm, and its second moves the Mutation-root routine write off the view; the view and the author arms ofArgmappingProjectionDefectsretire here, with the store counterparts still missing for them:NODE_ID_TARGET_UNRESOLVED’s "nothing to take the node from" arm is `SERVICE-only, so an untyped@nodeIdat a routine or a condition has none; a keyless node type; and the other readers ofintent_resolved_node_key_projection, the walk’s Query-root and child routine launchers andNodeIdDecodeCoverageFacts. Since the conditions are emitted from the store,EMITTING_SITESholds everySite, so the unwired-site disjunct and its message branch are dead, and go with the class. A child routine’s parameter is a node id slot of its own kind, throughgraphitron_join_path_step_parameter_pair, so its key-column typing and its list deferral are the store’sNODE_ID_KEY_COLUMN_TYPE_DISAGREEMENTandROUTINE_NODE_ID_LIST_UNSUPPORTEDas a root routine’s are, andArgmappingProjectionDefectsjudges no@routine: the routine arm ofintent_argmapping_projection_defectand ofintent_resolved_node_key_projection’s deferral read is left with no reader there. A composite id feeding two routine parameters is decoded twice in the store-fed routine write; one shared local is a later refinement. Still reported twice until then: a primitive `@conditionparameter (JavaprimitiveParametersand the store’sNODE_ID_KEY_COLUMN_TYPE_DISAGREEMENT), and a bare composite or unknown key column at a routine (the intent view andARGMAPPING_KEY_COLUMN_UNRESOLVED). -
@tenantis goneblocked, on sis moving its ten uses to$tenant, which routes a root@servicefrom the store. The directive, the tenant index’s reading of it and its placement refusals go. -
The walk’s read path is gone
blocked, on "The projection units are rendered from the store". The subtract of the table-bound read:ProjectionCommands,ProjectionCommand,Contribution,CallWrap,ProjectionUnitRenderer,ParentRowDemand, the<Anchor><Nesting>classes and the walk’s root fetchers and condition glue go. -
The projection units are rendered from the store
blocked, on the facts below. The flip goes as soon as it can, each piece when the store states it whole and the walk keeps the rest without much work, censused as the service fields were (Alf, 2026-11-15). The store-fed lift selects through<Type>.$project, the projection unitProjectionUnitRendererrenders fromProjectionCommandrows, whichProjectionCommandsderives from the classified model; so a producer whose body the store emits still projects through units the walk decides, and the classified model cannot go while it does. The units are read off the store instead, the type’s fields, their columns and their nested reaches at the occurrence, each unit’s query its own, a polymorphic field’s parent-row columns among them in the order its participants are stated (todayParentRowDemand.polymorphicParentRowColumns, kept in that order byinParticipantOrder), with the generated selection adapters (SelectionOccurrences, the per-memberrestrictToa polymorphic lift calls) unchanged, the unit tests pinning what each unit selects for a given selection before and after (Alf, 2026-11-07). A unit restricts itself to its own type’s occurrences of the selection, taking the shared-alias field names where it is merged into a discriminated select, so the four call sites that restrict before calling it today (SelectMethodBody,MultiTablePolymorphicEmitter,DiscriminatedTableFragmentsand the store-fedLiftEmitter) stop doing so. One unit per table-bound type, its arms the occurrences of the chain the type’s fields start: a nesting field’s arms are its chain’s deeper occurrences, inline in the anchor’s unit, soNestedUnit,CallWrap.Spliceand the<Anchor><Nesting>classes go. A result-key alias is the runtime result keys from the row’s owner down to the field, as many as the occurrence lies deep below it, in place of the threadedrkPath; the flip is one pass over every arm, each fact below landed first, as its own store change pinned by a fact document (Alf, 2026-11-08). The store-fed discriminated lift (DiscriminatedQuery) refuses what this node decides: a participant on a table of its own, a field the interface declares off the shared table, a participant’s field nesting an object and a cross-table field more than one step away, and it restricts each participant with no shared-alias names; those cases stay with the walk’s emitters until the units are designed. Dropping the threadedrkPathchanges the result-key aliases the walk’s field readers read, so the unit keeps today’s alias formula or those readers flip in the same pass. -
A projection unit is emitted from the store, censused
open. AProjectionQueryand aProjectionEmitter, additive and uncalled, render a type’s unit fromgraphitron_occurrence_column,graphitron_occurrence_node_id, each occurrence’s path and, for a scalar down a path, its join path’s steps, with a census beside the condition census whose reasons are the facts below not yet landed, each closing as its fact lands. Landed: the query, the emitter rendering columns, node id keys and non-null nesting fields inline, the census over the example andscenarios/projection-unitrun against PostgreSQL; utdanningsregisteret’s shape isscenarios/node-nesting-field-named-like-a-range, its refusal pinned until its expressions are stated. A scalar’s column down a path is a correlated subselect over its steps' column pairs, capped at one row, named by today’s result-key formula with its owner stamped from the declaring type, so a discriminated participant writes an interface’s field under the interface’s name and a lift can pass no shared fields. Left (SCALAR_PATH): a path stepping by a condition method or a routine, and a node id down a path. A child read inline is its own node below. A child producer’s parent columns are projected off its lift, stated under a row graphitron selected as under a record.ProjectionQuerydecides a field’s alias owner itself, the declaring interface where a discriminating participant recognises the type; a stored owner per field occurrence is read instead. -
A child read inline is emitted from the store, claimed by E
blocked, on "An inline list is emitted from the store in its stated or chosen order, claimed by E" and "A single child is looked up by its keys, claimed by E". ANESTEDoccurrence read down a path rather than off its parent’s row, a table-bound type joined or listed, or a plain type over a routine’s rows, is rendered byProjectionEmitteras a single join or a list multiset over the rows its path reaches, calling the child type’s own unit where it has one; the census’sINLINE_CHILDline closes with it. The list multiset is its child’s, "An inline list is emitted from the store in its stated or chosen order, claimed by E". A non-null single child is the single join, rendered as the readers read one today, a multiset of the child’s unit with.limit(1)under its result key; the flip of the readers replaces it with a plain correlated row, which a single child’s identifying lookup keys or its to-one path make exact. A nullable one is read the same way, null exactly where its read finds no row (Alf, 2026-11-15). -
A projection’s SQL names read like the schema
open, off the critical path. The generated SQL is to be easy to read; a hashed name is hostile to that (Alf, 2026-11-13). Today an aliased term is named__rk_, an owner, and the response keys from its row’s owner down to it, so a deep selection under long client aliases passes Postgres’s 63 bytes and is truncated, two such names able to meet. Instead the generator names each aliased occurrence of a unit from the store by its field names below the row’s owner (languageName,facts_languageName), with no prefix, checking at generation time against the unit’s other names, its table’s columns and the length limit, and adjusting a name readably where one would clash; a second selection of a field under another response key takes a suffix by its position in the selection set, which writer and reader compute alike, and a nesting field selected twice merges, the consistent-argument check failing where the arguments beneath differ. The unit and the readers keep today’s names until the readers move, so this lands with them, backwards compatible until then (Alf, 2026-11-13). The table aliases an inline list’s multiset declares extend its row’s own alias by each step’s position, so a list nested in its own type never shadows its correlation; they lengthen with depth and are named here too. -
An
@externalFieldunder a written path binds at the path’s landingopen, off the critical path; a capability change.EXTERNAL_FIELD_PATH_UNSUPPORTEDrefuses it today, as the walk does, and the expression binds at the table the path lands on instead. -
A method’s parameter fits a table by one rule
open, off the critical path. Which catalog tables a parameter fits isgraphitron_call_parameter_table, keyed by the graph and held only for methods a code reference in the graph names: its generated class, or a public jOOQ table type incode_jooq_classwhose record argument is the table’s (Alf, 2026-11-13: jOOQ’s internalTableImpl, a consumer’s own table base andObjectfit nothing), and the@conditionand@externalFieldcandidates and fills read it, pinned byscenarios/call-parameter-table-fit. Left: the other table-fit sites androle’s `TABLE_CONCRETE/TABLE_ANYsplit onto it, then the record side, then@service, writes and@routineas calls reading the same rule (Alf: one rule for every Java call). -
A @routine’s generated method is read as a code method, and its parameters fit by the one rule
open, after the build-time work (performance first, Alf 2026-11-16). A@routinebinds the Java method jOOQ generates for it, the Routines method or the table-valued function’s class, and every call directive works the same (Alf). Today its parameters aresql_routine_parameter, read reflectively by the jooq gatherer, and no code method: the classpath reading takes the jOOQ package header-only. The reading reads the Routines class and the table-valued functions' classes with their members, and no other class of the package, so table classes stay header-only; the method a@routineresolves to is named, andgraphitron_call_parameter_tablecovers its parameters as it covers a@service’s. `sql_routine_parameter’s Java side, `jooq_nameandbinding_type, dissolves intocode_method_parameter, and its readers move: the routine parameter rule, itsPARAMETER_UNFILLEDrule and the outbox routine target rule.intent_argmapping_bound_parameter_typeis left to dissolve on its own. -
A field’s or argument’s
@conditionis a call at its occurrenceblocked, on "A@conditionis a call per table its occurrence binds". The overload is pinned asgraphitron_join_path_step_methodpins a step’s, rather than by name, with whether it reads context or the session; the multiset’s filter and thedslclosure read it there, andgraphitron_code_referenceis no longer read for a@condition(Alf, 2026-11-09, the shape weighed with the principles review the same day). -
An overloaded
@servicemethod is pinned by its fillsopen, off the critical path. A service’s candidates are every method of its reference’s class and name rather than the one a name-unique reference resolves, so an overload set the store refuses today pins the overload every position fills, agreeing with `ServiceCatalog’s choice where the walk has one; a capability change. -
A
@conditionis a call per table its occurrence bindsopen.graphitron_occurrence_condition(graph, coordinate, bound, call, override_written), a call subtype keyed intographitron_occurrence_binding, one row per occurrence carrying a@conditionand per table it binds: a field’sTABLE, root or child, one per participant; a scalar argument’s or input field’sCOLUMN; an@nodeIdone’sNODE_IDat the foreign key’s target; an input object’s or a@condition-taking scalar’sTABLE, so the table is the binding’s and no view derives it. Per table, not per type: the table parameter’s type picks the overload, so a discriminated interface on one table is one call.calliscondition:<bound>withCHECK (call = 'condition:' || bound), and readers join onbound, never parsingcall. It carriesoverride_written, theoverride:written, doomed with the consumption rule and kept for the transition against the review’s point that it is a definition-keyed fact repeated per table (Alf, 2026-11-09), read offgraphql_directive_application_argso no reader moves onto the condition entries, whose two relations a reader would have to union. Its fills follow the manual’s@conditionreference, § How the method’s parameters are bound, today’s rules reproduced, by rule views of the condition’s own beside the service’s, never one view branching oncall_kind, into the one storedgraphitron_occurrence_call_parameter, whose check gains aTABLEfill only a condition takes, the table being the call’sbound. The depth writer marks and sweeps calls by kind, so a@conditionwhose binding goes leaves no call and no fills. What remains of the principles review’s three commits (Alf, 2026-11-10): -
A
@condition’s calls, candidates and fills are written per depth`open. Landed but for one thing: a condition applied to a node id’s table or taking a decoded key does not emit (AUTHORED_NODE_ID). An argument’s fill names the occurrence it takes, a condition’s as a service’s, so no binding at the argument is owed. -
A
@conditionand a service pair a parameter with an argument by one ruleopen, off the critical path. The condition keeps its own by-type pairing through the flip; the differences from the service’s, listed under "A `@condition’s fills", are closed then, one rule for every call, each difference a test first. -
An input field’s
@conditiontakes an input object’s fields throughargMappingopen, G’s. An input object reaches a call typed, never as the untyped map graphql-java delivers (Alf, 2026-11-13):argMapping: "fra: vektingstallIntervall.fraVerdi, til: vektingstallIntervall.tilVerdi"onto(Table t, BigDecimal fra, BigDecimal til)is the first of the two typed forms. A fact document and a sakila execution test show it emitted from the store. -
An input field’s
@conditiontakes a beanopen, G’s. Refused today because that condition was resolved once per input type with no consuming field; a call per occurrence has one, so the refusal can go. The second typed form: a record or bean the store builds from the input object at each consuming coordinate, and aListof them for a list of input objects, asfilterUtdanningsinstanserByVarighetonvarighet: [VarighetFilterInput]takes. -
A parameter declaring
MaporObjectfor an input object is refusedblocked, G’s, on "An input field’s@conditiontakes a bean". A stored defect, basisGRAPHITRONsince graphitron does not mean to generate the shape, its remedy naming the two typed forms, owned per defects-as-facts § Ownership. The walk’sMappass-through andConditionBeanAtInputFieldgo, and typed-rejection.adoc says so. Breaking for utdanningsregisteret’ssearchVektingstallRangeandfilterUtdanningsinstanserByVarighet, so it lands after the typed forms, with aBREAKING-CHANGEfooter naming the migration. -
An inline list is emitted from the store in its stated or chosen order, claimed by E
open. The walk resolves an@orderByargument on a list read inside its parent’s statement and cannot lower it onto the multiset:LauncherCommands.requireResolvedOrderingsAreLoweredthrows a generator bug for it, so the store states the choices and refuses the shape with the deferralORDER_CHOICE_ON_INLINE_LIST. The walk takes no fix for it, and nothing inemit/renders an inline list or reads an order yet, so the two land together. ACHOICErow ofgraphitron_occurrence_ordernames the argument occurrence that picks it, so a reader does not trace the argument to its sort enum again.ProjectionEmitterrenders aNESTEDlist as a correlated multiset over the rows its path reaches, in itsDEFAULTorder’s sort keys or, where an@orderByargument offers a choice, a run-time switch on its value over theCHOICErows' keys in the client’s direction. It reads every sort key of an order whatever its basis, so the row key completion lands with no change here. The walk’s units are what run until the flip, so the deferral, itsdefect_typerow and the multiset half ofrequireResolvedOrderingsAreLoweredgo when the store’s units replace them, anddefects/inline-list-choicepins the choice until then; closes before the flip. -
A single child is looked up by its keys, claimed by E
open. A@lookupKeyon a field of a table-bound type returning one table-bound object is read as the one row its keys match (Alf, 2026-11-15). The store’s deferral is gone; keys covering no identifying key of the table areLOOKUP_KEY_NOT_IDENTIFYING, and the walk refuses the shape itself until the flip. A child looked up by column keys is rendered, null where its keys match no row; what is left is a node id key, the child’s own node’s decoded throughNodeIdDecodeEmitterfrom the projection query’s own read, one carried back from another table’s node read fromgraphitron_occurrence_node_id_carried; closes before the flip. -
A sort key’s table element infers its key at the element
open. A sort key’spath:element written{table: ...}names a table and leaves the foreign key to infer; the walk accepts one with no condition, so it still generates at the flip. Today only the join path step rules infer a key, and they are keyed to an occurrence’s need, so a sort key’s hop rows state nothing for such an element and the projection emitter leaves its list unrendered. The inference moves to the element’s grain, extendinggraphitron_field_first_keyandgraphitron_join_path_key_move, where E’s first-key work started stating a key per written element, and the sort key’s hop reads it as it reads akey:element’s. -
A narrowed inline list is emitted from the store
open. An inline list an argument besides its@orderByor a@conditionnarrows is the census’sNARROWED_LISTline: the multiset renders no filter yet. It reads the conditions and the bindings that narrow it, the positive facts, rather than the reader’s present test of any other argument, and the line closes with it. Whether an argument is compared at all is its row ingraphitron_occurrence_filter_term. A child@routine’s arguments are what the routine is called with, not a filter narrowing its list, so the census counts the six child routine lists as `NARROWED_LISTonly approximately; the node tells the two apart, a narrowing being a filter term and a routine argument a call parameter. -
A
@pivotis resolved against the catalogopen, off the critical path. The attribute table, its on and value columns assql_columnrows, and each slot’s token, where today the entry holds the strings written and the slots bind no column. Deferred past the flip: no FS-plattform graph uses@pivot, so the flip states it as a deferral, a stored defect of basisUNSUPPORTED, until this lands (Alf, 2026-11-13). -
An input object is read once, by a reader of its own
open. One generated typed record per input type, built from the argument map with its node ids decoded, enums converted and lists walked, so a condition, a lookup’s rows and a service’s fills readfilter.range().fra()rather than each spelling its owninstanceof Mapladder over the wire (Alf, 2026-11-08). A node id decodes through one method per node type and policy besideNodeIdEncoder, strict or not-this-participant, rather than through private copies in every class that reads one. -
An argument binds the call parameter it supplies
open. EachARGUMENTfill is also aPARAMETERbinding ingraphitron_occurrence_binding_parameter, written by the stage owning the call’s kind (Alf, 2026-11-13); its readers move off the fill’slanding_coordinate, which then goes, after the flips. -
The root query fetchers are emitted from the store, claimed by C
open. A rootSELECTorLOOKUPproducer’s fetcher, its condition, order, page and facets, and the call parameters its own arguments bind, a@lookupKey’s among them, is read off its occurrence, and flips on its own, piece by piece as the store states each piece whole, the walk’s `$projectcalled at the address and by the signature it is called by today (Alf, 2026-11-15, 2026-11-23); a root single read is null exactly when its read finds no row, so the walk’s collapse of an all-null subtree goes with the flip (Alf, 2026-11-23). The first slice readsRootQueryoff the store: a rootSELECTover one untenanted table, a list in its default order of columns or one record, with the condition methodgraphitron_occurrence_condition_signaturestates, is the store’s, and every other root stays the walk’s under a reason the root census inEmissionCensusTestpins (a lookup, an@orderBychoice, a connection, a polymorphic or tenanted read, a pivot); the walk’s root collapse went for every root at once. A root lookup whose keys are scalar@lookupKeyarguments binding columns of its own table is the store’s too, all five of FS main’s among them. So is a key read off an input object’s field, a key anIDor an enum converts, and a node-id argument decoded to its node’s key columns on the lookup’s own table, failing the field on an id of another type. How a caller’s value becomes its column’s isgraphitron_occurrence_column_conversion, one stored factConditionEmitterand the lookup read alike, where the condition used to decide it at emit time. A node id read off an input object’s field, on the lookup’s table or carried back from another, waits asLOOKUP_NODE_ID: the example has none, so nothing tests it. A root list whose@orderByargument takes one order is the store’s, its helper rendered from the store’s choices, all three of FS main’s among them; one taking a list of orders is the store’s too, each order carried as declared and the composed list completed by the table’s row key at run time, the row key and the keys identifying a row read offgraphitron_occurrence_identifying_key_columnby rank;RootOrderArgumentParityTestholds the store’s spec equal to the walk’s on what the helper and a cursor read. A root’s order with a key down a path or computed by a method is the store’s too, its hops and landing column read offgraphitron_occurrence_sort_key_hopandgraphitron_occurrence_sort_key_column, its method offgraphitron_occurrence_sort_key_method, each key numbered as the walk numbers it, since the number names the emitted path method and the cursor’s alias; a key the store does not state whole still waits asSORT_KEY_NOT_A_COLUMN. A root connection over one table in either order, not faceted, is the store’s too, its records its edge’s items and its page size the carrier’sdefaultFirstValueor the unauthored default over<maxAllowedPageSize>: 65 of FS main’s 66 root connections. That page-size rule is restated fromPaginationResolverinRootQuery; it becomes one stored fact when the child-connection flip arrives as its second reader. A node fetcher’s root method is the store’s (graphitron_occurrence_producer_node, its tenancystore_graph_tenant_column), all five of FS main’s among them. A root whose participants a discriminator tells apart on one shared table is the store’s too, its cross columns and shared fields read offgraphitron_field_cross_columnandgraphitron_interface_shared_field. So is one with a participant on a detail table of its own: its step back to the shared table is the one-step key path of its own field reaching that table, keyed by the step’s foreign key, and its fields read offgraphitron_occurrence_columnplace themselves on the shared table, the step’s key, or the detail table. That detail-to-shared key is read inRootQueryand becomes a relation at its second reader, the child discriminated flip. A joined participant binding a node id, or one with an inherited field that is a single-table participant of another interface, still waits asJOINED_DETAIL. A list or a record read over a multi-table interface or union, each participant in its own key order, is the store’s too: its participants offgraphitron_occurrence_participant, each branch’s condition call offgraphitron_occurrence_condition_signatureat the participant’s table, fed toMultiTablePolymorphicEmitterin place of the walk’s field. One whose node-id argument its participants decode as different node types is the store’s too: each participant’s decode, its node type’s key columns and table offgraphitron_occurrence_node_idand its type id offgraphitron_node, guards an id no participant decodes before any branch reads, as the walk’s did;MultiTableNodeIdDispatchParityTestholds the two dispatches equal. One ordered across its participants, by a@defaultOrderor an@orderBychoice taking one order or a list, is the store’s too, its order read per participant table offgraphitron_occurrence_orderand its sort keys, lined up by position;ORDER_POSITIONS_DISAGREErefuses an order whose tables' keys differ in number or, at a position, in type, which the walk’s fold refused, and the reader takes the alignment as an invariant.ORDERING_ACROSS_PARTICIPANTSstill exempts the root lists by their spelling; it moves onto the producer facts when that defect’s stage follows the producers'. A participant table without a primary key isPARTICIPANT_WITHOUT_PRIMARY_KEYand participants whose keys differ in arityPARTICIPANT_KEYS_DIFFER_IN_ARITY, besidePARTICIPANTS_SHARE_A_TABLE, at the root and below, the walk’s two checks gone. A filter argument the walk’s branch call cannot extract (an input bean, a decoded record, a session read) is no store code: the store’s branch calls each participant’s own condition method, which the store renders with its beans and its session, so the shape is valid. The walk still refuses it while it classifies the root; when this route’s walk code goes, a fact scenario of a union root whose participant condition takes an input bean and reads the session, called directly, pins it. A connection over several tables is the store’s too, its page size read as a single-table connection’s and its order always stated, so the cursor encodes the columns the walk’s did and a client’s cursor survives the upgrade;MultiTableConnectionOrderParityTestholds the two orders equal on what the cursor reads. A lookup over several tables waits asPOLYMORPHIC; a faceted one isFACETED_CONNECTION_UNSUPPORTED. A faceted connection over one table is the store’s: its facets in order offgraphitron_occurrence_producer_facetandgraphitron_facet_binding, each grouping by the column its filter occurrence binds, offgraphitron_occurrence_column, across the steps its path takes, offgraphitron_join_path_step, so the facet join and the filter’sEXISTSnarrow one path;FACETEDgoes and the root census holds no reason. The fetcher edges of a root the store states over several tables, or as a node fetcher, are read off its verdict, each participant’s projection class and the conditions class its branches call, so the dev loop’s recompile graph follows the store;StoreRootRecompileTestholds an edit to each in the root’s recompile set and an unrelated edit out. The walk’s root edge arms answer only for a root the store holds back. Whether a type’s unit takes the statement’s connection isgraphitron_tabletype_session, which the@servicelift reads and the root fetchers read throughGeneratedUnits.typeClass; the generated compile holds it to the walk’s own closure until the units go. A known gap: the walk also marks a unit from a presence probe’s filter over a field fetched by a query of its own, which the store does not, and probes go with the flip. The conditions flip ahead of it on their own, its condition call reading the store’s glue by the name it calls today. The callers' condition signatures andPlanCompileGraph’s edges to the conditions classes still come off the walk’s `ConditionCommandrows, while the classes are rendered from the store; both move onto the store’s rows here. Until then the generated compiles guard the signatures, and the edges, which drive only the incremental compile, are trusted: a wrong one shows as a missed recompile in a dev loop, never in a clean build. -
A root’s tenant is the input binding its table’s tenant column, stated per producer, claimed by E
open, E’s. It blocks the TENANTED root flip (A, 2026-11-26). A root’s tenant is the argument or input field binding its table’s tenant column (Alf, 2026-11-15), so the store derives it, for a root query as for a root service, and an author names$tenantonly where nothing binds it: a plain value a service hands its method as a parameter binds no column, so a service still names that one. The tenant slot is keyed by the producer occurrence rather than by its call, and the readers of the call key move in the same node: `ConnectionQuery’s slot read and the connection rule’s slot facts. Until it lands a root query on a tenanted table stays on the walk, the rest flipping piece by piece (Alf, 2026-11-15). -
What a filter means does not depend on where it is written
open, off the critical path. Today an empty list drops its predicate where a polymorphic participant’s all-foreign ids answerfalseCondition(), the lenient node-id decode drops a malformed id with one of another type, a non-object list element is false in one matcher and a row of nulls in another, and a faceted enum list is cast where a scalar one is converted byvalueOf, untested beyondG, and a top-level enum list argument on an enum column emits glue that does not compile. Each gets a test first, then a fix or a stated breaking change, after the flip, which keeps them as they are. -
A list of input objects compares what the old emitter could not
open, off the critical path. The list-of-input filter’s refusals that guarded the old emitter’s single row, rather than a rule an author meets, are lifted once the flip has moved every caller ontoConditionEmitter, each a capability with an execution test first and its glossary entry and reference page changed with it.LIST_ELEMENT_NOT_ONE_VALUE, a list inside an element, stays: one cell holds one value (Alf, 2026-11-12). -
Element fields reaching their columns by different paths are compared per path
blocked, on a path’s identity. An element’s fields are grouped by the path they reach, each group compared as one row inside its ownEXISTS, the field’s own table being the empty path, so a group sharing a path still matches one reached row asfilmsByCastNamesdoes while a name overfilm_language_id_fkeybeside one overfilm_original_language_id_fkeyfilters both. The walk refuses this today and the store does not; which fields share a path waits on the path being a fact of its own, a join path keyed to an identity two needs riding the same steps share, rather than a comparison of step sets in a rule view (Alf, 2026-11-12). -
A node id in a list element is its key columns
blocked. The decoded key sits in the row as that many cells, by the node type’s record or tuple as a whole id lands everywhere else, andLIST_ELEMENT_NODE_IDgoes. -
A
@conditionin a list element is called per elementblocked. Each element’s call is ANDed into its conjunction, the partial form, andLIST_ELEMENT_CONDITIONgoes; whether such a condition reads anything but its own field’s value is decided with it. -
A list element compares any number of fields
blocked. The walk’s cap of 22, jOOQ’s typedRow1toRow22, is not the store-fed emitter’s, which writes aRowN; the cap’s refusal goes. -
A joined participant’s re-read reads its join from the base
open, E’s.graphitron_occurrence_participantstates a participant on a detail table with that table, its container’s table and column beside it; the re-read reads it through the join from the base, a path between the two tables on F’s join paths, and until that path is stated the re-read and the resolver refuse it, naming it. -
A polymorphic service’s list keeps a null where a record finds no row
open, E’s, off the critical path. The old generator’s multitable service re-read drops from a list every record whose class matches no participant and every key whose row is gone, so the list a service hands back comes out shorter and its positions no longer line up with what was asked for, which breaks lookup semantics (Alf, 2026-11-07). The store-fed re-read mimics the drop first, as every flip keeps functionality identical, and this node then keeps a null in the slot instead, as the table-bound lift already does: a breaking change for an author relying on the shorter list, so the manual’s polymorphic page and the changelog say so, with an execution test pinning the slot. -
A split carries the target’s key where the source states it
open, E’s, off the critical path. At a split, the frame’s key is read off the path’s first step rather than always the parent table’s primary key: where the source states the target’s key, as foreign-key columns on its row or an accessor on its object, the loader carries that and the continuation is a lookup on a derived target table, the@lookupKeyshape; aSOURCE-filled parameter receives whichever key the split carries. -
An enum hands graphql-java its Java constants
open, off the critical path. A GraphQL enum bound to one Java enum, by@enumor by every use agreeing, defines its values as that class’s constants, so graphql-java converts arguments both ways and everyvalueOfin the emitters goes; the store states each enum’s Java class and whether a class is an enum, and uses that disagree are decided there. Output serializes unchanged, graphql-java matching a constant or its name either way. -
A node id’s decode shape is decided once, in the store
open, E’s, off the critical path. At a root argument’s parameter it is:graphitron_occurrence_node_id_shapestates the shape, aRecordNorRowNmatching the key on its degree and its column types, and the slot defects andBuildQuery.decodeParameterread it. What is left is the bean member an input field fills, whichBuildQuery.bindstill judges withNodeIdDecodeQuery.resolve, and a record of another table the id reaches through a foreign key. The model (Alf, 2026-11-10): the class each input object occurrence is built into, aMEMBERbinding besideVALUEkeyed intocode_write_slot(matched on the bound name for a service and the GraphQL name for a condition), the node id slot stored per call parameter for every call kind, and the shape relation widened to those slots. The first two are stated:graphitron_occurrence_built_classandgraphitron_occurrence_binding_member, whichBuildQueryreads in place of matching member names. The slot is stored too:graphitron_occurrence_node_id_slot, a supertype over the call parameter, the built class’s member and the built record an id lands on, each subtype written by one plain rule. -
BuildQuery’s refusals are defects`open, E’s. A class nothing constructs, a field filling no member, a list that cannot group, two fields on one member, a@conditiontaking a jOOQ record and a record’s field naming no column are entry defects at the field, and a node id with no route onto a record under a@serviceisNODE_ID_LANDS_ON_TABLE. What is left: a list of node ids written onto a record and a nested input object filling a member typed as a jOOQ record, both refused only in Java, and the Java refusals themselves, which go once nothing falls back to the classified emitter. -
A record’s column defects read the column binding
open, off the critical path. The output and input arms ofCOLUMN_UNRESOLVEDandCOLUMN_AMBIGUOUSeach work out spelling resolution fromsql_column_spelling; reading whatgraphitron_occurrence_columnleaves unbound, asBuildQuerydoes, they judge the binding the emitter writes.COLUMN_AMBIGUOUSon a record has no pinning case yet. -
A shared input built into several classes names which in its defect
open, off the critical path. A build defect’s detail is the least class or member where an input is built into several, so which class and occurrence failed is lost; a detail relation, as the parameter defects have, names each. -
Grouping under a record is decided once
open, off the critical path.BuildQuery.columnsdecides in Java that a nested input object under a jOOQ record groups onto it, whichgraphitron_occurrence_built_classstates as aGROUPINGrow; it reads the row. -
A nested input under a jOOQ record binds to the embeddable it names
open, E’s, off the critical path; an embeddable is an EMBEDDABLE field ofsql_table_field, its record class the value class (Alf, 2026-11-18). Alf, 2026-11-17: under a jOOQ record a nested input unnests and its leaves look for the record’s fields, an unmatched leaf its own defect; where the record has an embedded field matching the nested input, the input binds to it rather than unnesting, and graphitron should support it. Store side only: agraphitron_occurrence_built_classbranch ahead ofGROUPINGbuilds the input into the embeddable’s record, and the record build writes it. Open: whether the write is per column, grouped, orsetof the whole embeddable. -
A built class at a parameter names its call parameter
open, off the critical path.BuildQuery.rootsrecomputes the class a parameter takes fromcode_method_parameterto find itsPARAMETERrow; tied to the call parameter it lands on, the row is read directly.BuildQuery’s input-bean test, an argument fill of an input object into a class other than `MaporObject, restates the built-class rule; it readsgraphitron_occurrence_built_classinstead. -
A class’s entry in the graph is resolved once
open, off the critical path. The graph’s first entry declaring a class, by name, is spelled ingraphitron_occurrence_source_object,graphitron_occurrence_producer_resultandgraphitron_occurrence_built_class; one stored resolution of a class to its entry is read by all three. -
A record’s writer per column is stated in the store
open, off the critical path. Which input field writes each column of a jOOQ record, a live one over a deprecated one, is decided inBuildQuery, again in `BuildEmitter’s conflict label and a third time in `ValidationEmitter’s violation paths; stated per column, two live writers become a defect at the input type and every emitter reads the writer it is told. -
A table-bound field read off a member’s value is judged
open.FilmBlurbHolder.blurb, whose member hands back aFilmBlurbobject while the field’s type is bound tofilm, is refused by the walk ("requires a typed accessor") and passes the store,NO_KEY_FROM_PARENTreading the member’s value; whether that is intended or a defect is missing is Alf’s to decide. -
A class states whether it is nested
open, off the critical path. The code census finds a nested class by the$in its binary name; the classfile’s inner-classes attribute states it, and reading nested classes reached through another class’s members closes the one hop the census reads today. -
A decode shape references the node id it decodes
open, E’s, off the critical path.graphitron_occurrence_node_id_shapereferencesgraphitron_occurrence_binding, not thegraphitron_occurrence_node_idrows the decode reads, which have no key on (coordinate, bound) to reference; that a shape’s bound has its node id rows holds by the shape rule’s joins, andBuildQuery.decodeSlotthrows as a generator bug where it does not. A key there, without a column made for it, moves that into the DDL. -
A record-class decode reads what its shape row states
open, E’s, off the critical path.NodeIdDecodeQuery.resolvedecides a node id’s decode into another table’s record from its own reads where the store already decided it: it takes the first path at the coordinate from the record’s table to the node’s, where the shape rule vouches only for a one-step path carrying every key column back, so two stated paths could make it pick one the store did not; and it maps a record class to a table by the first source it reads, where the store resolves one declared in two sources by the least source name. Reading the slot record columns and the record table off the shape row the rule wrote makes the two agree by construction. -
A @tenantFanOut scatter is stated as a connection outcome
open, off the critical path. A field marked@tenantFanOutreads every tenant the request may see, one statement per tenant, a routegraphitron_occurrence_connectionhas no outcome for: under a global parent it gets no row, andUNROUTED_CHILDleaves it out by the marker rather than by a stated route. Stating the scatter as an outcome besideROUTED,INHERITandUNSCOPEDlets the exemption go and the emitter read the route off the store; sakila’s multitenantLanguage.filmsis the case that pins it. -
An input nothing takes is a defect everywhere, over one stored fact of what takes it
open, E’s, off the critical path. Alf’s ruling of 2026-11-17 is stated for inputs built into a bean or record,MEMBER_UNKNOWNreading the binders inline. A storedgraphitron_occurrence_taken, one row per occurrence and binder kind written at occurrence-tenants, carries the rule to the other places an input can be dropped, andARGUMENT_UNBOUNDandMEMBER_UNKNOWNare restated on it. -
An argument on a field read off an object is judged, claimed by C
blocked, on "A getter taking arguments is captured as a read slot". An argument on a field that is neither a service nor table-bound reaches no call or predicate, and neither side says so. -
An argument a node fetcher does not read is ARGUMENT_UNBOUND in the store
open, off the critical path. A node fetcher decodes only itsidorids, taken byNODE; any other argument,nodeByKey(key:)’s `key, is read by nothing and no filter, so the value a client sends goes nowhere, and neither the walk nor the store says so. -
A @service batch key is read through the read slots
open, E’s, off the critical path. The walk finds aSourceselement’s key throughClassAccessorResolver.enumerateZeroArg, every zero-argument method, while the store’s record lift reads only the class’s read slots, so the two can pick different members for one key. -
A child @service keys off its parent’s object through the accessor lift
open, E’s, off the critical path. The store states the lift (graphitron_occurrence_producer_lift_accessor) and refuses the shape asSERVICE_KEY_OFF_OBJECT_UNSUPPORTED; the frame reads the keys through that member, and the deferral goes. -
A getter taking arguments is captured as a read slot
open, E’s, off the critical path. A class-backed field with arguments readsgetX(args)orgetX(DataFetchingEnvironment)in the walk, whichcode_read_slotdoes not hold, soMEMBER_UNRESOLVEDleaves such fields unjudged and the store cannot bind them. -
A field position is keyed by its role alone
open, off the critical path.graphitron_field_positionis keyed by field name and carries a unique key on its position as well, the shape that crashed a warm recapture ofgraphitron_code_referencewhen two rows traded places in one statement. Its position is a stable role name rather than where something was written, so the hazard is small; the unique goes, or a test pins that no edit moves two rows past each other. -
A routine write’s re-read keeps its rows in the order the write returned them
open, E’s, off the critical path. A list routine write captures its keys in the order the routine returned its rows (WITH ORDINALITY), so a payload’s data field, which re-reads them by position, keeps it; a write returning its records directly still re-reads them through an unorderedIN, so they can come back in another order than the write handed them, until the re-read is the lift along the write’s path, ordered by position. A fix of its own, not a gate on the service flip. -
A field’s followed claim is stored per field and target type
open, E’s, off the critical path. Which claim a field follows, its own@referenceForor field claim or one inherited from an interface field, is decided per need bygraphitron_join_path_claimed_rule, whose target types come from the depth loop’s needs. Stored per field and target type ahead of the producers, with the claimed rule reading it, a field’s first key covers an inherited path too; until then an inherited path’s first key is the walk’s, and an inherited path that would fan out by its row’s tenant is not routed so. Interim debt, agreed to go with the depth loop:Pathsstill counts keys offsql_table_referencefor a need starting anywhere but its field’s declaring table, andPaths.declaringStartrestates in Java the first key rule’s predicate for a field no claim covers. -
The connection relation’s grain covers accepting graphs
open, E’s, off the critical path, as R1119’s slice 8e.1.graphitron_occurrence_connectionwidens from a database-per-tenant graph’s producers to those of any graph whoseConnectionKeyhas a part, a tenant column or an accepting type’s vouched-for fields, so a field with a fetcher of its own below a vouched entity inherits the whole key; a rewrite of the connection rule keeps that grain rather than narrowing it back to tenancy. -
A tenant-routed build refuses a caller-supplied connection at the request
open, off the critical path. A tenant-routed build is owned connections only (runtime-extension-points.adoc, Alf, 2026-11-14), so a request entered withnewExecutionInput(dsl, ...)fails there, clearly, rather than at whichever routed or unscoped field first acquires a key and finds no carrier. -
A $context pair on @condition fills its parameter
open: the walk’s@conditionparse (ArgMappingSigil.scanatSite.CONDITION, read byBuildContext.readConditionDirective) rejects every$contextpair, its errors on a condition are not silenced, and whereConditionEmitterdefers the walk emits the condition with a context argument read by parameter name, so a pair keyed apart from its parameter has no walk equivalent. Once the walk stops judging and emitting conditions the node is one commit of two store changes. First, ingraphitron_occurrence_condition_parameter_ruletheCONTEXT_KEYrule’sNOT EXISTS pairedpasses over a pair bound to$context.%, and its "no element has its name" condition holds only forcontextArgumentskeys (graphitron_call_context_key.originCONTEXT_ARGUMENTS), a written pair outranking an element of its name as$sessiondoes;pairedkeeps the pair, so the element and by-type rules stay off that parameter. Second,CONTEXT_SITE_UNSUPPORTED, in both rules that raise it, exemptsdirective_nameconditionwithownerconditionbeside@service, a reference step’s condition staying refused; its statement and the manual follow.ConditionEmitteralready emits aCONTEXT_KEYfill. -
A @reference written beside a child @service is refused under a code of its own
open, off the critical path.Film.language: Language @service(...) @reference(path: [{key: "film_language_id_fkey"}]), the service handing back language records, was accepted by the walk, which walked the key from film. The store refuses it asNO_ROUTE_TO_TARGET: a child whose own service hands back its target’s records starts where they land, on language, and the written key has no route from there. Alf, 2026-11-23: refuse it, under a code that says the path has no meaning beside a service, notNO_ROUTE_TO_TARGET. A new code raises it at the@reference, a fact document pins it with the near miss of a@referenceon a field with no@service, andNO_ROUTE_TO_TARGETstops firing there. FS main writes neither on one field. -
A batched child @service reads the session handle through its guard, pinned by a test
open, off the critical path. The store states the batched child’sSESSION_MEMBERfill (occurrence-call-parameter,Film.sessionLabel), but the guarded accessorArgCallEmitteremits for it lost its only test with the walk’s service tests; the root’s guard keeps its tests. One emitter or execution test pins that the child’s rows method reads the handle through the guard. -
A batched child @service on a table’s row projects the key and nothing else, pinned by a test
open, off the critical path. The lift key is stated in the store (field-key-row), and the projectionProjectionCommandsderives from it lost its test with the walk’s service tests;ServiceKeyProjectionTestcovers the nesting case only. A plan-tier case for a direct table-parent child,Film.titleUppercase, asserts the projection is exactlyfilm_id. -
An object type handed back as two compatible classes by two services is served
open, off the critical path.FilmShelfreturned by one service as a bean and by another as aFilmLookupPayloadrecord, both offeringtitle, is one OBJECT result with two result-class rows and no defect; only the deprecatedintent_type_backing_conflictcounts it. The walk refused it as a domain-type disagreement. Alf, 2026-11-23: serve it as long as the classes are compatible, each judged on its own byMEMBER_UNRESOLVED("this is where our occurrence model gives us a leg up"). A fact document pins the two classes served and the near miss of one class missing a member the type reads, refused byMEMBER_UNRESOLVEDat that class’s field alone; the walk’s refusal goes with the flip of the fetchers that read it. -
A removed
@multitableReferenceis refused in the storeopen, off the critical path.FieldBuilder.classifyFieldInnerrefuses it as no longer supported; the store reads nothing of it. -
A list field over an accessor returning one record is refused in the store
open, off the critical path.FieldBuilder.collectAccessorMatchesrefuses it;LIST_OVER_ONE_VALUEcovers service and write producers only. -
A hop-0 filter on a record parent’s split query is refused in the store
open, off the critical path.BuildContext.buildParentCorrelationrefuses acondition:filter on the first hop where the parent is no catalog table; the store has no code for it. -
A stored defect offers its fix as an editor action
open, off the critical path. The walk’s lints carry aLintFixthe language server offers as a code action, deleting a bare redundant directive among them; a stored defect has its message and guidance and no edit. The redundant@splitQueryunder a class-backed parent lost its action when it becameSPLIT_QUERY_REDUNDANT(Alf, 2026-11-19: "It’s ok to remove"). An edit at the defect’s position needs where the directive application ends, whichgraphql_ast_entrydoes not capture; that input fact comes first, then an edit stated at the code’s grain, which the language server and the MCP server both read. -
A payload’s data field bound to another table than its service’s records is refused in the store
open, off the critical path. A@servicehanding back a table’s records into a payload whose data field’s type carries@tablelifts them for that field by their keys, which holds only where the two tables are one. The walk refuses the other case at the carrier; in the storeSERVICE_RETURN_MISMATCHchecks a bound type only andSERVICE_PAYLOAD_IN_A_LISTits own list case, and no rule compares the data field’s table with the records'. A document first finds what, if anything, fires there; then one rule raises it at the data field. -
An empty routed answer over a non-lifted jOOQ Result names its table
open, off the critical path.ConnectionQuerybuilds a service’s emptyRESULTanswer over the producer result’s table, which is its lift. Since a service is lifted only where its field’s type is (Alf, 2026-11-18), aResultof a table’s records under a type without@tablehas aRESULTrow and no lifted table, so a call naming no tenant would build its empty answer over nothing. No document reaches it yet (a type without@tableis unscoped unless$tenantnames one); the record’s own table, read off its class, is what the empty answer needs. -
A routine call is stated per occurrence and emitted from the store, as a service call is, claimed by C
open. A root@routineis the producer call: its parameters are filled per occurrence ingraphitron_occurrence_call_parameter, widened from service calls to any producer’s call, and its call is emitted from the store as a service call’s is. A child@routine, split or not, is never a producer but a join step of the path; split, or as a child connection, the producer is aSELECTwhose path starts at the routine. Then the routine decode, which writes only the spelling, goes. -
A routine step’s argument coordinate is stated once
open, off the critical path.graphitron_join_path_step_parametersplits into a column and an argument subtype (Alf, 2026-11-25, recorded in fact-model). The argument subtype’s coordinate restates the landing’slanding_coordinatewhere a written pair binds it, and nothing holds the two equal, the step parameter and the landing being of different grains ("unfortunate, the tables have different granularity", Alf); the call fill’slanding_coordinatehas the same gap. How it is stated once is with Alf: one remedy is the pair hanging off the argument subtype and carrying the coordinate, held by key to the argument and to a widened unique key on the landing. -
The editor’s claim-conflict reads take the stored defect
open, off the critical path. Two language-server readers decide a claim conflict themselves fromgraphitron_producer_claim:FieldColumnTablesilences a field’s column scope where two producer kinds stand but for the hard-coded LOOKUP/ROUTINE pair, andDiagnosticFactscounts producer claims for its CONFLICT arm. Neither sees a@routinea field’s path steps through, which is no claim, so a split child@routinebeside a@serviceor a@lookupKeyis no longer silenced. Both readgraphitron_entry_defectforCLAIMS_CONFLICTandROUTINE_LOOKUP_DEFERREDinstead. -
The editor completes
argMappingat a@routineopen, off the critical path. The language server completes anargMappingon@service,@conditionand@externalFieldand has nothing at@routine, root or child: onlyExternalCodeReference.argMappingis wired, its left side readscode_method_parameter, and its right side offers the field’s arguments and nothing after a.. At a@routinethe left side offers the routine’s parameters,sql_routine_parameterfor the routine itsname:resolves to, and the right side the field’s arguments and, after$source., the columns of the table the routine step departs: the parent’s stated binding for a routine that starts the path, so it completes before the step resolves, and the table the last hop lands on after hops. A root@routinehas no source. -
An
@outboxbinds its target’s columns, its payload a selection setopen, off the critical path.argMappingbinds a call’s parameters on@serviceand@routine, its left side a name the store checks; on@outboxit names JSON keys nothing declared, and the target’s columns are two roles graphitron fills (Alf, 2026-11-09). A message is a call of its occurrence, so its parameters are the target’s: a table’s columns or a routine’s parameters, each bound by name, a scalar one to a path and a JSON one to a selection set, sopayload: { filmId: $result.id, title: in.title }builds the body andaggregateid: $result.idfills a routing column an author keeps.typetakes the event unless bound. A key naming no column is the unresolved-name defect, and aNOT NULLcolumn with no default that nothing binds is an unbound parameter,PARAMETER_UNFILLEDas a routine’s is; the default check this replaces carries over as that. The grammar is one for everyargMapping, a strict subset of Apollo Connectors'JSONSelection(apollo-federation/src/connectors/json_selection/README.mdinapollographql/router), whose principle that a selection’s output shape is static is the store’s own: shorthand (title), alias (filmId: $result.id), nested objects (key: { ... }), a path’s sub-selection (in { title releaseYear }), string, number and boolean literals, and whitespace or commas between entries,#comments allowed. Our sigils stay ($result,$session,$scope, validVarPath`s there), and a bare name stays relative to the call’s arguments. Left out: `->methods,??and?!,@,$(...), spread (a payload following an input type’s every change is the contract coupling a payload must not have) and?(an argument a client left out is already absent). Each site admits what its parameters take: a nested object at a non-JSON parameter is a defect, not a parse error, and today’s flat strings are already valid. Slices: the parser; the store’s landing of nested keys and sub-selections; the column and parameter binding with its defects; the companion. -
An
@outboxon a@routinemutation emits from the storeopen, off the critical path. R1113’s phase 3 for routine writes. A routine write is emitted from the store already (RoutineWriteEmitter), and like a DML write it captures, inside its transaction, what it reads back by: the routine’s own result columns. So a$resultkey reads those, where DML reads the written row: a field whose landed column is a captured result column, or a node id whose key columns all are; a field past the first hop needs a read and misfits.graphitron_occurrence_producer_writeadmitsROUTINE(orOUTBOX_NOT_A_WRITEreads the routine producer beside it), the key rule gains the routine arm, andRoutineWriteEmittercalls R1113’s companion with the captured record, in one commit, so a routine@outboxis never accepted without being emitted. -
A table class’s column fields are stated
open. The code family keeps each generated table’s public column fields, which the census reads and the capture drops. -
The catalog says which columns jOOQ computes
open.sql_columnstates a column’s computed flag and where it is computed, so a client-side computed column is told from a stored one.
An argument a call binds generates nothing open
An SDL argument or input field is bound by exactly one kind of thing: a call that takes its value as
a parameter, or else the generator, which writes a column predicate, a lookup, an ordering or
pagination from it. One bound by neither is an author error. This replaces @condition(override:),
whose default of false (the method’s condition ANDed with the generated predicates) is the wrong
default by fs-plattform’s own usage: 443 applications write override: true, 5 compose on purpose,
and one omission is a likely bug. The census, the 18 omissions and the reasoning are in
roadmap/audits/2026-11-02-condition-override-is-argument-consumption.md. Decided with Alf on
2026-11-02.
-
The rule reproduces fs-plattform’s intent
open. Over captured fs-plattform subgraphs, list every argument or input fieldoverride: trueswitches off that no call binds, and every@lookupKeyor@orderByargument a call does bind. Both lists empty, or only author errors, is the evidence the flag can go; anything else comes to Alf before the nodes below. -
What binds an argument is stated
open. What binds each argument and input-field occurrence is stated beside itsPARAMETERbindings: a call, or the generator, or nothing; binding an input-typed argument binds every field inside it, and binding one input field leaves its siblings to the generator. Nothing isARGUMENT_UNBOUNDat the argument’s written position, raised where the facts are; its@servicecase, which composes with no generator, is raised byoccurrence-tenantsalready, the first stage holding every binder, and what is left is@externalFieldand an input field left unbound inside an argument a call binds in part. -
A path or a column nothing binding it reads is a defect
blocked, on "What binds an argument is stated". A written path on an occurrence whose binder reads no table isPATH_NOT_TAKEN. A scalar argument or input field matching no column at its path’s end isCOLUMN_UNRESOLVEDonly where no call parameter binds it. -
The generator emits from an argument only when no call binds it
blocked, on "What binds an argument is stated".override:is no longer read, andgraphitron_ast_field_condition_entry, the store’s only typed copy of a writtenoverride:on a field, has its reader or goes. What goes: theenclosingOverridecascade inClassifyContext,InputFieldResolverandFieldBuilder,suppressedByFieldOverrideonArgumentRef, theoverrideaxis ofConditionFactVisitorandArgConditionRef, and the walk’s refusals that turn on it (theoverride: falsecolumn miss inBuildContext, the mutation-input and@nodeIdcarrier refusals that requireoverride: true), each replaced by what binds the argument or byARGUMENT_UNBOUND. The sakila fixturesfilmsOuterOverrideFilterInputandfilmsOuterOverridePlainInputare re-asserted as behaviour under the rule. -
A written
override:is a deprecation warningblocked, on "The generator emits from an argument only when no call binds it". Accepted for a transition, deprecated indirectives.graphqls, and a lint detection where the written value disagrees with what consumption implies, so an author sees the sites whose behaviour changed. -
The manual states the rule in one sentence
blocked, on "The generator emits from an argument only when no call binds it".reference/directives/condition.adoc,how-to/condition-cascade.adocandhow-to/migrating-from-legacy.adoclose the override, cascade and legacy-divergence prose; the rule and its consequences replace them.
The graphitron family completes its flip and subtract open
Every replacement this family built has had its readers moved and its predecessor deleted, so the store keeps one shape of each fact. That means no coordinate-keyed entries, no separate assembly pass and no stratum that clears and recomputes.
-
No
graphitron_*_entrysurvives, an entry being the transcription’s aloneblocked, on the one below. Only thegraphitron_ast_family holds entries, and the registry decode that wrote the others goes. A reader moves onto thegraphitron_ast_entry joined tographql_directive_applicationby the application’s position, ordinal zero standing for the one application a coordinate-keyed copy kept, as the@errorhover and the@orderByand@lookupKeyreaders now read. -
The untwinned entries get an ast entry first
open. Each entry with nographitron_ast_twin gets one, its readers move, and the old one goes. Left:graphitron_spelled_reference_entry, a spelling being a column of severalgraphitron_ast_entries and no relation of its own, and the decode’sgraphitron_field_reference_entry, whose twin isgraphitron_ast_reference_entry. The registry decode still writes both,@routine’s spelling among them, and `graphitron_entry_defect_rule’s root `@referencerule reads the field reference beside the field’s@routineapplications. -
The supertype roster becomes shrink-only
open. The roster of duplicated entries is a ratchet that can only lose rows. -
GraphitronAssemblyCaptureis gone, its steps the anchor’s own linesblocked, on the child below and on "Nothing resolves a path but the walk". -
The assembly steps that clear and refill are marked and swept
open.NodeKeyColumnsandSpelledTables; the path steps go with the walk. -
DerivationStratumis gone, each step anchored by its ownerblocked, on the three below. WithStageProgressandStageOrderGateTest, the order they kept being the gatherer order.DerivationStratumCeilingGateTestkeeps it from growing, and each child lowers its ceilings. -
A defect is written by the stage whose facts it judges, and swept by its gatherer
open. A gatherer’s anchor phase is a sequence of stages, and the defects a stage’s facts break are that stage’s to write, as its last statement, from a rule view of its own; one rule over every arm is one statement reaching every relation the gatherer derives,graphitron_entry_defect_rulereaching 123 relations through 21 views and costing about 0.5 s to prepare on a cold ten-type capture (2026-11-08), and each walk rejection that becomes a code would add to it.graphitron_entry_defectis a supertype, one row per defect at its written position; a stage is encouraged to add subtype and other detail relations where a defect has more to say than its code and detail, each keyed by the defect’s key with a foreign key to itON DELETE CASCADE, so a swept defect takes its details with it. -
A route defect has one writer
open.ROUTE_AMBIGUOUSandNO_ROUTE_TO_TARGETare raised byoccurrence-depthsfor a route the walk takes from a written path and bygraphitron_occurrence_depth_entry_defect_rule’s inferred-route arm at `occurrence-depth-defectsfor one no path is written for, each under its own stage, two statements of one rule with nothing comparing them until the arm moves into the depth loop. -
A routine write’s refusals are codes a stage writes
open. A path the write’s result leads on is the path family’s to judge,NO_ROUTE_TO_TARGETat a landing or a payload data field no hop reaches andREFERENCE_WITHOUT_TARGET_TABLEat a path on a payload return, so only what a write alone refuses is a code of its own, andRoutineWriteQuery’s verdict and the walk’s routine refusals go as each lands. A records result whose path takes a step joining by no column pair, a `@routinestep or a condition method alone, is admitted neither as a lift nor as a stated deferral: the walk serves it today, and the store states it, as a deferral or emitted, before the routine path reads only the store. -
A table-bound return with no written path is a lift
open. The store states the write’s result as records of the return’s table re-read by its key in a statement of their own, a write’s statement joining nothing onward since it holds its locks, and the emitter refuses the shape only because it has no lift for a write. -
A routine write’s unread input is a code
open. On aMutation@routineevery input leaf feeds a parameter, the re-read being keyed, so a leaf no parameter binds is a located GRAPHITRON refusal per leaf, as the walk’sunreadWriteInputstates it today. -
A table write’s refusals are codes a stage writes
open.UpdateRowsWalkerandDeleteRowsWalkerrefuse whatMutationInputResolveradmits,@condition(override: true)on an UPDATE or DELETE input, beside their own key and shape rules:NoUniqueKeyCoverage,NoSetFields,MixedCarrierKeyMembership,NullableStraddlingReference,PlainColumnCollision,FailOnMissingNeedsKey, the idempotent delete’s key and echo, andUnsupportedInputFieldShape. Each becomes a stored defect before the walkers go, or the shape is admitted silently.MutationInputResolver.validateReturnTypealso refuses a@splitQueryon a write payload’s data field, a valid schema since the store admits it with the warningSPLIT_QUERY_REDUNDANT(Alf, 2026-11-19); that refusal goes with the walk, not into the store. -
A root routine’s refusals are codes a stage writes, claimed by C
open.RoutineDirectiveResolver’s GRAPHITRON refusals, a parameter nothing binds, an argMapping naming no IN parameter, a non-scalar leaf, `$sourceat a root, an unknown or mistyped$sourcecolumn and@fieldor@conditionon a bound leaf, and its UNSUPPORTED deferrals, a path through a list, a coercing extraction and$sourceunder a record-backed parent, each become a stored defect read off the routine’s parameter bindings before the walk’s routine path goes; a parameter nothing binds isPARAMETER_UNFILLED, raised where the root call’s fills are. A filter input reaching its own type again under the routine root is among them, the walk’s alone whereINPUT_CYCLE_EXPANDED’s filter arm reads a field that reads, looks up or counts and a routine’s producer is none of those. At a root the store already raises an unparseable argMapping, an unresolved or non-table-valued routine (ELEMENT_UNRESOLVED), an argMapping naming no IN parameter and a parameter nothing binds; `$sourceat a root isROUTINE_SOURCE_AT_ROOT,@fieldor@conditionon a bound argument or input fieldROUTINE_BOUND_INPUT_FILTERED, and a parameter bound to an input objectPARAMETER_MISMATCH, each an arm ofgraphitron_occurrence_routine_parameter_defect_rule, the walk standing aside at a root and keeping its checks below one. A path through a list and a coercing extraction stay the walk’s deferrals until "A routine call is stated per occurrence and emitted from the store, as a service call is, claimed by C" decides whether the call path carries them. -
What a producer’s object result holds is judged by the families it is stated in
open. The walk’s single-channel rules for the type a write, a routine or a service returns are no rule of the model: each field under the result is an occurrence with its own lift off its parent, so two fields re-reading the same rows, a child@service, a filter on a re-read and a path from the key table are each a field’s own (Alf, 2026-11-09). -
A field read off its parent’s member is no lookup
open.graphitron_producer_rulecallsFilmBlurbHolder.blurbaLOOKUPfor its table-bound type thoughblurb()hands back the value it reads, soNO_KEY_FROM_PARENTexempts it by the member rather than the claim. -
A node id is encoded from a routine result’s returned keys
open.NODE_ID_LANDS_ON_TABLErefuses a@nodeId(typeName:)under a routine write’s object result, its rule taking a foreign key and not the name-matched keys that carry the node’s key out of the result. -
What the model admits the emitters follow
open. A list field taking one row by a lift of one key per parent is no defect, so the emitter’s refusal joins "The store, the generator and the emitters agree on what a service call can be" before the walk’s refusals go. The routine write’s four, an id encoded from returned keys, a non-null single re-read with no errors field, a lift with no step and several fields re-reading the rows, are stored deferrals at the field. -
A name claimed that does not exist is one defect
open.TABLE_UNRESOLVED,COLUMN_UNRESOLVED,CODE_REFERENCE_METHOD_NOT_FOUNDandELEMENT_UNRESOLVEDeach state a written name resolving to nothing, the position saying what was named, so they fold into one code (Alf, 2026-11-09). -
A defect is keyed by the occurrence it judges, with the written position where there is one
open. The split by stage came first, writing the same rows, so the re-keying changes one grain inside rule views that are already small rather than a shape and a grain at once.graphitron_occurrence_defect, keyed (graph, coordinate, code) with a cascade from the occurrence, carries the written position as an attribute where the problem was written, the element’s declaration being where an editor points otherwise, andgraphitron_entry_defect_sitereads both (Alf, 2026-11-05). A defect about what an occurrence means moves there, the@nodeId, column and path defects among them, since one declaration reused under several fields fails at some and not others; one about what was written stays at its position. -
Each stratum step moves into its owner’s anchor phase, marked and swept
open. -
The stratum’s
intent_writers goopen.ClassificationDomainCapturegoes with the relation it writes. -
FactSinkandFactWritesare gone, each writer stating its own insertblocked, on "Nographitron_*_entrysurvives, an entry being the transcription’s alone". A capture site builds a generated record, sets one column at a time and hands it to a sink that assembles the insert at run time, withFactWritesoverriding that for six relations; the statement a writer issues is nowhere in its source. Twenty-nine relations still arrive that way: the legacygraphitron_*_entrydecodes fromGraphitronFactCapture, which leave with their node, then the schema inputs and extensions fromSdlFactCaptureandSdlCoordinates, the configuration fromStoredRecipe, the Java declarations fromEmittedRegistry, the build warnings, rejections, lint findings and javac diagnostics, and thesql_catalog fromJooqFactCapture. Each writes through its own statement instead, set-based where it reads the store and bound once per row throughBindBatchwhere it reads a corpus, the shapeGraphQLAstEntrieswrites in. It absorbs R701, which stated the same end from the column side.
The classified model dissolves into the store open
The store is the model. For every field it states what fetches it, what arrives at it and what it lands on, and the payloads, the candidates and the editor read those facts, so the walk’s classified records have no reader left and can go with the walk.
-
A write’s re-read reads what was committed, for every write shape
open. An execution test pins the update, delete and service re-reads, as the routine and insert ones already are. -
The matched key is stated
open.graphitron_producer_matched_keyholds one row perONEwrite and each key its input columns cover, keyed to the producer andsql_constraint. -
The DataLoader’s key is read from the producer’s lift
blocked, on "`TypeFetcherGenerator` reads the store, one family of field at a time". The fetcher’s batch key and its lift are generated fromgraphitron_occurrence_producer_lift, not from the leaf’sKeyLift. -
A child producer’s lift agrees with the classifier’s key lift
open, E’s.graphitron_occurrence_producer_lift, with_lift_candidateand_lift_accessor, states the key each child producer’s source fills it with, pinned against the classifier’s key lift over sakila but for the gap below. -
A record’s method beside its components is a read slot
open. A record offers only its components, soFilmCardData.example()backs nothing andRecordExampleholds an OBJECT of no class, where the classifier reads it through that accessor. -
A table child under a handed value deeper than its carrier refetches
open. A table-bound field below a value a producer handed down, deeper than its carrier, fetches its rows itself. -
What an occurrence takes is a binding, claimed by C
open. TheCOLUMN,NODE_ID,TABLE,VALUEandMEMBERbindings are written; an argument a call consumes binds none, the call’s parameter fill naming it. What is left isEXPRESSION, which has only its kind in the binding’s check and no writer: the projection census’sEXPRESSIONline, an@externalFieldwhose method nothing binds at its occurrence, which blocks "The projection units are rendered from the store". -
The result relations dissolve into the producer’s result, claimed by B
open. The key-row half has landed;graphitron_result,_result_table,_result_classand_result_pivotremain, saying per type what the producer’s result says per producer, and go with the result rule’s fixpoint, their type-level readers (the LSP’s type hover and inlays, the outbox rule,RESULT_SHAPES_CONFLICT) reading the results grouped by type. Each reader states that grouping in its own query overgraphitron_occurrence_sourceand its subtypes, what a type’s fields' occurrences are read from; a stored per-type grouping would begraphitron_resultagain. The editor’s readers move first, thenRESULT_SHAPES_CONFLICTandERRORS_IN_A_ROWfrom thefetchersstage’s defect rule tooccurrence-depth-defects, which reads sources, thenSOURCE_PARAMETER_MISSINGand the generator’s@pivotquestion, which is the field’s own directive. The relations themselves go only after "The producer’s readers read the occurrence producer, and the field-keyed family goes, claimed by B":graphitron_reader_rulereadsgraphitron_resultat thefetchersstage, upstream of every occurrence fact, andgraphitron_readerandgraphitron_fetcherare dissolving there, so the result rule’s fixpoint, and its cost, stays until that node lands. -
The other spellings of a connection read the stored shape
open.graphitron_producer_rule’s page arm ("the rest of a connection reads the page", which reaches every field of a connection, its edge, its page info and its facets type, positions or not) and `graphitron_occurrence_start_rulestill ask whether a type is a connection or its edge overgraphitron_field_target; each moves ontographitron_connection,graphitron_edgeand the typesgraphitron_field_position’s `PAGE_INFOandFACETSfields name, with its own row-for-row agreement against trunk. TheCOUNTandFACETSarms readgraphitron_field_positionalready. The minting,graphitron_field_minted_candidate, still spells the shape’s eleven field names; each mint arm can join the vocabulary for its field’s name by position. Andconnection-positions.graphqlsassertsgraphitron_producerrows, the field-keyed family that is going: when it goes the assertion moves onto the occurrence producer rather than being dropped. A read swap only: the field-keyed arms gain nothing, and they go with "The producer’s readers read the occurrence producer, and the field-keyed family goes, claimed by B". -
The key defects read the fill’s candidates alone
open. The service arm ofNO_KEY_FROM_PARENT/KEY_ROW_AMBIGUOUSstill counts members itself overcode_read_slotandcode_method_parameter, a second spelling of the candidates that disagrees with the fill on a method with two record-set parameters; it reads the storedRECORDcandidates per occurrence instead, and the selection arm reads the occurrence’s source object rather than the field-keyedgraphitron_result. The details move tographitron_entry_defect_occurrencewith its table and method rows, where a field filled differently under two parents now keeps one. The fill rule’s service arm stops readingorg.jooq.Record/Rowkey types off the class name. -
A source says whether graphitron selected its rows
open, F’s.graphitron_occurrence_sourcecarries its basis,SELECTEDorHANDED, so a lift tells a row graphitron selected from a record a service or a write handed over, which guarantees only its key.edges.nodeunder a page graphitron selected isSELECTED, the case where an element and the result set it sits in come from one statement. -
A child producer’s source is its parent’s value
open, F’s.keyRowhas leftOccurrenceSources;ownServiceRecordandrootRoutineleave it, andwritePayload/writePayloadMemberread the written rows; the § Source bullets ofcode-generation-triggers.adocchange with them (Alf, 2026-11-10). -
The classifier lifts by the settled rule
open.OnFkSlotsonly on a single forward hop off a selected row; a path of several hops and a@serviceor write record’s foreign key takeOnParentJoin, keyed on the parent’s primary key; a reverse single hop keeps its shortcut, and a single forward hop to several participant tables takes the source lift (Alf, 2026-11-10).splitQuery.adocanddispatch-axes.adocchange in the same commit, execution tests pinning each shape. -
A write’s payload member on another table is a defect
open, E’s. A union or interface member of a root write’s payload bound to a table other than the written one is never produced. -
A
@mutation(table:)that disagrees with its return’s table is a defectopen, E’s.WRITE_TABLES_DISAGREEraises it at the@mutation; what remains is its detail naming both tables. -
The producer’s readers read the occurrence producer, and the field-keyed family goes, claimed by B
open.graphitron_occurrence_producerand its start and call subtypes state per occurrence whatgraphitron_producer,_service,_routine,_writeandgraphitron_service_holderstate per field, read today off them through the occurrence’s field; the readers move, the rule reads the occurrence’s source rather than the field, and the field-keyed relations go withgraphitron_readerandgraphitron_fetcher. First slice landed under E:graphitron_occurrence_readerstates a member’s read per occurrence; MEMBER_UNRESOLVED and `ProjectionQuery’s reads moved onto it. -
The forced producers become join-path continuations
open. A union or interface child with a table-bound participant, a child@routineand a connection child produce today because the generator builds no inline form for them, and the occurrence producer keeps them so (Alf, 2026-11-04); each stops producing, its join path continuing its producer’s query, when the generator learns to join it. -
An object result is lifted onto a key row
open, E’s. Under an object parent the producer that starts a field lifts it onto the table of the key its source fills,graphitron_occurrence_producer_lift, while the field’s source names only that table ("Producer, bind and call on the occurrence (draft)"), and only a key on the source side lifts one, a key read off the parent’s record table’s columns, so a field whose key re-fetches its own target gets none. E keeps the fill and the first key; the hover’s departing table for an input type’s record binding is a reader of the source, kept, not dropped. -
A
@pivotgives an OBJECT resultopen, off the critical path. A@pivotfield’s type holds an OBJECT, sographitron_result_pivotgoes, and a type both nested under a table’s field and pivoted holds two shapes,RESULT_SHAPES_CONFLICT; R1096 plans@localizedon a constructed row, which this replaces. -
The backing closure stops at a table-bound type
open, off the critical path. The class a table-bound type holds is its record class, whichBOUND_TABLEalready states, so thegraphitron_type_backingclosure need not walk on from it; since a service’s object passes through to its payload’s data element, the rule takes about 0.9 s to 1.4 s on sis at load 9 to 10 (2026-10-29), its new seed arm 7 ms of that and the rest the walk from the 18 new seed classes into the table-bound types their members return, a cost accepted until this lands. Its merge is the build’s second costliest statement to plan, 235 ms a prepare and 221 CPU-seconds over agraphitrontest phase, reaching 29 relations through 3 views (roadmap/audits/2026-11-02-where-the-build-spends-its-cpu.md). -
A routine’s result is an object of its function’s record class
open, off the critical path. An unbound type a@routinereturns is a result, an OBJECT whose class is the function’s record offsql_table.record_class_fqn, whether the routine is a producer (a root,@splitQuery, under an object) or a lateral step inline, while one returning a bound type gives a row of that table; this supersedes the row of its function that a@routineread with nothing after it has handed since0428ef411, andgraphitron_routine_resultand the landing’s row with no place go. Today Tilgang holds a ROW and an OBJECT, and Brukertilgang’s three bound children have no start and no key. -
A path starts at its parent’s table and targets a table
blocked, off the critical path, on "A routine’s result is an object of its function’s record class" and "Every field has a path, the written one or the one discovery implies". A table-bound parent starts every field’s path on its binding, whatever its result, so for almost every field the start is known before the results and the editor completes on an unreached type; only an unbound parent asks its result, a nested type starting on its result’s tables and an OBJECT lifted into a derived table by mapping it onto a key row, and a root@routineestablishes a result, a path to the field’s target where that is table-bound. The target is the occurrence’sTABLEbinding’s or a scalar’s written path’s, so the start rule, the result rule and the column match read the binding, the result and the target instead of probing whether a@referencewas written, and the RESULT start narrows to unbound parents. A paginated field’s path runs from its parent to its items' table, its connection and edge types passing the cursored result forward with no path of their own, and a field on an unbound type nothing returns has nothing to start from and gets no help. On the stores of 2026-10-28, 45 to 59 percent of the non-root fields that need a path start on their parent’s binding, and the 29 bound children of service results with no key row (27 on sis, 2 on sakila) sit under a payload data element whose class is not carried down. -
The candidates are one family
open. What a coordinate could name, from the argMapping, node id,@referenceForparticipant and catalog-name askers, is one rule view read by the rejection messages, the language server’s completions and the MCP server. -
graphitron_spelled_tableis reconsideredopen. A written table name resolves there per spelling, shared by the@tabledefects and the field scope, routine element, write producer and code-reference rules, where each site could resolve its own asgraphitron_path_element_tabledoes, the resolution rule stated once.
Validate is a query over the store, and runs against the model alone open
validate opens the store, captures, reads its verdict from the store and closes it, naming
nothing in the graphitron module. A verdict is a narrower read than an emission, so this flips
before generate does.
-
A refusal of what capture injected reaches the author
open. A declaration the mint or the configuration injected that the emitted schema’s assembly refuses is recorded where the written schema’s refusals are, and the log names it. -
Each rule the walk enforces is a located defect
open. Every walk rejection becomes a code written by the stage whose facts it judges, and the walk’s hand-built validation test for it becomes a fact document or goes with its rule. When the walk’s produced-type nesting refusal goes, pin a plain type reached both as a routine’s row and as a nested row (the hover’s case 4 inOccurrenceSourceReadersTest). -
A DELETE payload’s
IDcarrier binds against the written tableopen. The carrier’sIDelement under a write takes the written table’s one node as a write’s bareIDreturn does, soNODE_ID_TARGET_UNRESOLVEDandNODE_ID_TARGET_AMBIGUOUSstate its refusals and the walk’sNoNodeForTableandAmbiguouscarrier arms go;@nodeId(typeName:)naming a node over another table is a rule of its own and gets its own code. -
A select’s condition, paging and ordering are keyed to its producer
open. The modifiers are stated overgraphitron_producer, so the operation rules are written over them once. -
A scalar constant says why it has no input type
open.code_scalar_constanttells an erased coercing apart from the other silences, so the erased-coercing rule reads the store. -
validatereads its verdict from the storeblocked, on "Each rule the walk enforces is a located defect" and "What the model admits the emitters follow". Node-id decode coverage is restated over store facts or goes, andGraphQLRewriteGenerator.validateand theVALIDATEprojection go.
generate is a function of the store and the emitted schema open
generate renders the emitted schema (the schema as written plus what graphitron mints into it
at capture) and the datafetchers from the store, writes a file only when its content changes and
sweeps a file no longer produced. It opens no store, captures nothing and builds no schema of its
own, so its output is fixed by the store, the emitted schema and the run’s configuration.
-
The generator builds no schema
blocked, on "No emitter reads a leaf". The walk goes withKeyNodeSynthesiser,ConnectionPromoter’s expansion, what is left of `AttributedRegistry,FederationLinkComposer’s rewrite of the written schema and the walk’s reflective `JooqCatalog, whose per-lookup scans cost a sis dev round about 8 s.EmittedRegistryAgreementTestgoes withConnectionPromoter. -
The authored pagination default change is announced
open. When the walk’s schema stops shipping, an authoredfirstno longer gets the page size as its default; the manual or the changelog says so. -
The generator’s inputs are values
open.GraphQLRewriteGeneratortakes aStoreHandle, theCapturedSchemaand the run’s configuration, and its constructor overCapturedGraphgoes. -
The generator reads its configuration from the store
open. Each setting it still takes offRunContextorBuildContext(the tenant column, the lint configuration, the session hooks, the output coordinates) is read from thestore_graph_relations, andRunContextstops carrying it. -
The entity dispatch’s tenant routing is read from the store
blocked, on "The tenant column and the session hook signature are captured".EntityTenantRoutingis filled from the walk’s tenant fold overEntityResolutionBuilder’s map, paired with the store’s keys by field list, a disagreement failing the build; filled from the store, `EntityResolutionBuilder,TenantBinding.EntityRepBoundand the fold’s entity arm go together, the builder’s deletion having moved here from R1119. -
The tenant column and the session hook signature are captured
blocked, on "The generator builds no schema".<tenantColumn>is one pattern, matched against database names as jOOQ matches them: a Java regular expression, case-insensitive, whole-name againstcolumn,table.columnorschema.table.column, so a plain name matches what it matched before. The fact is per matched column,graphitron_tenant_column, anchored fromstore_graph_tenant_columnandsql_columnthrough the graph’s sources; matched columns that disagree on type, and a pattern that matches nothing, are defects located in the build file the configuration was read from. The relation is stated, matching the configured name as the store matches every column spelling (sql_column_spelling, a name reaching two columns of one table resolving neither), andTenantColumnAgreementTestholds it toTenantScopeClassifier; what is left is the pattern, the two defects, whose locus is Alf’s to decide. An argument or input field is a tenant field when its column joins a matched column, which needs the argument model; the walk’s classifier goes with the walk rather than learning the pattern, its tenant fold routing a tenant-keyed node’s decode with it, resolvable or not. The session hook half, capturing the mount and unmount signatures, dissolves: R1119’s connection contract leaves Graphitron no mount or unmount to call, the consumer’s connection source doing both (Alf, 2026-11-16). -
graphitrondoes no orchestrationopen. A harness in `graphitron’s tests that captures and reads nothing of the generator moves to the model’s test fixtures, with the tests that exercise capture alone. -
Federation’s facts are the federation gatherer’s
open. The@link, import and@keydecodes move from the graphitron entries into thefederation_family,graphitron_federation_linkbecomesfederation_link, and a minted directive the link’s version cannot import is a defect row rather than an undeclared-directive error. -
A key selecting
idalone is captured onceopen.graphitron_minted_key_rule’s stand-down and `graphitron_key_field_binding_rule’s node id arm both probe the key’s parse for one selection whose one segment is `id; the parse states it once per application, a column on the key entry, and both rules read it. -
The MCP lists the composed vocabulary
open. MCP’sDirectivesResourcereadsgraphitron_directive, as the editor does, so a federated schema’s@keyand@tagare known to both rather than to the editor alone. -
The assembly runs as the anchor’s last step
open.GraphQLAssemblyCapturebecomes the step afterEmittedAnchorin the graphitron gatherer, its own gatherer row goes, and `graphql_schema_problem’s owner becomes graphitron.
An emitter reaches a fact one way open
An emitter owns its query and its emission: it reads the store with jOOQ at the grain of what it emits and renders from the rows, with no command layer and no leaf of the classified model between them. The gate is behaviour, so execution and compile tests hold each move, and no test reads generated Java or SQL as text.
-
No test reads generated Java as text
open. Each assertion on a generated body is replaced by compile or execution coverage ahead of the conversion of the emitter it reads, and `testing.adoc’s renderer-test guidance is rewritten to match. -
The recompile graph is read from the store
open. The dev loop learns which file to rebuild from the store, andPlanCompileGraphandFetcherEdgeRelationgo. -
emitimports norenderclassopen. The shared one-spelling helpers move intoemit, the old renderers import them from there, and the import rule’s exception list is empty. -
Routine writes read only the store
blocked, E’s, on "The tenant column and the session hook signature are captured" and "A routine write’s refusals are codes a stage writes". The write’s tenancy is read from the tenant table that node captures, not decided a second way, soRoutineWriteEmittertakes nothing fromGraphitronSchema, and its inherited and argument-bound routings, which a rejected tenant-scoped write never reaches, go. The connection rule judges a routine write by the table its records land on alone, so a tenant’s table crossed on the way, an anchor under a global terminus or the table an object result’s re-reading child reads, comes outUNSCOPED; the walk’s tenant binding still refuses those until it goes, and the rule reads every table the write’s re-read touches first. -
A
Mutationroot’s@routineis store-ownedblocked, E’s, on "A routine write’s refusals are codes a stage writes", "A root routine’s refusals are codes a stage writes, claimed by C" and "What the model admits the emitters follow". The walk maps aMutationfield led by@routinetoStoreOwnedFieldby its directive alone, as it does a@service, neither resolving nor judging it. Fetcher ownership and the silencing of walk errors cover routine-write occurrences as they cover service ones. Dispatch rendersRoutineWriteQuery’s row by coordinate, and the edge target and the operation members read the store. `MutationRoutineWriteField,MutationRoutineWriteRecordFieldand `RoutineDirectiveResolver’s write seat go, their tests becoming fact documents. R454’s one-row routine waits on it, the walk refusing a routine that is not table-valued (Alf, 2026-11-24: the walk gets no fixes, and the cleanup comes first). -
Operation members and delivery are read from their relations alone
open. The readers ofOperationMembers.membersOfandDeliveryFact.leafDerivedOfmove to the relations, `LauncherCommands’ two productions merge, and the crosswalk goes. -
The store, the generator and the emitters agree on what a service call can be
open. The emitters handle four shapes that the store refuses or the generator refuses with no defect stored: a node id decoded into a service parameter (any but the node’s own record a defect, that one the generator’s refusal), three node ids filling one member, a checked exception no@errorhandler covers, and a service under a table taking no source. Each becomes a located defect or a supported shape, its emitter path following. The tests read documents already:NodeIdFillEmitterTestandNodeIdBuildEmitterTestscenarios/node-id-decode-record,CallEmitterTestscenarios/service-call-shapes, and the service census is part ofEmissionCensusTest. -
No emitter reads a leaf
blocked, on "`TypeFetcherGenerator` reads the store, one family of field at a time".CommandSeamRatchetTestcounts no leafinstanceof, case pattern orplanreference left in the generator.
Each emitter reads the store open
The generator turns over one emitter at a time, each held to behaviour by tests that run the generated classes against PostgreSQL from the fact scenarios. The fixed runtime classes and the output package they are written to are settled.
-
The fixed classes' renderers move into
emitopen. The six classesFixedRuntimeEmitterrenders are written by generators that nameGeneratedUnits,ErrorDispatchFragmentsand the model, so the emitter sits beside them inrewrite.generators.schemarather than inemit. When they name only the store, javapoet and the package, they move intoemitand the emitter follows them, its record of what it wrote no longer spelled in the planner’sGlobalUnitKind. -
The
utilpackage’s fixed classes are not plannedopen.GraphitronValues,LightFetcher,ColumnValues,SelectionOccurrencesandOrderByResultare written from the package alone;ConnectionResultandConnectionHelpertake the tenancy flag (which goes where it only says how connections are keyed, tenancy no longer being a runtime mode),NestingCoordinatesthe nesting reach, andOneOfDirectiveSdlthe federation link and@oneOf. -
The configuration-read runtime classes read the store
blocked, on "The generator reads its configuration from the store".ConnectionRuntime’s units, `GraphitronConnectionInstrumentation,ConnectionResultandConnectionHelpertake the connection key’s shape from the store rather than fromGraphitronSchema; the session hooks they took go with R1119’s connection contract. -
The node id encoder is not planned
open. It renders from the store already and is written straight from it, asFixedRuntimeEmitter’s classes are, and `GlobalUnitKind.NODE_ID_ENCODERgoes, with `PlanCompileGraph’s edge to it. -
Query.nodeand_entitieseach read their own query, claimed by Copen. Node resolution and entity resolution are separate lookups with a query each against the store (ruled 2026-11-12, infact-model.adoc).Query.nodereads the nodes offgraphitron_node, filtered to those whoseidbindsNODE_ID, with their type ids and key columns;EntityKeyQuery’s alternatives become exactly the type’s `@keyapplications, so its prepended node id alternative and the resolvable-node disjunct in its entity selection go, as does the matching prepend inEntityResolutionBuilder. A key whose field binds the node id still decodes asQuery.nodedoes; today the two stay apart only because a synthesised key covers every federated node, which this makes a matter of shape. Which argument a node fetcher decodes is stated, by name as Relay has it (Alf, 2026-11-19):graphitron_occurrence_producer_node, a subtype of its producer that theNODEtaken row and the implicit node id rule read, soQuery.node’s `idis no longer also compared as a filter’s node id, and a fetcher with noid(idsfor a list) isNODE_FETCHER_WITHOUT_ID. The fetcher still spells the two names; it reads the row when it renders from a node query.EntityKeyQueryalso decides in its own query what is an entity, an object type with a@keyapplication or a resolvable node whose id bindsNODE_ID; once its alternatives are exactly the@keyapplications, that is a stored fact both queries read. -
The dispatch’s read emitters render from a plain keyed read
open.EntityLoaders,HandleMethodBodyandSelectMethodBodytakeEntityKeyQuery’s entities, so a node query cannot render its own reads through them; they take a value of the type, its table, key columns and tenant position instead, with nothing changing, proven by the execution tests, `VoucherAcceptExecutionTestamong them. -
Query.noderenders its own unit from a node queryblocked, on "The dispatch’s read emitters render from a plain keyed read". Its own loads and tenant routing, planned from the node query; thenEntityKeyQuery’s prepend, its resolvable-node disjunct and the walk’s prepend go together. The node query itself, the type-id map rendered from it on the node fetcher and the removal of `typenameForTypeIdwere R1146’s (Filip, 2026-11-20) and landed with it ata2e24973: the fetcher judges each id againstNodeQuery, read offgraphitron_node_served_by_id, andtypenameForTypeIdis gone. This node starts from that node query and does not write a second one. -
The facade, dev executor, registrations and schema class read the store
open.GraphitronFacadeGenerator,GraphitronDevExecutorGenerator,FetcherRegistrationsEmitterandGraphitronSchemaClassGeneratortake roots, nodes, scalars, error types and entities from the emitted schema and the store, once the facts below exist. Whether the entity dispatch and the node fetcher are emitted, decided from the walk by the plan, the schema class and the facade alike, is one fact this node states once; the dispatch itself renders fromEntityKeyQuery. -
An enum’s runtime value is stated by coordinate
open. It readsgraphitron_ast_enum_entry, the store’s only typed copy of an enum’s@enumreference. -
A scalar’s resolution is stated
open. -
A discriminated interface’s type resolver is stated
open. It readsgraphitron_ast_discriminate_entryandgraphitron_ast_discriminator_entry. -
An enum value’s ordering is read from the store
open. The generator reads an enum value’s@orderand@indexoff the schema;graphitron_ast_order_entry,graphitron_ast_order_field_entryandgraphitron_ast_index_entryare the store’s only typed copy. -
The
@errorhandlers are statedopen. -
Each field’s wiring is stated
open. The casesFetcherEmitter.bindswitches on, read with the families of "`TypeFetcherGenerator` reads the store, one family of field at a time". -
The type and input generators read the emitted schema and the store
open. The enum, input and object type generators,InputRecordGeneratorandConnectionFetcherClassGeneratorstop taking the walk’s types, and the variants stop carrying forms nothing renders. -
An absent emitted form is an invariant failure
open.CarriesObjectForm.formOf, the enum value source and the schema class’s scalar form fail rather than fall back, ahead of the variants losing their forms. -
TypeFetcherGeneratorreads the store, one family of field at a timeopen. Root queries (taken by "The root query fetchers are emitted from the store, claimed by C"), services, DML writes, routine writes, projected child fields, batched fetches, polymorphic fields, pivots and the errors field each render from a query at the grain they emit, the launcher’s routine row reading the facts R704 captured, withProjectionUnitRendererfolded into the families that use them. -
A batched child’s fetcher is emitted from the store, on its stated connection
blocked, G’s, on "The root query fetchers are emitted from the store, claimed by C". A split-query child reads its DataLoader and its connection off the store. It does not wait for the projection units: its$projectstays the walk’s until that tier flips, as the store-emitted roots' does (Alf, 2026-11-25). A child@routinearrives as the first step of the split’s join path, never as aROUTINEproducer: a split child routine is aSELECTproducer whose path starts at the routine. -
A connection-typed field’s fetcher is emitted from the store, on its stated connection
blocked, F’s, on the same two nodes. A connection field and its count and facet siblings read their query and connection off the store; it releases R1119’s slice 8e.3 for connection-typed fields below a vouched entity. -
The undecided fact documents are sorted
open. Each document underundecidedbecomes a scenario or states the defect it trips over, and the folder is gone; the ones the walk refuses with nothing stored wait on "Each rule the walk enforces is a located defect". -
A write payload’s union carrier generates, and its document is a scenario again
open.undecided/write-payload-member.graphqlsstates the sources the store gives a field of a root write’s payload typed as a union of tables, each member reached from the written rows; the generator refuses that carrier today ("not a recognized DML payload data-field shape"), so the document went toundecidedby ruling (Alf, 2026-11-13), the folder’s ceiling raised once for it. When the DML write family ofTypeFetcherGeneratorreads the store, the carrier generates from those sources, the document moves back toscenariosand the ceiling comes down.
A dev round costs what its reads' shapes ask open
A dev round’s capture costs what the shape of each rule’s reads asks for, not what an unlucky plan or an unindexed lookup adds, and a regression fails a gate instead of waiting for someone to profile.
-
Every partition read the plan gate lists is indexed or exempted
open. `RulePlanGateTest’s known list is empty. -
A capture’s time grows in proportion to its schema
open. A synthetic schema captured at two sizes fails a stage whose time grows faster than the schema, which is what catches a join that fans out and a graph filter pushed into a rule’s plan. -
A stage’s time does not grow with the other graphs in the store
open. The same schema captured into a store holding one graph and into one holding many fails a stage whose time grows with the number of other graphs, since a rule reading across graphs is a regression caught early.GraphKeyedScanGateTestholds the shape from the plans rather than from timings: no statement the documents' captures ran scans a graph-keyed table, whole or through an index walked whole, unless its block narrows that reference’sgraph_name.UpsertKeyGateTestholds the upsert shape. What is left is the full scans the plan gate reports and does not fail, those narrowed bygraph_nameafter reading the whole table: twelve statements on nine tables at its landing, each a cost that grows with the other graphs. -
A stage’s rows written count every row a batch writes
open.store_graph_write.rows_writtenundercounts writes that bind one row per batch entry: on sis it records 22 rows forgraphitron_ast_field_path_entry, which holds 828, and 23 forgraphitron_ast_path_entry, which holds 1,244.WriteTimessumsbatchRows()with negative counts read as zero, so a batch whose driver answers each entry without a count, as JDBC’sSUCCESS_NO_INFOdoes, adds nothing; the cause is to be confirmed before the fix. Until then the column is wrong for every relationBindBatchwrites, and a rows-per-millisecond comparison over it misleads. -
The entry defect rule reads one graph’s rows
open, unowned. After the chain-break fix the whole rule filtered to one graph takes 54 ms with one graph in the store and 98 ms with eight; what still grew was its two column-match parts, 2 to 32 ms, which readgraphitron_field_target_column_match, since gone. It was inside the timing backstop’s slack, so not on its known list. Its merge was also the costliest statement to plan in the build: the rule reaches 116 relations through 18 views, 318 CPU-seconds of preparation over agraphitrontest phase (roadmap/audits/2026-11-02-where-the-build-spends-its-cpu.md); at the 2026-11-09 re-profile it is 4% of that JVM, and each of the path-need rule’s two upserts is 12%. -
The TABLE binding’s rule restricts to the graph and depth inside its view
open, unowned.OccurrenceTableswritesgraphitron_occurrence_binding_tablefromgraphitron_occurrence_binding_table_rule, a union of five SELECTs under a DISTINCT with no graph predicate inside it. It ran once per depth until the depth loop kept only its recursion; it now runs once, inoccurrence-bindings, but the writer’s filter on the graph is still outside the view, which H2 does not push through the DISTINCT into the union, so it evaluates the whole rule over every graph’s occurrences, and the view is inlined twice, once for the binding supertype and once for the subtype. On 2026-11-11GraphCountGrowthGateTestfailed on it, writing the table in 13 ms alone and 120 ms as one of eight graphs, at load 5.8 inside the model suite. It passed twice after at load 2.2, but 107 ms over is growth, not the few milliseconds of a pause. The rule takes the graph and the depth inside each SELECT, or the writer reads it as a parameterised select, andprepare_msprices the change. -
An upsert into a table with an independent unique key is decided per table
open.graphitron_federation_definitionis unique by local name, andgraphitron_ast_reference_element_entryandgraphitron_ast_error_handler_entryby the application’s position and ordinal, none derived from the primary key, so naming the primary key turns a clash on the unique key from an update into a capture failure.UpsertKeyGateTestlists them. -
A stage’s statement reads tables, not a chain of views
open. A gate holds the cost of preparing each stage’s statement, since on a fresh store most of a capture’s time goes to H2 expanding views rather than executing them. -
The type-backing closure is stored, not recursed, claimed by B
open.graphitron_type_backing_ruleisWITH RECURSIVE(a seed, a hop, then the closure over the hops), and H2 takes about 1 s to compile it in a session, empty store or full, against a few milliseconds for the other rule views. H2 keeps a session’s compiled views in a cache of 64, a constant, and a capture reads hundreds of rule views, so every capture compiles it again: 543 s of `graphitron-model’s test prepare time on 2026-11-16, and a second of every consumer capture (R1131 A5). The hops are written to a stored relation hop by hop, as the depth loop writes depths, and the rule reads the stored closure. -
A per-depth rule is planned once per depth
open.PathNeeds.writeDepthinlines its rule’s union into two upserts andOccurrenceSources.writeinto four, so H2 plans the whole union that many times a depth; together they are a sixth to a fifth of the verification build’s CPU, all of it planning (roadmap/audits/2026-11-09-why-the-build-takes-35-minutes.md). -
No view reads a view, and every rule view is simple, claimed by B
open. The store’s rulings (fact-model.adoc§ Every relation has a grain) are not yet met: on 2026-11-15, 6 views read another view, 1 of them a rule view. A service call’s parameter fills are stored at the candidate method’s grain (graphitron_occurrence_call_parameter_written,_candidateandgraphitron_occurrence_call_candidate_fill), so the call and call method rules each pin from stored rows, and the parameter rule reads the pinned method’s fills with the record table each takes; a condition call’s fills are still filtered to the pinned method in Java. The rules that readgraphitron_producer_claimandgraphitron_synthesized_node_type_id, filters of stored relations, state the filter themselves, and an argMapping pair stores its path’s parts as generated columns, sographitron_argmapping_step_head_rulereads stored relations, andgraphitron_outbox_key_rulejoins the session handle’s accessors itself.graphitron_occurrence_route_entry_defect_rulereadsgraphitron_occurrence_connection_rule. The minting chain reads stored relations: a facet’s container and bucket type names are generated columns, a minted type’s, field’s and argument’s candidates are stored per coining application, and the carrier directive rule reads the minted rows ofgraphitron_type. Outside the rules,graphitron_code_reference_site,graphitron_entry_defect_siteandgraphitron_argmapping_matchreadgraphql_element_field, anddiagnosticreads the build warning views. The rule views that readgraphql_poly_memberreadgraphitron_type_member, and those that readgraphitron_code_reference_sitereadgraphitron_code_reference, its stored form; both views go when their Java readers in the editor and the MCP server move. Oversized rule views, each a derivation skipped upstream, by size:graphitron_occurrence_depth_entry_defect_rule(40k characters),graphitron_occurrence_build_entry_defect_rule(26k),graphitron_occurrence_producer_lift_rule(21k),graphitron_outbox_entry_defect_ruleandgraphitron_occurrence_binding_entry_defect_rule(16k),graphitron_join_path_step_rule,graphitron_outbox_key_ruleandgraphitron_occurrence_condition_parameter_rule(15k). A defect rule that large likely recomputes its stage’s resolution to find where it fails, so the stage stores its outcome, failures included, and the rule filters it. Each is fixed by storing the skipped derivation at its own grain, priced byprepare_mson a cold capture. The order follows the 2026-11-15 profile (R1131’s C1): what a stage spends executing goes first, so the statements insideoccurrence-depths,fetchersandoccurrence-bindings, the three costliest stages on sis, are looked at one by one; then the views that derive a chain again, the minting chain first; and the oversized rule views last, since on sis they cost heap and planning but little time, the stage holding the 40k character rule running in 0.9 s. Over the fact documents it costs more: compared per graph both ways byStageAnswerAgreementTeston 2026-11-17, the union of the rule viewsgraphitron_entry_defectis written from took 17.4 s of the class’s 67 s, the most of any of the 145 stage tables (the next,code_graph_class, 3.6 s). Planning is the other half of the price: a capture into a freshly opened store, measured the same day onWarmStartRefreshTest’s fixture, spent 1,646 ms preparing the derivation’s 773 statements against 46 ms executing them, 511 ms of it on the statements `graphitron_entry_defectis written from. One rule view is still read by another view,graphitron_occurrence_connection_rule(bygraphitron_occurrence_route_entry_defect_rule), and one view named a rule no stage writes from,graphitron_entry_defect_parameter_rule:StageRuleGateTestlists both as debt, each to be stored or folded in, and the lists only shrink. Bisected cold on 2026-11-19 (R1131 step 17,audits/2026-11-19-what-h2-spends-a-capture-on.md): in a fresh store three rules hold 400 of the 515 ms the 29 entry-defect rules take to plan, and a few arms each hold most of a rule’s. Ingraphitron_occurrence_producer_entry_defect_rule, arms 18, 10, 15, 17 and 1 (arm 18,SERVICE_RETURN_MISMATCH, the dearest); ingraphitron_occurrence_depth_entry_defect_rule, arms 20, 22 and 8; ingraphitron_occurrence_build_entry_defect_rule, arms 14 (NODE_ID_LANDS_ON_TABLE), 6 and 13, arms counted from 0 at the view’s top-levelUNION`s as `ViewComplexityTest’s `arms.tsvlists them. Each joins seven inputs in one block, the most H2 searches exhaustively (5,040 orders), with correlatedEXISTS/NOT EXISTSguards over several of them, whose evaluability H2 re-checks per order. Two levers, each to be priced on a cold capture: a block of five or fewer inputs (120 orders), its shared join stored once at its own grain as the occurrence-source and need claims were; and a guard repeated across arms (the threeNOT EXISTSongraphitron_argmapping_landingin builds' arm 14) stored once and joined. -
A rule view’s rows are exactly one relation’s, claimed by G
open, off the critical path. A stage inserts part of a rule view’s rows into a relation, a Java filter choosing them: the condition parameter rule intographitron_occurrence_call_parameterby a join to the method the call pinned, which an ambiguous overload leaves without fills. A subtype holding its supertype’s rows with its own payload set, asgraphitron_result_tableandgraphitron_result_pivotholdgraphitron_result_rule’s and `graphitron_occurrence_connectionand its_partholdgraphitron_occurrence_connection_rule’s, is no such choice: the subtype’s `NOT NULLcolumns state the projection, and the agreement reads each rule view through theNOT NULLcolumns of its table. The occurrence step’s first-visit guard reads the types on its parent’s chain from the storedgraphitron_occurrence_chain, so the step rule’s rows are the occurrences. The filter is a decision the store does not state. Each view is split into one per relation, its rows exactly that relation’s, the shared part stored first where the split would otherwise read a view, extending a stored relation that nearly holds it.StageAnswerAgreementTest.FILTERED_IN_JAVAlists them and only shrinks. -
The join path steps are their rule’s rows
open, closing with the walk.Steps.takewritesgraphitron_join_path_stepfrom the walk’s state besidegraphitron_join_path_step_rule, and the two disagree both ways over the fact documents: the rule computes steps the walk does not take, and the walk writes steps the rule does not compute.graphitron_join_path_claimedholds only the claims of the needs the walk reaches, which its rule states for every need. As the walk dissolves the table is written from its rule, or the rule states what the walk takes;StageAnswerAgreementTest.WALK_WRITTENlists the steps, andFILTERED_IN_JAVAthe claims; both only shrink. -
An outbox target’s name is matched once
open, off the critical path. The table or routine an outbox names is resolved by one match ingraphitron_outbox_target_rule, one ingraphitron_outbox_routine_target_ruleand one in the outbox defect rule, each splitting the configured name into its namespace and name withREGEXP. Capture stores the two halves, and one stored relation states the match and how many candidates it met, which all three read. -
Whether a producer has a frame is stated once
open, off the critical path.FrameQuerydecides in its own query which producers a frame is built for, a service or a root routine write, rooted or under a parent whose table it finds; a stored statement per producer is read by it and by the readers that ask the same. -
Which producer an outbox belongs to is stated once
open, off the critical path.OutboxQuerydecides that an outbox is a service’s where the producer is aSERVICEwith no write subtype, and a write’s otherwise; a stored placement per outbox is read instead. -
A dev session’s store is compacted when it ends
open. Compaction at close runs before H2’s own shutdown hook closes the database, so a long session’s store does not keep growing.
A capture reads only what changed open
A round re-reads, re-anchors and re-derives only what an edit can have moved, so a dev round costs
what the edit touched rather than what the project holds. Deletion rides on the same grain: a
class, a document or an entry that goes takes what hung off it by cascade. What a sis round does
today is in roadmap/audits/2026-10-19-where-a-dev-round-spends-its-time-on-sis.md.
-
A classpath change reruns only the gatherers that read the classpath
open. A round that succeeds says which gatherers it ran and which it skipped. -
Every
code_row hangs off a classopen.code_throwableandcode_throwable_supertypekey intocode_classrather than the entry, so a class that goes takes them with it. -
A single changed class re-reads only itself, swept at the class file
blocked, on "Everycode_row hangs off a class" and "`code_type` andcode_type_elementare gone".CodeCapturesweeps once, atstore_class_file, and readsbyte_sizeandmtimeto skip an unchanged class. -
A corrupt store is set aside and captured cold
open. Whengenerate,validateordevopens or commits to a warm store and H2 reports corruption (MVStoreException, "Unable to read the page"), the goal renames the store aside, keeping it as evidence, captures cold and warns with the moved file’s name; today the goal fails and the author must know to deletetarget/graphitron-model/. Only H2’s corruption codes count: a store locked by another process, or failing for any other reason, still fails the goal. A test truncates a store mid-page and shows the next capture succeeds with the old file beside it. Seen 2026-11-07, when sakila-example’s warm store from before a machine restart failed a build every other module of which was green.
A signature’s type is a fact about the position that writes it open
A method, parameter or slot carries the parse of its own type (spelling, erased class, delivered
class, delivery) instead of pointing into code_type, a dictionary of spellings shared by every
class that mentions one. Shared rows cannot be invalidated per class, so the dictionary is what
keeps the classpath capture from working at the class grain.
-
The editor and the MCP render a type from the spelling the row holds
open.ClassMemberSlotsandClasspathMethodsin the language server andSchemaQueries.membersandCodeQueriesin the MCP server format the spelling instead of joiningcode_type. -
A delivered class the reading holds is referenced by its key
open. A position whose delivered class was gathered carries that class’s entry beside its name, keyingcode_class; NULL says the class was not gathered. -
code_typeandcode_type_elementare goneblocked, on "The editor and the MCP render a type from the spelling the row holds" and "`SeededStore` is deleted". The relations, their writer and the fixture’s dictionary rows go; no reader joins on a spelling to fetch a parse. -
The modeling discipline’s worked example follows them out
blocked, on "`code_type` andcode_type_elementare gone".modeling-discipline.adocrestates its example over the positions that carry the parse.
Gatherers run in the order their corpora stand in open
The order gatherers run in is the order foreign keys can point in: the configuration, then the classpath and the catalog, then the documents, then what resolves the documents against the rest. The call order already follows it; what is left is a gate that holds it and the pages that say it.
-
A gate holds the call order to the roster
open. A test fails whenModelCapturecalls a gatherer before one it declares inmeta_gatherer_dependency. -
The pipeline overview states the order and what holds it
blocked, on "A gate holds the call order to the roster".pipeline-overview.adoc§ Capture names the order and the gate. -
The pipeline overview describes a dependency’s row
open. Thestore_bookkeeping sentence namesstore_graph_dependencyand what each kind of entry lets a capture skip.
The store knows whether an artifact can go stale open
Reading a jar is safe for a release and dangerous for a snapshot, and Maven settles which. The store records what each classpath entry is and where it came from; what is left is the version, treating each kind by what it can do, and catching a stale catalog.
-
A dependency is a coordinate and a version
open. The configuration gatherer records the version the build declares beside `store_graph_module’s coordinate, and a dependency stops being keyed by the entry’s path. -
Three kinds get three treatments
blocked, on "A dependency is a coordinate and a version". A release jar needs no content stamp, a snapshot jar does, and only a directory needs the stat walk. -
A catalog is compared with what generated it
open. The migrations or DDL the catalog’s codegen read are captured as a fact, and a stale catalog is a warning besidebuild_warning_stale_module. -
A directory’s stamp covers what the reading reads
open. Regenerating jOOQ into a module that also holds services no longer makes every service class read again.
Which types are nodes, with which id and key, is stated once and every reader reads it open
A node is what the manual says takes effect: a type that implements Node over a @table the
catalog resolves, with @node or published catalog metadata giving its type id and key columns.
graphitron_node states that answer, and the walk’s NodeDeclaration.isNodeType states the same
one. The editor’s completion and typeName: check and the MCP read it, the hover keeping to what
the author wrote; it is still settled from coordinate copies of @node and @table, refilled
whole each reading.
-
Table types, nodes and node key columns are marked and swept
open. An unchanged binding keeps its node and key columns rather than losing them to a clear and refill;Nodes.derivestill deletes and refillsgraphitron_node.
A node id is a target type, read as its ID open
A @nodeId field, argument or input field has a target type like any other, the node type, and
says only that the value is that type’s ID; the route to it is the ordinary forward walk.
graphitron_node_id_instruction blended what was written with what was inferred and the node-id
relations kept a private model of the route; both were replaced from scratch, reading nothing from
intent_, and are gone. graphitron_node_id_instruction’s insert cost 23 CPU-seconds of preparation over a
`graphitron test phase, reaching 24 relations through 4 views (roadmap/audits/2026-11-02-where-the-build-spends-its-cpu.md).
The replacement is the binding’s NODE_ID subtype, graphitron_occurrence_node_id: at each
occurrence, the node type, the rule that decided it and the node’s key columns on its own table.
-
The corpus is written against the model
open. Fact documents state a writtentypeName:naming an interface over nodes beside the union already stated, and a bare@nodeIdon a@referencefield once its path’s landing is filled. -
An output field’s node id is encoded from the store
open, F’s. The encode is an emitter of its own with its own query overgraphitron_occurrence_node_id, written when the store emits output selections; the walk dissolves into store emitters this way (Alf, 2026-11-06), and the decode already has, inNodeIdDecodeQueryandNodeIdDecodeEmitter. -
The classifier reads its routes from the store, the @nodeId filter first
open, F’s. The classifier (GraphitronSchemaBuilder.buildBundle,BuildContext) takes an optional store handle,TestSchemaHelpercapturing a store per distinct schema text asemittedSchemais cached, and the@nodeIdfilter’s route becomes a store query owned by the resolver, soNodeIdLeafResolver’s `selectRoute,resolveFkJoinPath,walkExplicitandlandKeyColumnsgo. Meanwhile the walk’s auto-discovery counts the one key in both directions, as the store does, an interim (Alf, 2026-11-07). Anidargument on a field returning a node, resolvable or not, decodes as its node id in the walk as in the store, and the walk’s reading goes here too. -
An overload accepts a member by two spellings
open. Its parameter is the member’s own record or one ofObject,Record,TableRecord<?>andUpdatableRecord<?>, most specific first. -
The destination names the overload
open. Agraphitron_relation holds one row per member naming the overload it lands in, and a member no overload accepts is a defect. -
The overloads differ only in the polymorphic parameter
open. Overloads that differ in another parameter or in argument mapping are refused. -
The generator dispatches from these rows
blocked, on "The destination names the overload". R984 owns the dispatch and reads the rows the three nodes above write. -
The record supertype walk goes
blocked, on "The generator dispatches from these rows".sql_table_record_supertypeand the capture walk that climbs a record class are deleted.
Seeding dissolves, and the fixture goes with it open
A seeded test writes a relation’s columns by hand, so a relation cannot go while a test seeds it
and a reshape breaks tests whose behaviour did not change. Every seeded class becomes a fact
document or a captured Java case, and SeededStore is deleted; this frees the subtractions
elsewhere in the graph.
-
Every other seeded class converts by its subject
open. 21 test classes still nameSeededStore, against `SeedingDissolutionGateTest’s ceiling of 16; fields, mutations, input fields and arguments convert whole, a subject listing its corpus gaps once before its first conversion. -
SeededStoreis deletedblocked, on "Every other seeded class converts by its subject". The fixture goes, andSeedingDissolutionGateTestgoes with them.
What the converted seeded cases turned up is fixed open
Stating the seeded cases as documents put real schemas in front of rules that had only met hand-written rows, and six of those rules answered wrongly, threw, or never fired. Each is fixed here with a document that shows it.
-
A
@nodeIdbeside@field(name:)names a target of the decode’s shapeblocked, on "A table class’s column fields are stated" and "What an occurrence takes is a binding, claimed by C". The name is theNODE_IDclaim’s target: under a table source a column, under an object source a member, and its type, a column’s generatedField<T>or the member’s, matches the shape the encode or decode needs, a mismatch the defect (Alf, 2026-11-05). -
A
@nodeIdargument walking its own path decodes the type it arrives atblocked, on "The classifier reads its routes from the store, the @nodeId filter first". On the field below the store resolvesActorfrom the table the path arrives at, while the generator infersFilmfrom the field’s table and emitsactor.FILM_ID, which does not compile. The generator never supported the shape and is not patched for it: reading the store’s target type is the fix. When it lands, the fragment goes into the scenarionode-id-instruction-bases, which already declaresFilmandActoras nodes: the field into itsextend type Query, the row into itsgraphitron_occurrence_node_idexpectation.```graphql extend type Query { filmsByActor(byActor: ID @nodeId @reference(path: [{key: "film_actor_film_id_fkey"}, {key: "film_actor_actor_id_fkey"}])): [Film] }extend schema @expectEquals(relation: "graphitron_occurrence_node_id", rows: """ coordinate, bound, position, basis, node_type_name, column_name Query.filmsByActor(byActor:), public.actor, 0, TARGET_TABLE_NODE_TYPE, Actor, actor_id """) ```
The agreement test dissolves, each case to the corpus it pins open
FactCaptureAgreementTest and the shadow tests compared the store against the walk. Each case
ends up pinned where its corpus or its writer lives, and the registration says what anchors a
relation rather than what it shadows.
-
The oracle writers' lifecycle cases stay with their writers
open. The javac partition and loaded diagnostics cases move to agraphitrontest named for what it pins. -
A registration says what pins a relation, not what it shadows
open. Eachgraphql_andgraphitron_relation is registered as corpus, derivation or oracle writer, and one left with no anchor is reported. -
Any relation that carries the graph can be asserted empty
open. The corpus’s comment-phrase silence check goes, and@assertEmptyapplies to every relation carrying the graph. -
The fact model cites what pins it
blocked, on "A registration says what pins a relation, not what it shadows".fact-model.adocstops namingFactCaptureAgreementTest. -
FactCaptureAgreementTestis goneblocked, on "The oracle writers' lifecycle cases stay with their writers", "A registration says what pins a relation, not what it shadows" and "Any relation that carries the graph can be asserted empty". -
The shadow tests go with their walk side
blocked, on "The generator builds no schema".RoutineSpentInputShadowTestandNodeTypeShadowTestare deleted. -
The corpus goes
blocked, on "The shadow tests go with their walk side". The corpus documents andCorpusStoreare deleted, each reader becoming a fact document or going with the walk it tests;CorpusExpectationsandCorpusDocumentsstay, the fact documents' assertions and loader.
The editor’s answers are tested where the editor gets them open
Hover and inlay hints went blank in a real editor session while every test passed, because no
test takes the path a session takes: the dev goal’s own capture read through Workspace. Each
gate on that path answers nothing when it fails, and the store must survive the session.
-
A dev round answers hover and inlay hints over the wire
open. A plugin-tier test runs a dev round over a schema on disk, attaches a client, opens the file and asserts both answer. -
A read that answers nothing says why
open. No store and a document no graph read each report once per document, as an out-of-budget read already does. -
A hover on a type name written as a field’s type answers
open. It shows the type as a hover on its declaration does. -
A store whose file is gone fails loudly
open. AClosedChannelExceptionon read closes the store and reopens it cold rather than serving from page cache.
The data model is written down as it now stands open
Contributors read the store’s shape from one architecture page that states what this item learned: the store is the model, facts are keyed by where they were written, the emitted schema is decided in capture, and a path is one forward walk from source to target.
-
The data model is an architecture page beside the fact model
open. A page underdocs/architecture/explanation/states the coordinate, its small facts and the emitter decision, rewritten from R333 rather than copied, landing with or after R1163’s vocabulary. -
The documentation examples render without the walk
open.QueryViewRendererbuilds its schema withGraphitronSchemaBuilder; it reads the emitted schema capture builds instead, so a page’s examples outlive the walk. -
A view’s column prose lives where the store keeps it
open. H2 2.5 refusesCOMMENT ON COLUMNon a view, and 2.4 already dropped those comments when a file store was reopened, so the 1202 are SQL comments ingraphitron-model.sqlfor now. They move to the view’s own comment, to ameta_view_columnrelation, or go for a rule view whose stored table states the same columns;FactSchemaGateTest,CommentRenderabilityGateTestand the schema reference pages widen back.
The build cannot hang or fail on its own fixtures open
A build that hangs or fails for reasons no change caused costs every session a rerun and makes a
real failure look like noise. The LSP test JVM crash seen once is in the two
roadmap/audits/2026-10-21-lsp-test-jvm-sigsegv-* audits, for a recurrence to be read against.
-
A capture’s mark is a UTC instant, bound without the JVM’s zone
open.touched_atbinds throughjava.sql.Timestampand the default zone, so a zone switch mid-capture splits the mark and the sweep deletes parents under live children; aforcedTypebinding that hands H2 theLocalDateTimeitself, the mark taken at UTC, removes the dependence without touching the DDL. -
A test that sets the JVM’s zone or locale is isolated, and the build says so
open. A scan of test sources fails aTimeZone.setDefaultorLocale.setDefaultin a class without@Isolated; the UTC mark makes it hygiene rather than the capture’s only defence. -
A pooled test store stays near its live size while a test runs
open. On trunkEmittedRegistryAgreementTestgrows its pooled store past 6 GB mid-run, with 43% of a smaller sibling live and a few hundred MB left after it compacts at close, so a nearly full disk fails the build; compacting between documents, or a store per document closed after each, are the options.
User documentation (first-client check): paths
User-visible authoring, so the docs draft is part of the design of
"Arguments and input fields are resolved as fields are, from a target model". It replaces the rules on
docs/manual/reference/directives/reference.adoc and referenceFor.adoc, and the shapes
docs/manual/how-to/polymorphic-types.adoc walks through, when that section ships. Until then the
manual describes what the generator does today, which differs: it rejects @referenceFor on a
single-table polymorphic field, rejects any field-level @reference on a multi-table child, and
inherits nothing from an interface’s field. If the draft does not read simply, the rules are wrong
and change before implementation.
@reference and @referenceFor: where a path starts and where it lands
A field whose type is bound to a table is a path field: selecting it joins from the table the field’s rows come from to the table its type is bound to. The path starts at the type the field is declared on and lands on the type the field returns.
Where a path starts. A union is never bound to a table, so a path field sits on an object type or an interface.
-
On an object type with
@table, the path starts at that table. -
On an interface with its own
@table, the path starts at the interface’s table. -
On an interface whose implementations each carry their own
@table, there is no one table to start at, so there is one path per implementation, each starting at that implementation’s table.
A path written on an interface’s field is inherited by every implementation’s field. An implementation states its own path on its own field to start from its own table instead.
Where a path lands.
-
A field returning an object type with
@tablelands on that table.@referencestates the path. -
A field returning an interface with its own
@tablelands on the interface’s table, stated by@reference.@referenceFor(type:)states a different path for one implementation where it needs one; the others take the interface’s. -
A field returning a union, or an interface whose implementations each carry their own
@table, has no one table to land on. There is one path per member, each stated by@referenceFor(type:)naming the member.@referenceon such a field is an error, since it has nothing to land on.
Paths you do not write. Where exactly one foreign key joins the two tables, you need not write the path; the generator takes that key. Every path a field needs must be written, inherited or decided this way; a field left without one is an error naming the implementation or member it lacks.
A condition is chosen by both tables. A {condition:} element names a method, and each path calls
the overload whose two table parameters take the table the step leaves and the table it reaches. One
@reference may therefore stand for several paths that differ in where they start: written on an
interface’s field, each implementation’s path calls the overload for its own table.
A condition may not stand for paths that differ in where they land. Write one @referenceFor per
member instead; they may all name the same method, and each calls the overload for its member’s table.
Examples. Each example is a query file beside the page, selecting from the fact document
scenarios/path-rules drafted below; the build renders it to the SDL the page includes, so an example
cannot say what the store does not. Three files carry the rules above:
# examples/interface-paths.graphql
fragment InterfacePaths on Person @factDocument(path: "scenarios/path-rules") {
address { addressId }
homeAddress { addressId }
customerAddress { addressId }
store { storeId }
}
Person has no table, so each of Customer and Staff starts from its own. address is inferred
from each one’s key to address. homeAddress is one written path that calls
homeAddress(Customer, Address) from customer and homeAddress(Staff, Address) from staff.
customerAddress names a method with no overload for staff, so it is an error at
Staff.customerAddress, naming the pair. store is inferred for Customer, while Staff, with two
keys to store, states its own path on its own field.
# examples/member-paths.graphql
fragment MemberPaths on Store @factDocument(path: "scenarios/path-rules") {
people { ... on Customer { address { addressId } } }
peopleByKey { ... on Customer { address { addressId } } }
peopleByCondition { ... on Staff { address { addressId } } }
}
people lands on two tables: Customer’s path is inferred and `Staff’s is stated with
`@referenceFor. peopleByKey is an error, a @reference with no one table to land on.
peopleByCondition names one method in a @referenceFor per member, each calling the overload for its
member’s table.
# examples/argument-paths.graphql
query ArgumentPaths @factDocument(path: "scenarios/path-rules") {
people(storeId: "c3RvcmU6MQ==") { address { addressId } }
}
On an argument or input field the path starts at the type the consuming field returns, once per
consuming field, here at each implementation of Person, and lands on the type the argument
targets, Store. @nodeId says only how to read the id.
Who takes an argument’s path. An argument or input field is taken by one consumer: a method a
directive calls, which receives its value as a parameter, or else graphitron, which writes a
predicate from it. A path on it hands that consumer tables. Graphitron writes its predicate on the
path’s landing, and a method receives the path’s tables in its table-typed parameters, chosen by
type as a condition’s overload is, so @condition and @nodeId each combine with @reference. A
path whose consumer takes no table, such as a @service method that takes only values, is an
error. Graphitron cannot add to what a @service or @externalField method returns, so under
those an argument the method does not take is an error; under @condition and @routine
graphitron writes a predicate from it.
Draft fact document: scenarios/path-rules.graphqls
One document covers the rules, one field per rule, so the manual’s examples select from it through
query files beside the pages rather than carrying SDL of their own. It cannot run before "A path is keyed per pair of tables"
lands; it is the document "`scenarios/path-rules` runs" asks for, and the
condition parts of undecided/field-path-and-participant-path, undecided/condition-method-route,
undecided/condition-method-route-departures, undecided/field-path-condition,
defects/reference-step-target-refused and defects/argument-reference-step-target-chain move into
it. graphitron_path stands for the per-pair relation the target model declares, one row per field,
target member and pair of tables, with where the path came from; its final name and columns are that
node’s to settle. The PathRulesFixtures methods are new, in graphitron-sakila-service beside
ConditionMethodRouteFixtures; the defect codes after ROUTE_AMBIGUOUS are new too.
The rules it does not cover yet: a lifted field’s start, which needs a record-backed type, and an inferred path on a single-table interface’s own field.
# The path rules, one field per rule, over the sakila catalog. customer and staff each have one key
# to address; customer has one key to store, staff two (staff.store_id, and store.manager_staff_id
# back to it); film has two keys to language.
type Address @table(name: "address") { addressId: Int @field(name: "address_id") }
type Store implements Node @table(name: "store") @node { storeId: Int @field(name: "store_id") }
"An interface no table backs: each implementation's path starts at its own table."
interface Person {
"Inherited, and inferred from each implementation's one key to address."
address: Address
"Inherited, one condition, an overload per starting table: homeAddress(Customer, Address), homeAddress(Staff, Address)."
homeAddress: Address @reference(path: [{condition: {className: "no.sikt.graphitron.rewrite.test.conditions.PathRulesFixtures", method: "homeAddress"}}])
"Inherited, and only homeAddress's Customer overload exists for this method: Staff has no overload for its pair."
customerAddress: Address @reference(path: [{condition: {className: "no.sikt.graphitron.rewrite.test.conditions.PathRulesFixtures", method: "customerOnlyAddress"}}])
"Inferred for Customer; ambiguous for Staff, which states its own."
store: Store
}
type Customer implements Person @table(name: "customer") {
address: Address
homeAddress: Address
customerAddress: Address
store: Store
"A scalar path: a column reached through two keys."
city: String @reference(path: [{key: "customer_address_id_fkey"}, {key: "address_city_id_fkey"}]) @field(name: "city")
}
type Staff implements Person @table(name: "staff") {
address: Address
homeAddress: Address
customerAddress: Address
"Overrides the inherited path, which cannot be inferred from staff."
store: Store @reference(path: [{key: "staff_store_id_fkey"}])
}
type Film @table(name: "film") { title: String }
"A single-table interface: one table, members told apart by a column."
interface MediaItem @table(name: "film") @discriminate(on: "text_rating") { title: String }
type FilmItem implements MediaItem @table(name: "film") @discriminator(value: "film") { title: String }
type ShortItem implements MediaItem @table(name: "film") @discriminator(value: "short") { title: String }
type Language @table(name: "language") {
"The interface's own path, with one member reached by another key."
media: [MediaItem!]!
@reference(path: [{key: "film_language_id_fkey"}])
@referenceFor(type: "ShortItem", path: [{key: "film_original_language_id_fkey"}])
"Two keys from language to film and no path: ambiguous."
films: [Film!]!
}
extend type Store {
"A target with no table of its own: Customer inferred, Staff stated."
people: [Person!]! @referenceFor(type: "Staff", path: [{key: "staff_store_id_fkey"}])
"A @reference on a target with no table to land on."
peopleByKey: [Person!]! @reference(path: [{key: "customer_store_id_fkey"}])
"The remedy for a condition that differs by member: one @referenceFor each, one method."
peopleByCondition: [Person!]!
@referenceFor(type: "Customer", path: [{condition: {className: "no.sikt.graphitron.rewrite.test.conditions.PathRulesFixtures", method: "storePerson"}}])
@referenceFor(type: "Staff", path: [{condition: {className: "no.sikt.graphitron.rewrite.test.conditions.PathRulesFixtures", method: "storePerson"}}])
"Two overloads take the one pair: agreeingOnBoth(Customer, Address) and the same with a String."
tied: Address @reference(path: [{condition: {className: "no.sikt.graphitron.rewrite.test.conditions.ConditionMethodRouteFixtures", method: "agreeingOnBoth"}}])
}
extend type Query {
people(
"Per member of Person, to the node type's table: Customer inferred, Staff stated."
storeId: ID @nodeId(typeName: "Store") @referenceFor(type: "Staff", path: [{key: "staff_store_id_fkey"}])
"A @reference on an argument whose consumer returns members on two tables."
byKey: ID @nodeId(typeName: "Store") @reference(path: [{key: "customer_store_id_fkey"}])
): [Person!]!
languages: [Language!]!
stores: [Store!]!
}
extend schema @expectEquals(relation: "graphitron_path", where: "origin <> 'EMPTY'", rows: """
coordinate, target_type, start_table, target_table, origin
Customer.address, Address, customer, address, INFERRED
Customer.city, String, customer, city, WRITTEN
Customer.customerAddress, Address, customer, address, INHERITED
Customer.homeAddress, Address, customer, address, INHERITED
Customer.store, Store, customer, store, INFERRED
Language.media, FilmItem, language, film, WRITTEN
Language.media, ShortItem, language, film, WRITTEN
Query.people(storeId:), Customer, customer, store, INFERRED
Query.people(storeId:), Staff, staff, store, WRITTEN
Staff.address, Address, staff, address, INFERRED
Staff.homeAddress, Address, staff, address, INHERITED
Staff.store, Store, staff, store, WRITTEN
Store.people, Customer, store, customer, INFERRED
Store.people, Staff, store, staff, WRITTEN
Store.peopleByCondition, Customer, store, customer, WRITTEN
Store.peopleByCondition, Staff, store, staff, WRITTEN
""")
extend schema @expectEquals(relation: "graphitron_entry_defect_site", rows: """
code, coordinate
CONDITION_NO_OVERLOAD_FOR_PAIR, Staff.customerAddress
CONDITION_OVERLOAD_TIE, Store.tied
REFERENCE_WITHOUT_TARGET_TABLE, Query.people(byKey:)
REFERENCE_WITHOUT_TARGET_TABLE, Store.peopleByKey
ROUTE_AMBIGUOUS, Language.films
""")
What the document pins beyond the rows:
-
A row is keyed by the type the need reaches, each member of a single-table interface its own row, as
Language.media’s `FilmItemandShortItem; the empty paths are filtered out. A written path’s target table comes from its steps, so a path that stops has no row:Staff.customerAddresshas none, asStore.tiedhas none. -
Staff.storestates its own path because the inherited one cannot be inferred fromstaff; without it the document would carryROUTE_AMBIGUOUSatStaff.store, which is how a missing path for one implementation reads. -
Staff.customerAddressinherits a path and draws the defect at the implementation’s own field, the written position an author edits, naming the pair(staff, address)in its detail. -
The
homeAddressrows are one written path resolved twice, by the overload each starting table takes;graphitron_field_path_method, or its successor, holds one method row per pair. -
peopleByConditionreuses one method across members;storePerson(Store, Customer)andstorePerson(Store, Staff)are each taken by one pair. Written as one@reference, the same field would drawREFERENCE_WITHOUT_TARGET_TABLE, aspeopleByKeydoes.
Nested coordinates and their paths (draft)
What we are after. A field means one thing wherever the store holds it. Today a field is keyed
by (type_name, field_name), once per declaration, but a field of a type with no table of its own
(a nested type, reached under a field of another type) and a field of an input type mean
something different under each parent: which table they read, where their path starts, what their
parent holds. The store tells parents apart by a table column added to the key instead
(from_*, start_*, table_*, resolving_*, origin_*). So a field reached from two parents on
one table is one row, a field reached from two tables is two rows nobody can name, and every reader
that wants "the table" has to choose. The goal is to state such a field once per parent chain, at a
nested coordinate, so every parent-dependent fact has one row per coordinate and readers read it
without choosing. And every occurrence has a path, an empty one ending where it starts, so the
tables a field reads and the column it binds are read off its occurrence’s path, not off a relation
per question that each choose a table.
The coordinate. The field’s place in the schema, spelled TypeName.nestingField.nestedField
from the nearest field whose parent is not nested, its nested steps dotted as argMapping already
spells a path (filter.actorRef.actor_id). An argument keeps the specification’s (argument:), and
an input field is spelled inside the parentheses, from the argument: Type.field(x:) names the
argument, Type.field(x.y:) and Type.field(x.y.z:) input fields under it, and Type.field.x only
ever a nested output field. Emne.navn.en is en on the nested type EmnenavnAlleSprak under
Emne.navn, and Query.films(filter.cast.firstName:) an input field under the argument filter.
A field declared on an interface or reached through a union is spelled from the
participant, never the interface: Film.title and Book.title, not Media.title, so each
coordinate departs from the participant’s one table. A field whose parent is table-bound or a root
has exactly one coordinate, its own Type.field, so the population is uniform: every field has at
least one.
What the stores hold. Measured on sakila, sis and the three FS-plattform consumer modules.
| sakila | sis | tilgangsstyring | utdanningsregisteret | opptak | |
|---|---|---|---|---|---|
Nested output types |
156 |
727 |
55 |
96 |
190 |
Their fields (one row each today) |
290 |
1,591 |
127 |
211 |
465 |
Nested types under more than one parent field |
33 |
14 |
4 |
4 |
22 |
Nested types whose rows come from more than one table |
1 |
3 |
0 |
1 |
1 |
Nested coordinates, one per parent chain and field |
550 |
2,516 |
351 |
335 |
854 |
Deepest nesting chain |
2 |
3 |
2 |
3 |
4 |
Input fields (one row each today) |
277 |
2,526 |
116 |
359 |
769 |
Input occurrences already enumerated ( |
651 |
3,028 |
160 |
442 |
1,162 |
Deepest input chain |
3 |
4 |
1 |
5 |
5 |
No store has a cycle in its output nesting. Stating a field per parent chain costs 1.6 to 2.8 times today’s nested field rows. "Nested output type" counts every object or interface no table binds that is some field’s target, payloads and service results included, not only directiveless types under a table.
What already works this way.
-
The generator classifies a nested type’s fields once per parent field (
FieldBuilderbuilds aChildField.NestingFieldper embedding edge, resolved against that parent’s table), but emits one class per nested type from a representative edge (NestingReach), soGraphitronSchemaValidator.validateNestingParentCompatrefuses reuse where parents disagree on a column, its class, a filter or the presence columns, and tells the author to split the type. -
The generator resolves input fields per use (
TypeBuilder.resolveInputFieldsagainst the consuming field’s table), keyed byClassifyContext.UseSite: the root field, the argument and the chain of input fields under it. That is the input half of the nested coordinate. -
intent_input_occurrence_pathand its steps enumerate input occurrences, spelledType.field(arg)/inputField/..., andgraphitron_node_id_instruction.use_sitereuses that spelling. Both are derivation-written. -
The path model draft below keys its needs on the occurrence, in this section’s spelling.
The rules. Where an occurrence’s values come from, how its path runs and what it binds are stated once, in the path model’s Source, path, bind below. They grew from rules drafted here and checked against sis on 2026-11-02 and 2026-11-03, the check below.
Checked on sis, the sources, path ends and columns those rules give, against today’s relations, per declared field; the scripts are a session’s, not the tree’s.
| today | path model | difference | |
|---|---|---|---|
Output field departures, against |
3,772 |
3,772 |
none |
Scalar columns, against |
1,913 |
1,915 |
the node identity of two |
Argument tables, against |
970 |
1,470 |
none missing; 436 rows for |
Input-field tables, against |
1,803 |
2,236 |
none missing; the 433 extra are the 93 input types under those 46 services |
The check ended a same-table @table target with nothing written at its target’s table, which the
rules now refuse; no count depended on it.
The relations, sorted. Of 118 field-keyed relations (excluding _rule views and the intent_
family), 76 state a fact about the field as declared and stay keyed by Type.field: its written
directives, its declared type and arguments, the emitted schema, the reference spellings. The ones
that depend on the parent fall three ways.
-
Dissolve into the occurrence and its path. Each is a read of the occurrence, its path and what the path’s end resolves; none re-keys first.
-
graphitron_field_source_table: the occurrence’s source. -
graphitron_field_scope_table,graphitron_argument_scope_tableandgraphitron_input_field_resolving_table: the end of the field’s path, forks included. -
graphitron_field_target_column:graphitron_occurrence_column, theCOLUMNbinding at the path’s end, and its defects. -
graphitron_node_id_decode_column,_hopand_hop_column, andgraphitron_node_id_instruction, all written byDerivationStratum: theNODE_IDbinding,graphitron_occurrence_node_id, at the path’s end. -
The
graphitron_field_pathfamily and its starts and stop, the field, argument and input-field reference step targets and hops, keyed and keyless: the path family, as the path model draft below lists. -
intent_input_occurrence_pathand its steps: the input occurrences. -
graphitron_result_table: a table-bound type’s table isgraphitron_tabletype, a record-backed type’s its record class’s table, and a nested type’s the start of its fields' occurrences.
-
-
Dissolve into declared facts, keyed by
Type.fieldor by type.-
graphitron_field_target_table: the arriving type is the declared target, or each member of a single-table interface, read offgraphitron_field_target,graphql_poly_memberandgraphitron_tabletype; the needs carry one per member. -
graphitron_resolved_type_binding: dissolved intographitron_tabletype(2026-11-04). -
graphitron_join_path_claimis already keyed by the declared element and target type.
-
-
Stay keyed on the occurrence,
(graph_name, coordinate)with a foreign key to it:-
graphitron_occurrence_source, one per occurrence, and its subtypes on the same key:graphitron_occurrence_source_tableandgraphitron_occurrence_source_object, the lift being the producer’s; -
the path family itself,
graphitron_path_need,graphitron_path,graphitron_join_path_stepand its children, andgraphitron_join_path_stop; -
graphitron_occurrence_bindingand a subtype per kind, keyed by(graph_name, coordinate, bound), the bound spelled from names: a table forTABLE,COLUMNandNODE_ID, a forked end being a binding per table, the method forEXPRESSIONandRESULT_EXPRESSION, and the class and member forVALUE(no.sikt.fs.EmneNavn#getEn):graphitron_occurrence_columnwith itssql_columnand whether the SQL or the jOOQ name matched,graphitron_occurrence_node_id, one row per key column by ordinal,graphitron_occurrence_binding_table,graphitron_occurrence_binding_value,graphitron_occurrence_binding_memberand E’sEXPRESSIONsubtype. A miss isCOLUMN_UNRESOLVEDorCOLUMN_AMBIGUOUSat the field’s written position, and for an input under a parent boundTABLEonly where no parameter fill takes it; -
graphitron_field_key_rowand its method subtype: the keys a parent hands a child@service, which no path end states; -
graphitron_producer,graphitron_readerandgraphitron_fetcher, whose rules already decide per parent (a nested field is a re-read producer where a write, routine or service returns its parent; a reader only where its parent has one result shape). -
Unsorted:
graphitron_result_pivot, which follows what it reads; it is sorted when its readers are.
-
The relations, with their grains.
-
graphitron_occurrence, anchoring: an occurrence of an element, one use of a declared field, argument or input field reached along a chain of parents, as the fact model’s use-keyed facts are keyed on it and its definition’s ongraphitron_element. One row per nested coordinate, keyed by(graph_name, coordinate). It carries:-
element_coordinate, the declared element it is an occurrence of, ingraphitron_element, which holds fields, input fields and arguments alike. Nullable, with a foreign key thereON DELETE SET NULL: an anchor’s key to what it was built from does not cascade, and the sweep removes a row whose element went. -
parent_coordinate, the occurrence it hangs under, null where a chain starts, with a cascading foreign key to itself, which runs downstream. -
name, the field or argument name at this step, andkind,FIELD,FIELD_ARGUMENTorINPUT_FIELD, so an argument and a field are told apart without parsing, with an index on(graph_name, parent_coordinate, name): a written path such as argMapping’sinput.a.bresolves as one keyed join per segment, never by building or parsing a coordinate. -
depthandtouched_at. -
Its owner is
graphitron, whose inputs it reads (graphitron_element,graphitron_field,graphitron_field_target,graphitron_tabletype,graphitron_argument,graphitron_type). A type is table-bound wheregraphitron_tabletypebinds it, the anchor’s own one-row-per-type binding. It is written as a step ofGraphitronAssemblyCapture, ahead of the target table and column, because the field targets it reads are written there; it moves with the other steps when that class dissolves into the anchor’s own lines. Marked and swept. -
Who has an occurrence, below.
-
Where a chain starts. Every field of a root type, of a table-bound type, and of a type no field targets has one occurrence at its own
Type.field, with no parent. -
Output nesting. Under an occurrence whose field targets an object type with no table, each field of that type has one at
<coordinate>.<field>. The chain grows only through such a nested field, and a table-bound field is not nested by definition: a target with a table, an interface or a union ends the chain, its fields or its participants' fields starting their own, soStore.peoplehas noStore.people.nameand anerrorsfield none under it. -
A single-table interface’s implementations without a
@tableof their own are types no field targets, so their fields start at their own coordinate,Film.title; a reader takes the start table from the binding, as the path needs do. -
Arguments. Each argument of a field occurrence has one at
<coordinate>(<argument>:), under that occurrence:Query.films(filter:), and on a nested fieldEmne.navn.en(lang:). An argument’s parent-dependent facts, the table its content binds against and its@referencesteps, key on it as a field’s do. -
Input nesting. Under an argument occurrence whose type is an input object, each input field has one inside the argument’s parentheses,
Type.field(arg.field:), and an input-object-typed field descends further:Query.films(filter.cast.firstName:), the populationintent_input_occurrence_pathholds today, in this spelling. -
Cycles. A chain does not expand into a type already on it, the first-visit guard
InputOccurrencePathsand the classifier apply; the occurrence that would close the cycle has a row and does not expand. No store measured has an output cycle; the deepest input chain is 5. -
Writing.
graphitron_occurrence_start_rulenames the starts andgraphitron_occurrence_step_ruleone step down from an occurrence the reading wrote; the writer merges a depth at a time, bounded by the type count, asInputOccurrencePathswrites, since a recursive view is not safe over a cyclic graph. A pass knows its parents' depth, so it reaches each ancestor by that many joins up the parent links for the first-visit guard; the instant and the depth are bound as parameters. On sis it writes 10,394 occurrences, 2,487 of them nested output and 3,028 the argument and input occurrences, in 0.55 s cold and 0.64 s warm.
-
-
Settled on the occurrence:
-
A field declared on an interface. Under the participant rule
Media.titleis reached asFilm.titleandBook.title, each a declared field, soMedia.titlehas an occurrence only where the interface has a table of its own, and none otherwise. -
An interface or union target ends the chain, whatever its participants: the chain grows only through a nested field. So no coordinate names a participant’s field through it, and no defect is needed; an
errorsunion of@errortypes andQuery.nodeover table-less participants are ordinary. -
A written path deeper than the cycle guard,
input.parent.parent.xthrough an input type that nests itself, has no occurrence to bind to; the binding reports it as an unsupported deferral, asgraphitron_argmapping_candidate.closes_cycledoes today. -
An argument has an occurrence of its own, under the field occurrence it is written on, and the input fields under it hang beneath it.
-
-
graphitron_node_id_instruction.use_siteandintent_input_occurrence_pathgo with the relations they belong to, sorted above.
What changes for readers. The editor resolves a cursor to a declared field, so a hover on a
nested field lists its occurrences by coordinate rather than its tables, and completion and the
member-name diagnostic read the occurrence’s target table instead of finding none, which they do
today. MCP’s fieldRef carries the coordinate; Type.field is the coordinate of a field with one
occurrence, so nothing changes on the wire for those. The generator reads one fact per occurrence
where it rebuilds them per edge today.
Owners and order. Agreed with A, F, E and Alf (2026-11-03); the graph’s nodes carry it.
-
G: the input-field spelling in
graphitron_occurrence_step_ruleand its fact document, done. -
F: the path writer, widened to every occurrence: needs with their forks (written 2026-11-04), then paths with
EMPTYbeside the other origins, steps and stops, by the rules the path model below states. -
G:
graphitron_occurrence_columnand the@nodeIdunpack, once paths stand. Thengraphitron_field_target_columnand thegraphitron_node_id_decode_*family go, the editor’s column scope moves offintent_field_column_tableonto it, andgraphitron_field_target_tabledissolves into declared facts. -
graphitron_field_scope_table,graphitron_argument_scope_tableandgraphitron_input_field_resolving_tablewent on 2026-11-12 with no reader left to move, andintent_input_occurrence_pathbefore them. -
E:
graphitron_field_source_tableand a field’s source are the occurrence’s source and come off E’s graph into step 2 (both landed). "A child producer’s lift agrees with the classifier’s key lift" stays E’s, keyed on the occurrence; "An object result is lifted onto a key row" is the producer’s lift, E’s, and a plain object’s first key read off its members is discarded, a plain object not lifting. The argMapping binding binds to occurrences and leaves the unpack to step 3; the fill of a jOOQ record reads its columns off path ends rather thansql_table.record_class_fqntosql_column. -
Whoever moves their readers:
graphitron_producer,graphitron_readerandgraphitron_fetcherre-key onto the occurrence.
Settled.
-
The spelling is
TypeName.nestingField.nestedFieldfor output fields andType.field(arg.inputField:)inside the parentheses for input fields, an argument spelled(argument:)as the specification has it; the occurrence path’s(arg)and/steps retire with it, and the path model’s holders take it (2026-11-03). -
A polymorphic parent is spelled by its participant, so an interface field reached from implementations on different tables is one coordinate per implementation, each with one table.
-
Support does not widen. The generator keeps one class per nested type and its parent-compatibility rejection; what changes is that the store states the per-occurrence facts that rejection compares.
-
Every occurrence has a path, and an empty one ends where it starts (2026-11-02).
-
A path between two table-bound types is not empty, even on one table (2026-11-03).
-
A
@serviceargument has a path: the call’s input is converted to its parameter types before the call (2026-11-03). -
The
@nodeIdunpack is stated at the path’s end, not in the argMapping binding (2026-11-03). -
Every argument and input-field occurrence has a path; a scalar one matching no column is a defect only where no call parameter consumes it (2026-11-03).
-
What an occurrence takes is a binding, keyed by
(graph_name, coordinate, bound)with its kind an attribute; the column at a path’s end is itsCOLUMNsubtype,graphitron_occurrence_column, and a node id itsNODE_IDsubtype,graphitron_occurrence_node_id(2026-11-03). -
E’s source-table nodes move to F’s path writer. E keeps the key row and the first key; the source that reads them is F’s (2026-11-03).
-
A forked end is a need, in
graphitron_path_need.
Path model (draft)
The relations "Arguments and input fields are resolved as fields are, from a target model" builds,
agreed with Alf on 2026-10-31 and not yet turned into nodes; the section’s nodes are rewritten from
this when it is picked up. It holds the rules the docs draft above states, and scenarios/path-rules
asserts it once graphitron_path stands where that document’s placeholder does.
Source, path, bind (Alf, 2026-11-03). Three facts work together at every occurrence, the place a
field, argument or input field is reached, and none of them is about SQL as such: a source and a
bind are the same whether the values are rows or objects, and only a path has a kind for each
world. A table source is rows of a table and an object source an instance of a class a producer
hands back. A join path goes from table to table by joins, the SQL path @reference(path:) writes,
and an accessor path from object to object by accessors, the Java path field names and
@field(name:) write. A lift is where the two worlds cross, an object made rows of a table; it is
the producer’s, stated by the producer that makes it and not by the source.
Today’s writers build both sides, the accessor path being graphitron_accessor_path.
-
Source: what its values come from, stated on the occurrence itself rather than as a pointer to another: rows of one or more tables, or an instance of a class. The writer derives it by rules no reader needs, the parent being the occurrence its
parent_coordinatenames: at a chain start the declaring type’s table, a field declared on an interface being an occurrence per participant; a nested field or an argument takes its parent’s tables, its parent’s path targets or, where the parent has no path, the tables the parent binds, so a root field’s arguments take what the root field binds. A write’s payload is what the write produces: a payload field with a table-bound target is a producer of its own, lifted from the keys the write returned, and its source is its target’s table; any other payload field has no source until the producer’s result is stated. A write whose target binds no table, a scalar, an enum or a payload object, gives its arguments the write’s table. An input field takes its argument’s tables, at any depth. A source states only tables or a class. Where a value not of a table’s shape becomes rows of one, the lift is stated by the producer, E’s ("Producer, bind and call on the occurrence (draft)"), and the source states the table it lands on: a key row’s table for a field with one, aTableRecorda producer hands back its record class’s table, and a@routinecall the derived table its function returns, a root field’s and a mutation’s included where the function has a table. A child of an occurrence bound to aTableRecordparameter will take that record’s table as an ordinary table source; nothing writes it yet. A nested field whose parent field writes a path starts where that path lands, which only the join path knows, so it has no source until the join path stands. An object source is a value a producer hands back with a class but no record class and no key row, which is rows of no table, deriving its table being solvable but out of scope; the source reads its class off its producer’s result, the parent field’s own producer’s result class, else the type’s one class. A root field with no@routinehas no source. A carrier graphitron builds has the class it generates; a connection’s fields take their source from the returning producer’s result ("A connection’s producer returns the connection, and its fields read it"); an errors field’s subtree has no source yet. Where the parent forks, the occurrence has a table source row per table. -
Path: how it gets from its source to one type it reaches, one path per occurrence and target type, of the source’s kind. A join path runs from a table source between two tables, concrete or derived, and an accessor path from an object source between two classes; either may be empty, ending where it starts, its target its start. One with no start or no end is invalid, so a root field with no source has no path. An argument or input field reaches its field’s target types, and for each starts where its field lands for that type. A producer on a table source whose result has no table, a child
@servicehanding back a value object, has an empty join path at its source, and its children have it as their object source. -
Bind: what it takes at the path’s end: on the table side a scalar a column, an object or input object the table, an
idon aNodeor a@nodeIdthe node identity, the key columns there; on the object side a member’s value at the accessor path’s end; a value a call consumes binds nothing, the call’s parameter fill naming it. A root field with no path binds its target’s table, once per table its end would fork to. A parameter fill is decided beforeCOLUMN: a scalar input with no binding under a parent boundTABLEisCOLUMN_UNRESOLVEDorCOLUMN_AMBIGUOUS, andARGUMENT_UNBOUNDonly where the generator cannot consume it, under@serviceor@externalField, and no parameter does.
Where each starts and ends: a chain start
departs from its declaring type’s table, or from the table a producer’s lift lands on, as above; a nested field or an argument starts
where the occurrence it hangs under ends, and every input field under an argument where the
argument starts, a @reference on one moving none of its children. A join path between two
table-bound types is never empty, even on one table: with nothing written and no single foreign key
it is a defect. A join path is empty exactly where the target is not table-bound: a reader’s ends at its start, a
producer’s at its result’s table. An end forks once per target type, a write’s single data field
beside its errors field, a table-less target’s participants, and a @mutation(table:), which
declares its one table and takes the field’s own target type, and each fork is a target of its own.
Every argument and input-field occurrence with a table source has a path, a @service one
included, its input converted to the parameter’s type before the call; which consumer takes it
matters only to the defects a binding raises.
The base facts are already captured: graphql_type, graphql_poly_member, graphitron_tabletype,
graphitron_field_key_row, the graphitron_ast_reference_* entries and the
graphitron_path_element_* resolutions. graphitron_field_target_table is not one: it holds one
row for a single-table interface target, where the needs want one per member, and none for a target
whose binding names several tables.
The relations, with their grains. Declared in graphitron-model.sql, owned by graphitron;
the claim, the source and the need are written, the empty and inferred paths by Paths, and the
written and inherited paths with their _claimed rows, every output field’s steps with their
subtypes and columns, the inferred paths' one step and the stops by Steps. The argument and
input-field paths and the accessor path are not written yet. The SQL carries the names
decided on 2026-11-03 (2026-11-04), and graphitron_ast_path_entry keeps its name as the written
entry.
-
graphitron_join_path_claim, written byPathClaims: one place a path is written, by the declared element it is written on and the type it reaches. Keyed by (graph, element coordinate, target type), both spelled from names, so no column is ever NULL. The coordinate is the declared element’s, not an occurrence’s: a path is written once, where it is declared. The element and the type are referenced through_refcopies their removal sets null, and the sweep removes the claim; two claims on one key keep the first written, and two@referenceFornaming one type on one declaration areREFERENCE_FOR_DUPLICATE_TYPEat the second.Customer.addressfor a field’s composed@routineand@reference,Query.people(storeId:)for an argument,StockFilter.languageIdfor an input field, andMedia.titlefor a path on a multi-table interface’s field, which reachesFilm.titleandBook.titleas theirINHERITEDpaths. The target type is the member a@referenceFornames, else the type the declaration names, a scalar or input type included: (Store.people,Staff) and (Store.people,Customer) are two claims on one field. It carries itsclaim_kind(FIELD,REFERENCE_FOR,ARGUMENT,INPUT_FIELD) and its own written position, an attribute within its file and no key. -
graphitron_ast_path_entry, capture: one element of one written path, at its place. Keyed by the written anchor’s position and the place, both within one file, with the element’s position and itsas:name, NULL until R1099 addsas:to the directive. Captured by the path family’s writer besidegraphitron_ast_field_path_entry, which it generalises: that one covers output field declarations only and stays until its readers move. -
The holder is
graphitron_occurrence: an occurrence of an element, one use of a declared field, argument or input field reached along a chain of parents, at its nested coordinate, a dot before a nested output field,(x:)naming an argument and an input field inside the parentheses (Customer.address,Emne.navn.en,Query.films(filter:),Query.films(filter.cast.firstName:)). Every relation below keys on the coordinate with a foreign key to the occurrence; there is no holder relation of its own. -
graphitron_occurrence_source, anchoring: what one occurrence’s values come from, one row per occurrence that has a source, keyed by (graph, coordinate) with a foreign key to the occurrence and its kind,TABLEorOBJECT, an attribute. How the writer found it is not stored. Its subtypes carry what they reference as nullable copies a vanished source sets null, the sweep removing the row:-
graphitron_occurrence_source_table: one table an occurrence’s values are rows of, one row per occurrence and table, keyed by (graph, coordinate, table) with a cascading foreign key to the source; an argument under a forked parent has a row per table. A join path starts from one of these rows: a need’s start is a foreign key to it. -
The lift is not the source’s: it belongs to the producer, E’s, which states why a table that is not the value’s shape is a source, by a key row, a record class or a routine ("Producer, bind and call on the occurrence (draft)"). The source states only the table, a key row’s wherever the field has one, since it fetches its own rows and an
ACCESSORkey row can land on another table than the record’s. -
graphitron_occurrence_source_object: the class an occurrence’s values are an instance of, a value a producer hands back with no table, E’sOBJECTresult and its class ingraphitron_result_class, one class per occurrence since a coordinate names one producer. It starts an accessor path, and a lift is the producer’s crossing from it to a table. E keeps the key row and the first key, and the lift is the producer’s, E’s; the source is F’s. It reads the record class and the key row off E’s result facts rather than restating them, the key row through the occurrence’s element untilgraphitron_field_key_rowkeys on the occurrence, a join that goes when it does. An input field under an argument bound to aTableRecordparameter takes an ordinary table source off the record table its call parameter fill names. It is the successor ofgraphitron_field_path_start, which starts only fields that wrote a path, and ofgraphitron_field_source_table. The producers are written for the whole graph byoccurrence-producers, ahead of the source’s loop, since nothing they read is written in it.
-
-
graphitron_path_need, anchoring, written byPathNeedsa depth at a time: one type an occurrence with a table source must reach. Keyed by (graph, coordinate, target type), as the claim is keyed by its element and target type, with a cascading foreign key to the occurrence. Its start is a reference to one of the occurrence’s table source rows (coordinate, start table), and its landing table an attribute, each through nullable_refcopies a removal sets null, as is the target type’s reference tographitron_type. Only an occurrence with a table source has needs; one waiting on a join path has no source and none. A field reaches its target where it has a table of its own and is no interface; each member with a table of a single-table interface (FilmItem,ShortItem, never the interface), a union or a multi-table interface; and otherwise its own type, a scalar, an enum, a plain object or a carrier, landing on its start, or on no table yet where its declaration writes a path. A write’s payload fields follow the same rules; the write itself has no source and no needs. An argument copies its field’s needs, starting where the field lands for each type; under a field with no needs, a root field with no path, it expands its field’s target the same way, starting on each type’s table, an interface’s own table for its members where it has one, or on its own one source table, the write’s, where the type has none, which is what its source rows already state. A connection’s pagination arguments' needs stand until the connection’s binding states what they take. An argument of a field that writes a path has no source, and so no need, until that path is resolved. An input field copies its parent’s needs unchanged. A path follows the claim matching its need: an argument’s or input field’s need the@referenceForclaim naming its target type, else the element’s one claim. The object side, the start class and the landing class, waits on value objects being bound. -
graphitron_path, anchoring: how one need is met, in either world. A supertype keyed by the need’s key, so one-to-one with it, with a cascading foreign key to the need, its kind (JOINfrom a table source,ACCESSORfrom an object source) and its origin (WRITTEN,INHERITED,INFERRED,EMPTY);EMPTYis its own origin so the defects cannot read an empty path as a failed inference. The kind is copied into each subtype’s key, a UNIQUE on the key and the kind being what a subtype’s foreign key names, asgraphitron_occurrence_sourcedoes. A need with no path is the defect.Pathswrites the paths of the needs no claim covers, a claim at the need’s own element or one inherited from an interface’s same-named field:EMPTYwhere the need starts on its landing, an argument or input field, a target bound to no table, a write payload’s data field, a field read off a handed-back record, or a child whose own@servicehands back its target’s records, which reads the table its producer’s result names;INFERREDfor an output field between two different tables exactly one route joins, its target its landing: one foreign key counted in both directions, or from a routine’s derived table, which has no foreign key, the landing’s primary key with every column matched by name among the routine’s result columns. An argument or input field is never inferred, nor is a self-referencing key. A covered need’s path is the claim’s, written once its steps reach the target, so it has no row until then; a written path’s target comes from its steps. From a routine’s derived table a missing primary-key column isNO_ROUTE_TO_TARGETnaming the first missing, and nothing is ambiguous.-
graphitron_join_path: the path is joins, with its target table, never null, its start where it is empty, referenced through_refcopies.graphitron_join_path_claimed, keyed by the path, names the claim aWRITTENorINHERITEDone follows, (element coordinate, target type), as a nullable copy a swept claim sets null, the origin being the supertype’s and so out of a check’s reach; an inherited one is a row per implementation, its claim possibly in another file, so no reader joins through implementations. AnINFERREDone is claimed by nothing: its one step’s key is inferred. -
graphitron_accessor_path: the object side’s path.
-
-
graphitron_join_path_step: one step a join path takes, keyed by the need’s key and the position with a cascading foreign key to the need, with its from and to table, the place of the element it resolved in its claim’s written list (none where inferred, and none for the step a@routinetakes to its@table), and the element’sas:name. Steps hang off the need rather than the path: a met need has its path row and its steps, a stopped need its steps and its stop row. -
What a step joins by, one subtype per way, each keyed by the step:
graphitron_join_path_step_key, a key the claim names;_inferred_key, the one foreign key between the step’s two tables, where an element names only a table or nothing is written;_primary_key, a{key:}naming its table’s own primary key, joining a row to itself, the successor ofgraphitron_field_path_primary_key;_method, the one condition overload whose two table parameters take the step’s from and to table;_routineand its_parameterrows;_matched_key, the landing’s primary key a step from a routine’s derived table rode, its columns matched by name. The joined column pairs aregraphitron_join_path_step_columnunder whichever applies. Inference is a step’s, never a path’s. Every reference the step family makes to the catalog or the classpath is a nullable_refcopy set null on removal and swept bytouched_at; only the step’s foreign key to its need and each child’s to its step cascade. -
graphitron_join_path_stop: one need whose path stopped short, keyed by the need’s key with a cascading foreign key to it, with the position of the first step not taken, the element’s place and the moves it met there. Landing stays a view over steps and stops. -
graphitron_occurrence_binding, anchoring, G’s: one place an occurrence binds. Keyed by (graph, coordinate, bound), the place spelled from names: the schema-qualified table forTABLE,COLUMNandNODE_ID, one row per forked end; the class and the member read forVALUE,no.sikt.fs.EmneNavn#getEn, the value at an accessor path’s end. The kind is an attribute, and a subtype per kind carries what the kind needs, keyed by the supertype’s key with a cascading foreign key to it, as the defect subtypes are, an ordinal where the kind needs one.graphitron_occurrence_column, G’s, is theCOLUMNsubtype andgraphitron_occurrence_node_idtheNODE_IDone;graphitron_occurrence_binding_table, itssql_table, is written beside the needs, since it reads the same ends; andgraphitron_occurrence_binding_value, the class and member whose value it takes, waits on a producer’s value object being bound. Every kind has its subtype, so the supertype holds the key and the kind alone (Alf, 2026-11-03).
Defects, as graphitron_entry_defect rows at the claim’s written position: an inferred-key
step whose two tables share no foreign key or several (NO_ROUTE_TO_TARGET, ROUTE_AMBIGUOUS),
whether nothing was written or a written element names only a table, a need whose members fail
alike giving one row that names them. Where nothing is written, covered by no claim of its own or
inherited, an output field between two table-bound types draws them at its declaration, one row per
field naming the two tables and, for ROUTE_AMBIGUOUS, the keys; a field on its parent’s own table
takes the table’s one self-referencing key, and with none is NO_ROUTE_TO_TARGET, narrowed by an
argument or not, its detail naming the primary-key self-join or a self-referencing key as the path
to write, and with several ROUTE_AMBIGUOUS. An implementation’s field writing nothing
whose type implements two interfaces, neither extending the other, that both claim the field for
one member is INHERITED_PATH_AMBIGUOUS at its declaration, naming the two. A written step that resolves to no move or several, which is
the same pair; no overload for a step’s pair
(CONDITION_NO_OVERLOAD_FOR_PAIR); two overloads taking one pair (CONDITION_OVERLOAD_TIE);
a claim on an output field whose target has no one table (REFERENCE_WITHOUT_TARGET_TABLE, at
the claim, which absorbed CHAIN_WITHOUT_TARGET; a scalar or enum target, a @pivot and a path
ending on a @routine are not one); two
@referenceFor naming one type on one field (REFERENCE_FOR_DUPLICATE_TYPE); a scalar path whose
last element names no table (PATH_LANDING_UNKNOWN); a @nodeId path landing on a table
(NODE_ID_LANDS_ON_TABLE); a $path name no segment carries, and two segments of one path under
one name (R1099’s). Two calls consuming one argument with different record tables belong with the
producer’s lift ("Producer, bind and call on the occurrence (draft)"). A binding’s own defects are the binding’s: a scalar
input with no binding under a parent bound TABLE is COLUMN_UNRESOLVED or COLUMN_AMBIGUOUS, and
ARGUMENT_UNBOUND only where the generator cannot consume it, under @service or
@externalField, and no parameter does; PATH_NOT_TAKEN waits on the consumer.
What it replaces.
| Today | Becomes |
|---|---|
|
|
|
the occurrence’s source |
|
the |
|
|
|
the occurrence |
the argument and input-field reference step targets, keyed and keyless |
|
|
the end of the occurrence’s path, forks included |
The element resolutions graphitron_path_element_* stay as they are.
Decided. A written position, a file’s line and column, keys a fact only within that file; a
reference that can cross files is anchored to names or to an element’s place in its list, which an
author chose and which do not move when the file around them is edited. So a holder is keyed by its
coordinate spelled from names, a path names the written claim it follows and a step the element’s
place, and a path’s start is a step’s as: name, so an inserted step moves nothing. An application
itself is named by its coordinate, directive and ordinal
("An application is named by its coordinate, directive and ordinal"). Inheritance is a row per implementation, its written claim
possibly in another file. The landing type is a key column of a path. A path holder is a coordinate,
and a claim is a coordinate and a target type (2026-11-02). It is the field that is lifted onto a
key row, not its parent, so a lifted start is read off the field’s own key row. Every occurrence
binds, and has a path wherever it has a source; a path’s target is never null, and a path with no
start or no end is invalid; a root field has a path only through a @routine (2026-11-03). The
source is a supertype, a table source and an object source its subtypes; the lift is the
producer’s, E’s, not a subtype of the source; the binding has a subtype per kind (2026-11-03).
An occurrence has one source, keyed by its coordinate, a fork adding targets and never sources; a
need is keyed by (coordinate, target type), as a claim by (element, target type); a binding by
(coordinate, bound), a value’s bound its class and member (2026-11-03). Source and bind are not
SQL’s: a path is a join path from a table source, written by @reference(path:), or an accessor
path from an object source, and a lift is the crossing from an object to a table; inference is a
join step’s, never a path’s (2026-11-03). A step’s inferred key is judged once, wherever it is
inferred: no shared foreign key is NO_ROUTE_TO_TARGET and several ROUTE_AMBIGUOUS, so
PATH_NO_FOREIGN_KEY and PATH_SEVERAL_FOREIGN_KEYS are never introduced (2026-11-03). A source states what an occurrence’s values come from, its
tables or its class, never a pointer to the occurrence it was derived from; a table source is a row
per occurrence and table (2026-11-03). The write payload is what the write produces, a table-bound
payload field a producer lifted from the returned keys (2026-11-03). None holds a table in its key: each
references its tables through nullable copies a vanished table sets null and the sweep removes,
so each follows the anchor rule with no exception. Each relation here is written as a plain
INSERT .. SELECT over the occurrence and what the occurrence above it states, the instant bound,
never as a view over views, and its writer gets a sis timing when it is built. The need is general,
keyed by target type with its landing an attribute, and keeps its name; only an occurrence with a
table source has needs; an argument copies its field’s needs, starting where the field lands, and
under a root field with no path expands the field’s target from its own source rows, an interface
with its own table starting there for each member; an argument of a field that writes a path has
no source, and so no need, until the path is resolved, as a nested field’s; and an input field
copies its parent’s; every reference a need, a path or a step makes to what it was built from
follows the anchor rule; an argument’s or input field’s need follows the @referenceFor claim
naming its target type, else its element’s one claim; CHAIN_WITHOUT_TARGET is merged into
REFERENCE_WITHOUT_TARGET_TABLE, raised at the claim; a @mutation(table:) is accepted where
graphitron_producer_write has its row, a disagreement being E’s defect to raise (Alf, 2026-11-04).
The claim, the author’s statement, and the claim answering a need, which is the path itself, a
WRITTEN or INHERITED row with its _claimed row once the path is walked and reaches the target,
are two facts, and no relation stands between a need and its claim; an argument or input field is
EMPTY unless something is written for it, and never inferred; a field on its parent’s own table is
NO_ROUTE_TO_TARGET, narrowed by an argument or not; an implementation’s own claim beats an
inherited one, an extending interface’s redeclared claim overrides the one it extends,
@referenceFor is inherited member by member, and two unrelated interfaces both claiming the field
are INHERITED_PATH_AMBIGUOUS; a routine’s derived table has no foreign key and reaches its landing
by the landing’s primary key, its columns matched by name, inferred where every one is there and
NO_ROUTE_TO_TARGET where one is missing; a child that is its own @service handing back table
records starts where its rows come from, the table its producer’s result names, so its path is
EMPTY (Alf, 2026-11-05).
Decided (Alf, 2026-11-05). The walk is a flat per-position rule view over base tables, with its
parameters bound, looped in Java. A reader takes the join path’s target rather than writing it back
into the need. A root field’s leading @routine is the producer’s call, so its first step follows
its place. A step from a routine’s derived table to a table, joined by that table’s primary-key
columns matched by name, is its own subtype, graphitron_join_path_step_matched_key, covering an
inferred routine result, a written {table:} element from a function and the step after a path
ending on a @routine; _primary_key stays the {key:} self-join. NODE_ID_LANDS_ON_TABLE is a
bare @nodeId whose walked landing table has no single @node type, or a named node whose table
differs from the landing. The old walk ran beside the new one until its readers read the join path.
The claim a need follows is picked by graphitron_join_path_claimed_rule, one row per output-field
need a claim covers and walks to: the field’s own @referenceFor naming the type, then its own
claim where it walks to the type, then exactly one inherited, and it is the rule for
graphitron_join_path_claimed, written for the needs whose walk reaches the target. The walk’s
defects, ROUTE_AMBIGUOUS, NO_ROUTE_FROM_DEPARTURE, ELEMENT_UNRESOLVED,
PARAMETER_UNFILLED, NO_ROUTE_TO_TARGET for a walk ending off its target and the two
condition-overload codes, moved to the new walk when it landed, raised at the written element, an
inherited claim’s being the interface’s. A stopped need keeps the steps
it took. A condition alone whose second parameter takes any table (Table<?>, TableLike<?>) says
nowhere to arrive and is not supported: it stays NO_ROUTE_FROM_DEPARTURE, its detail naming the
remedy, and sakila’s fixtures type both parameters (Alf, 2026-11-05).
A write whose target binds no table, ID or String from a DELETE among them, gives its
arguments the table @mutation(table:) names, so they and their input fields have a need starting
and landing there and an EMPTY path.
Decided (Alf, 2026-11-06). @nodeId(typeName:) is a written intention, and an argument’s or
input field’s path to the node’s table is inferred over the one foreign key; none or several is
NODE_ID_LANDS_ON_TABLE, and the author chooses with @reference. A bare @nodeId takes the type
whose table the field’s path lands on. An argument’s or input field’s own written path starts where
its field lands for each type, as: waiting; it follows its own @referenceFor naming the need’s
type, else its own @reference, and nothing is inherited at an argument. Every input field under an
argument starts where the argument starts, a @reference on one moving none of its children.
Decided (Alf, 2026-11-07). A same-table field whose arguments narrow the read, with no path, is
never accepted: "This is crazy wrong and we should never allow this. It makes no sense and is just a
bug waiting to happen." It is the same defect as a field between two types bound to one table:
exactly one key infers, otherwise the author writes the key, or the primary key for the same row.
For output fields, exactly one self-referencing key infers, its direction taken from the field’s
cardinality: a single-valued field follows the key forward, to the one row it points at; a list or
connection follows it in reverse, to the rows pointing here; none is NO_ROUTE_TO_TARGET, several
ROUTE_AMBIGUOUS. At arguments and input fields a self-referencing key is never inferred ("I don’t
think the logic works on arguments").
Decided (Alf, 2026-11-07). "The @nodeId(typeName:) follows the exact same inference rules as
field: TypeName." An argument’s or input field’s path to the node’s table rides the one foreign key
in either direction, as an output field’s does; none or several is NODE_ID_LANDS_ON_TABLE. Over a
key the node’s table declares, the node’s key lands on no column of the slot’s table, so the decode
is a correlated EXISTS and NODE_ID_LANDING_TYPE_DISAGREES has no pair to judge. The generator’s
@nodeId filter is to read its route from the store rather than the walk, the walk counting both
directions meanwhile: "We’re currently moving the
generator from the walk to the store, a potential solution is to move the @nodeId handling to the
store early."
Open. A lifted field’s start (a TableRecord matching its table, or a key or routine type
matching the next step’s primary key column by column) is not yet in scenarios/path-rules. How a
value object lifts to a derived table is out of scope. An emitter may collapse a join whose key already sits on the row, the
@nodeId key lift and the foreign-key mirror among them; that is its reading of the first step’s
key, never a path of another kind. How the
generator reads a path per pair at run time is not yet planned; R1132’s shared DataLoader is the same
missing source type there.
Producer, bind and call on the occurrence (draft)
How the occurrence model decides what executes. Source, path and bind say where an occurrence’s values come from and what it takes; this section says which occurrences run something of their own, and where a method call sits. Every occurrence binds; some also produce. It is a draft for Alf and the sessions holding the nodes below; nothing in it is built. "Producer" is the word the store already has, kept until a better one is found.
Producer. An occurrence that executes something and produces a result: a query, a write, a
@service call or a routine call. Two kinds, and only two:
-
A root producer: an occurrence with no source, a field of a root type. It executes from nothing: a select, a lookup, a write, a
@service, or a@routinewith no table before it. -
A child producer: a child output field that starts a query of its own, batched per parent, from its parent’s key row or a routine’s table: a query, a
@servicecalled with the parents' keys, or a routine.
The producer knows what it produces (Alf): its result, one record, a list of records, a connection
page or a @service’s object, each with its class where it has one, is a fact of the producing
occurrence, and the occurrences under it bind into it; the type-keyed `graphitron_result goes
("The result relations dissolve into the producer’s result, claimed by B").
A lift is a producer’s crossing into the world of tables, and belongs to the producer, never to
the occurrences under it: where a child producer starts, a parent’s key row lifted onto the key’s
table; or what any producer hands back, a TableRecord lifted onto its record class’s table, a
routine’s result onto its derived table. So a @service whose result is a FilmRecord is lifted onto
film, and its scalar children bind columns of their source, simply the film table, read off the
record with no query of their own. A source only ever states tables or a class.
Bind, not reader. Every output occurrence binds, and its binding says what it takes: a column at
its path’s end (COLUMN), the table an inline object or list joins to (TABLE), a node identity
(NODE_ID), a member’s value off its parent’s object (VALUE), or a value an @externalField
method computes in its producer’s query (EXPRESSION, bound by its method, one row per candidate
overload until the pin). An occurrence that binds and does
not produce executes nothing: its join path continues the query of the producer it belongs to, the
nearest producer up its chain of occurrences, or it reads a member of its parent’s object. That needs
no relation of its own: graphitron_reader’s `reads (COLUMN, NESTED, EXPRESSION, ACCESSOR)
is the binding’s kind said less precisely, so it dissolves into the binding. A connection’s nodes
and edges.node bind and read what the returning producer fetched.
The join path is what lets a target join an existing query. A child reached from a table source by a join path is joined into the query its source already belongs to, and only binds. Where there is nothing to join along, a parent that is a value rather than rows of a query, the child must start a query of its own from the parent’s key, and is a producer. So a child continues its parent either by a join path, binding into the producer’s query, or from a key row, producing.
What makes a child a producer. Measured off the generator’s classification (FieldBuilder):
-
A
@tablechild under a record- or class-backed parent: it starts from the parent’s key row (always split today,@splitQueryredundant there). -
A payload’s data field under a write,
@serviceor@routinecarrier: it re-fetches the produced record by key. -
A child
@service: called with its parents' keys. -
@splitQuery: the author starts from the parent’s key a child that could have been joined; this is how@splitQuerychanges the source and makes a producer of a field that would only bind.@tenantFanOutdoes the same and is forced in effect, a fanned child running once per tenant. A split changes the source and never the connection: the child runs on the key its producer hands down. -
A child whose followed foreign key lands on the tenant column under a parent not on that tenant: it fans out by the tenant each parent row names, written
@splitQueryor not, because the tenant facts decide the connection (Alf, 2026-11-14). -
Shapes that start a producer although a join path could in theory continue the query, because the generator builds no inline form for them: a list or connection of a single-table discriminated interface, a list or connection of a multi-table interface or union with a table-bound participant, and a connection on a plain
@tablechild, which today the author must mark@splitQuery. These are stated as forced, so each can stop producing when the generator learns to join it. -
A connection’s
totalCountis a producer of its own, a count sharing the returning producer’s source and argument values, run only when queried. The connection’s other fields are sourced from its carrier object, whose class graphitron generates, andnodesandedges.noderead what the returning producer fetched (Alf, with the connection model).
Input occurrences never produce. An argument or input field is not a fetcher. It is bound, at its
path’s end, to a column, a table, a node identity or the parameter of a call that consumes it; an
input field under an argument bound to a TableRecord parameter starts on that record’s table
because a child starts where its parent ends, not because anything lifts.
Calls. A method or routine graphitron invokes, held by the occurrence or the join path step it is written at, never by a written position. Two kinds:
-
Executing calls: the
@serviceof a root or lifted producer, the@routineof a root producer (one with no table before it), and a@routinethat is a join path step (one with a table before it, after a@referenceor applied to the parent’s row). A@routineis the one or the other, never both. -
Calls that are part of a query: an
@externalFieldexpression, held by its occurrence’sEXPRESSIONbinding, an occurrence’s@condition, a predicate over the rows at its path’s end, and a join path step’s condition. They go into the query of the producer the occurrence belongs to, through its join path. Under a producer that composes no query over those rows, a@servicehanding back a value object or anINSERT, they decide nothing, which is a defect at them rather than a silent drop.
A call states its method, the one overload every parameter of which is filled among the
code_method rows its class and name find; for an instance @service, its holder; and per
parameter, what fills it: an input occurrence’s value, the fill naming the occurrence it lands on,
a table at the call’s path end or a step’s from and to table, the source row’s columns
or keys, $context, $session or the jOOQ context. A $tenant pair fills none: it names the
value whose tenant the call runs on, a target of its own kind. Each holder owns its parameter rows,
keyed by the holder, the method and the position.
A @condition’s fills (Alf, 2026-11-09). The rules are the manual’s, maintained in
`reference/directives/condition.adoc § How the method’s parameters are bound, which the flip
reproduces. Where its by-type rule differs from the service’s, to be closed by
"A @condition and a service pair a parameter with an argument by one rule": the service pairs on list-ness and element
type with each other’s only candidate and, failing that, the last open parameter and argument where
type cannot tell them apart, and reads an input object as any non-JDK class; the condition, in three
steps the manual now states (Alf, 2026-11-10), pairs one remaining parameter with one remaining
element only where the element is an input object or an enum and the parameter no scalar’s class,
pairs a Java type once on each side by its GraphQL scalar’s mapping unless a nested input field has
that type too, then binds a parameter one level into an input object by name and type, skips a
parameter named for a context key, and never looks inside a list.
Stated so far. graphitron_occurrence_producer, one row per producing occurrence with its kind
and ROOT or CHILD start, and its subtypes _key_row (a child’s start off its parent’s object),
_service (the method and the constructor), _routine and _write, written for the whole graph
by occurrence-producers ahead of the source’s loop and read today off the field-keyed producer relations through the
occurrence’s field: on the six stores every field producer but a connection’s count and facets is a
producer at each of its occurrences and nothing else is. _result states what each produces, its
shape (SINGLE_RECORD, RECORD_LIST, CONNECTION, OBJECT, SCALAR), its class and, for records,
the table they are rows of. A connection’s COUNT and FACETS producers are stated on this
family by the connection model (Alf, 2026-11-04).
What this replaces. graphitron_code_reference, keyed by a reference’s written position,
dissolves into the calls' methods; graphitron_producer_service and graphitron_producer_routine
are the executing calls of root and child producers. graphitron_producer, graphitron_reader and
graphitron_fetcher go to the occurrence: the producer, its lift included, one row per root or
child producer; the reader into the binding; the fetcher, a producer or not, derived. The source
states only tables or a class. graphitron_argmapping_landing becomes the argMapping arm
of parameter matching, keyed by the call and the parameter, and graphitron_call_context_key the
call’s $context fills.
Open.
-
Owners: the producer with its lift E’s, the producer written ahead of the source’s loop and the lift after it; the source F’s; the calls and their parameters E’s; the connection’s
totalCountunowned, with the connection model. -
Whether a
@conditionunderUPDATEandDELETEapplies to the rows they match, and whether the defect for a condition that decides nothing exists already or is new. -
Settled (Alf, 2026-11-09): the call holders share a supertype,
graphitron_occurrence_call, for the parameter rows' one foreign key, and a@conditionis one call per table its occurrence binds, pinning an overload for each, as the join path step does per implementation.
Tests
The obligation this section carried is discharged and not by being measured. It asked the Done gate
to confirm that MaterializeDependencies.populate reaches zero rather than assuming it. That class no
longer exists, so the step it timed cannot run at all.
What the gate should still refuse is the inference the obligation was guarding against: a cheaper boot
does not follow from a dissolved register. The DDL half of the boot goes up under this item’s own
remedy, which replaces registrations with stored keys and indexes. The figures for both halves are in
roadmap/audits/2026-09-22-capture-dissolution-measurements.md.
For the changelog at Done
The entry is written at Done, the board and the changelog holding an id one place at a time. These are what it owes a consumer reading it, each with the subject of the commit it landed in, a hash not surviving the harvest, so they are recorded here as they land rather than found afterwards.
-
Breaking: the generated
TenantConnectionsisOwnedConnections("breaking: the generated connection carrier is OwnedConnections, unused in FS-plattform code"). The class holds the operation’s owned connections, one per connection key, in an untenanted build too; the tenant is one part of the key. Consumer code naming the class,TenantConnections.canonicalTenantKeyamong it, namesOwnedConnectionsinstead. Its methods and its error texts are unchanged. -
Fixed: an
@outboxpayload key takes a node id as the API’s clients see it ("an @outbox payload key takes a node id whole and decodes a key column named past it", sikt-no/graphitron#580). 10.0.0-RC49 applied the key column projection a call parameter takes to@outboxtoo:@outbox(argMapping: "booking: input.bookingId")over a@nodeIdinput field failed the build withARGMAPPING_KEY_COLUMN_UNRESOLVEDwhere the node’s key has several columns. RC48 put the encoded id in the payload, and it does again: the id as the client sent it, whatever its key, through an input object or not, and a list of them an array. A key column named past the id,input.bookingId.customer_id, is decoded out of it, or out of each id of a list, where it was left out of the payload without a word. Call parameters are unchanged. -
Breaking: a same-table
@tablefield narrowed by an argument needs its path ("inference is written into the store, and a need nothing covers is a defect"). A field returning a@tabletype on its parent’s own table, narrowed by an argument and with no@reference, was read uncorrelated, the same rows under every parent; it is nowNO_ROUTE_TO_TARGETuntil it writes its path, and the generator refuses it too, whatever its arguments filter. The example schema’sFilm.sameTableById, which exercised the uncorrelated read, is removed. -
New: a same-table field infers its table’s one self-referencing key ("a same-table output field rides its table’s one self-referencing key by cardinality, and without one is refused however narrowed"). An output field on its parent’s own table with nothing written follows the table’s one self-referencing key, forward from a single-valued field and in reverse from a list or connection, as
@reference(path: [{key: ...}])naming it would; several such keys areROUTE_AMBIGUOUS. Arguments and input fields never infer one. -
Breaking: jOOQ 3.20 is the minimum ("generation refuses a jOOQ below 3.20"). The generated
NodeIdEncodercallsRecord.touched(Field), which jOOQ added in 3.20, so a build on 3.19 failed in javac, in a file the consumer did not write.graphitron:generate,graphitron:devandgraphitron:validatenow refuse a jOOQ below 3.20 before writing anything, naming the coordinate and version found, the minimum, and what to change: the jOOQ version in the pom and a catalog regenerated with it. FS-plattform’s kreg, sis, kompetanse, batch and kjerneapi-codegen are on 3.19.18 and must upgrade. -
Breaking:
@tablecannot name a table-valued function ("a type is not bound to a function"). A schema binding a type to a function’s result with@tablestops building, with a message saying to remove the directive. The field’s@routinegives the type its rows, the routine’s result, which binds no table. -
Breaking:
@routinelosescolumnMapping("breaking: @routine loses columnMapping, unused in FS-plattform; argMapping names an argument or a column"; "breaking: a bare argMapping name is an argument, $source.<column> binds a column"). A schema writingcolumnMappingstops building. AnargMappingentry binds a routine parameter to an argument, or with$source.<column>to a column of the row the routine is applied to: the enclosing type’s row, or the table the preceding@referencereached. A bare name never binds a column. An entry that binds nothing drawsPARAMETER_UNFILLED. -
Removed: the MCP schema tool’s
demandslot ("the demand relations go"). A tool reading it gets no slot; it restated directives the same entry shows. -
Changed:
graphitron:capturenever fails over a schema that parses ("capture captures, and nothing else"; "a document that does not parse ends the round at the parse"). A schema that will not assemble or classify is still captured, and what refused it is in the store asgraphql_schema_problemrows rather than in the build’s exit code. A document that will not parse fails the goal, as it doesgraphitron:generateandgraphitron:validate: the parse problems are recorded, the store keeps its last clean reading, and ingraphitron:devthe round ends at the parse, every changed file read again once it parses. -
Changed: a reactor sibling is read from its own output ("a workspace module is read from its own output, in place"). In a multi-module project every graphitron goal,
graphitron:generateandgraphitron:devamong them, reads a sibling module from itstarget/classes, else its jar intarget, in the place Maven put the module on the classpath, and falls back to the installed copy only where the sibling has no output. A class added to a sibling since its last install is no longer refused as being in a module the project does not declare. -
Changed:
graphitron:devcompiles its own module before it starts ("the dev goal compiles its module first"). It runs the module’s build throughprocess-classes, its first round taking the place of the module’sgraphitron:generate, and reports a goal that fails as a warning rather than stopping.-Dgraphitron.dev.compileModule=falseturns it off; sibling modules are never compiled. -
Added:
graphitron:devsays a workspace module it read stale ("the dev goal says a module it read stale"). A module whose sources changed since it compiled, or one read from its installed copy for want of output, is named once with the command that compiles it: in the console, in MCPstatusand diagnostics, and as an editor message. -
Added: each capture’s time per stage is recorded and reported ("every stage’s time is recorded in the store").
store_graph_writeholds, per capture, the statements, rows and milliseconds each gatherer spent on each table, andstore_graph_readthe same for each relation it read for a millisecond or more. MCPstatusnames the latest capture’s five slowest statements, writes and reads, asslowestStatements, across the store withallGraphs, and agraphitron:devround that captured prints its three slowest. -
Faster: the emitted schema’s tag narrowing ("the tag narrowing joins the coinage to its minted type before the fields"). The read took 9 to 12.5 s on a large schema and now takes under 50 ms.
-
Contributors: a rule’s plan is gated ("a rule’s plan probes an index wherever it looks a row up").
RulePlanGateTestfails a derivation rule whose plan reads a whole partition per row, over a scaled fixture whose plans match a large consumer schema’s. Its list of known exemptions only shrinks. -
Changed: the fact store runs on H2 2.5.250 ("the fact store runs on H2 2.5.252, which fixed its compaction race", then "H2 is held at 2.5.250"). The plugin and the model bring H2 2.5.250 in place of 2.4.240. A store an earlier build wrote still opens, the file format being unchanged, and compacting it on close is no longer refused intermittently in a JVM running with assertions on. 2.5.252 was taken first and dropped: its planner made jOOQ’s foreign-key read of the fact schema take 168 s instead of 2 s (h2database#4523).
-
Breaking:
@sourceRowis removed ("breaking: @sourceRow is removed, unused in FS-plattform"). A schema writing it stops building, the directive being unknown. A class-backed parent gives a child its key through a typed accessor returning the child table’s record, a record with only its primary key set where the parent carries only the key’s value; a child@servicekeys off the parent being that record or having exactly one accessor returning it. The directive comes back once the model is cleaned up. -
Breaking: a context argument no longer fills a service class’s constructor ("breaking: a service class’s constructor takes only the jOOQ context, unused in FS-plattform"). An instance
@servicemethod’s object is made with a public constructor taking nothing or oneDSLContext, the widest; one whose only public constructor also takes acontextArgumentsvalue stops building, and the value goes on the method instead. FS-plattform: every one of the 37contextArgumentsuses across opptak, kompetanse, kreg and sis fills a method parameter, and every service class’s constructor takes onlyDSLContext. -
Breaking: an input object a call cannot build is a defect at the field ("an input object that cannot be built is a defect at the field"). A
@serviceor@conditioninput object built into a class is refused where nothing constructs the class (BUILT_CLASS_UNBUILDABLE), a field fills no member (MEMBER_UNKNOWN, where a setter bean dropped the value in silence), a list of input objects cannot group (GROUPING_LIST), or two fields fill one member (MEMBER_FILLED_TWICE); a@conditionparameter taking a jOOQ record isCONDITION_PARAMETER_RECORD. On a jOOQ record a field naming no column of the record’s table isCOLUMN_UNRESOLVEDorCOLUMN_AMBIGUOUS, and a@nodeIdfield with no route onto that table isNODE_ID_LANDS_ON_TABLEunder a@servicetoo, as in utdanningsregisteret’sRegistrerCampusForUtdanningsmulighetInput.organisasjonsId, which writes a@referencepath throughcampusto build. -
Breaking: a whole node id never lands on a parameter as a single value ("a whole node id lands only on a record or a tuple"). A
@nodeIdargument a@serviceparameter takes whole, by name or through anargMappingentry naming the argument, lands only on the node type’s generated record, a record supertype for an id of several node types, or aRecordNorRowNof the key’s columns' types. A parameter of the one key column’s type, which used to receive that column’s value, isNODE_ID_KEY_ARITY_EXCEEDS_SLOT; ask for the column with anargMappingentry projecting it, asid: key.film_id. Used in FS-plattform after all: opptak’sOpptak.tilstandForAlleUtdanningstilbud(larestedIder: [ID!] @nodeId(typeName: "URegOrganisasjon"))(added 2026-11-09, after the check this entry first rested on) takesList<String>: it asks for the column withargMapping: "larestedIder: larestedIder.<key column>", which a@serviceparameter takes as a list since the entry below. Alf held releases until it could (2026-11-13). -
Breaking: a
@condition’s parameter takes a whole node id as a `@service’s does("a @condition’s parameter takes a whole node id only as a record or a tuple"). The rule above holds at a `@condition’s parameter too, at an argument or an input field: a parameter of the one key column’s type is `NODE_ID_KEY_ARITY_EXCEEDS_SLOT, and the column is asked for with anargMappingentry projecting it. Used in FS-plattform main (946fc4aa20) at 15 sites, each fixed by one projection such as tilgangsstyring’sApplikasjonerFilterInput.miljoer: [ID!] @nodeId(typeName: "Miljo"), whoseApplikasjonerFilterConditions.miljoertakesList<String>, addingargMapping: "miljoer: miljoer.<key column>"(Alf, 2026-11-14: "We break tilgangsstyring"): in tilgangsstyring themiljoer,organisasjoner,rollerandhjemmeorganisasjonerfilters of applikasjoner, testpersoner, brukeradmin and personbruker (12), andQuery.mineTildelbareTilgangsroller’s pairs `organisasjonskode: filter.organisasjonIdandmiljokode: filter.miljoId(2); in opptakSakFilterValuesInput.gskGrunnlagstypeIder(1). -
Breaking: the generated node-id decode takes no parse classes or label ("a node id decodes through a converter-backed key column, its text parsed as the column says"). The generated
NodeIdEncoder.decodeColumns(typeId, id, columns...),decodeInto(record, typeId, id, columns...)andColumnValues.exact(type, text)/folded(type, text)lose theirparseClassesandlabelarguments: each key column’s text is parsed as the column says, as its converter’s user type where jOOQ reads that type from text and through the column’s own coercion otherwise, the time of day aLocalDateTimeover a date-only column carries kept as before.decodeIntothrows its nestedColumnConflictwhere a column another writer set disagrees, for the caller to name the input field. A node id over a converter-backed key now decodes at a@serviceparameter or member and a@conditionfilter emitted from the store, where it was refused. Unused in FS-plattform: no hand-written code there calls these methods (main 946fc4aa20), and utdanningsregisteret’s 14 mutations over converter-backed keys are what it unblocks. -
New: an id of several node types builds into a
@servicebean member ("an id of several node types decodes at a @service parameter or bean member"). A@nodeId(typeName:)naming a union or interface of node types now builds into an input bean’s member as it does into a parameter: typed as a supertype of every member’s record, the member receives the record of whichever node type the id names, one per element of a list. A member that some member’s record is not isNODE_ID_SLOT_NOT_SUPERTYPE_OF_MEMBER, as a parameter is. Unused in FS-plattform: none of its six graphs at main 946fc4aa20 names a union or interface in a@nodeId. -
New: a
@serviceparameter takes a key column of each of a list of node ids ("a list of node ids projects its key column at a @service parameter"). AnargMappingentry projecting a key column out of a[ID]@nodeIdargument, asstoreIds: units.store_id, hands the parameter aListof that column, one element per id in order and a null id a null element; any column of a composite key can be projected. A parameter that is not aListof the column’s type isNODE_ID_KEY_COLUMN_TYPE_DISAGREEMENT, namingList<...>as the declaration that takes it. A@servicefield whose fetcher the store does not emit yet is refused, naming why. At a@routineor@conditionparameter a list projection is still deferred. -
Breaking: a bean member holding one value no longer takes a node id’s single key column ("a bean member is judged as a parameter is"). A
@nodeIdfield of an input object built into a class lands on its member as on a parameter: the node type’s record, a record supertype for an id of several node types, or aRecordNorRowNof the key; a member of the one key column’s type isNODE_ID_KEY_ARITY_EXCEEDS_SLOT. Unused in FS-plattform: all 266 of its bean members taking a node id are typed as their node’s own record, and opptak captured at main 946fc4aa20 lands all 278 of its members as the node’s own record. -
Breaking: a node id lands in a built record through one path step at most ("record landings are stated"). A
@nodeIdfield of an input object built into a jOOQ record lands its key in the record’s own key columns, or in the columns one foreign key carries back to it; a written path of several steps isNODE_ID_LANDS_ON_TABLE, as is one that does not carry every key column back. Unused in FS-plattform: its twelve@nodeIdinput fields writing a longer path are all on filter inputs, never built into a record. -
Breaking: a class-backed field reads a record’s component or another class’s getter, nothing else ("a class-backed field reads a record component or a get or is getter"). A field of a class-backed output type, an input type built into a class, or an
@errortype’s extra field no longer reads a barename()on a class that is no record, a public field, or a method on a record that is no component: rename the member togetName(), point@field(name:)at one the class has, or make the class a record. Refused asMEMBER_UNRESOLVED(new) orERROR_FIELD_UNREADABLE. Unused in FS-plattform: at main 946fc4aa20, all 644 fields read off a backing class and all 1,761 input fields matched to a bean read a record component or a getter. -
Breaking: an input field nothing takes is refused ("an input field nothing takes is MEMBER_UNKNOWN once, at the outermost such field"). An input field built into a bean or Java record that fills no member, matched exactly, case included, and is bound no other way (a call’s parameter or tenant, an
@outboxkey, its own@condition, a column a non-overriding filter compares) fails the build asMEMBER_UNKNOWN, once at the outermost such field: a misspelt nested input object is reported itself, its fields not. A field a non-overriding filter compares as a column is no longer refused for filling no member. In FS-plattform sis, the twoaktivInnenforPeriodefilter fields, which Graphitron 9 drops silently today: rename the setter or the field to match. -
Breaking: a single-record routine write whose path reaches many rows is refused ("breaking: a single-record routine write whose path reaches many rows is refused, unused in FS-plattform"). A mutation
@routineanswering one record, read along a path with a step that can reach many rows, fails the build asROUTINE_WRITE_PATH_FANS_OUT, the detail the table that step reaches: one written row could answer as several. Return a list, or read the record along a path whose every step reaches one row. -
Breaking: a plural routine write returning a table states its order ("breaking: a plural routine write returning a table is refused without @defaultOrder, unused in FS-plattform"). A mutation taking one list argument and answering a list owes its answer in the order of its input. Where a
@routinereturning a table stands behind it,@defaultOrder(fields:)on the field names the columns of the routine’s result that keep that order; without one the build fails asROUTINE_WRITE_PLURAL_UNORDERED, and an element naming a path or no column of the result asROUTINE_WRITE_PLURAL_ORDER_NOT_A_COLUMN. A list argument mapped to an array parameter is passed as an array.
Retired vocabulary
A recapture reads a catalog whose keys changed under their names, claimed by C (2026-11-25).
Reported from opptak’s kommunikasjon-utsending: a migration rewritten before it was deployed kept
melding_element_fk’s name and pointed it at a three-column `utsending_element where it had
referenced the four-column utsendingsbunt_element, and the next capture on the existing store
failed on the key’s own column rows, which repeat its target under their foreign key. The catalog
reading now writes a foreign key read under its name with another target afresh, its column rows
going with it by cascade, and does the same for a primary key row whose constraint is read with
another type, which repeats the type. The rest of the sql_ family forwards nothing a recapture
rewrites in place: sql_column cascades its field’s type on update, positions are keys the sweep
takes children first, and sql_referential_constraint_reach is derived anew after the reading.
sql_embeddable_column repeats its field’s kind and would meet the same failure if a field became a
column under one name; it is left until a catalog does that. CatalogRecaptureTest reads a catalog
twice into one store, the one shape a fact document cannot state.
Every list states its order or is refused in the store (2026-11-23). LIST_ORDER_UNDETERMINED
refuses a list or connection with no stated order over a keyless table or a function’s result,
wherever it is read, a lookup, a service and a write exempt as stated facts, and a child handed a
record over a keyless table already NO_KEY_FROM_PARENT’s, having no key to be re-read by;
`ORDER_FIELDS_EMPTY refuses an order naming no field. The walk’s
GraphitronSchemaValidator.validateListRequiresOrdering, validatePaginationRequiresOrdering,
listOrderingDiagnostic, routineResultTerminusOf and the split-connection ORDER BY guard go, and
OutputField.requiresReFetch() no longer exempts a list from the order rule.
The filter conditions are emitted from the store (2026-11-23). Every <Parent>Conditions class is
rendered by ConditionUnitRenderer from ConditionQuery’s rows at the address `GeneratedUnits mints,
one method per field and table, a participant’s where the field’s rows are told apart by their tables,
and a faceted field’s base and facet fragments beside it. Whether an argument or input field is read
under a field’s rows is graphitron_occurrence_row_input, and whether its filter compares it is the
subtype graphitron_occurrence_filter_term; graphitron_occurrence_taken’s `COMPARED reads the
latter beside what a write compares. ConditionGlueRenderer goes, with InputBeanHelperRegistry,
ElementRowsHelperRegistry, RecordDecodeHelperRegistry, Predicate, PresenceGuard, OuterLift,
AuthoredMethodRef, MatchKind and ArgBinding, and ConditionCommand’s predicates, lifts and
bindings. `ConditionCommand keeps its coordinate, table, glue and facets, and states
readsRequestContext, readsSession and decodesNodeId as stored booleans rather than deriving them
from its predicates, until the callers and PlanCompileGraph read the store’s rows. A whole node id at a
@condition parameter of a key column’s type is refused (NODE_ID_KEY_ARITY_EXCEEDS_SLOT); the column
is projected with argMapping.
A sort key’s path is resolved at its occurrence (2026-11-25). A fields element’s path: is a
PATH sort key whose elements are captured in the one reference-path grammar and resolved by the
shared element relations. graphitron_occurrence_sort_key_hop names each hop’s foreign key and
direction at the sort key’s grain, graphitron_occurrence_sort_key_column names the column the last
hop lands on, and SORT_KEY_PATH_CONDITION, SORT_KEY_PATH_TO_MANY, SORT_KEY_PATH_UNRESOLVED and
SORT_KEY_COLUMN_OFF_PATH refuse what the walk refuses. ProjectionEmitter reads the key as a
correlated scalar subselect in the sort term, so the flip keeps no fallback for it. Whether a hop reaches
one row is sql_referential_constraint_reach’s, and the table an order reads is the order’s own
`read_table (Alf, 2026-11-25); the hop rule reads the written key off graphitron_path_element_key
until "Nothing resolves a path but the walk" moves its readers. Carried from G’s range by C.
A parameter’s table fit is held only for a method a call names (2026-11-16). Which catalog tables a
parameter can be handed is graphitron_call_parameter_table, keyed by the graph and written by the
graphitron gatherer’s call-parameter-tables stage for the methods the graph’s code references name:
every overload of a written class and method name, every table of the graph’s catalogs each. Every
reader starts from a method a call names. code_method_parameter_table, its rule, the code
gatherer’s method-parameter-tables stage and MethodParameterTables go: they paired every method
on the classpath with every table, about 208,000 rows rewritten per capture in sakila, almost all
jOOQ’s own as and rename on a second jOOQ model in the reactor (Alf, 2026-11-16).
A single child’s null contract (2026-11-15). A nullable single child is null exactly when its read
finds no row, and a nesting field is present wherever its parent is (Alf, code-generation-triggers.adoc).
The store states nothing for it: the projection emitter reads a nullable single child as it reads a
non-null one and a nullable nesting field as a non-null one, and its NULL_CONTRACT refusal is gone.
The walk’s Presence, its leaves, probes and blockers, emulated Graphitron 9’s left joins and goes.
A list’s order is completed with its row key in the store (2026-11-15). The keys identifying the
rows of a list over one table are graphitron_occurrence_identifying_key_column, ranked: the primary
key, the node key of the type the list returns, and each unique key none of whose columns admits
NULL. An order listing none of them in full is completed with the best ranked one’s other columns,
graphitron_occurrence_sort_key_completion, after its written keys in the last one’s direction; a
sequence a client composes is completed when it is picked. The walk’s OrderByResolver.complete,
RowIdentity and SequenceCompletion.AppendRowKey go with the flip.
A method read without parameter names is one defect (2026-11-15). A @service or @condition
method parameter nothing fills, in a class compiled without -parameters, is
PARAMETER_NAMES_MISSING rather than PARAMETER_UNFILLED: one defect per directive, naming the
class and saying to compile it with -parameters. A nameless parameter a type fills is no defect.
A claim names its writing stage as a meta_stage row (2026-11-15). graphitron_claim.stage holds
producer-claims, binding-claims or type-claims, a foreign key into meta_stage, rather than the
writing class’s simple name.
The store states every stage’s rule views (2026-11-15). meta_stage_rule names the rule view
each stage inserts each relation from, every stage’s and not only the bindings', and the Java lists
beside the gates are gone: EntryDefects.RULES, StageAnswerAgreementTest.STAGES and its rule
discriminator. The agreement test compares a table with the union of its rules, a supertype’s arms
or two stages' halves of one relation together, and StageRuleGateTest holds the rows to the
catalog’s views.
No rule view uses a window function (2026-11-15). What a window ranked is stated: a first pick is
a NOT EXISTS against an earlier candidate, a winning priority one against a better priority, a
count of candidates a grouped join, and an ordinal the stored order or a count of the rows before
it. graphitron_facet_binding, graphitron_connection_facet and graphitron_inherited_directive
are tables written from their rule views by macro-expansion. A minted accepting @key on a type
with no node key is numbered one past the authored keys.
The generated connection carrier is OwnedConnections (2026-11-14). TenantConnections,
TENANT_CONNECTIONS_CLASS_NAME and ServiceEmission.Tenancy go; the tenant is one part of the
connection key, and the carrier and emit’s routing classes are named for the key mechanism.
An inline list’s ordering and its narrowing are stated at its occurrence (2026-11-15).
@defaultOrder and @order are one decode, graphitron_ast_order_entry with its surface and count
generated from the row; graphitron_occurrence_order states each list’s default and each @orderBy
choice, referencing the application it is read from, and graphitron_occurrence_sort_key its keys,
column or method; graphitron_sort_enum and graphitron_order_input state the sort enum and the
argument’s input type. graphitron_occurrence_lookup_key states a list’s @lookupKey keys, keyed by
the key occurrence and ordered by the stored argument and field ordinals, and
graphitron_occurrence_node_id_carried the column a node id’s one-step path carries a key back to,
which the node id slot’s record column now reads. An ordering’s missing index or column draws
ELEMENT_UNRESOLVED or COLUMN_UNRESOLVED; the decode’s and the lookup key’s own refusals are
field-targets’, the orders' `occurrence-orderings’, a malformed `@orderBy input type among them,
ORDER_INPUT_SHAPE.
A binding’s kind is stated by its rule view (2026-11-14). The binding writers' kind literals are
gone: each binding rule view projects kind, and the tenant view its bound, which its writer
composed. meta_stage_rule names the views each stage inserts graphitron_occurrence_binding from,
and StageAnswerAgreementTest holds the kinds each yields over the fact documents to its stage’s
meta_stage_write_kind rows. A PARAMETER binding’s sweep was already its call kind’s: a stage
deletes only its own calls' fills, and then the bindings no fill names.
A routed fetcher acquires by the connection key it built (2026-11-14). The generated
OwnedConnections.dslFor(env, tenantKey), which builds the key from its tenant part, goes when the
walk’s last routed site does; a store-emitted fetcher calls dslFor(env, ConnectionKey).
An unbound parameter is one code, raised where its bindings are (2026-11-14).
ROUTINE_PARAMETER_UNBOUND is gone: a child routine step’s parameter nothing binds is
PARAMETER_UNFILLED, as a method’s and a root @routine’s is, a breaking change to the codes an
editor filters by. The view `graphitron_occurrence_call_parameter_defect is a table each kind’s
stage writes from its own rule view, a service’s and a root routine’s at occurrence-producers and
a condition’s at occurrence-bindings, and occurrence-depth-defects raises no parameter code. A
call states the directive application it came from, so no rule picks a field’s first @routine by
MIN(ordinal); meta_stage_write_kind states the call relations' split by call kind.
A routine and a write state what they bind as call parameters (2026-11-14). A write and a root
@routine are calls whose arguments bind their parameters, and a child routine’s step parameter
names the argument occurrence it reads: graphitron_join_path_step_parameter.argument, a name path,
is argument_coordinate. A filter term is what no call binds, so ConditionEmitter’s `CONSUMED
reason and its FILTERED set of producer kinds are gone, facets waiting on a FACETS reason of
their own.
A defect is keyed by the stage that raised it (2026-11-13). graphitron_entry_defect and the
relations detailing it, _claim, _member, _key_column, _table, _path_step and
graphitron_argmapping_pair_defect, take the raising stage into their key, each rule view naming
its stage on its rows; nobody owns a code, so graphitron_defect_type.owner_stage is gone, and with
it DefectOwnerGateTest, its SHARED carve-out and the sweep by owned codes: the gatherer sweeps
its stages' rows by the stage each names, and DefectStageGateTest holds the shape.
graphitron_entry_defect_site is one finding per position and code over the stages, at its own
grain, graphitron-entry-defect-finding.
An @outbox payload key takes a node id whole, and decodes a key column named past it
(2026-11-13). What a node id at a landing hands over is graphitron_argmapping_landing.receives:
the key column rule and ARGMAPPING_KEY_COLUMN_UNRESOLVED read it rather than whether the path
descends, so neither judges a payload key’s id; descends states the path’s shape alone.
graphitron_outbox_key states the key column an argument key decodes and its node type.
The editor and the MCP read the resolved node (2026-11-13). The MCP’s node reports the
resolved type id and key columns with the tier that answered each (typeIdOrigin,
keyColumnsOrigin), where it reported only what @node wrote. The editor’s typeName:
completion and check read graphitron_node, and the check’s message no longer says the type must
carry @node.
A node is what the manual says takes effect (2026-11-13). graphitron_node_type, which
added every written @node to the resolved nodes, is gone; its readers read graphitron_node.
NodeDeclaration.isNodeType answers on the same terms, a @node with no bound table being no
node, and NodeCaptureTest went with the view.
A connection’s producer builds its class (2026-11-12). The generated ConnectionResult and
its unit kind CONNECTION_RESULT, ConnectionFetcherClassGenerator with the per-type connection
and edge fetcher classes and TypeUnitCommand.ConnectionFetchersUnit, ConnectionHelper’s
resolvers (edges, `nodes, pageInfo, totalCount, facets, edgeNode, edgeCursor) and its
nested Edge, and the store’s graphitron_runtime_class, graphitron_runtime_member and
graphitron_occurrence_producer_result.runtime_kind went. A connection field is answered by the
generated util.Connections class its producer builds.
A node that is not resolvable is a node (2026-11-12). The walk’s stub classification is gone:
NodeDeclaration.isStub is isResolvable, a fact beside nodehood, BuildContext.TargetKeys.OfStub
and BuildContext.stubDecode went with the walk’s second derivation of such a node’s key, and
NodeType carries resolvable. The codes NODE_STUB_WITH_NODE_INTERFACE and
NODE_WITHOUT_ID_FIELD are gone, every @node implementing Node.
For the retirement sweep at the Done gate. Determined by diffing the schema’s relation names across the item’s life. Already swept once, with seven survivors found and fixed.
Relations nobody read (2026-11-12). intent_poly_member; store_graph_lint_disabled_rule;
federation_version_directive_location and its grain federation-version-directive-location;
graphitron_ast_service_entry, graphitron_ast_external_field_entry, graphitron_ast_pivot_entry,
graphitron_ast_default_order_entry, graphitron_ast_default_order_field_entry and
graphitron_ast_error_database_handler_entry; graphitron_entry_defect_method with its grain
entry-defect-method and its writer ConditionShapeDefectMethods, and
graphitron_entry_defect_parameter with its writer EntryDefectParameters, the rule view
graphitron_entry_defect_parameter_rule staying; graphitron_field_scope_table,
graphitron_argument_scope_table and graphitron_input_field_resolving_table, each with its _rule
view, its grain (field-scope-table, argument-scope-table, input-field-resolving-table) and its
DerivationStratum step and writer (FieldScopeTables, ArgumentScopeTables,
InputFieldResolvingTables), and intent_field_navigated_type. With the steps that read one another gone, the derivation
gatherer’s analysing cadence went too: DerivationStratum.analysingCadenceApplies,
DerivationStratum.runAnalysing, StageProgress.Event.PassStarted.analysing and its
, committing and analysing each line, and StagePrerequisiteStatisticsTest, which held it. The fact documents
undecided/field-scope-table, undecided/field-participant-scope and
defects/input-field-resolving-table-consuming-field went with what they claimed;
scenarios/default-order stays, the manual’s @defaultOrder and @asConnection examples rendering
from it.
The field-keyed key row dissolved into the fill (2026-11-11). graphitron_field_key_row,
graphitron_field_key_row_accessor, graphitron_field_key_row_rule, the field-key-rows stage and
its writer FieldKeyRows, and graphitron_occurrence_producer_key_row with its rule are
graphitron_occurrence_producer_lift, _lift_accessor and _lift_candidate, keyed per occurrence;
the key row’s kind is the fill’s read, its table_* columns the fill’s key_*. The pin test
FieldKeyRowPinTest is ProducerFillPinTest. The fact document scenarios/field-key-row keeps its
name.
Path relations renamed or dropped before they had readers. graphitron_path_anchor is
graphitron_path_claim, its writer PathAnchors is PathClaims, and anchor_kind,
anchor_coordinate and anchor_target_type are claim_kind, claim_coordinate and
claim_target_type; "anchor" stays the anchoring phase and the anchor relations the anchor rule
speaks of, and graphitron_ast_path_entry’s `anchor_line and anchor_column. graphitron_path_holder
went into graphitron_occurrence, a holder being just a coordinate. The anchor’s spelling
Store.people[Staff] and the argument spelling Query.people.storeId are retired with them.
The walk’s catalog decodes went with the store’s encoder (2026-11-11).
GraphitronSchema.catalogNodeDecodes and BuildContext.catalogNodeDecodes(), the walk’s registry of
the decode helpers it minted for @nodeId targets that are no node type, are gone: the encoder emits
a helper for each graphitron_node row, a stub’s included.
Transitional columns. graphitron_occurrence_condition.override_written copies the override: a
@condition was written with off graphql_directive_application_arg; the consumption-rule node
removes the column.
The claim conflict moved into the claim supertype. AuthoredClaimConflicts, its
FieldVerdict, FieldCoordinate and fieldConflicts, FieldClaim, AuthoredClaimRejectionRows
and intent_authored_claim_rejection are gone, with the grain authored-claim-rejection, the
producer-claim and binding-claim grains and the defect code PRODUCER_KINDS_CONFLICT; the
claims are graphitron_claim and its catalogs, the conflict CLAIMS_CONFLICT and
ROUTINE_LOOKUP_DEFERRED with their detail, read by ClaimConflicts.
Path relations renamed into the join path’s names (2026-11-04). graphitron_path_claim is
graphitron_join_path_claim; graphitron_path_step and its children graphitron_path_step_column,
graphitron_path_step_key, graphitron_path_step_primary_key, graphitron_path_step_method,
graphitron_path_step_routine and graphitron_path_step_parameter are graphitron_join_path_step
and graphitron_join_path_step_*; graphitron_path_stop is graphitron_join_path_stop. The need’s
columns landing_kind, landing, landing_type, start_coordinate and start_as are dropped, a
need being keyed by its target type with its landing an attribute. The defect code
CHAIN_WITHOUT_TARGET is merged into REFERENCE_WITHOUT_TARGET_TABLE, reported at the claim.
Per-site @field and @nodeId entries merged (2026-11-05). graphitron_ast_field_binding_entry,
graphitron_ast_input_value_binding_entry and graphitron_ast_enum_value_binding_entry are
graphitron_ast_binding_entry; graphitron_ast_field_node_id_entry and
graphitron_ast_input_value_node_id_entry are graphitron_ast_node_id_entry, both written by
GraphitronBindingEntries off every site.
Dropped, written and never read (2026-11-05). graphitron_field_participant_path and its grain
field-participant-path, written by GraphitronAnchor and read only by a fact document: a
participant’s own path is its @referenceFor claim, graphitron_ast_path_entry, walked into
graphitron_join_path_step like any other claim.
Dropped, read by nothing but their writer (2026-11-06). The field-site reference walk,
graphitron_field_reference_step_target with graphitron_field_reference_step_target_keyed,
graphitron_field_reference_step_target_keyless, their grains reference-step-target,
reference-step-keyed-target and reference-step-keyless-target, and its stage
FieldReferenceStepTargets: a field’s walk is graphitron_join_path_step. The old walk’s start
subtypes graphitron_field_path_start_result, graphitron_field_path_start_binding and
graphitron_field_path_start_lifted, their kind staying on graphitron_field_path_start.
Input occurrence paths dissolved into the occurrence (2026-11-06). InputOccurrencePaths,
intent_input_occurrence_path and intent_input_occurrence_path_step, with
InputOccurrenceShadowTest: an input field’s use site is its graphitron_occurrence coordinate,
spelled Query.films(where.someId:), its declared argument the occurrence’s argument_coordinate
and its descent the parent chain.
The departing column dropped (2026-11-06). graphitron_field_target_column,
graphitron_field_target_column_match, graphitron_field_target_column_rule, the grain
field-departing-column and the writer FieldTargetColumns: a field’s column is
graphitron_occurrence_column, at the table its occurrence’s path lands on.
Relations retired. Eight per-site argMapping tables into graphitron_arg_mapping_pair:
graphitron_argument_condition_arg_mapping_pair,
graphitron_argument_reference_for_step_arg_mapping_pair,
graphitron_argument_reference_step_arg_mapping_pair, graphitron_field_condition_arg_mapping_pair,
graphitron_field_reference_step_arg_mapping_pair, graphitron_reference_for_step_arg_mapping_pair,
graphitron_routine_arg_mapping_pair, graphitron_service_arg_mapping_pair. Three type-reference
tables into jvm_declared_type_ref: jvm_method_parameter_type_ref, jvm_method_return_type_ref,
jvm_record_component_type_ref. graphql_implements and graphql_union_member into
graphql_poly_member. Also graphitron_source_row, intent_declared_type_ref,
graphitron_type_declaration_synthesis (now graphitron_minted_type and
graphitron_minted_type_site), intent_argmapping_pair_live, intent_errors_field_live,
intent_condition_param_extraction, intent_condition_table_parameter,
graphitron_argument_path_segment, code_condition_method_parameter (now
code_method_parameter), code_type_slot (now code_read_slot), and
code_condition_method_parameter_table (now a join in the resolutions that need it). The demand relations,
dissolved rather than replaced: intent_field_demand_rule, intent_field_exemption_rule,
intent_type_demand, intent_type_exemption, intent_resolved_field_demand and
intent_resolved_type_demand. The deprecated link and federation key decode, its readers having
moved to the ast_ entries and the directive anchor: graphitron_link_entry,
graphitron_federation_key_entry, graphitron_federation_key_field_entry,
graphitron_federation_key_field_segment_entry and intent_federation_key. The record of the
link the composition synthesised, its readers having moved to graphitron_federation_link:
graphql_assembly_synthesised_link and its grain graph-synthesised-link. The registry decode’s
argMapping relation, its readers having moved to graphitron_ast_argmapping_pair_entry and
graphitron_argmapping_site: graphitron_argmapping_entry, with the indexes
graphitron_argmapping_entry_site_ix and graphitron_argmapping_entry_use_ix. The registry
decode’s condition relations, their readers having moved to graphql_directive_application and the
graphitron_ast_ twins: graphitron_field_condition_entry, graphitron_argument_condition_entry,
graphitron_field_condition_context_arg_entry and graphitron_argument_condition_context_arg_entry.
The two @referenceFor step relations, their one reader having moved to the step twins:
graphitron_reference_for_step_entry and graphitron_argument_reference_for_step_entry.
Renamed, configuration to the store_ family. graphql_source_input (now
store_graph_source_input): a recipe entry matched to a file the graph claims is configuration the
run held, which the store_ family’s charter keeps.
Renamed, chain to path. graphitron_field_chain_link (now graphitron_field_path),
graphitron_field_chain_link_reading, graphitron_field_chain_link_resolution and its _rule,
_keyed, _keyless and _open, graphitron_field_chain_application, intent_field_chain_start,
intent_field_chain_node and intent_field_chain_terminus, each now _path where it said
_chain_link or _chain; the grains field-chain-link, field-chain-link-reading,
field-chain-link-reach and its keyed, keyless and open siblings, and
field-chain-application; the classes FieldChainLinkResolutions and FieldChainApplications, now
FieldPathResolutions and FieldPathApplications.
Dissolved into the target, the source and the target type. graphitron_field_table, its
grain field-target-table, its target_basis values NAMED_TYPE_TABLE, PARTICIPANT_TABLE and
ROUTINE_RESULT, FieldEndpoints and FieldEndpointsTest.
Removed with @sourceRow. The directive, graphitron_ast_source_row_entry, the SOURCE_ROW
values of graphitron_field_key_row.kind, graphitron_field_key_row_method.kind,
graphitron_field_path_start_lifted.key_kind, graphitron_field_source_table.basis and
graphitron_method_reference_entry.site, SourceRowDirectiveResolver, SourceRowDeclaration,
LifterMethodResolver, LifterRef, StaticProducerRef, KeyLift.Lifter,
ServiceKeySource.FromLifter and Rejection.AttemptKind.LIFTER_METHOD.
Dissolved into the member join. A field’s read is the member its bound name finds on the class
its parent’s result holds, read where it is asked: graphitron_reader_accessor and its rule, the
grain graph-field-class, graphitron_field_key_row_method, graphitron_carrier_data_channel and
its rule, and CarrierDataChannels.
Dissolved for want of a reader, resurrectable from ab6b49c34. graphitron_type_reach,
graphitron_type_arrival, graphitron_field_source and their _rule views, TypeReaches,
TypeArrivals, FieldSources, the fact documents type-arrival and
type-arrival-through-a-connection, and `FactExpectationTest’s source-or-defect gate.
Dissolved into the reading. graphitron_field_routine, its grain field-routine-result,
FieldRoutines and FieldRoutinesTest.
Re-keyed, target table to target type. The target_source_name, target_schema and
target_table columns of graphitron_field_table_link, graphitron_field_table_link_rule,
graphitron_field_path_reading, graphitron_field_path_resolution, its _rule and its _keyed,
_keyless, _open and _condition tables, now arriving_type_name.
Dissolved into a defect. intent_field_unlowerable_ordering, its verdicts
PARTICIPANT_FAN_OUT and KEY_CAPTURE_SCATTER and its route PRIMARY_KEY_FALLBACK,
intent_field_unlowerable_ordering_rejection, UnlowerableOrderingRejectionRows,
UnlowerableOrderings.Verdict, the grains unlowerable-ordering-route and
unlowerable-ordering-rejection, and the seeded FieldUnlowerableOrderingTest.
Dissolved into the target and its joins. intent_field_participant_scope_table and its
seeded FieldParticipantScopeTableTest.
Renamed, navigation to target. graphitron_field_navigation (now graphitron_field_target),
its columns navigated_type_name (now target_type_name) and basis with its values
CONNECTION_ELEMENT and NAMED_TYPE (now wrapper_type_name, the connection’s name or null), the
index graphitron_field_navigation_type_ix, and the fact document field-navigation.
intent_field_navigated_type keeps its columns, projected from the target.
The type-backing
cluster, into graphitron_type_backing: intent_type_backing_seed, intent_type_backing_class,
intent_type_backing and intent_field_accessor_hop, with the grain type-backing-class and the
value BACKING_CLOSURE (now PRODUCER and ACCESSOR).
graphitron_element gained ENUM_VALUE, and graphitron_enum_value, graphitron_federation_link,
graphitron_federation_link_import and graphitron_ast_federation_link_entry are new, all added
rather than retired.
Renamed, by rule rather than by list. Every relation of the as-written half of graphitron_
gained the _entry suffix. A sweep for a survivor is a search for a graphitron_ name that is
neither suffixed nor one of the sixteen in the resolved half, which is cheaper than a list and does
not go stale. Two index names followed: graphitron_spelled_reference_name_ix,
graphitron_method_reference_method_ix.
Columns and values. store_source.origin and store_source.coordinate (now on
store_graph_dependency), graphitron_field_synthesis.authored_type_sdl,
code_external_field_method.table_parameter_type, code_condition_method.is_static,
graphitron_argmapping_match.segment_position, trailing_segments, written_path,
trailing_name; graphitron_argmapping_entry.head_segment, head_kind, candidate_coordinate,
candidate_path, type_name, field_name, argument_name, and argument_path (now
written_path); graphitron_argmapping_candidate.element_name (now name), type_name,
field_name; intent_resolved_node_key_projection.trailing_segment_name (now trailing_name);
code_construction.type_name and code_write_slot.type_name (now class_name); the index
code_type_slot_name_ix (now code_read_slot_name_ix). site and use_site on
graphitron_argmapping_match, intent_argmapping_bound_parameter_type,
intent_argmapping_key_column_candidate, intent_resolved_node_key_projection and
intent_argmapping_projection_defect, the mapping string’s key and the site’s parts in their place.
Values AUTHORED_EXPRESSION and TRAILING_SEGMENTS_BEYOND_ONE.
graphitron_field_chain_link_resolution.reach and its values TAIL and HEAD as a stored column
(now the payload flags reached_by_tail and reached_by_head), and reach in the
field-chain-link-reach grain’s key shape. Added rather than retired, and
listed because the grain is the point: store_graph_source.stamp and store_graph_source.read_at.
Java. CodeCapture.tablesByClass; AbstractRewriteMojo.reactorOutputCoordinates; DemandRuleTest, DemandShadowTest, DemandResidue, SchemaQueries.Demand and the
MCP schema tool’s demand slot; MacroCapture.expandConnections (now expand); the Expansions record, the five
captureXDirective callbacks, captureNavigation, connectionElementByType;
EntryFamilyFixture.ENTRY_RELATIONS and ANCHOR_RELATIONS (now entryRelations());
EntryFamilyCoverageTest’s partition case; `GraphitronFactCapture’s `schemaDirectives,
typeDirectives, fieldDirectives, argumentDirectives, enumValueDirectives, argumentsBy,
directive, parsed, location and the four-argument undecoded; EntryWriterAgreementTest and
CapturedStore.entriesDecodedByTheWalk; RowChunks with ROWS_PER_STATEMENT, of and execute,
and MultiRowWritesAreChunkedTest (now WritesBindPerRowTest); SdlCapture with captureFacts,
captureEntries and captureGraphitronAnchors; SdlAnchor and SdlAnchorTest (now
GraphQLAnchorTest); SourceDocument.parsed() and its changed component; reclaimVanished (now
reclaim). TypeBackingRows and its stratum step; SeededStore.seedTypeBackingClass and
seedTableWithoutRecordClass; AccessorHopTest, TypeBackingSeedTest and TypeBackingTest (now
the type-backing* fact documents and TypeBackingPartitionTest). The stated classpath:
CodeRows.writeStated, ClasspathSourceCapture.stated, CapturedStore.captureCode and every
census parameter on CapturedStore’s arms; `TestSchemaHelper.classpathCensus (now
testClasspath); the language server fixture’s backingClasses (now testClasses), jarClass,
reactorClass, jarRecord, reference, method, parameter, producing, genericMethod,
genericParameter, component, scalarHolder, lifterHolder, withScalarConstants and
withExternalFieldLifters; the MCP fixture’s codeFixtureCensus (now codeFixtureClasspath);
SeededStore.seedScalarConstant and seedExternalFieldMethod. TagApplier and TagApplierTest, the configured tags being
graphitron_configured_tag’s; `DescriptionNoteApplier and DescriptionNoteApplierTest, the notes
minting the part relations' descriptions; LoadingRewrites.Outcome.Applied.synthesisedLink and
GraphQLAssemblyCapture.writeSynthesisedLink; EmittedRegistry.applyMintedDirectives (now applyUnwritten).
CompletionData, CatalogBuilder with projectTypesByName, TypeBackingShape and its
byTypeName, the rewrite.catalog package,
ClasspathCensus, ClasspathScanner, GraphQLRewriteGenerator.BuildOutput.catalog,
DevMojo.rebuildCatalog (now onClasspathChange) and sessionCensus, and the tests
CatalogBuilderTest, CatalogBuilderSourceTest, ClasspathCensusTest, ClasspathScannerTest,
JarResidentClassCensusTest, TypeBackingProjectionTest, TypeBackingClasses,
TypeBackingClassesTest, TypeBackingShadowTest and the plugin’s FixtureCatalogTest; CatalogRefreshTest is now
ClasspathChangeRoundTest. The specification’s built-ins
as constants beside the entries:
GraphQLAstCapture.SPECIFIED_SCALARS, SPECIFIED_DIRECTIVES with its three column fields and
specifiedDirectivesUndeclared, SdlFactCapture.SPECIFIED_DIRECTIVES, and the transcription’s
filter by built-in name; GraphQLAstCapture.BEFORE_EVERY_FILE moved to GraphQLSourceCapture,
which now stores it rather than the anchors coalescing to it. Renamed: SdlEntries to GraphQLAstEntries, SdlSchemaProblems to
GraphQLSchemaProblems, GraphitronEntries to GraphitronAstEntries, and with them
SdlEntriesTest and SdlSchemaProblemsTest. The
gatherer roster row document is now graphql-source, graphql-ast, graphitron-ast and
graphql-assembly. Remaining Sdl names belong to the incumbent walk and go when it does.
The resolved type binding. graphitron_resolved_type_binding, its writer ResolvedTypeBindings,
its index ix_resolved_type_binding_type and its grain resolved-type-binding went into
graphitron_tabletype, which binds a type to its one table and an ambiguous @table to none; with
them the candidates = 1 guard every reader applied, and `TableTypeTest’s parity check.
The corpus’s worked-example fragments. CorpusFragmentRenderer, CorpusFragmentRendererTest,
CorpusFragmentTest, OutcomeBlockRenderer, OutcomeBlockRendererTest and the 34
docs/architecture/reference/_example-<id>.adoc fragments, with the code generation triggers page
rewritten over the occurrence model and its examples rendered from fact documents by
ManualExamples; `HowToIndexCoverageTest’s check that the reference section holds fragments went
with them.
The claim views. intent_authored_field_claim, intent_authored_type_claim,
intent_column_match_claim, intent_resolved_field_claim and intent_authored_claim_conflict, with
their classifier and tier vocabularies (TABLE_COLUMN, AUTHORED, INFERRED, the presence arms'
decoded), AuthoredClaim.fromClassifier, and the MCP field claim’s tier and decoded: the claims
are `graphitron_claim’s, what took effect the occurrence’s.
The column-match shadow. ColumnMatchShadowTest, which held the walk’s column-match arm to the
claim view over the corpus; the column a field binds is pinned by fact documents, and the walk is no
oracle for it.
The planner’s rows in the corpus. The 61 plan_launcher_command blocks, the plan_ apparatus
prefix with CorpusExpectations.APPARATUS_PREFIX and LAUNCHER_COMMAND_RELATION,
CorpusExpectationTest.landTheLauncherCommands and theApparatusPopulationStaysDistinguishable,
ExemptionRegistry’s `LAUNCHER_COMMITMENT obligation with LAUNCHER_COMMITMENT_GAPS and
corpusCommittedLauncherArms, and ClassifiedHarness.launchSourceArmSimpleNames and
resultShapeArmSimpleNames: the planner is the walk’s and dissolves with it. With them the corpus’s
graphitron_tabletype and graphitron_synthesized_node_type_id blocks, the first pinned by
scenarios/routine-result, the second moved to scenarios/synthesized-node-type-id, and
QueryViewRenderer’s corpus prelude, `render(String, String) and touchedCoordinates, its test now
on fact-document fixtures.
The producer-method views. intent_field_producer_reference and intent_field_producer_method,
with FieldProducerMethodTest, now CodeReferenceClasspathScopeTest over graphitron_code_reference:
a code reference resolves there, and an overload or an absence is a defect of its own.
The reference-step family (2026-11-06). FieldReferenceStepHops with
graphitron_field_reference_step_hop, graphitron_field_reference_step_hop_keyed and
graphitron_field_reference_step_hop_keyless; ArgumentReferenceStepTargets with
graphitron_argument_reference_step_target, graphitron_argument_reference_step_target_keyed and
graphitron_argument_reference_step_target_keyless; InputFieldReferenceStepTargets with
graphitron_input_field_reference_step_target, graphitron_input_field_reference_step_target_keyed
and graphitron_input_field_reference_step_target_keyless; ReferenceStepWalk;
intent_argument_reference_step_hop; graphitron_condition_method_route; and the captures
graphitron_field_reference_step_entry and graphitron_argument_reference_step_entry, a path
element’s spelling now read off graphitron_ast_reference_table_step_entry,
graphitron_ast_reference_key_step_entry and graphitron_ast_reference_condition_step_entry. The
grains reference-step-hop, reference-step-keyed-hop, reference-step-keyless-hop,
argument-reference-step-target, argument-reference-step-keyed-target,
argument-reference-step-keyless-target, input-field-reference-step-target,
input-field-reference-step-keyed-target, input-field-reference-step-keyless-target and
condition-method-route went with them, and so did ReferenceStepRecombinationTest. Every reader
reads graphitron_join_path_step and its subtypes at the occurrence.
The old walk (2026-11-07). FieldPaths with graphitron_field_path, graphitron_field_path_rule,
graphitron_field_path_start, graphitron_field_path_start_rule, graphitron_field_path_start_routine,
graphitron_field_path_column, graphitron_field_path_key, graphitron_field_path_primary_key,
graphitron_field_path_method, graphitron_field_path_method_candidate, graphitron_field_path_routine,
graphitron_field_path_parameter, graphitron_field_path_parameter_rule,
graphitron_field_path_parameter_binding, graphitron_field_path_stop and
graphitron_field_path_landing, and the grains field-path, field-path-start, field-path-column,
field-path-key, field-path-method, field-path-method-candidate, field-path-routine,
field-path-parameter and field-path-stop. A field’s path is graphitron_join_path_step and its
subtypes at the occurrence, its start graphitron_path_need, its landing graphitron_join_path.
Relations nobody reads, first group (2026-11-07). intent_node_container_member,
intent_record_slot_assignable and sql_constraint_hop, with the constraint-hop grain.
Decode entries nobody read (2026-11-07). graphitron_split_query_entry,
graphitron_tenant_fan_out_entry and graphitron_multitable_reference_entry, presence being
graphql_directive_application’s; `graphitron_argument_binding_entry, served by
graphitron_ast_binding_entry; graphitron_argument_reference_entry, served by
graphitron_ast_reference_entry; graphitron_pivot_entry, graphitron_external_field_entry and
graphitron_default_order_field_entry with the grain field-order-position, their graphitron_ast_
twins staying; and graphitron_ast_field_condition_context_arg_entry,
graphitron_ast_input_value_condition_context_arg_entry and
graphitron_ast_service_context_arg_entry, a context key being graphitron_call_context_key_written’s.
`GraphitronFactCapture’s marker writer and `FactWrites.graphitronArgumentBinding went with them.
The @error decode (2026-11-07). graphitron_error_entry and graphitron_error_handler_entry;
the language server’s type hover reads an @error type’s handlers off graphitron_ast_error_entry’s
family through `graphql_directive_application.
The @node coordinate copies (2026-11-07). graphitron_node_entry,
graphitron_node_keycolumn_entry and graphitron_node_legacykeycolumn_entry, with the grain
node-legacy-key-written-position, and GraphitronAnchor’s `nodes and nodeKeyColumns. Their
readers read the type’s first @node application off graphql_directive_application, its type id
off graphitron_ast_node_entry and its key columns off the two graphitron_ast_ key-column entries,
which carry the application and the index each element was written at.
The anchor’s field-site copies (2026-11-07). graphitron_field_binding_entry,
graphitron_facet_entry, graphitron_connection_entry, graphitron_default_order_entry,
graphitron_service_entry and graphitron_mutation_entry, with GraphitronAnchor’s
`claimedOnField and claimedOnInputField and FactWrites.graphitronMutation. Their readers join
the field’s first application in graphql_directive_application to graphql_field_element and to
the graphitron_ast_ entry at its position; the @mutation spelling claim is keyed on
graphitron_spelled_reference_entry.
The @routine copy (2026-11-12). graphitron_routine_entry, GraphitronAnchor’s `routines,
routineApplications and applicationsOf, and FactWrites.graphitronRoutine. Its readers
(graphitron_entry_defect_rule, intent_argmapping_bound_parameter_type, the language server’s
declaration and field facts) read the field’s @routine applications in
graphql_directive_application, joined to graphitron_ast_routine_entry at the position where the
name is wanted; RoutineWriteQuery reads the mapping on the application graphitron_producer_routine
records. The @routine spelling claim is keyed on graphitron_spelled_reference_entry.
The anchor’s type-site copies (2026-11-07). graphitron_table_entry and
graphitron_scalar_type_entry, with the grain graph-scalar, GraphitronAnchor’s `claimed, and
FactWrites.graphitronTable. Their readers join the type’s first @table or @scalarType
application to graphitron_ast_table_entry or graphitron_ast_scalar_type_entry, a bare @table
resolving against the type’s own name; the @table spelling claim is keyed on
graphitron_spelled_reference_entry, and meta_family_headline names graphitron_ast_table_entry.
The @outbox copy (2026-11-07). graphitron_outbox_entry, the grain field-directive-application and GraphitronAnchor.outboxes. A
message is what was written, so its readers (graphitron_outbox_result_step,
graphitron_outbox_leaf, the OUTBOX_ rules of graphitron_entry_defect_rule, OutboxDefects
and OutboxQuery) read the field’s @outbox applications in graphql_directive_application,
numbered there in written order, joined to graphitron_ast_outbox_entry; an event left out is the
field’s coordinate, stated in each reader’s own query.
The @nodeId per-site pair (2026-11-07). graphitron_field_node_id_entry and
graphitron_argument_node_id_entry, with the decode’s @nodeId arms. Whether @nodeId was
written at a coordinate, and with which typeName:, is what was written, so
graphitron_node_id_instruction_rule and graphitron_argmapping_match read the coordinate’s first
@nodeId application joined to graphitron_ast_node_id_entry.
The @referenceFor per-site pair (2026-11-07). graphitron_reference_for_entry and
graphitron_argument_reference_for_entry, and intent_reference_for_application with its grain
reference-for-application, dissolved into its one reader: ReferenceForParticipantDefects reads
the written participant off the @referenceFor applications and graphitron_ast_reference_for_entry
and anti-joins the consumers offering it off the occurrences and the field targets. The decode’s
step method-reference claims are keyed on graphitron_method_reference_entry.
The undecoded-argument quarantine (2026-11-07). graphitron_undecoded_argument_entry, read
only by meta_family_headline, which drops it, and the decode’s undecoded writer: an authored
literal is graphql_directive_application_arg.value_sdl and `graphql_ast_value_entry’s.
The method-reference supertype (2026-11-07). graphitron_method_reference_entry, its index
graphitron_method_reference_entry_method_ix, the decode’s methodReference and useSite and its
@condition, @service and @externalField arms, and SupertypeSiteReferenceTest. Its one reader,
the language server’s class usages, reads graphitron_code_reference_site positioned at the owning
application; the step spelling claims are keyed on graphitron_spelled_reference_entry.
The argument-site marker decodes (2026-11-07). graphitron_order_by_entry and
graphitron_argument_lookup_key_entry: their readers, two rules of graphitron_entry_defect_rule,
UnlowerableOrderings and RoutineWriteQuery, read the applications at the field’s arguments off
graphql_directive_application and graphql_argument_element.
The type binding view. intent_bound_table, with the language server’s BoundTables, the MCP
tables slot’s candidates count and TableBinding.candidates: a type’s table is
graphitron_tabletype’s, the tables its fields read the occurrences' source tables, and an
ambiguous `@table’s candidates rows of `graphitron_entry_defect_table under its defect. With the
corpus left asserting nothing about the store, CorpusExpectationTest went too.
One survivor flagged rather than corrected. authored-connection-type-scope-silence rests its
premise on graphitron_field_synthesis.authored_type_sdl and on intent_field_scope_table reading
it. The column is gone and that view reads neither relation now. A dated note says so in its body;
whether the defect it reports still exists is its own author’s to re-measure.
The uncorrelated same-table read. With a same-table field refused unless a key joins it, the
inline multiset’s standalone shape is gone: CallWrap.Multiset and CallWrap.LookupMultiset take a
non-empty path and a parent correlation, and ProjectionUnitRenderer no longer renders a read of the
field’s own table under noCondition(). A TableField takes a non-empty path and a parent
correlation too, and `Presence’s empty-path check on a table probe went with the shape.
The old node-id relations (2026-11-08). graphitron_node_id_instruction,
graphitron_node_id_decode_hop, graphitron_node_id_decode_hop_column and
graphitron_node_id_decode_column, each with its _rule view, its writer (NodeIdInstructions,
NodeIdDecodeHops, NodeIdDecodeHopColumns, NodeIdDecodeColumns) and its DerivationStratum
step, and the grains nodeid-instruction, nodeid-decode-hop, nodeid-decode-hop-column and
nodeid-decode-column; with them intent_node_id_decode_endpoint, and the endpoint’s
navigation vocabulary (SAME_TABLE, AUTHORED_PATH, DISCOVERED_KEY), the hop’s via and
fk_on_from, and the decode column’s local_column_name lift. A node id’s node type and key are
graphitron_occurrence_node_id’s, the route to it the join path’s, and the record column a decoded
value loads into is read by `NodeIdDecodeQuery at emit time. PartitionSelectivityWorthTest, whose
two subjects were the instruction and decode-hop rules, went with them, and with it
StoreStatistics.resetIncludingTheDeclaration.
The foreign key column pairing view (2026-11-08). intent_foreign_key_column_pair, whose last
reader was the node-id decode rule. The pairing a path riding a foreign key equates is
`graphitron_join_path_step_column’s, per step, and the captured pairing it rests on
`sql_referential_constraint_column’s.
Owed, not done here
Found while writing the discipline down, verified, and not fixed. Recorded so they are findable rather than left in a transcript.
-
A declared reactor sibling with no build output is read from a stale installed jar, silently. Run on its own from a checkout where
opptak-servicehad never been built, opptak-subgraph’s generate fell back to an installedopptak-service-1.0-SNAPSHOT.jarfrom an older build that lacks the classes the schema names, and refused seven@errorclasses and the services of thirteen fields that the sibling’s sources declare. No stale-module warning fired, though the sources are newer than the jar. In a reactor build the sibling compiles first and nothing is refused. -
Generation reads a class the schema names only once it is compiled. Parked rather than planned: generation runs before the module compiles, so a class written in the module’s own sources, or in a declared sibling’s that was not built, is not nameable until it is. The case first offered for it was the stale sibling above, not a class in the module’s own sources, so no real schema is known to need it yet. Built once and dropped: the
java_family capturing each file’s package and imports and each class’s written supertypes,generatewalking the module’s own source roots (20 files in 732 ms cold on opptak), nameability taking the module’s sources in place of its compiled output, and the@errorcheck following written supertypes to a class the classpath knows. A@servicein the same module would still need its compiled method signatures. -
Nothing enforces mark and sweep. No gate checks that a stored relation’s rows are swept. One gatherer’s clear set is re-derived from its own source text and compared; the other lists are unchecked. This is one of the three things a stored relation owes and it has no enforcer.
-
The ownership gate binds on declared views only.
MetaDeclarationGateTest’s population is `WHERE RELATION_TYPE = 'VIEW', and within it a read of a relation still on the undeclared roster is skipped. A relation filled by hand-written jOOQ is outside it entirely, because what such a producer reads is in no stored definition for a parse to find. The javadoc handed those producers toCaptureCorpusIsolationTest, whose scope isgraphql_by prefix plus the graphitron entry half, so the catalog, classpath and code families are in neither population. Three sessions disproved that sentence independently; the javadoc now states the gap, and closing it is open. -
Nothing checks that a declared grain is the right grain. The key gate compares
meta_grain.key_shapeagainst the actual primary key, which is two authored strings agreeing with each other, and it excludes views. A relation whose key and whose declaration state the same wrong grain passes. The view exclusion is not hypothetical:graphitron_field_path_readingarrived declaring a grain that did not identify a row, naming the constraint by its own name alone where that name is unique per table, and omitting the endpoints entirely, which are all that tells apart the two arms carrying no constraint. It was found by reading and fixed by reading, which is the part that does not scale. -
SchemaIdentifierDriftCheckcan report findings the source no longer holds. It reads the store prose out of a booted H2 store, so the DDL it sees is the compiled resource rather than the file it names, and it labels every finding with thesrc/main/resourcespath. On an incremental build that pair means it reports against a stale copy while pointing at a source file that is already fixed. -
store_graph_writegrows without bound. Every finished capture adds its rows, about 250 per sis round, and nothing removes the old ones.
What a reviewer should press on
-
Slice 1’s classification is measured at eight relations and asserted at the other 48. A relation the classification gets wrong lands in a gatherer with no store to fall back on, and the failure is a missing row rather than an error.
-
Ownership moved in the code and is declared nowhere until slice 7. So the store’s own account of who writes the entry half is wrong in the meantime, and the gate that would catch it binds per declared row. Press on whether that window is acceptable.
-
One rewritten rule does not entitle the item to a general claim. Two further plan defects were found on the same capture and neither has had its rule examined, only its storage form tested, which is the substitution this item exists to name.
-
The exit claim changed late and should be pressed hardest. The collapse is a stronger claim than the ownership argument it replaced.
Provenance
This item took over the performance narrative from nine dissolved items and ran from 2026-08-28. On 2026-09-22 it was 5315 lines carrying thirty-four dated work-log sections, and had reached the state where three sessions argued for a day over a question it answered at line 61. The body was cut to this. What moved:
-
Measurements to
roadmap/audits/2026-08-28-derived-read-cost-premise.mdandroadmap/audits/2026-09-22-capture-dissolution-measurements.md. -
The seeding dissolution’s evidence, and the classpath-skip figures, to
roadmap/audits/2026-09-27-seeding-dissolution.md. Added when the arc became a branch of the graph rather than an entry in "Owed, not done here". -
Narrative and retired approaches to the September 2026 chapter of
docs/history/road-to-the-relational-core.adoc. -
The discipline itself to
docs/architecture/explanation/modeling-discipline.adoc, with the procedure in.claude/skills/adding-a-relationand a short form inCLAUDE.md. -
Everything else is in git, which the deletion-at-Done convention already names as the archive.
Reviewer findings
Rounds 1 to 3 (2026-08-28, Spec to Ready) and round 4 (2026-09-09, In Progress) are addressed and are in this file’s git history. Nothing is open.
Node-id decode defects moved onto the occurrence (2026-11-06). intent_node_id_decode_slot,
intent_node_id_decode_defect and intent_node_id_polymorphic_decode_defect, with their verdicts
KEY_ARITY_EXCEEDS_SLOT, KEY_COLUMN_TYPE_DISAGREEMENT, SLOT_SHAPE_MISMATCH,
CONTAINER_NOT_AT_A_SLOT, SINGLE_TABLE_CONTAINER, NO_TABLE_MEMBERS, MEMBER_NOT_NODE_TYPE and
SLOT_NOT_SUPERTYPE_OF_MEMBER as view values: the slot is graphitron_node_id_slot, the verdicts
are entry defect codes with the NODE_ID_ prefix, and a container defect’s members are
graphitron_entry_defect_member.