From 652c8cb5a703ad253baf541df1675a398e32c66c Mon Sep 17 00:00:00 2001 From: didericis Date: Sat, 6 Jun 2026 22:10:20 -0400 Subject: [PATCH] ci(prd): rename PRD to prd-new placeholder per new convention --- bot_bottle/egress_addon.py | 2 +- ...ended-outbound-scan.md => prd-new-extended-outbound-scan.md} | 2 +- tests/unit/test_egress_addon_core.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename docs/prds/{0055-extended-outbound-scan.md => prd-new-extended-outbound-scan.md} (99%) diff --git a/bot_bottle/egress_addon.py b/bot_bottle/egress_addon.py index 8f561aa..2bfaa1a 100644 --- a/bot_bottle/egress_addon.py +++ b/bot_bottle/egress_addon.py @@ -251,7 +251,7 @@ class EgressAddon: """ if flow.websocket is None: # type: ignore[union-attr] return - route = match_route(self.routes, flow.request.pretty_host) + route = match_route(self.config.routes, flow.request.pretty_host) if route is None: return message = flow.websocket.messages[-1] # type: ignore[union-attr] diff --git a/docs/prds/0055-extended-outbound-scan.md b/docs/prds/prd-new-extended-outbound-scan.md similarity index 99% rename from docs/prds/0055-extended-outbound-scan.md rename to docs/prds/prd-new-extended-outbound-scan.md index e802897..1646130 100644 --- a/docs/prds/0055-extended-outbound-scan.md +++ b/docs/prds/prd-new-extended-outbound-scan.md @@ -1,4 +1,4 @@ -# PRD 0055: Extended outbound DLP scan surfaces +# PRD prd-new: Extended outbound DLP scan surfaces - **Status:** Active - **Author:** claude diff --git a/tests/unit/test_egress_addon_core.py b/tests/unit/test_egress_addon_core.py index fa4f7f4..2c11486 100644 --- a/tests/unit/test_egress_addon_core.py +++ b/tests/unit/test_egress_addon_core.py @@ -606,7 +606,7 @@ class TestDecisionDefaults(unittest.TestCase): # --- scan_outbound ------------------------------------------------------- -class TestScanOutbound(unittest.TestCase): +class TestScanOutboundBody(unittest.TestCase): def test_body_token_patterns_still_block(self): result = scan_outbound( Route(host="chatgpt.com"),