Skip to content

chore(adoption): single-source hook registration, English statusline docs, CI#8

Merged
cdeust merged 2 commits into
mainfrom
chore/adoption-hygiene
Jul 22, 2026
Merged

chore(adoption): single-source hook registration, English statusline docs, CI#8
cdeust merged 2 commits into
mainfrom
chore/adoption-hygiene

Conversation

@cdeust

@cdeust cdeust commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Hooks registered exactly once: Stop/SubagentStop were declared in both plugin.json and hooks/hooks.json (double registration), UserPromptSubmit only in plugin.json. Now all three live solely in hooks/hooks.json (the auto-discovered location, same pattern as known-working marketplace plugins); inline hook block removed from plugin.json. claude plugin validate . passes.
  • English-first statusline docs: README-statusline.md translated in full (French original preserved as README-statusline.fr.md, cross-linked); French doc strings in statusline-budget.json translated.
  • CI added (repo had none): Python 3.11, all three test suites + full-severity shellcheck + hook-JSON validation.
  • Shellcheck clean at full severity: SC1083 (@{u} git revision syntax) and SC2034 (tok_cur field sink protecting cost_agent from read's remainder rule) suppressed inline with justification at the use site.

Test plan

  • refine gate: 6 passed · subagent tracker: 12 passed · statusline: 22 passed
  • shellcheck statusline-command.sh → clean, no severity scoping
  • claude plugin validate . → passes
  • CI green on this PR (first run)

🤖 Generated with Claude Code

cdeust and others added 2 commits July 22, 2026 15:22
…docs, CI for existing suites

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…at full severity

SC1083: @{u} is git upstream-revision syntax, not brace expansion.
SC2034: tok_cur deliberately sinks the 4th jq field so read's remainder
rule cannot corrupt cost_agent.
With both documented at the use site, CI drops --severity=error scoping.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cdeust
cdeust merged commit f8956f8 into main Jul 22, 2026
1 check passed
@cdeust
cdeust deleted the chore/adoption-hygiene branch July 22, 2026 14:02
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