aboutsummaryrefslogtreecommitdiff
path: root/dot_codex
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-09-17 17:05:03 +0200
committerpablu <me@pablu.de>2026-09-17 17:05:03 +0200
commitf8312a59c775c740d9af173fafa65ab7e731e03e (patch)
treea54a9274376f20bbb35f07bccfeab8aef542fa0e /dot_codex
parent0716da5eef605977b804f34f265979cf39be844b (diff)
update codex config to not contain local project dirs, update .tmux.conf only for gentoo, make tmux work with hyprland
Diffstat (limited to 'dot_codex')
-rw-r--r--dot_codex/AGENTS.md15
-rw-r--r--dot_codex/modify_private_config.toml3
-rw-r--r--dot_codex/private_config.toml66
3 files changed, 13 insertions, 71 deletions
diff --git a/dot_codex/AGENTS.md b/dot_codex/AGENTS.md
index d316b57..58c0b69 100644
--- a/dot_codex/AGENTS.md
+++ b/dot_codex/AGENTS.md
@@ -4,19 +4,24 @@ Your role:
- Explain architecture and tradeoffs clearly.
- Critically review code for correctness and maintainability.
- Challenge assumptions when appropriate.
-- Suggest improvements, but do not rewrite working code unnecessarily.
+- Suggest improvements and explain their tradeoffs.
Strict rules:
-- Do NOT modify files unless explicitly asked.
-- Do NOT run git commands unless explicitly asked.
-- Do NOT assume the user wants implementation.
-- Prefer discussion, reasoning, and review over code generation.
+- Default to discussion and review. Requests to fix, implement, or edit authorize changes within the requested scope. Questions about possible improvements do not authorize edits.
+- Do NOT write or modify production code unless explicitly asked. Permission to inspect code or run tests is not permission to implement changes.
+- Do NOT modify files outside the authorized scope.
+- Git and jj commands are allowed for inspection purposes, such as status, diff, and log. Other version-control operations require explicit authorization. NEVER create commits or push.
+- Relevant local tests are allowed. Test runners and other programs may write incidental temporary files and caches; this does not authorize you to manually create or modify files or invoke programs to generate or rewrite production code.
+- Keep authorized changes focused on the requested outcome. Avoid unrelated refactoring and preserve existing behavior outside that scope.
When reviewing:
- Focus on correctness first.
- Then API design and consistency.
- Then maintainability.
- Ignore formatting unless it impacts clarity.
+- Ground findings in the current code. Identify the affected location, triggering condition, and consequence.
+- Distinguish confirmed defects from hypotheses and optional improvements.
+- State what was verified and what remains unverified. Never imply tests passed unless they were run successfully.
Prefer idiomatic, simple solutions.
Avoid unnecessary abstractions.
diff --git a/dot_codex/modify_private_config.toml b/dot_codex/modify_private_config.toml
new file mode 100644
index 0000000..a5c2db2
--- /dev/null
+++ b/dot_codex/modify_private_config.toml
@@ -0,0 +1,3 @@
+{{/* chezmoi:modify-template */}}
+{{ include "codex/config.toml" -}}
+{{- regexFindAll `(?m)^\[projects\.[^\n]+\]\n(?:[^\[]*\n?)*` .chezmoi.stdin -1 | join "" -}}
diff --git a/dot_codex/private_config.toml b/dot_codex/private_config.toml
deleted file mode 100644
index e15610f..0000000
--- a/dot_codex/private_config.toml
+++ /dev/null
@@ -1,66 +0,0 @@
-model = "gpt-5.6-sol"
-model_reasoning_effort = "medium"
-
-approval_request = "on-request"
-sandbox_mode = "read-only"
-model_verbosity = "low"
-web_search = "cached"
-allow_login_shell = false
-
-[shell_environment_policy]
-inherit = "core"
-
-[features]
-hooks = false
-multi_agent = false
-# shell_snapshot = false
-# shell_tool = false
-memories = true
-
-[projects."/home/pablu/projects/zw"]
-trust_level = "trusted"
-
-[projects."/home/pablu/.config/nvim"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/suchoi"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/Logprep"]
-trust_level = "trusted"
-
-[projects."/home/pablu/.config/hypr"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/qview"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/tokonoma"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/logprep-data-server"]
-trust_level = "trusted"
-
-[projects."/home/pablu/.codex"]
-trust_level = "trusted"
-
-[projects."/home/pablu"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/domain-router"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/pybug"]
-trust_level = "trusted"
-
-[projects."/home/pablu/projects/suchoi-v2"]
-trust_level = "trusted"
-
-[tui]
-theme = "catppuccin-mocha"
-status_line = ["model-with-reasoning", "current-dir", "git-branch", "run-state", "permissions", "context-used"]
-status_line_use_colors = true
-
-[tui.model_availability_nux]
-"gpt-5.5" = 4
-"gpt-5.6-sol" = 4