fix(process): normalize ports that end a sentence

Contextual port normalization refused any port followed by a period, so
common log lines such as "Listening on port: 8080." or
"http://localhost:8080." kept their run-specific port and equivalent
captures compared as changed. Accept a sentence-ending period while
still refusing a period that continues a decimal, version, or host name,
and bump the committed port-normalization version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kaoru0822
2026-10-09 14:06:41 +00:00
co-authored by Claude Opus 5.5
parent 33bf585185
commit db98a51dd1
5 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export const processComparisonContract = (
limits: scenario.limits,
normalization: scenario.normalization,
...(scenario.normalization.ports
? { port_normalization_version: "contextual-endpoints-v1" }
? { port_normalization_version: "contextual-endpoints-v2" }
: {}),
});