升级本机 Trellis 至 0.6.12(upgrade-trellis-0-6-12)

这个提交包含在:
2026-08-02 16:46:56 +08:00
父节点 45dc86c27a
当前提交 1c557e4926
共修改 19 个文件,包含 335 行新增和 50 行删除
+18 -9
查看文件
@@ -74,10 +74,15 @@ session_auto_commit: false
#-------------------------------------------------------------------------------
# Codex (dispatch behavior)
#-------------------------------------------------------------------------------
# Codex-only knob; other platforms ignore it. Trellis 0.6.9 supports native
# sub-agent context injection, but hyb-oa deliberately keeps the main session
# in charge unless a task explicitly approves sub-agent work. "sub-agent" is
# retained upstream as a backwards-compatible alias for "auto".
# Codex-only knob; other platforms ignore it. Trellis 0.6.12 supports native
# sub-agent context injection and recovery of truncated hook output, but hyb-oa
# deliberately keeps the main session in charge unless a task explicitly
# approves sub-agent work. "sub-agent" remains a backwards-compatible alias
# for "auto"; invalid explicit values safely use inline mode.
#
# In "auto" mode, sub-agents inherit the main session model unless their
# generated `.codex/agents/trellis-*.toml` file pins a model. There is no
# config.yaml model override.
#
codex:
dispatch_mode: inline # keep Codex main-session edits until a task explicitly asks for sub-agents
@@ -116,9 +121,11 @@ channel:
#-------------------------------------------------------------------------------
# Sub-agent context injection limits
#-------------------------------------------------------------------------------
# Trellis 0.6.9 caps injected task artifacts and referenced context. Defaults
# are sufficient for hyb-oa; keep them documented but implicit until a real
# task proves they need tuning.
# Trellis 0.6.12 caps injected task artifacts and referenced context. Oversized
# files are truncated with notice; total-budget overflow degrades remaining
# files to path/reason/size index lines. Defaults are sufficient for hyb-oa;
# keep them documented but implicit until a real task proves they need tuning.
# `0` disables the corresponding byte limit.
#
# context_injection:
# max_file_bytes: 32768
@@ -128,8 +135,10 @@ channel:
#-------------------------------------------------------------------------------
# Per-turn prompt injection
#-------------------------------------------------------------------------------
# Optional one-turn escape hatch. The project does not enable it by default so
# Trellis task state remains deterministic.
# Optional one-turn escape hatch for the per-turn `<workflow-state>` breadcrumb.
# It uses a case-insensitive standalone-word match and does not affect session
# start or sub-agent context injection. The project keeps it disabled so task
# state remains deterministic.
#
# prompt_injection:
# skip_keyword: "no-trellis"