Skip to content

Explain: Improve phrasing around the last-value tool's output.#91

Merged
mark-undoio merged 1 commit intomasterfrom
explain-last-prompting-fixes
Oct 31, 2025
Merged

Explain: Improve phrasing around the last-value tool's output.#91
mark-undoio merged 1 commit intomasterfrom
explain-last-prompting-fixes

Conversation

@mark-undoio
Copy link
Copy Markdown
Contributor

We don't need to echo the "Now" part of the tool's output when it occurs, it's better to write something more descriptive. The prompting can drop explanations of the output format, which is now composed specifically for the LLM's benefit.

This should prevent (rare) confusion that's occurred since the recent tidy-up of this tool.

We don't need to echo the "Now" part of the tool's output when it occurs, it's
better to write something more descriptive.  The prompting can drop explanations
of the output format, which is now composed specifically for the LLM's benefit.
Copy link
Copy Markdown

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

This PR improves the phrasing around the last-value tool's output to make it more descriptive and reduce potential confusion. The changes remove explanations about output format from the documentation (since the format is designed for LLM consumption) and transform the raw "Now = ..." output into a more natural description when presenting results.

Key Changes:

  • Removed documentation explaining the "Was" and "Now" value format from the instructions
  • Changed the output presentation to say "has just been assigned value X" instead of echoing "Now = X"

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
explain/instructions.md Removed explanation of "Was" and "Now" output format that was confusing for users
explain/explain.py Transformed raw "Now = ..." output into more descriptive phrasing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mark-undoio mark-undoio merged commit b413935 into master Oct 31, 2025
2 checks passed
@mark-undoio mark-undoio deleted the explain-last-prompting-fixes branch October 31, 2025 11:58
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.

3 participants