Skip to content

[Lean Squad] feat(fv): Task 1 — expand FV targets to include SplitCommandLine and TreeNodeFilter#7849

Merged
Evangelink merged 3 commits intomainfrom
lean-squad/task1-new-targets-2026-04-26-af98d23215b156cc
Apr 27, 2026
Merged

[Lean Squad] feat(fv): Task 1 — expand FV targets to include SplitCommandLine and TreeNodeFilter#7849
Evangelink merged 3 commits intomainfrom
lean-squad/task1-new-targets-2026-04-26-af98d23215b156cc

Conversation

@Evangelink
Copy link
Copy Markdown
Member

Add 13 unit tests covering RetryAttribute constructor validation, BackoffType property validation, and ExecuteAsync retry logic:

  • Constructor rejects maxRetryAttempts < 1
  • BackoffType setter rejects invalid enum values
  • ExecuteAsync stops early when retry succeeds
  • ExecuteAsync runs exactly MaxRetryAttempts times on all failures
  • ExecuteAsync stops on Inconclusive result

Fixes #7824

…TreeNodeFilter

Add two new FV targets identified through codebase survey:

1. ResponseFileHelper.SplitCommandLine — pure tokeniser with state machine
   structure. Properties: empty input → empty output; whitespace splits tokens;
   double-quotes group tokens and are stripped from output.

2. TreeNodeFilter.MatchFilterPattern — recursive Boolean filter evaluator.
   Ideal for structural induction proofs of Boolean-algebra laws:
   De Morgan, double negation, idempotence, and commutativity.
   Abstract match predicate keeps the Lean model clean.

Also:
- Correct TryUnescape phase in TARGETS.md table (phase 2, not 1)
- Elevate TreeNodeFilter to priority 3 (above ParseOptionAndSeparators)
  due to its mathematical richness
- Update REPORT.md run history and status

🔬 Lean Squad — automated FV research agent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 26, 2026 15:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Lean Squad formal-verification planning docs to expand the set of FV targets to include ResponseFileHelper.SplitCommandLine and TreeNodeFilter.MatchFilterPattern, and to reflect updated status/prioritization.

Changes:

  • Extend the FV target list from 5 to 7 targets, adding SplitCommandLine and MatchFilterPattern, and adjust the priority ordering.
  • Add research notes/spec outlines for the two new targets, including candidate properties to verify and modeling approximations.
  • Update the FV project report (status/summary/run history) to reflect the expanded research scope and current toolchain constraints.
Show a summary per file
File Description
formal-verification/TARGETS.md Adds two new targets and revises priority order + notes.
formal-verification/RESEARCH.md Adds new research sections for SplitCommandLine and MatchFilterPattern, plus related open questions.
formal-verification/REPORT.md Updates project status, summary, targets list, and run history to include the new targets.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 3

Comment thread formal-verification/RESEARCH.md Outdated
Comment thread formal-verification/REPORT.md
Comment thread formal-verification/TARGETS.md Outdated
@Evangelink Evangelink enabled auto-merge (squash) April 27, 2026 06:24
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 27, 2026 06:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 1

Comment thread formal-verification/REPORT.md
@Evangelink
Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

…on/TARGETS.md

Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

@copilot resolve the merge conflicts in this pull request

Done. Merged origin/main and resolved the single conflict in formal-verification/TARGETS.md (rows 1–2 of the target table) in commit 48453a6.

@Evangelink Evangelink merged commit abfa38b into main Apr 27, 2026
3 checks passed
@Evangelink Evangelink deleted the lean-squad/task1-new-targets-2026-04-26-af98d23215b156cc branch April 27, 2026 11:18
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.

[Test Improver] Add unit tests for RetryAttribute

4 participants