| # Copyright 2026 The Fuchsia Authors | |
| # | |
| # Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0 | |
| # <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT | |
| # license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. | |
| # This file may not be copied, modified, or distributed except according to | |
| # those terms. | |
| """Trusted defender harness and mechanism dedup for Anneal red-teaming.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| _CI_DIR = Path(__file__).resolve().parents[1] | |
| if str(_CI_DIR) not in sys.path: | |
| sys.path.insert(0, str(_CI_DIR)) |