feat(extensions): add Roast Room, bring Codex to parity, fix audit findings
Roast Room is installed as a managed Git clone under ~/.my-ai-configuration/roast-room, shared by Claude and Codex. A personal launcher skill runs it from any folder, starts its live room when needed, and only runs when invoked by name (/roast-room, $roast-room). Codex now gets what was Claude-only before: the Caveman skill with a SessionStart hook that keeps it on, PreCompact and session-pointer hooks, execpolicy deny rules mirroring Claude's permissions.deny, and Impeccable's custom agents registered in ~/.codex/agents. The command-safety hook checks both shell dialects for Codex on Windows, where PowerShell text arrives as Bash, in both the PowerShell and Bash packages. Audit fixes: - command-safety blocks git checkout -- / restore / push --force / stash clear and find -delete, and treats heredoc bodies as text - removing a clone clears read-only Git files, git errors no longer abort the extension sync, and a lock left by a dead process is replaced - with-credential passes child flags such as -k or -d through unchanged and resolves commands from PATH - uninstall strips only owned hooks from settings.json and config.toml and keeps the selection while another client is installed; update keeps CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY; Bash merges write the same bytes as PowerShell - qmd no longer trusts a stale daemon.json after a lost start race and prunes collections of deleted repositories - Bash scripts avoid GNU-only find -printf Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
63a36d90e0
commit
b35e2254b3
48 files changed
+1059
-98
No files matched your search
@@ -42,11 +42,35 @@ command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__QMD_WARM_SCRIPT_
|
||||
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__QMD_WARM_SCRIPT__"'
|
||||
timeout = 4
|
||||
|
||||
[[hooks.SessionStart]]
|
||||
[[hooks.SessionStart.hooks]]
|
||||
type = "command"
|
||||
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__SESSION_POINTER_SCRIPT__"'
|
||||
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__SESSION_POINTER_SCRIPT__"'
|
||||
timeout = 4
|
||||
|
||||
# Caveman's Codex skill has no hook of its own here; this prints it at every start, resume, clear, and compaction.
|
||||
[[hooks.SessionStart]]
|
||||
[[hooks.SessionStart.hooks]]
|
||||
type = "command"
|
||||
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__CAVEMAN_SCRIPT__"'
|
||||
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__CAVEMAN_SCRIPT__"'
|
||||
timeout = 4
|
||||
|
||||
[[hooks.PreCompact]]
|
||||
[[hooks.PreCompact.hooks]]
|
||||
type = "command"
|
||||
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMPACT_SCRIPT__"'
|
||||
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMPACT_SCRIPT__"'
|
||||
timeout = 4
|
||||
|
||||
# Codex reports every shell command as Bash; on Windows it is PowerShell text, so check both dialects there.
|
||||
[[hooks.PreToolUse]]
|
||||
matcher = "Bash"
|
||||
[[hooks.PreToolUse.hooks]]
|
||||
type = "command"
|
||||
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMMAND_SAFETY_SCRIPT__"'
|
||||
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMMAND_SAFETY_SCRIPT__"'
|
||||
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMMAND_SAFETY_SCRIPT__" -Shell unknown'
|
||||
timeout = 6
|
||||
|
||||
# Reminds to run semantic-search before open shell searches and again after every 10 searches without it; a no-op without QMD.
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
# Managed by MyAiConfiguration. Codex execpolicy backstop that mirrors Claude's permissions.deny.
|
||||
# The command-safety hook also catches forms these prefix rules cannot express
|
||||
# (rm -r -f, Remove-Item -Recurse, commands inside if/for blocks or nested shells).
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["git", "reset", "--hard"],
|
||||
decision = "forbidden",
|
||||
justification = "Discards work tree changes. Ask the user to run it if intended.",
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["git", "clean"],
|
||||
decision = "forbidden",
|
||||
justification = "Deletes untracked files. Ask the user to run it if intended.",
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["git", "checkout", "--"],
|
||||
decision = "forbidden",
|
||||
justification = "Discards file changes. Ask the user to run it if intended.",
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["git", "push", "--force"],
|
||||
decision = "forbidden",
|
||||
justification = "Overwrites remote history. Ask the user to run it if intended.",
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["git", "push", "-f"],
|
||||
decision = "forbidden",
|
||||
justification = "Overwrites remote history. Ask the user to run it if intended.",
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["rm", "-rf"],
|
||||
decision = "forbidden",
|
||||
justification = "Recursive forced deletion. Ask the user to run it if intended.",
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["rm", "-fr"],
|
||||
decision = "forbidden",
|
||||
justification = "Recursive forced deletion. Ask the user to run it if intended.",
|
||||
)
|
||||
@@ -13,5 +13,6 @@ __COMPLETION_EVIDENCE_SCRIPT__ Check-CompletionEvidence.ps1 check-completion-evi
|
||||
__COMMAND_SAFETY_SCRIPT__ Validate-CommandSafety.ps1 validate-command-safety.sh
|
||||
__IMPECCABLE_HOOK_SCRIPT__ Invoke-ImpeccableHook.ps1 invoke-impeccable-hook.sh
|
||||
__SEARCH_REMINDER_SCRIPT__ Show-SearchReminder.ps1 show-search-reminder.sh
|
||||
__CAVEMAN_SCRIPT__ Show-CavemanMode.ps1 show-caveman-mode.sh
|
||||
__SHELL_TOOL__ PowerShell Bash
|
||||
__SCRIPT_EXTENSION__ ps1 sh
|
||||
|
@@ -3,10 +3,11 @@ Ponytail DietrichGebert/ponytail ponytail@ponytail DietrichGebert/ponytail ponyt
|
||||
i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd ayghri/i-have-adhd i-have-adhd@i-have-adhd plugin - -
|
||||
Superpowers anthropics/claude-plugins-official superpowers@claude-plugins-official openai-curated-remote superpowers@openai-curated-remote plugin - -
|
||||
Context7 upstash/context7 context7@context7-marketplace upstash/context7 context7@context7-marketplace plugin - - context7 https://mcp.context7.com/mcp
|
||||
Caveman JuliusBrussee/caveman caveman@caveman - - - - -
|
||||
Caveman JuliusBrussee/caveman caveman@caveman - - skill JuliusBrussee/caveman caveman
|
||||
MCPorter - mcporter - mcporter cli mcporter -
|
||||
Humanizer blader/humanizer humanizer@humanizer - - skill blader/humanizer humanizer
|
||||
Impeccable pbakaus/impeccable impeccable@impeccable pbakaus/impeccable impeccable skill pbakaus/impeccable impeccable
|
||||
REA morluto/rea rea@rea morluto/rea rea@rea plugin - -
|
||||
Modern Web Guidance GoogleChrome/modern-web-guidance modern-web-guidance@googlechrome GoogleChrome/modern-web-guidance modern-web-guidance@googlechrome plugin - -
|
||||
Apple Design - - - - skill dickwu/apple-design-skill apple-design
|
||||
Roast Room - - - - clone nateherkai/roast-room roast-room
|
||||
|
@@ -4,16 +4,16 @@
|
||||
"permanent_context_hard_limit_tokens": 15000,
|
||||
"metrics": {
|
||||
"permanent_context_tokens": {
|
||||
"claude": 5720,
|
||||
"codex": 3979
|
||||
"claude": 5856,
|
||||
"codex": 4115
|
||||
},
|
||||
"instruction_tokens": {
|
||||
"claude": 1883,
|
||||
"codex": 1883
|
||||
},
|
||||
"skill_metadata_tokens": {
|
||||
"claude": 2845,
|
||||
"codex": 1185
|
||||
"claude": 3021,
|
||||
"codex": 1360
|
||||
},
|
||||
"auto_loaded_rule_tokens": {
|
||||
"claude": 789,
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
metric client baseline_tokens
|
||||
permanent_context_tokens claude 5720
|
||||
permanent_context_tokens codex 3979
|
||||
permanent_context_tokens claude 5856
|
||||
permanent_context_tokens codex 4115
|
||||
instruction_tokens claude 1883
|
||||
instruction_tokens codex 1883
|
||||
skill_metadata_tokens claude 2845
|
||||
skill_metadata_tokens codex 1185
|
||||
skill_metadata_tokens claude 3021
|
||||
skill_metadata_tokens codex 1360
|
||||
auto_loaded_rule_tokens claude 789
|
||||
auto_loaded_rule_tokens codex 788
|
||||
rule_catalog_tokens claude 35779
|
||||
|
||||
|
Reference in new issue
Block a user