[package]
edition = "2024"
rust-version = "1.97"
name = "polyc-turn-runner"
version = "2026.9.0"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "polychrome turn-runner: run one agent turn from a wire request against an injected provider + tool executor."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"
[package.metadata.polychrome]
layer = "component"
plane_role = "shared"
[lib]
name = "polyc_turn_runner"
path = "src/lib.rs"
[[test]]
name = "execution_grant_escalates_under_taint"
path = "tests/execution_grant_escalates_under_taint.rs"
[[test]]
name = "execution_grant_gates_shell_exec"
path = "tests/execution_grant_gates_shell_exec.rs"
[[test]]
name = "replayed_first_party_result_does_not_taint"
path = "tests/replayed_first_party_result_does_not_taint.rs"
[dependencies.buffa]
version = "0.9.1"
features = [
"std",
"json",
]
[dependencies.connectrpc]
version = "0.9.0"
features = [
"axum",
"server",
"client",
"client-tls",
"server-tls",
]
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.polyc-agent]
version = "=2026.9.0"
[dependencies.polyc-capability]
version = "=2026.9.0"
[dependencies.polyc-crypto]
version = "=2026.9.0"
[dependencies.polyc-llm]
version = "=2026.9.0"
[dependencies.polyc-proto]
version = "=2026.9.0"
[dependencies.polyc-state]
version = "=2026.9.0"
[dependencies.polyc-tools]
version = "=2026.9.0"
[dependencies.sha2]
version = "0.11"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.polyc-crypto]
version = "=2026.9.0"
features = ["test-util"]
[dev-dependencies.temp-env]
version = "0.3"
features = ["async_closure"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[lints.clippy]
dbg_macro = "deny"
module_name_repetitions = "allow"
redundant_pub_crate = "allow"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rustdoc]
all = "warn"