You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define and prove the provider-neutral external-process boundary that later Aniflow, Optiflow, and Renderflow adapters will share, without importing sibling source or treating provider output as accepted Flow state.
This is the next bounded child of #3 after #23 / merged PR #24. It consumes the extension-contract foundation from #7 / merged PR #8 and advances the suite roadmap in #11.
Reserve provider stdout for protocol frames and treat stderr as separately bounded operational evidence, never as a structured result.
Model launch, exit, timeout, cancellation, output-limit, and grace-period observations without claiming that this checkpoint ships a general child-process runner.
Keep fallback forbidden after invocation begins.
Artifact binding and acceptance
Define immutable input and candidate-output bindings with content digest, artifact role, media/domain identity, declared-port correlation, and root-relative locator semantics.
Specify file and directory behavior explicitly. Any directory identity must use a documented deterministic manifest rather than ambient filesystem ordering.
Keep provider-reported outputs untrusted until Flow validates caller-supplied host observations and produces an accepted artifact set.
Integrity and trust
Define the exact locked package and executable subjects for process execution.
Keep observed digest agreement, cryptographic verification, publisher identity, and operator trust as distinct evidence.
Invalidate process execution when the observed executable subject differs from the lock.
Preserve extension points for future signature and transparency-log evidence without claiming authenticity from a digest comparison.
Authority and isolation
Separate requested effects, granted permissions, selected trust mode, and host-enforced guarantees.
Distinguish trusted-but-unconfined execution from an actually enforced sandbox.
Fail closed when a selected sandboxed profile lacks the guarantees it claims.
Require explicit allowlists for argv, environment handles, filesystem, network, subprocess, GPU, publication, signing, and telemetry propagation. Do not inherit arbitrary host state.
Failure and evidence boundaries
Add typed failures for launch, protocol, framing, identity, integrity, authority, timeout, cancellation, stdout/stderr or frame limits, invalid events, invalid results, and invalid artifacts.
Retain only explicitly safe, bounded, redacted raw evidence.
Ensure provider success and exit code zero cannot directly create ValidatedExecution.
Keep telemetry-only context outside deterministic selection, lock, launch identity, artifact identity, and accepted result identity.
Conformance proof and documentation
Add redistribution-safe, hermetic success and adversarial fixtures.
Prove deterministic encoding and directory canonicalization where bytes define identity.
Prove invalid process or artifact evidence cannot produce accepted execution.
Prove observer and telemetry configuration cannot affect selection, integrity, launch identity, or accepted result identity.
Update architecture, integration, contract, README, and roadmap evidence without checking off later adapter or durable-run milestones.
Acceptance criteria
One versioned, bounded process protocol has deterministic encoding and closed request/event/result/cancellation envelopes.
Frame decoding fails explicitly on malformed JSON, oversized frames, partial frames, unexpected direction/order, duplicate terminal evidence, frames after a terminal result, and EOF before completion.
stdout/stderr ownership, capture limits, exit/EOF behavior, timeout, cancellation, and grace semantics are documented and represented by typed evidence.
A process identity must match the resolved extension, locked package/executable subject, invocation, publisher declaration, capability, interface, configuration, and authorization before evidence can be accepted.
Outcome
Define and prove the provider-neutral external-process boundary that later Aniflow, Optiflow, and Renderflow adapters will share, without importing sibling source or treating provider output as accepted Flow state.
This is the next bounded child of #3 after #23 / merged PR #24. It consumes the extension-contract foundation from #7 / merged PR #8 and advances the suite roadmap in #11.
Current evidence
main:979e033409c823b38591b59eca820522efabfa12.Scope
Versioned process transport
Artifact binding and acceptance
Integrity and trust
Authority and isolation
Failure and evidence boundaries
ValidatedExecution.Conformance proof and documentation
Acceptance criteria
ValidatedExecution.Validation
Non-goals
flow run,plan,resume, ordoctorCLI.Follow-up
After merge, add one real Aniflow adapter against released or immutable conformance evidence, then reinspect Optiflow for the first read-only adapter.
Roadmap-Step: FLO-Q02