Skip to content

docs: surface attachments in README + note vision-model / [visual] gotchas#535

Merged
the-data-viking merged 1 commit into
mainfrom
docs/attachments-discoverability
Jun 3, 2026
Merged

docs: surface attachments in README + note vision-model / [visual] gotchas#535
the-data-viking merged 1 commit into
mainfrom
docs/attachments-discoverability

Conversation

@claude-dataviking

Copy link
Copy Markdown
Contributor

Why

While dogfooding SynthPanel against a live site (passing the published page as a url attachment), I initially concluded attachments weren't supported — because the README never mentions them. The prominent run_panel / "Defining Instruments" examples only show a text stimulus, so it reads as "panels are text-only." The feature is actually well-documented in docs/cookbook/with-attachments.md — it's purely a discoverability gap.

Then, building the run, I hit two things that aren't called out anywhere:

  1. image/screenshot attachments require a vision-capable model. A claude-3.5-haiku run fast-failed (good guard!) with "model … does not support image or document attachments." The fix (use claude-haiku-4.5 etc.) isn't documented.
  2. fetch_mode: screenshot needs the [visual] extra (Playwright) — not mentioned near the attachment docs.

What

  • README: new "Attachments" subsection under Defining Instruments — the four types, a url + fetch_mode example, the two gotchas, and a link to the cookbook recipe.
  • Cookbook (with-attachments.md): two bullets in Notes for the vision-model requirement and the [visual] extra.

Docs only — no code/behavior change.

Related friction (filing separately as issues)

  • panel run --dry-run validates "OK" even when the instrument has image attachments but the chosen model is text-only — it could warn there.
  • panel run --save persists raw Q&A but the report shows Synthesis: Not run (synthesis is the headline value).
  • synthpanel report's "Next" hint suggests synthpanel cost <result-id>, but cost only accepts summary.
  • synthpanel mcp install wrote a bare command: synthpanel from a venv (not the resolved abs path), which won't launch if synthpanel isn't on PATH.

🤖 Generated with Claude Code

…gotchas

Attachment support (url/image/document/html on an instrument's attachment
bank) is well covered in docs/cookbook/with-attachments.md, but the README
never mentions it — the prominent run_panel/instrument examples only show a
text stimulus, so it reads as "panels are text-only." Add an Attachments
subsection under "Defining Instruments" that links the cookbook.

Also document two gotchas that aren't called out anywhere and are easy to hit
when dogfooding a URL/screenshot panel:
- image/screenshot attachments require a vision-capable model; text-only
  models (e.g. claude-3.5-haiku) fast-fail.
- fetch_mode: screenshot needs the `[visual]` extra (Playwright).

Docs only — no code or behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@the-data-viking the-data-viking merged commit fe7c1aa into main Jun 3, 2026
19 checks passed
@the-data-viking the-data-viking deleted the docs/attachments-discoverability branch June 3, 2026 06:30
@claude-dataviking claude-dataviking added the semver:skip Skip version bump on merge label Jun 3, 2026
the-data-viking added a commit that referenced this pull request Jun 3, 2026
Cuts the patch release containing the four bug fixes merged today (#540 cost
hint, #541 mcp-install path, #542 dry-run vision guard, #543 report synthesize
hint) plus the attachments docs (#535).

Pre-bumps __version__.py and re-renders the version artifacts (render_site.py,
render_site_markdown.py, render_server_card.py) so auto-tag.yml hits its
"nothing to commit" path and only tags v1.5.6 — its direct version-bump push
to main is currently rejected by branch protection (GH013), which is why
applying semver:patch to a regular fix PR (#543) failed to release. Filing
that pipeline issue separately.

Co-authored-by: Wesley Johnson <wesley@dataviking.tech>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:skip Skip version bump on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants