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

feat(flow): capture flywheel handlers + triple surface (7A-L4b)

Implement SD-7 detect→candidate→proposal promotion with independent detection/write sub-gates default off, candidate store CRUD, dedup/merge, and seven-tier tests; posture unchanged until Tier 3.

sha256:e1c7dbc640220ac6bf55bfb85c657ac824ce13eae2ebedc64beba189c8e9a30f sha
+35 ~4 symbols
sha256:f2c90681f7250117c7bdd2c86bd7e3ea4f502bb8f06b5924b54e9249a1dba1be snapshot
+35
symbols added
~4
symbols modified
0
dead code introduced
Semantic Changes 39 symbols
~ lib/flow/flow-capture.mjs .mjs 24 symbols added
+ applyCaptureProposal function function applyCaptureProposal L1113–1132
+ buildPromoteBundle function function buildPromoteBundle L567–615
+ candidateSummaryForClient function function candidateSummaryForClient L503–517
+ computeStructuralOverlap function function computeStructuralOverlap L335–361
+ confidenceVisible function function confidenceVisible L525–529
+ deriveConfidence function function deriveConfidence L302–312
+ envTriState function function envTriState L86–90
+ findBestDedupMatch function function findBestDedupMatch L540–560
+ getFlowCaptureDetectionEnabled function function getFlowCaptureDetectionEnabled L179–187
+ getFlowCaptureWritesEnabled function function getFlowCaptureWritesEnabled L195–203
+ handleFlowCaptureDismissRequest function function handleFlowCaptureDismissRequest L954–1017
+ handleFlowCaptureListRequest function function handleFlowCaptureListRequest L737–779
+ handleFlowCaptureObserveRequest function function handleFlowCaptureObserveRequest L633–720
+ handleFlowCaptureProposeRequest function function handleFlowCaptureProposeRequest L801–938
+ hasPendingCaptureProposal function function hasPendingCaptureProposal L107–112
+ precheckApprovedCaptureProposal function function precheckApprovedCaptureProposal L1025–1105
+ readFlowCapturePolicyFile function function readFlowCapturePolicyFile L118–128
+ readVaultCapturePolicy function function readVaultCapturePolicy L142–171
+ refuse function function refuse L98–100
+ resolveHandlerScopes function function resolveHandlerScopes L209–223
+ runDetectors function function runDetectors L368–423
+ tokenizeStructural function function tokenizeStructural L318–325
+ validateCandidate function function validateCandidate L429–497
+ validateSessionMeta function function validateSessionMeta L231–292
+ makeCandidateRecord function function makeCandidateRecord L38–58
+ payloadBearingSessionMeta function function payloadBearingSessionMeta L24–32
+ validSessionMeta function function validSessionMeta L12–21
+ writeSignalsFixture function function writeSignalsFixture L65–71
~ test/flow-capture-e2e.test.mjs .mjs 1 symbol added
+ approveCapture function function approveCapture L29–36
+ stripVolatile function function stripVolatile L25–38
+ p95 function function p95 L28–32
~ cli/index.mjs .mjs 1 symbol modified
~ main
~ hub/proposals-store.mjs .mjs 1 symbol modified
~ lib/config.mjs .mjs 1 symbol modified
~ lib/flow/flow-store.mjs .mjs 4 symbols added
+ getCandidate function function getCandidate L737–746
+ listCandidatesInVault function function listCandidatesInVault L756–771
+ updateCandidateStatus function function updateCandidateStatus L782–797
+ upsertCandidate function function upsertCandidate L711–726
~ 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:e1c7dbc640220ac6bf55bfb85c657ac824ce13eae2ebedc64beba189c8e9a30f --body "your comment"