Trim Guardian tests and tighten request layout assertions (#46063)

## What changed

Remove standalone tests across Guardian review sessions, configuration, assessment schemas, transcripts, and trusted skill paths.

Strengthen the existing request layout snapshot test to check exact transcript separators, the action header, and parent session ID placement before snapshot whitespace normalization. Concatenate user input text without inserting newlines so the assertions validate the actual request formatting.

GitOrigin-RevId: 06d262a1a85b1a8401796958f300c894146d2e1b
This commit is contained in:
felixxia-oai authored and copyberry committed 2026-09-17 00:37:47 +00:00
1 parent 8ace915ace
commit e412b93d08
5 files changed
+5 -370

No files matched your search

@@ -16,14 +16,6 @@ fn rendered_paths(paths: Vec<String>) -> Vec<String> {
.expect("trusted skill evidence should remain valid JSON")
}
#[test]
fn renders_verified_skill_paths() {
assert_eq!(
rendered_paths(vec!["/home/user/.codex/skills/demo/SKILL.md".to_owned()]),
vec!["/home/user/.codex/skills/demo/SKILL.md"],
);
}
#[test]
fn bounds_escaped_skill_paths_without_corrupting_json_or_utf8() {
let paths = (0..16)