Architectural Decisions ​
These records capture the durable choices that shape TPF. Each ADR answers one coherent ownership question. Detailed design and authoring pages explain how to use the resulting model; current source, compiler behaviour, tests, and current docs remain authoritative for exact syntax and release support.
Follow a record's status and successor links before using it as an authoring rule. Partially superseded decisions identify the clauses that still apply. Historical records retain their published URLs and rationale so source references remain useful.
Catalogue ​
ADR-0068 defines development snapshot defaults, merge-triggered publication and the distinction from immutable test and release inputs.
| ADR | Decision |
|---|---|
| 0001 | Keep business transformations in a functional core and carry known facts explicitly. |
| 0002 | Make the compiler own v3 type, routing, and generated-contract semantics. |
| 0003 | Choose topology and cardinality before Java service/operator shape. |
| 0004 | Compose pipelines as typed steps and express looping through bounded recursion. |
| 0005 | Use Query only for genuinely new external observation. |
| 0006 | Give Command and CommandEffectStore authority over logical external effects. |
| 0007 | Give Await transport-independent durable suspension semantics. |
| 0008 | Keep persistence, cache, capture, effects, Await, and execution state distinct. |
| 0009 | Carry large content by reference and separate canonical/local/durable/wire representations. |
| 0010 | Prefer compiler-generated boundaries and typed connectors over application glue. |
| 0011 | Separate runtime layout, build topology, transport, configuration lifetime, and telemetry policy. |
| 0012 | Keep business outcomes, item rejection, runtime recovery, effects, and handoff ownership distinct. |
| 0013 | Change the owning abstraction coherently; impact determines rigor, not semantic placement. |
| 0014 | Keep remote caller timeout ambiguity under durable coordinator authority. |
| 0016 | Keep field presence and value nullability independent and classify evolution per compatibility surface. |
| 0017 | Declare blocking and serialized connector execution structurally and enforce serialization per binding and operation. |
| 0018 | Persist Command effect authority as immutable conditional revisions with lossless typed replay. |
| 0019 | Express finite streaming Query through the existing ONE_TO_MANY runtime and deterministic child lineage. |
| 0020 | Persist Query observation authority as immutable conditional revisions with terminal streaming commit. |
| 0021 | Expose connector invocation semantics while leaving external authentication and credential resolution with the host. |
| 0022 | Preserve finite row streaming and declared total order in both Hibernate find.many providers. |
| 0023 | Default hosted LLM Query to non-blocking provider I/O while retaining an explicit blocking implementation. |
| 0025 | Give intentional Command reissue a new provider occurrence identity without weakening replay safety. |
| 0026 | Treat an LLM request for human information as inert typed protocol data. |
| 0027 | Import selected MCP tools as pinned Connector operations without making MCP an Agent authority or runtime. |
| 0028 | Bind imported Block Query and Command requirements to application-owned connector authority at compilation. |
| 0029 | Execute only application-pinned GraphQL operations through ordinary Query and Command authority. |
| 0030 | Reuse host-platform authorization and bridge durable connection lifetime behind the existing host resolver. |
| 0031 | Make canonical v3 own allowed scalar sets and repeated-field cardinality constraints. |
| 0032 | Link packaged callable catalogues, trusted projections, and dynamic Query/Command dispatch without transferring application authority. |
| 0033 | Package a bounded GraphQL-aware agent loop while leaving persisted operations and Command authority with the application. |
| 0034 | Execute immutable HTTP operation pins through ordinary Connector Query and Command support. |
| 0035 | Import selected OpenAPI operations as release-pinned capabilities without importing external authority. |
| 0036 | Model Await as deferred completion on an ordinary operation, not as an operation kind. |
| 0037 | Join ordinary Command dispatch with correlated completion before advancing the pipeline. |
| 0038 | Import OpenAPI callbacks as pinned Command completion contracts with application-owned endpoint and authentication authority. |
| 0039 | Keep authored compiler discovery surfaces in the framework-neutral API and normalize them through one compiler semantic model. |
| 0040 | Keep provider-neutral connector contracts on runtime-core and semantic-model, outside runtime and platform integrations. |
| 0041 | Keep customer-authored reactive APIs and portable Blocks outside runtime and platform integrations. |
| 0042 | Share one framework-neutral canonical pipeline serialization policy across build hosts, customer code, runtimes, and workers. |
| 0043 | Keep reactive provider and authored boundary contracts outside runtime implementations and platform integrations. |
| 0044 | Keep durable Command effect and Await store contracts outside runtime implementations and platform integrations. |
| 0045 | Keep Query capture store contracts portable while the runtime codec owns durable event serialization. |
| 0046 | Keep durable execution state contracts portable while runtime hosts own provider configuration and implementations. |
| 0047 | Keep transition request and payload contracts shared while runtime hosts own transport and worker implementations. |
| 0048 | Publish portable protobuf schemas while Quarkus owns generation of its Java and Mutiny adapters. |
| 0049 | Share portable transition result data while keeping decoded outcomes and executable failures runtime-local. |
| 0050 | Share remote-worker capabilities, wire identities, envelopes, and signature canonicalization without sharing runtime implementations. |
| 0051 | Share release, contract, artifact, and digest identity without sharing control-plane implementations. |
| 0052 | Let dead-letter providers consume a portable failure-publication contract without runtime-host configuration leakage. |
| 0053 | Let durable queue and scheduler providers consume portable work-dispatch identity and operations. |
| 0054 | Let item-reject destinations consume portable rejection facts and publication operations. |
| 0055 | Keep protocol-carried lifecycle values in shared runtime model while provider operations remain SPI. |
| 0056 | Let runtime hosts provide secret lookup without leaking provider policy or resolved values into shared contracts. |
| 0057 | Give packaged Blocks independent release ownership over released framework and Connector contracts. |
| 0058 | Publish Expansions as independently released dependency distributions without creating new semantics or authority. |
| 0059 | Build learning examples and architectural proofs as clean consumers of released TPF artifacts. |
| 0060 | Build long-lived reference systems as clean consumers of released TPF artifacts. |
| 0061 | Publish the exact independently released TPF component versions verified together. |
| 0062 | Validate independently released components through immutable candidate overlays and credential-separated test execution. |
| 0063 | Assign repositories where consumers can rely on released contracts instead of source-level atomicity. |
| 0064 | Produce a closed immutable Release from final artefact bytes and recoverable Compiled Truth. |
| 0065 | Bound resumable source transitions by pages while preserving live item demand and existing recovery ownership. |
| 0066 | Keep Release production in builds and deploy existing Releases through the build-tool-neutral TPF CLI. |
| 0067 | Give all managed runtime telemetry the same host policy and instrument lifecycle. |
| 0068 | Make main consume active development snapshots while immutable compatibility inputs remain explicit. |
| 0069 | Prefer AWS Durable for mechanical QUEUE_ASYNC coordination while TPF retains semantic authority. |
| 0070 | Generate authorised HTTP upload and download boundaries around canonical payload references. |
| 0071 | Stream COMPUTE payloads directly and delegate FUNCTION payload bytes to S3 under the same owned reference contract. |
| 0072 | Keep generated Spring and AWS Durable application proofs in examples over released runtime artifacts. |
| 0073 | Bind completion admission and parent release to one retained Await unit occurrence. |
| 0075 | Keep approved dialogue history with the application while Connectors supply context vocabulary and external adapters. |
| 0076 | Carry authorised, bounded conversation state through ChatAgent and hydrate only at an application-chosen boundary. |
| 0077 | Declare application-projected Query type contracts in provider metadata and keep one canonical template loader. |
| 0078 | Return release-pinned Command proposals from ChatAgent without granting the Block effect authority. |
| 0079 | Draft: retain a typed dispatch acknowledgement when Command completion must validate the provider-assigned identity. |
| 0089 | Draft: preserve Coordinator authority across typed value operations and scoped Await dispatch admission. |
| 0081 | Give each concrete canonical input one authored consumer per Pipeline definition, with definition-owned observer occurrences; the self-call clause is refined by 0086. |
| 0082 | Complete typed branches at their definition output boundary without an authored identity merge. |
| 0084 | Share release preparation and resolution across the CLI and Maven. |
| 0085 | Select canonical operation outcomes for Await and plugin observation while preserving typed routing. |
| 0086 | Explicit self-invocation and durable return through nested Await. |
| 0090 | Draft: carry physical package associations in the immutable Release Descriptor, extending ADR-0064. |
| 0091 | Make compiled placement own nested/self invocation locality and execution-segment boundaries without changing deployment transport/platform identity. |
| 0092 | Execute polyglot TPF applications on one shared Java execution engine (distributed or via a standalone native tpf CLI) with thin foreign function hosts and a three-tier Connector architecture. |
| 0093 | Execute admitted Commands in registered SYNC transition workers under a verified leased scope, command-authority-v1 capability gating, and an explicit recoverable CommandEffectStore. |
| 0094 | Integrate non-Quarkus JVM frameworks (starting with Spring Boot) as ADR-0092 foreign function and connector hosts rather than re-hosting TPF's execution engine per framework. |
| 0095 | Provide an opt-in Hibernate Reactive Mutiny.StatelessSession persistence plugin driver (StatelessReactivePersistenceProvider) while keeping ReactivePanachePersistenceProvider as the default. |
| 0088 | Observe compiled applications through a compiler-owned, minimal build census. |
Superseded decisions ​
These records explain earlier designs. Use their successor for current semantics. They remain at their original canonical locations, with status: deprecated and explicit successor metadata for retrieval tools and agents.
| ADR | Earlier decision | Successor |
|---|---|---|
| 0015 | Standalone Await-step routing. | 0036 |
| 0024 | Functional-core-only packaged Blocks. | 0028 |
| 0080 | Whole-bundle native LOCAL runtimes consuming compiler-owned execution contracts. | 0092 |
| 0083 | Definition-level recur declarations. | 0086 |
| 0087 | Root-only durable recurrence. Formerly published under the root-recurrence ADR-0084 URL. | 0086 |
| 0088 | Bounded unary whole-bundle native qualification profile and tpf-polyglot-failed-result/1 paired binding. | 0092 |
| 0089 | Experimental tpf-polyglot-int32-json/1 payload encoding and paired whole-bundle worker seam. | 0092 |
Maintenance ​
These files use the Nygard/MADR sections understood by GitNexus: Context, Decision, Rationale, and Consequences, with an explicit status. Keep one semantic choice per file and name the affected repository areas concretely.
acceptedmeans current doctrine;draftmeans proposed;rejectedordeprecatedmeans it must not guide new work.- Clarify an accepted decision in place when its meaning is unchanged.
- When direction changes, add a successor ADR, deprecate the old record, and record the supersession in GitNexus rather than erasing the history.
- Update the relevant design/develop/deploy page and focused tests when exact behaviour changes. Do not put transient support matrices into these ADRs.
- Let the managed auto-sync refresh the owning repository and
tpfgroup indexes after merge. Run focused graph change analysis against the owning repository before committing code that changes a recorded semantic owner.
GitNexus is a decision index, not architectural authority. Confirm extracted or historical records against current repository reality before relying on them.