feat BREAKING flow feat/flow-projection-pilot #4 / 18
aaronrene · 1 day ago · Jun 21, 2026 · Diff

feat(flow): execution gate handlers + routes + seven-tier tests (7A-L3b)

Implement run start/advance/evidence/execute/consent per frozen contract; automatable orchestration stubs; import sandbox extension; MCP/CLI/OpenAPI parity; gates default OFF.

sha256:033b53826c6a19fbf16470fcfb2320825de89cff25ce403f862a4e2593028868 sha
+38 ~3 symbols
sha256:8e2632be07e1fc01e752f945d7a830f03a8e3c78867772b6b753fe01a3f19625 snapshot
+38
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes 41 symbols
~ lib/flow/flow-execution.mjs .mjs 35 symbols added
+ canMarkStepDone function function canMarkStepDone L406–409
+ consentForClient function function consentForClient L220–236
+ consentsFilePath function function consentsFilePath L242–244
+ envTriState function function envTriState L57–61
+ findStepDefinition function function findStepDefinition L395–398
+ findValidConsent function function findValidConsent L877–887
+ findVisibleRun function function findVisibleRun L381–387
+ frontierOrdinal function function frontierOrdinal L416–428
+ getFlowAutomatableExecutionEnabled function function getFlowAutomatableExecutionEnabled L97–106
+ getFlowExecutionPolicyForbidden function function getFlowExecutionPolicyForbidden L112–121
+ getFlowRunWritesEnabled function function getFlowRunWritesEnabled L83–91
+ handleFlowExecutionConsentMintRequest function function handleFlowExecutionConsentMintRequest L761–868
+ handleFlowRunAdvanceRequest function function handleFlowRunAdvanceRequest L586–687
+ handleFlowRunEvidenceRequest function function handleFlowRunEvidenceRequest L693–755
+ handleFlowRunExecuteAutomatableRequest function function handleFlowRunExecuteAutomatableRequest L893–1062
+ handleFlowRunGetRequest function function handleFlowRunGetRequest L468–494
+ handleFlowRunListRequest function function handleFlowRunListRequest L434–462
+ handleFlowRunMcpRequest function function handleFlowRunMcpRequest L1128–1191
+ handleFlowRunStartRequest function function handleFlowRunStartRequest L500–580
+ handleFlowRunSubmitReviewRequest function function handleFlowRunSubmitReviewRequest L1068–1120
+ inFlightExecutionKey function function inFlightExecutionKey L312–314
+ inFlightFilePath function function inFlightFilePath L276–278
+ loadExecutionConsentsStore function function loadExecutionConsentsStore L250–260
+ loadInFlightExecutionsStore function function loadInFlightExecutionsStore L284–294
+ makeAutomatableFlowBundle function function makeAutomatableFlowBundle L1199–1239
+ readFlowExecutionPolicyFile function function readFlowExecutionPolicyFile L67–77
+ readVaultExecutionPolicy function function readVaultExecutionPolicy L133–164
+ refuse function function refuse L351–353
+ resolveHandlerScopes function function resolveHandlerScopes L359–373
+ runForClient function function runForClient L190–214
+ runModelOrchestrationStub function function runModelOrchestrationStub L322–331
+ saveExecutionConsentsStore function function saveExecutionConsentsStore L266–270
+ saveInFlightExecutionsStore function function saveInFlightExecutionsStore L300–304
+ stepHasForbiddenExternalTool function function stepHasForbiddenExternalTool L337–345
+ validateImportAutomatableSteps function function validateImportAutomatableSteps L173–184
+ seedAutomatableFlow function function seedAutomatableFlow L43–47
+ writeExecutionPolicy function function writeExecutionPolicy L17–34
+ freshDataDir function function freshDataDir L21–26
~ cli/index.mjs .mjs 1 symbol modified
~ main
~ mcp/tools/flow.mjs .mjs 1 symbol modified

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:033b53826c6a19fbf16470fcfb2320825de89cff25ce403f862a4e2593028868 --body "your comment"