Skip to content

fix: keep web search out of the figures when no Kindtech tool is connected - #5

Merged
billlyzhaoyh merged 1 commit into
mainfrom
fix/no-web-figures
Nov 18, 2026
Merged

billlyzhaoyh merged 1 commit into
mainfrom
fix/no-web-figures

Conversation

@billlyzhaoyh

Copy link
Copy Markdown
Contributor

What and why

The first upload of the plugin to an assistant that can search the web, with no Kindtech connector attached, gave answers whose sources were almost all web pages. The skill told the assistant not to quote figures from memory, but said nothing about a web search, so the assistant searched. To the person the figures read as the plugin's own, which they were not: nothing had been worked out in code, and nothing came with the checks and caveats a lens returns.

The area route in local-need-evidence now says:

  • when no Kindtech tool is available, say so first and in plain words, leave a marked gap for each figure, and do not fill the gaps from memory or from a web search;
  • a web search for figures is the person's choice. If they ask for one, use only the publisher's own pages, put the edition and a link beside each figure, and head them "Looked up on the web, not worked out by the Kindtech tools".

The description says the same in four words, and the failure is recorded under Gotchas.

This sits on top of the skill branch and should be merged after it.

How I tested it

  • uv run ruff format --check ., uv run ruff check ., uv run pytest (31 tests) and uv run python scripts/lint_skills.py pass.
  • Not run: the skill's cases. The recorded scores predate this change, and benchmark.json says so. The cases give the assistant no web search, so they could not show the change working. A case that does give it a web search is the one to add next, and it needs a paid run.

Tools that helped

Claude Code wrote this change.

Checklist

  • The change is about one thing and is small enough to review
  • Tests and docs are updated where behaviour changed
  • Commits are signed off (git commit -s). They are not: an agent made them, and the sign-off is a person's statement.
  • No personal data about real people in code, tests, examples or this description

…ected

In an assistant that can search the web and has no Kindtech tool, the
skill's answer drew almost every source from web pages, and the figures
read as the plugin's own. The area route now says to state first that the
tools are not connected, to leave marked gaps, and to search only when the
person asks, from the publisher's own pages and under a plain label.

The recorded scores predate this change. The cases give the assistant no
web search, so they cannot test it yet.
@billlyzhaoyh billlyzhaoyh self-assigned this Nov 18, 2026
@billlyzhaoyh
billlyzhaoyh merged commit 79c47a4 into main Nov 18, 2026
1 check passed
@billlyzhaoyh
billlyzhaoyh deleted the fix/no-web-figures branch November 18, 2026 23:04
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