Skip to content

Specify and repair generated dry-run plans - #27

Merged
rcosteira79 merged 2 commits into
mainfrom
fix/dry-run-plan-repair
Oct 29, 2026
Merged

rcosteira79 merged 2 commits into
mainfrom
fix/dry-run-plan-repair

Conversation

@rcosteira79

Copy link
Copy Markdown
Collaborator

An attached tour could fail before opening when its worker put anchors directly on a dry-run plan. The initial outline prompt requested plans without showing their JSON schema, and dry-run validation errors bypassed the outline repair loop.

Use one explicit source.anchors contract for initial and on-demand planning. On a rejected plan, request up to two corrections with the exact diagnostic and previous response, preserving all bridge receipts. Keep validation strict after retries; malformed plan lists are no longer silently converted to empty lists. This does not change browser startup or the caller's workflow.

Validation: reproduced the missing contract and absent retry path with regression tests. All 63 related agent, outline repair, dry-run, architecture, sequence-source, and file-explanation tests pass, along with typecheck and git diff --check.

@rcosteira79
rcosteira79 marked this pull request as ready for review October 29, 2026 19:27
@rcosteira79
rcosteira79 merged commit 45a167d into main Oct 29, 2026
14 checks passed
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.

1 participant