Skip to content

fix: align fallback prompts with conservative validation#18

Closed
rlippmann wants to merge 1 commit into
mainfrom
fix-issue-15
Closed

fix: align fallback prompts with conservative validation#18
rlippmann wants to merge 1 commit into
mainfrom
fix-issue-15

Conversation

@rlippmann

Copy link
Copy Markdown
Owner

Summary

Notes

  • this does not broaden validator behavior or change the existing 0.1.x runtime acceptance boundary
  • broader semantic drafting is deferred to the future suggest_directive design rather than being introduced as silent mutation-capable preprocessing
  • uv run pre-commit run --all-files passes
  • uv run pytest passes with 117 passed

Closes #15

@rlippmann rlippmann closed this Jul 13, 2026
@rlippmann

Copy link
Copy Markdown
Owner Author

Investigation found that the immediate failure is real, but the correct fix needs further design.

The current source_input validation added during fallback-boundary hardening requires near-canonical source/output equivalence. That prevents intended fallback drafting such as please use docker → use docker.

Attempts to relax that requirement with lexical operand grounding introduced unacceptable semantic-laundering false positives, while adding positive or negative natural-language rewrite rules would effectively create a second parser.

The proposed prompt/documentation narrowing was therefore abandoned rather than redefining intended fallback behavior to match the current validator.

Leaving this issue open pending a principled source-aware validation boundary. Broader suggest_directive work may inform the eventual design, but please use docker → use docker remains an intended fallback use case.

@rlippmann rlippmann reopened this Jul 13, 2026
@rlippmann rlippmann closed this Jul 13, 2026
@rlippmann
rlippmann deleted the fix-issue-15 branch July 13, 2026 08:51
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.

fix: Source-aware fallback validation rejects canonical directive outputs for documented natural-language cases

1 participant