internal/

directory
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2026 License: GPL-3.0

Directories

Path Synopsis
contract
Package contract normalizes the compiler-owned analytical contract.
Package contract normalizes the compiler-owned analytical contract.
codegen
bindings
Package bindings emits and discovers P1 model-attached policy and hook bindings.
Package bindings emits and discovers P1 model-attached policy and hook bindings.
event
Package event emits deterministic typed event values and event-schema registries for subscription-enabled models.
Package event emits deterministic typed event values and event-schema registries for subscription-enabled models.
manifest
Package manifest builds the deterministic inventory that owns generated P1 artifacts.
Package manifest builds the deterministic inventory that owns generated P1 artifacts.
model
Package model emits the same-package descriptor bootstrap used by generated Golem model code.
Package model emits the same-package descriptor bootstrap used by generated Golem model code.
registry
Package registry emits the generated application-level binding registry that composes every model package accessor in canonical import-path order.
Package registry emits the generated application-level binding registry that composes every model package accessor in canonical import-path order.
compiler
compile
Package compile composes the provider-neutral schema compiler passes.
Package compile composes the provider-neutral schema compiler passes.
concurrency
Package concurrency owns compiler normalization for the explicit optimistic concurrency declaration.
Package concurrency owns compiler normalization for the explicit optimistic concurrency declaration.
ir
Package ir defines the versioned, provider-neutral compiler interchange representations.
Package ir defines the versioned, provider-neutral compiler interchange representations.
keyindex
Package keyindex resolves keys, indexes, checks, and generated-column assignments against an already resolved scalar ModelIR.
Package keyindex resolves keys, indexes, checks, and generated-column assignments against an already resolved scalar ModelIR.
load
Package load performs the syntax-only package load used by the first compiler pass.
Package load performs the syntax-only package load used by the first compiler pass.
methods
Package methods type-checks and statically interprets GolemModel and GraphQL extension declarations.
Package methods type-checks and statically interprets GolemModel and GraphQL extension declarations.
relation
Package relation links authored relation fields into canonical logical edges.
Package relation links authored relation fields into canonical logical edges.
resolve
Package resolve converts source-located declarations into the base logical model and contract registries.
Package resolve converts source-located declarations into the base logical model and contract registries.
scalar
Package scalar owns provider-neutral logical scalar and default validation.
Package scalar owns provider-neutral logical scalar and default validation.
schema
Package schema extracts source-located unresolved declarations from the accepted closed DefineSchema function and registered model source.
Package schema extracts source-located unresolved declarations from the accepted closed DefineSchema function and registered model source.
schemaexpr
Package schemaexpr constructs and validates the closed P1 database-schema expression language.
Package schemaexpr constructs and validates the closed P1 database-schema expression language.
tags
Package tags parses the deliberately small db and golem struct-tag languages.
Package tags parses the deliberately small db and golem struct-tag languages.
Package concurrencyclaim owns the primitive, authority-free representation of optimistic-concurrency claims shared by the public construction facade and the mutation runtime.
Package concurrencyclaim owns the primitive, authority-free representation of optimistic-concurrency claims shared by the public construction facade and the mutation runtime.
event
cdc
Package cdc implements the adapter-neutral CDC validation and publication boundary.
Package cdc implements the adapter-neutral CDC validation and publication boundary.
codec
Package codec owns the canonical, bounded golem.event.v1 transport envelope.
Package codec owns the canonical, bounded golem.event.v1 transport envelope.
metadatavalue
Package metadatavalue owns the internal capability used to materialize golem.EventMetadata.
Package metadatavalue owns the internal capability used to materialize golem.EventMetadata.
outbox
Package outbox coordinates immutable mutation facts through durable, causation-level at-least-once publication.
Package outbox coordinates immutable mutation facts through durable, causation-level at-least-once publication.
provider
Package provider defines the provider-neutral durable delivery coordination contract.
Package provider defines the provider-neutral durable delivery coordination contract.
provider/providertest
Package providertest contains the provider-neutral P7 delivery state-machine conformance harness.
Package providertest contains the provider-neutral P7 delivery state-machine conformance harness.
typedvalue
Package typedvalue owns the unforgeable runtime-to-generated-event handoff.
Package typedvalue owns the unforgeable runtime-to-generated-event handoff.
value
Package value owns the representation of P7's sealed transport values.
Package value owns the representation of P7's sealed transport values.
generate
pipeline
Package pipeline composes the complete P1 generation graph in memory.
Package pipeline composes the complete P1 generation graph in memory.
publication
Package publication validates, checks, and crash-recoverably publishes a complete manifest-owned generated artifact set.
Package publication validates, checks, and crash-recoverably publishes a complete manifest-owned generated artifact set.
graphql
analytics
Package analytics lowers validated GraphQL analytics roots into the same frozen requests consumed by generated Go clients.
Package analytics lowers validated GraphQL analytics roots into the same frozen requests consumed by generated Go clients.
bind
Package bind lowers already-coerced GraphQL inputs into the existing P2/P3 request IR.
Package bind lowers already-coerced GraphQL inputs into the existing P2/P3 request IR.
codegen
Package codegen owns the pinned gqlgen integration.
Package codegen owns the pinned gqlgen integration.
contract
Package contract materializes and validates provider-neutral GraphQL facts.
Package contract materializes and validates provider-neutral GraphQL facts.
custom
Package custom validates and dispatches statically declared custom GraphQL roots.
Package custom validates and dispatches statically declared custom GraphQL roots.
extension
Package extension owns provider-neutral computed-field and custom-operation metadata.
Package extension owns provider-neutral computed-field and custom-operation metadata.
mutation
Package mutation lowers already-coerced, stable-identity GraphQL mutation inputs into P4's frozen public boundary.
Package mutation lowers already-coerced, stable-identity GraphQL mutation inputs into P4's frozen public boundary.
operation
Package operation compiles one validated GraphQL operation into the closed P3/P4 requests owned by the existing engines.
Package operation compiles one validated GraphQL operation into the closed P3/P4 requests owned by the existing engines.
scalar
Package scalar owns exact, provider-neutral GraphQL scalar coercion.
Package scalar owns exact, provider-neutral GraphQL scalar coercion.
schema
Package schema lowers normalized ContractIR plus logical ModelIR into a deterministic provider-neutral GraphQL schema.
Package schema lowers normalized ContractIR plus logical ModelIR into a deterministic provider-neutral GraphQL schema.
select
Package selectset lowers validated GraphQL selection sets into the existing occurrence-aware P3 projection IR.
Package selectset lowers validated GraphQL selection sets into the existing occurrence-aware P3 projection IR.
Package migration defines provider-neutral migration planning, immutable history, and execution contracts.
Package migration defines provider-neutral migration planning, immutable history, and execution contracts.
explain
Package explain owns the closed, provider-neutral presentation model for Golem migration plans.
Package explain owns the closed, provider-neutral presentation model for Golem migration plans.
failpoint
Package failpoint provides context-local migration boundary probes for internal crash-recovery tests.
Package failpoint provides context-local migration boundary probes for internal crash-recovery tests.
workflow
Package workflow composes reviewed provider migration history in memory.
Package workflow composes reviewed provider migration history in memory.
mutation
batch
Package batch owns the execution-neutral, bounded exact-set contract for update-many and delete-many.
Package batch owns the execution-neutral, bounded exact-set contract for update-many and delete-many.
bind
Package bind validates frozen public mutations against the active immutable schema registry and converts them into provider-neutral mutation IR.
Package bind validates frozen public mutations against the active immutable schema registry and converts them into provider-neutral mutation IR.
decode
Package decode owns immutable, closed persisted-row images for P4 mutations.
Package decode owns immutable, closed persisted-row images for P4 mutations.
fact
Package fact owns the lossless, versioned P4 mutation-fact envelope.
Package fact owns the lossless, versioned P4 mutation-fact envelope.
ir
Package ir owns the closed, immutable, provider-neutral representation of a bound mutation.
Package ir owns the closed, immutable, provider-neutral representation of a bound mutation.
nested
Package nested binds and plans the closed nested-mutation vocabulary before any transaction or provider boundary.
Package nested binds and plans the closed nested-mutation vocabulary before any transaction or provider boundary.
plan
Package plan derives immutable provider-neutral mutation authorization plans.
Package plan derives immutable provider-neutral mutation authorization plans.
sql
Package sql renders validated P4 scalar mutation plans into deterministic, provider-specific statement programs.
Package sql renders validated P4 scalar mutation plans into deterministic, provider-specific statement programs.
upsert
Package upsert prepares and runs the truthful root-upsert selection kernel.
Package upsert prepares and runs the truthful root-upsert selection kernel.
Package observation owns the private value behind the public immutable observation record.
Package observation owns the private value behind the public immutable observation record.
Package observeexec owns request-local observation spans.
Package observeexec owns request-local observation spans.
Package p7oracle contains the independent P7 provider and social-event acceptance oracle.
Package p7oracle contains the independent P7 provider and social-event acceptance oracle.
Package p8oracle provides external-consumer, live-provider orchestration for P8 independent evidence.
Package p8oracle provides external-consumer, live-provider orchestration for P8 independent evidence.
Package physical defines the normalized, provider-specific schema boundary between Golem's logical compiler IR and provider lowering, migration, rendering, and introspection.
Package physical defines the normalized, provider-specific schema boundary between Golem's logical compiler IR and provider lowering, migration, rendering, and introspection.
policy
bind
Package bind converts schema-agnostic frozen public policy values into the closed, schema-validated policy IR.
Package bind converts schema-agnostic frozen public policy values into the closed, schema-validated policy IR.
classify
Package classify turns frozen read policy into deterministic field-access facts for one concrete statement reach.
Package classify turns frozen read policy into deterministic field-access facts for one concrete statement reach.
dependency
Package dependency derives the deterministic hydration plan required to evaluate policy conditions without guessing about under-selected records.
Package dependency derives the deterministic hydration plan required to evaluate policy conditions without guessing about under-selected records.
evaluate
Package evaluate owns the one provider-neutral in-memory policy evaluator.
Package evaluate owns the one provider-neutral in-memory policy evaluator.
imply
Package imply proves conservative implications between normalized policy conditions using structural rules and a bounded exact propositional fallback.
Package imply proves conservative implications between normalized policy conditions using structural rules and a bounded exact propositional fallback.
ir
Package ir defines the closed, provider-neutral policy representation.
Package ir defines the closed, provider-neutral policy representation.
normalize
Package normalize applies the conservative, provider-neutral condition rewrites admitted by the P2 policy contract.
Package normalize applies the conservative, provider-neutral condition rewrites admitted by the P2 policy contract.
operator
Package operator owns the single closed metadata registry for policy operators.
Package operator owns the single closed metadata registry for policy operators.
resolve
Package resolve compiles an immutable ordered policy into row and field conditions.
Package resolve compiles an immutable ordered policy into row and field conditions.
runtime
Package runtime builds execution-scoped, actor-specific policy sets from generated bindings and validates them against the active schema/provider.
Package runtime builds execution-scoped, actor-specific policy sets from generated bindings and validates them against the active schema/provider.
schema
Package schema owns the one-time, fail-closed conversion from the public representation-opaque SchemaBundle into immutable, ID-keyed runtime facts.
Package schema owns the one-time, fail-closed conversion from the public representation-opaque SchemaBundle into immutable, ID-keyed runtime facts.
schematest
Package schematest provides the smallest complete, fingerprinted two-model schema used by policy and read integration tests.
Package schematest provides the smallest complete, fingerprinted two-model schema used by policy and read integration tests.
sql
Package sql compiles validated policy conditions into provider-rendered, parameterized SQL predicate fragments.
Package sql compiles validated policy conditions into provider-rendered, parameterized SQL predicate fragments.
provider
handle
Package handle owns the sealed, provider-verified database state used by the public provider packages.
Package handle owns the sealed, provider-verified database state used by the public provider packages.
postgresql
Package postgresql implements the PostgreSQL 15+ physical-schema provider.
Package postgresql implements the PostgreSQL 15+ physical-schema provider.
sqlite
Package sqlite implements Golem's SQLite physical-schema provider.
Package sqlite implements Golem's SQLite physical-schema provider.
Package queryplanbuild owns provider-neutral assembly of sanitized provider structure and typed operation plans into the validated query-plan report.
Package queryplanbuild owns provider-neutral assembly of sanitized provider structure and typed operation plans into the validated query-plan report.
Package queryplancapture is the private, provider-neutral handoff between renderer-owned identity maps and provider plan parsers.
Package queryplancapture is the private, provider-neutral handoff between renderer-owned identity maps and provider plan parsers.
Package queryplanreport owns the validated producer representation behind the public immutable queryplan report.
Package queryplanreport owns the validated producer representation behind the public immutable queryplan report.
read
bind
Package bind validates frozen public P3 reads against the active schema and converts them into the closed internal read IR.
Package bind validates frozen public P3 reads against the active schema and converts them into the closed internal read IR.
decode
Package decode owns exact, logical-type-directed row scanning for P3 reads.
Package decode owns exact, logical-type-directed row scanning for P3 reads.
ir
Package ir owns the closed, immutable provider-neutral P3 read request.
Package ir owns the closed, immutable provider-neutral P3 read request.
plan
Package plan builds deterministic provider-neutral authorized read plans.
Package plan builds deterministic provider-neutral authorized read plans.
sql
Package sql renders complete deterministic P3 root read statements from authorized provider-neutral plans.
Package sql renders complete deterministic P3 root read statements from authorized provider-neutral plans.
Package scoped owns the closed, provider-neutral planning and SQL lowering for P6 typed scoped reads.
Package scoped owns the closed, provider-neutral planning and SQL lowering for P6 typed scoped reads.
semantic
contract
Package contract owns the canonical provider-extension payloads used by the compiler, provider lowerers, generated registries, and runtime.
Package contract owns the canonical provider-extension payloads used by the compiler, provider lowerers, generated registries, and runtime.
key
Package key owns the closed canonical identity encoding shared by source scans and authorized typed rows.
Package key owns the closed canonical identity encoding shared by source scans and authorized typed rows.
runtime
Package runtime validates and owns the provider-neutral runtime inventory for generated semantic indexes.
Package runtime validates and owns the provider-neutral runtime inventory for generated semantic indexes.
sqlitevec
Package sqlitevec owns Golem's sqlite-vec driver boundary.
Package sqlitevec owns Golem's sqlite-vec driver boundary.
storage
Package storage maps the portable semantic-index compiler contract into the closed physical extension consumed by SQLite and PostgreSQL providers.
Package storage maps the portable semantic-index compiler contract into the closed physical extension consumed by SQLite and PostgreSQL providers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL