Plan distinct proof directions before parallel routes, and set route parallelism in the app
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 28/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- playwright, python, react, typescript
- Domain
- ai, backend-api-design, frontend, testing
Research direction
Read the Lean search worker, model adapters, React/TypeScript automation settings, and Playwright tests; check #356 for the verified ledger and #329 for the existing command-line settings. Start by tracing how route proposals, signed policy settings, and claim activity are handled. Add recorded-reply coverage for planning distinct directions and summarizing a round, plus browser coverage for the settings; done means the acceptance checks pass, defaults stay unchanged, and English and Chinese strings and guides are updated.
Written by the indexing model from the issue text.
Description
Task difficulty and Agent fit
- D4 · 13/15. Scope 3, uncertainty 3, impact 3, verification 2, dependencies 2. Add a planning round that proposes distinct proof directions for parallel routes, and set route parallelism in the app instead of command-line flags.
- Recommended configuration. Codex / GPT-6.2 Astra / high, 52 and $2.37 per benchmark task. Floor 52 in the Artificial Analysis Coding Agent Index v2.1. Trellin snapshot checked 2026-11-22.
- Required skills and verification. Python workflows, the Lean search worker, model adapters, React/TypeScript and Playwright. Verify with recorded fixture model replies and the in-repository Lean lane.
- Scored baseline.
4279015on main.
What happens
Lean search can already run two or three independently checked routes under a signed policy, but the routes are chosen by the same proposal loop, and parallelism is set with --lean-route-parallelism and --lean-route-stall-limit on the command line. Nothing plans which directions are worth trying before routes start, and nothing summarizes the round across routes.
Published multi-agent proof systems separate a coordinator that does not prove anything (it plans each round, assigns directions and keeps the records) from several provers that explore different directions in parallel.
Expected
- A planning step before parallel routes: given the frozen statement, the approved basis and the ledger (verified lemmas and tried routes), a model proposes up to three distinct directions with a one-line method each. For each direction, record the research question or obligation it advances, its known prerequisites and which claims remain candidate assumptions. Each parallel route starts from one direction, and the plan is recorded with the attempt.
- Give uncertain or costly candidate routes a bounded counterexample check before allocating substantial formalization work. Assign a distinct attempt to look for a concrete failing case under the stated premises and link it to the exact candidate or obligation. Reuse available deterministic checks first. A bounded search without a witness and an unverified objection retain candidate status. #365 owns execution and verification of the planned handoff.
- Diagnose repeat stalls at the obligation that failed and the upstream reduction that created it. Within the signed budget, keep a route with a demonstrated local repair, propose a replacement decomposition when several failures share the same upstream cause, or stop with a recorded reason. Preserve independent checked lemmas. #368 keeps provider and malformed-output failures out of mathematical stall counts, and #365 handles retry and verification.
- After each round, record a short summary of what was checked, what failed, which dependencies were unlocked and why the next plan changed. Read the existing verified and tried-route ledger (#356) before the next planning round so the same refuted direction does not re-enter under unchanged inputs.
- Route parallelism and the stall limit are set in the app's automation settings, signed as today, and off by default. The automation budget applies (it stays a hook that is not enabled by default).
Acceptance
- A worker test with recorded replies runs a planning step and two routes that start from different directions, and records the plan and the round summary.
- With recorded replies, the plan assigns a bounded counterexample attempt before proving an expensive candidate. One route is refuted on its exact obligation and stays out of the next plan under the same versions. A mere timeout or unverified objection does not mark the route refuted. An unrelated route continues and the main goal remains open.
- A fixture with two unresolved obligations sharing the same faulty reduction produces one upstream replan and keeps an independently verified lemma reusable. A fixture with only an adapter fault leaves the proof plan unchanged.
- A browser test sets parallelism and the stall limit in the app; the signed policy matches what the command-line flags produce today.
- Default behaviour is unchanged when automation is off; strings in English and Chinese; the Lean search guide describes the planning step in both languages.
Decisions and contracts
Long-running work stays in the queue (D2); verifiers stay reproducible (B7). Builds on #356 (verified ledger). Removes one remaining command-line-only setting (#329). Ask before any migration or a change to the signed policy format.
Reference
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 56m
- Merged PRs (30d)
- 190
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SAFuDarren/Trellin
-
area:web difficulty:d1 layer:entry priority:p2 status:ready type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
SAFuDarren/Trellin#421 ·
Maintainers usually reply within 1 day
-
difficulty:d3 layer:entry priority:p2 status:ready type:refactor
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SAFuDarren/Trellin#424 ·
Maintainers usually reply within 1 day
-
area:web difficulty:d3 layer:entry priority:p1 status:triage type:feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
SAFuDarren/Trellin#423 ·
Maintainers usually reply within 1 day
-
area:web difficulty:d3 layer:entry priority:p1 status:triage type:feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
SAFuDarren/Trellin#422 ·
Maintainers usually reply within 1 day
-
difficulty:d3 layer:entry priority:p1 status:ready type:chore
Difficulty 4/5 3-5 days Newbie friendliness 48/100
SAFuDarren/Trellin#412 · 5 comments ·
Maintainers usually reply within 1 day
All issues in SAFuDarren/Trellin
Similar issues
-
Status: Triage Suggestion
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
Maintainers usually reply within 1 day
-
changelog investigate
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ramnes/notion-sdk-py#522 ·
-
top `--file` with a non-UTF-8 CSV gives a raw codec error and "Check the arguments."Possibly taken @Beehtrix claimed this today. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
laaielichter/Gulliver#263 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
LearningCircuit/local-deep-research#10161 ·
Maintainers usually reply within 1 day