mirror of
https://github.com/openai/codex.git
synced 2026-10-27 18:48:37 +00:00
## What changed Apply the 512-token approval reason cap in `guardian-context` when composing synchronous full and delta reviews, before request budget enforcement. Remove truncation from the requesting host and preserve exact action JSON. ## Testing Extend the planned-action budget test to cover long approval reasons in both synchronous presentations, verifying that optional tool descriptions can be omitted without changing action arguments. GitOrigin-RevId: 8cdb6aadd5f50194f63ebd2402193e69bed127cc
26 lines
607 B
TOML
26 lines
607 B
TOML
[package]
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
name = "codex-guardian-context"
|
|
version.workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
name = "codex_guardian_context"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codex-context-fragments = { workspace = true }
|
|
codex-history = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
codex-utils-output-truncation = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
codex-protocol-test-support = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|