Revert "test(code-quality): allow the bounded semantic cache prompt walkers in the recursion check"

This reverts commit 39efb5d9da.
This commit is contained in:
kerry 2026-09-30 23:39:28 +00:00
parent 345bd97f70
commit f8aad2fa29

View file

@ -72,10 +72,6 @@ IGNORE_FUNCTIONS = [
"_string_leaves", # bounded by the nesting depth of a safe_json_structure output (a finite JSON tree, no cycles possible).
"_replace_string_leaves", # bounded by the nesting depth of a safe_json_structure output (a finite JSON tree, no cycles possible).
"_sort_processed_sets", # bounded by the nesting depth of the log-record extra it walks (a finite JSON tree, no cycles possible).
"_content_prompt", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
"_responses_input_parts", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
"_normalized", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
"_call_ids", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
"scrub_json_strings", # max depth set (MAX_SCRUB_DEPTH); fails closed by returning "[Filtered]" for anything nested past the cap.
]