# Semantic String Debt LLM Audit Findings

- result chunks: `1`
- findings: `4`

## `prompts/_base/shot_dependency_t2i/7.202605151200/system.md`

- `68` **P1 / semantic_string_judgment**
  - evidence: staging.gaze_target 기반 immobilized mode 산출
  - why: The gaze_target field is being overloaded to carry physical state information (immobilized mode). This is a brittle semantic channel where a field named for one purpose (gaze) is used to infer a completely different physical state for prompt sanitization.
  - fix: Introduce a dedicated physical_state or mobility_status field in the schema instead of inferring state from gaze targets.

- `156-157` **P1 / llm_closed_list_instruction**
  - evidence: human / person / character / body / figure / man / woman / detective / prisoner / child / person silhouette
  - why: This is a closed list of phrases used as a semantic classifier to define what constitutes a 'person' for the purpose of fail-fast validation. It forces the LLM to match open-world descriptions against a brittle list to enforce a non-person constraint on labels.
  - fix: Use a structured entity_type enum (e.g., PERSON, PROP, ENVIRONMENT) and have the LLM categorize entities rather than relying on keyword exclusion in natural language labels.

- `161` **P2 / schema_or_enum_drift**
  - evidence: immobilized_character / character / pose 등 enum 외 값 절대 금지
  - why: The prompt explicitly lists forbidden enum values that likely exist in other parts of the pipeline or previous versions, indicating that the 'kind' field's enum is not centrally enforced or synchronized.
  - fix: Ensure the kind enum is centrally defined in the SOT schema and shared across all pipeline steps to prevent drift.

- `169` **P2 / scenario_dependent_prompt**
  - evidence: the same small reddish mark on the wrist
  - why: This is a highly specific visual detail (a 'reddish mark on the wrist') used as a concrete example. Such specific scenario-dependent props can bias the LLM towards forensic or injury-related scenarios in arbitrary future generations.
  - fix: Replace specific scenario details with generic placeholders like 'a unique texture detail' or 'a specific marking on the object'.
