Merge claude/debt-control: gateway-text env reader inside prompt (engine gpu_proofs include it by path)
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 31s
Rust port / port-oracles (push) Failing after 33s
Rust port / port-linux-tests (push) Failing after 35s
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Linux / verify (push) Failing after 46s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Rust port / port-typecheck (push) Successful in 59s
Product / product (push) Failing after 15m22s

This commit is contained in:
Pavlo Ratushnyi
2026-11-14 20:34:45 +01:00
6 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -134,7 +134,7 @@
{"crate": "strata-control", "file": "src/env_settings.rs", "ratchet": "env-read", "reason": "the one reader of the process environment of the crate: every variable is parsed here into a typed value (number, path, flag, mode)"},
{"crate": "leleka-deploy", "file": "src/env_settings.rs", "ratchet": "env-read", "reason": "the one reader of the process environment of the crate: every variable is parsed here into a typed value (path, flag, text)"},
{"crate": "strata-desktop-core", "file": "src/env_settings.rs", "ratchet": "env-read", "reason": "the one reader of the process environment of the crate and its binaries: credentials by name, the evaluation switches, the inherited child variables"},
{"crate": "leleka-gateway-text", "file": "src/env_settings.rs", "ratchet": "env-read", "reason": "the one reader of the process environment of the crate: the two prompt rendering switches"},
{"crate": "leleka-gateway-text", "file": "src/prompt/env_settings.rs", "ratchet": "env-read", "reason": "the one reader of the process environment of the crate: the two prompt rendering switches"},
{"crate": "leleka-npu-service", "file": "src/env_settings.rs", "ratchet": "env-read", "reason": "the one reader of the process environment of the crate: the profile report switch"},
{"crate": "strata-control", "file": "src/adapters/system_clock.rs", "ratchet": "instant-now", "reason": "the production Clock adapter: the one place that reads the runtime clock for the injected Clock port"},
{"crate": "strata-control", "file": "src/ports/fakes/clock.rs", "ratchet": "instant-now", "reason": "test fixture: the manual clock needs one base instant to count from and never moves by itself"},
-1
View File
@@ -4,7 +4,6 @@
//! through `#[path]`. They need only `minijinja`, `serde`, `serde_json`, `sha2`, `regex` and `hex`, so they are a leaf
//! crate that both hosts use.
mod env_settings;
pub mod prompt;
pub mod response_tools;
pub mod tool_output;
+2
View File
@@ -109,6 +109,8 @@ pub enum Effort {
#[path = "prompt/tests.rs"]
mod tests;
#[path = "prompt/env_settings.rs"]
mod env_settings;
#[path = "prompt/json.rs"]
mod json;
pub use json::*;
@@ -3,7 +3,7 @@
//! used to drop completed empty assistant turns from the history.
use super::{Error, ErrorKind, Json, Kwargs, State, Value, ValueKind, py_space, python_float};
use crate::env_settings::keep_empty_turns;
use super::env_settings::keep_empty_turns;
pub(super) fn json_string(text: &str, ensure_ascii: bool, out: &mut String) {
out.push('"');
@@ -5,7 +5,7 @@
use super::{
ChatInput, Effort, Json, Message, Part, Plain, Role, chat_tool, pinned, render_native,
};
use crate::env_settings::{keep_empty_turns, reference_render};
use super::env_settings::{keep_empty_turns, reference_render};
/// The typed counterpart of [`without_empty_assistant_turns`].
pub(super) fn without_empty_turns<'a>(messages: &[Message<'a>]) -> Vec<Message<'a>> {