chore: untrack remaining agent config files (.claude/settings.json, .codex/config.toml)

This commit is contained in:
2026-06-26 17:58:19 +08:00
parent c539182ecb
commit ac00518741
2 changed files with 0 additions and 101 deletions

View File

@@ -1,73 +0,0 @@
{
"env": {
"CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR": "1"
},
"hooks": {
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/session-start.py",
"timeout": 30
}
]
},
{
"matcher": "clear",
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/session-start.py",
"timeout": 30
}
]
},
{
"matcher": "compact",
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/session-start.py",
"timeout": 30
}
]
}
],
"PreToolUse": [
{
"matcher": "Task",
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/inject-subagent-context.py",
"timeout": 30
}
]
},
{
"matcher": "Agent",
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/inject-subagent-context.py",
"timeout": 30
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/inject-workflow-state.py",
"timeout": 15
}
]
}
]
},
"enabledPlugins": {}
}

View File

@@ -1,28 +0,0 @@
# Project-scoped Codex defaults for Trellis workflows.
# Codex merges this layer after the user-level config when the project
# is marked as a trusted project. To trust this project, add it under
# `[projects]` in ~/.codex/config.toml, e.g.:
#
# [projects."/abs/path/to/this/repo"]
# trust_level = "trusted"
# Keep AGENTS.md as the primary project instruction file.
project_doc_fallback_filenames = ["AGENTS.md"]
# Codex hooks (`hooks.json` in this directory) only fire when the user
# has enabled them in their USER-level config: `[features].hooks = true`
# in ~/.codex/config.toml (Codex 0.129+; legacy name: `codex_hooks = true`,
# still works but emits a deprecation warning on 0.129+). Project-level
# config.toml cannot set feature flags; they must be user-level.
# Codex 0.129+ additionally gates each installed hook behind a one-time
# `/hooks` TUI review; until the user approves it, the hook stays inactive.
# NOTE: Trellis intentionally does NOT write a [features.multi_agent_v2]
# block here. Codex CLI changed `features` deserialization between 0.130
# and 0.131: the structured table form (with max_concurrent_threads_per_session
# / *_wait_timeout_ms) is only accepted by 0.131+. On 0.130 and earlier —
# including the codex CLI bundled inside the Codex desktop app — it fails
# with `data did not match any variant of untagged enum FeatureToml`, which
# aborts the entire config load and blocks Codex from starting. Codex's own
# default for multi_agent_v2 is used instead; tune it in your user-level
# config if needed.