29 lines
1.5 KiB
TOML
29 lines
1.5 KiB
TOML
# 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.
|