Skip to content

fix: the pictures-and-documents skill says the feature is on by default - #331

Merged
varun369 merged 2 commits into
mainfrom
fix/media-skill-default
Nov 20, 2026
Merged

varun369 merged 2 commits into
mainfrom
fix/media-skill-default

Conversation

@varun369

Copy link
Copy Markdown
Member

What this changes

The slm-media skill, the pictures-and-documents guide and the bot setup skill now describe what 4.2.30 does: pictures and documents are on by default, set themselves up on a computer with 16 GB of memory or more, and are one click, never refused, below that.

Why

plugin-src/skills/slm-media/SKILL.md still said "Off by default" and "16 GB of memory needed" in its front matter (the text an agent reads to decide what the feature is), and said the two optional models were "off until someone turns it on". Against the code:

  • runtimes/media_env.media_policy: 15 GiB or more -> auto; less -> one_click with a warning; media_ram_refusal always returns "". Checked by running it: 16 GiB and 15.6 GiB -> auto; 8 GiB -> one_click with the "may be slow" warning, no refusal.
  • core/feature_flags.py: media.captions, media.document_pack and media.regions default to ON.
  • runtimes/media_auto.py downloads them by itself from the daemon's background loop, and never undoes a "turn off".

A user on a 16 GB laptop could be told by their agent that the feature is off and cannot run. Two other texts carried the same claim: docs/pictures-and-documents.md said below 16 GB "the switch is refused", and slm-getting-started-bot pointed at "a computer that qualifies". Both are corrected. Generated copies (plugin/, codex, cursor, copilot, hermes, antigravity, muse, vscode-agent) were rebuilt with node scripts/build-all-plugins.mjs. The skill body already described the 16 GB rule correctly; only the contradicting lines changed.

How it was tested

New tests/test_plugin_src/test_media_skill_matches_the_default.py (7 tests). It reads the real policy and flag defaults from the code, and checks the skill source, the built plugin/ copy, the guide and the bot skill for the stale phrases.

  • With the text changes reverted: 5 failed, 2 passed (the two code-reading tests). Restored: 7 passed.

  • pytest tests/test_plugin tests/test_plugin_src tests/test_packaging tests/test_documentation_matches_implementation.py tests/test_docs_chatgpt_skill_location.py: 557 passed, 11 skipped. One error in test_hermes_turn_capture.py came from another SLM daemon running on the machine at the same moment (the isolation guard's "slm-overlap"); rerun alone, 6 passed.

  • node --test scripts/__tests__/*.mjs: 51 passed. node scripts/build-all-plugins.mjs --check: all in sync. scripts/check-no-internal-leaks.sh: clean. ruff check on the new test: clean.

  • Documentation only

  • Plugin copies regenerated (node scripts/build-all-plugins.mjs)

AI assistance

Written with Claude Code (Claude Opus 5.5). Each claim was checked against the code by running it.

🤖 Generated with Claude Code

varun369 and others added 2 commits November 20, 2026 15:10
The skill told agents pictures and documents were off by default and needed
16 GB of memory. Since 4.2.30 they are on by default, set themselves up on
computers with 16 GB or more, and are one click (never refused) below that.
The skill, the pictures guide and the bot setup skill now say so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Codex rules file, the Continue skill list, both one-line installers and the
privacy table still called the feature off by default or 16 GB only. A test now
reads each of them.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@varun369

Copy link
Copy Markdown
Member Author

Audit findings to fix to test (b60e322)

  • MAJOR, codex-plugin/AGENTS.md said optional and off by default, 16 GB: rewritten to match plugin-src/rules/AGENTS.md (on by default, automatic from 16 GB, one click below, never refused). Tests: test_agent_rules_say_on_by_default_and_the_16_gb_rule and the hand-written-texts test.
  • MINOR, same stale wording in ide/configs/continue-skills.yaml, scripts/get-slm.sh (two places), scripts/get-slm.ps1, wiki-content/Privacy-and-Data-Flow.md: fixed. The installers' --media flag still runs slm media enable --yes (never refused below 16 GB), so it is described as starting the download now. Test: test_hand_written_texts_do_not_call_pictures_off_by_default_or_16_gb_only (per line: a line about pictures/documents may not say off by default, optional and off, or needs 16 GB).
  • Proof: with the six text edits reverted the new tests fail (6 failed); with them restored 15 pass.
  • Checks: plugin, plugin_src, packaging suites 548 passed, 11 skipped; build-all-plugins --check in sync; node tests 51/51.

@varun369
varun369 merged commit 0c19786 into main Nov 20, 2026
8 checks passed
@varun369
varun369 deleted the fix/media-skill-default branch November 20, 2026 13:23
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