Repository navigation
docs(engine): script_error_at's doc names the refusals that leave no mark (#2937) - #2962
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewDoc-only change to Bugs: None found. I checked each claim in the new doc against the code, and all hold:
Security: None. No code changed. Performance: None. No code changed. Quality: None worth an inline comment. The paragraph is dense but accurate. AGENTS.md: One low-confidence note (confidence about 40%). AGENTS.md says to run Prior review threads: none on this PR, so no earlier concerns were left alone. Change sizeCompared with the base branch (merge base ced7c3d to PR head f9dae95), the whole PR.
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
Summary
Closes #2937. The doc of
script_error_at(crates/engine/src/cmd/workflows.rs) said a run ahead's refusal names no line, so it leaves no mark. That is not true of every refusal of a run ahead:check_prepared_prefix's refusal readsline {n} ({id}) cannot be prepared…, so it names its line and is marked like any other stop.The doc now names the three stops that name no line (the line cap,
NOT_AHEAD, and the refusal of a script that can't prepare its queries or table writes under its permissions) and sayscheck_prepared_prefix's refusal names its line. Raised in #2820.Doc comment only: no code change. The doc says the test pins the stops that start with a line and the line cap, which is what it does today (
NOT_AHEAD, the non-native refusal andcheck_prepared_prefix's are not in it).Reaches: nothing: a comment, so no surface (desktop, browser, command line, Python, MCP, plugins) changes.
Testing
Docs-only, so no
checks.shrun. Each claim checked againstmain: the line cap (script_commands),NOT_AHEAD(gp.rs), the non-native refusal (script_ahead) andcheck_prepared_prefix(format!("line {n} …")).rustfmt --checkon the file: exit 0.UI evidence
No visible UI change.
Related issue
Closes #2937.
Summary by CodeRabbit