Repository navigation
Harden durable execution ownership, recovery, and result access - #19
Draft
the-mindful-dude wants to merge 194 commits into
Draft
the-mindful-dude wants to merge 194 commits into
the-mindful-dude wants to merge 194 commits into
Conversation
… Port.Nullable field, required/optional/nullable runtime validation with tests
…mposable, no .required() in SDK, README updated, type tests updated
…-owner durable leases with fencing
…rface and lease changes
…ema redesign, and core fixes
- shared/types/protocol: Add top-level execution result endpoint (GET /v1/executions/{id}/result),
ExecutionResultResponse DTO, ExecutionError type, rename ExecutionResult->ExecutionResultURL
- nore/internal/execution: Recursive composite ValueRef resolution (array/object), depth/node/cycle bounds,
deterministic string output, ErrNotTerminal only for genuine non-terminal
- shared/types/core: Composite ValueRef validation, ReferencedCapabilities, ValueRefToParam resolution
- application/compiler: Recursive canonicalization of binding sources, result fields, assembly params
- nore/internal/planner: Cross-source binding rejection, multi-source assembly result allowance,
recursive dependency edges, result_detach recursion
- nore/internal/instance: Manager.ResolveExecutionResult with frozen blueprint reattach,
terminal-first logic, proper error/status codes
- packages/assembly-sdks/typescript: Required-by-default schema API, .optional()/.nullable() composable,
recursive Expressionify for arrays/objects, cross-source rejection, dependency edges
- .gitignore: Ignore generated capability runtime catalog and stray echo binary
- examples: Remove tracked echo binary (built by build.sh into catalog/)
- Tests added across core, compiler, planner, execution, protocol, and planner boundaries
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This branch completes the next durability-hardening slice:
execution_result_too_large.The existing process-level kill/restart acceptance test exercises recovery replay, single-owner takeover, ordered downstream dispatch, and result retrieval through the instance-scoped endpoint.
Review requested
This is a draft pending independent architecture and security review. In particular, please verify:
No security or architecture signoff is claimed by this implementation pass. ADR-002 remains proposed. The local
.agents/coordination ledger is intentionally not included in this PR.Validation
CI is running on the branch head. The Go race suite, process-level acceptance test, release matrix, module-integrity checks, and TypeScript SDK/example checks must all pass before this PR is ready for approval.