Changes for version 0.006000 - 2026-11-21
- First CPAN release: the reusable `App::Briefing` Perl library and the `briefing` command (`script/briefing`) with the hook, doctor and marketplace notice. CPAN installs only `briefing`, none of the plugin's `bin/` files.
- Claude Code: skills arrive through `SubagentStart` `additionalContext` instead of a rewritten agent prompt, so briefing works with `--permission-mode auto`. Auto mode refused any `Agent` call whose input a hook changed after its review ("a hook changed this call's input after auto mode reviewed it"). The `PreToolUse` hook on `Agent` stays as a guard only: it denies a spawn that declares an unknown skill and otherwise says nothing. Verified on Claude Code 2.1.318, which fires `SubagentStart` with the agent's name as `agent_type` and hands `additionalContext` to the subagent. Older Claude Code versions without that start the agent unbriefed.
- Claude Code: if a declared skill disappears between the guard and the spawn, the agent is told to stop and report, as under Codex.
- Claude Code: the audit line now comes from `SubagentStart`; 2.1.318 does not show it in `claude -p` output.
- The Claude Code plugin takes its version from the commit, so every push to main reaches marketplace users with auto-update.
- An agent file saved with a UTF-8 byte order mark is read like one without: the mark no longer hides the opening `---`, so the spawn is briefed again.
- `briefing doctor --tsv` prints the findings as tab-separated lines (WHAT, `ok`, `missing` or `warn`, NAME, TEXT) for tools, and `briefing hook EVENT` names the hook event on the command line instead of reading it from the payload.
- The plugin's briefing hooks (`PreToolUse` on `Agent`, `SubagentStart` and `SessionStart`) run through its starter `bin/briefing hook EVENT` (`bin/briefing.exe` on Windows, which runs the plugin's own `bin/briefing-bootstrap.exe`); the marketplace notice runs through `bin/briefing hook marketplace-notice` too. Codex reads its own `hooks/codex-hooks.json` and asks to trust the hooks once more. Once binaries are pinned, SessionStart may take up to 90 seconds to fetch one.
- The GitHub release carries prebuilt `briefing` binaries for Linux x86_64/arm64, macOS x86_64/arm64 and Windows x86_64, plus `SHA256SUMS`. The plugin starts using them only from a later plugin update that pins their checksums (`bin/briefing-binaries.sha256`); until then the hooks run the Python hook as before.
- Faster start-up: `TOML::Tiny::Parser` is compiled on the first Codex TOML agent parse, not when `App::Briefing` loads, so Claude Code hooks and the prebuilt binaries skip about 170 ms of compile time per call (k6).
- Windows without a pinned binary: the bootstrap starts the first Python it finds (`python3`, `python`, then `py -3`; the Microsoft Store stub is skipped), in UTF-8 mode.
- Windows: pass a working directory with characters outside the ANSI code page by changing into it, not through `briefing doctor --cwd`; Perl receives command-line arguments in the ANSI code page there. Hook payloads are UTF-8 and not affected.
- Windows: the Perl command, and once a version pins binaries the binary, cannot use a home or another environment path (HOME, USERPROFILE, HOMEDRIVE/HOMEPATH, CODEX_HOME, CLAUDE_PLUGIN_ROOT, PWD) with characters outside the ANSI code page: the Perl process already holds them as "?". User-level skills under such a home are not found and the marketplace notice cannot record that it was shown. The Python hooks are not affected. Characters of the ANSI code page arrive as characters, read through the wide environment (Win32 is a Windows prerequisite) (k14).
- Windows binary cache: the pinned binary now lives in `<config>/briefing/bin/<version>/<first 16 hex of the pin>/briefing[.exe]` with PAR's `par/` directory beside it, so PAR's loader gets the plain long path for ordinary ASCII profiles instead of depending on 8.3 short names (the short alias stays the path for non-ANSI profiles). The full hash stays in the pin file and the binary is rehashed before every run; the PAR tree reserve grew from 64 to 128 characters (k18).
- The SessionStart marketplace notice no longer needs Python once the binary is active: `briefing hook marketplace-notice` (`briefing notice` stays) prints it, and both stay silent with exit 0 on any error. The starter and the Windows bootstrap run the verified cached binary, else the Python notice script, else stay silent; they never fetch a binary for it. The notice's `hooks/briefing-marketplace-notice.exe` launcher is gone (k20).
- Documentation: the README and the POD of `App::Briefing`, its CLI, filesystem and team modules and of `briefing` now start from what the product does; the distribution abstract reads "Preload declared skills into Claude Code and Codex subagents at spawn time" (k23).
Documentation
Preload declared skills and diagnose briefing-aware agents
Modules
Preload declared skills into Claude Code and Codex subagents at spawn time
Command-line interface for App::Briefing
Unicode-safe filesystem access for App::Briefing
Findings about a project's Claude Code agent team