Skip to content

Warn when the configured soundpack cannot be loaded (#7) - #109

Merged
ctoth merged 2 commits into
ctoth:masterfrom
serrebidev:fix/7-warn-unloadable-pack
Oct 20, 2026
Merged

ctoth merged 2 commits into
ctoth:masterfrom
serrebidev:fix/7-warn-unloadable-pack

Conversation

@serrebidev

Copy link
Copy Markdown
Contributor

Refs #7.

The named-JSON-pack lookup in #7 already works on master. A pack that exists but fails to load is still silent, though, such as a JSON mapping with an absolute path (absolute paths not allowed). The failure was logged only at debug level, then claudio fell back to a directory search that finds nothing.

This raises that log line to WARN, so the reason shows in the default log.

🤖 Generated with Claude Code

A pack that exists but fails to load (absolute mapping path, bad JSON)
fell back to a directory search that finds nothing, and the reason was
logged only at debug level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T14:42:24.763977Z 85c8495 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ctoth
ctoth merged commit 3578322 into ctoth:master Oct 20, 2026
9 checks passed
tahodev pushed a commit to tahodev/claudio that referenced this pull request Oct 20, 2026
soundpacks.md said the supported audio formats were WAV and MP3; the audio
decoder registry at internal/audio/registry.go registers WAV, MP3, AND AIFF
(see NewDefaultRegistry). Update both the JSON validation note and the
Supported Formats section.

installation.md said install writes hooks for three events (PreToolUse,
PostToolUse, UserPromptSubmit). Claude registry at
internal/install/hook_registry.go has 14 default-enabled events. Enumerate
the full list, and switch the example JSON from string form to the canonical
array form Claude actually writes.

Findings ctoth#109, ctoth#113, table rows for installation.md:113-119,
soundpacks.md:82-83,521-523.
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.

2 participants