graph TD
A[Start: Input Listing Text] --> B[Analyze Text]
B --> C[LLM Analysis #223]
C --> D{Suspicious Terms Found?}
D -->|Yes| E[Trademark Check #224]
D -->|No| H
E --> F{Trademark Confirmed?}
F -->|Yes| G[Mark Terms for Removal]
F -->|No| H[Text Rewrite #190]
G --> H
H --> I[Generate Safe Keywords]
I --> J[Create Structured Output]
J --> K[Final Compliance Check]
K --> L{Passes Check?}
L -->|Yes| M[End: Return Clean Text + Keywords]
L -->|No| H
subgraph Analysis Silo
B
C
D
end
subgraph Trademark Silo
E
F
G
end
subgraph Rewrite Silo
H
I
J
K
L
end