Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions claude/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,11 @@ Rules for consistent, clean git commit history across all projects.
### Pull requests

- ALWAYS create PRs with `gh pr create --fill`. Use `--title` / `--body-file` ONLY when the user explicitly asks for a custom title or body.

## Codex Sandbox Network Retries

This section applies only to Codex and its command execution tools.

When a command required for the user's authorized task fails because of sandbox or proxy network restrictions, rerun the same command with `sandbox_permissions: "require_escalated"` and a concise `justification`. Proceed directly through the tool's approval flow so existing `allow` rules can apply and any additional approval can be requested there.

Command `allow` rules and proxy domain permissions are separate controls: an allowed command can still fail during ordinary sandbox execution. Perform the escalated retry before reporting the task as blocked. Keep the retry within the authorized task and preserve the configured network restrictions.
14 changes: 14 additions & 0 deletions codex/rules/himkt.rules
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,20 @@ prefix_rule(
not_match = ["git push", "git commit-tree abc123"],
)

prefix_rule(
pattern = ["git", "diff"],
decision = "allow",
match = ["git diff"],
not_match = ["git push"],
)

prefix_rule(
pattern = ["git", "log"],
decision = "allow",
match = [["git", "log", "--oneline"], "git log"],
not_match = ["git push", "git commit-tree abc123"],
)

prefix_rule(
pattern = ["herdr", "pane", "read"],
decision = "allow",
Expand Down
2 changes: 1 addition & 1 deletion mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ min_version = "2026.8.14"
"~/.claude/skills" = { source = "../skills", mode = "symlink-each" }
"~/.codex/AGENTS.md" = "../claude/CLAUDE.md"
"~/.codex/hooks.json" = "../codex/hooks.json"
"~/.codex/rules" = { source = "../codex/rules", mode = "symlink-each" }
"~/.codex/rules" = { source = "../codex/rules", mode = "symlink" }
"~/.config/ghostty" = "../ghostty"
"~/.config/git" = "../git"
"~/.config/herdr" = { source = "../herdr", mode = "symlink-each" }
Expand Down