Skip to content

feat(skill): add [skills].suppress_warnings to quiet third-party skill warnings - #8338

Open
onionviolet wants to merge 1 commit into
esengine:main-v2from
onionviolet:fix/6483-suppress-skill-warnings
Open

feat(skill): add [skills].suppress_warnings to quiet third-party skill warnings#8338
onionviolet wants to merge 1 commit into
esengine:main-v2from
onionviolet:fix/6483-suppress-skill-warnings

Conversation

@onionviolet

@onionviolet onionviolet commented Aug 11, 2026

Copy link
Copy Markdown

Summary

Adds [skills].suppress_warnings (boolean, default false) to quiet noisy third-party skill loading warnings at startup, specifically the missing-description warning emitted by the skill loader in internal/skill. The default keeps current behavior unchanged, so this is backward compatible. Suppression is stderr-only: which skills load and the skill index content are untouched. On-demand diagnostics such as reasonix doctor capabilities are intentionally not affected, since those are explicit troubleshooting surfaces.

Implements #6483.

Issues

Fixes #6483

Verification

  • go test ./... passes (full suite)
  • gofmt -l . clean
  • go vet ./... passes
  • New tests: TestSuppressWarningsQuietsMissingDescription (internal/skill), TestDefaultSkillsSuppressWarningsOff and TestDecodeSkillsSuppressWarnings (internal/config), plus the suppress_warnings subtest in TestSaveToExistingProjectRemovesResetSkillOverrides.

Documentation impact

Documentation-impact: updated - [skills].suppress_warnings documented in docs/SPEC.md (config contract), docs/GUIDE.md, docs/GUIDE.zh-CN.md, and reasonix.example.toml.

Cache impact

Cache-impact: none - suppression affects stderr output only; the skill index and system prompt are unchanged.
Cache-guard: TestSuppressWarningsQuietsMissingDescription (internal/skill) covers the loader warning; existing skill index guard tests cover index behavior.
System-prompt-review: maintainer approval required for the skill-loader change - suppression is stderr-only; the skill index and system prompt are unchanged, but CI classifies internal/skill and internal/boot as system-prompt-sensitive.

@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development skills Skill system (internal/skill, internal/tool) config Configuration & setup (internal/config) labels Aug 11, 2026
@onionviolet
onionviolet force-pushed the fix/6483-suppress-skill-warnings branch from fdc920f to 518b134 Compare August 11, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration & setup (internal/config) skills Skill system (internal/skill, internal/tool) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add option to suppress skill loading warnings

1 participant