Skip to content

docs: plan 007, autonomous flow repair loop - #549

Merged
HappyDevs1 merged 1 commit into
mainfrom
docs/plan-007-repair-loop
Sep 6, 2026
Merged

docs: plan 007, autonomous flow repair loop#549
HappyDevs1 merged 1 commit into
mainfrom
docs/plan-007-repair-loop

Conversation

@HappyDevs1

Copy link
Copy Markdown
Collaborator

Summary

  • Adds plan 007: an autonomous repair loop for record failures — diagnose, patch the .flow.yaml, rerun, bounded by an attempt budget — replacing the assisted-authoring draft in docs: plan assisted production authoring #543 (which gated every patch behind human approval; this plan's premise is that a user should be able to run record once and walk away).
  • The loop only ever edits the target .flow.yaml plus its trace/report sidecars — never Flowproof's own source code.

Stack

This is PR 1 of 4 for plan 007, kept small per this repo's ~400-line ratchet:

  1. This PR — the plan doc.
  2. #TBD — the base repair loop implementation.
  3. #TBD — timing-race handling as a distinct repair category.
  4. #TBD — a fresh-retry safety net for the engine-gap verdict.

Test plan

  • Docs-only change; documented_flags ratchet unaffected.

Replaces the assisted-authoring draft from PR #543 with a narrower
design: record failures get diagnosed and patched into the .flow.yaml
automatically and rerun in a bounded loop, with no per-patch approval
step and no source-code edits ever, so a user can run `record` once
and walk away instead of re-recording by hand each iteration.
Copilot AI lite review requested due to automatic review settings September 6, 2026 20:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@HappyDevs1
HappyDevs1 merged commit 4b626f7 into main Sep 6, 2026
9 checks passed
@HappyDevs1
HappyDevs1 deleted the docs/plan-007-repair-loop branch September 6, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants