Documentation
¶
Overview ¶
Command scope-latency-compare is the T112a merge-base gate for Spec 105 FR-011: it compares the administrator p95 latency for each of the four scope-hardening operations (retrieve_tools, read_cache, prompts/list, tools/list) between two revisions and fails if HEAD regressed by more than max(10%, 5ms) on any operation, or if either side is missing a measurement for any operation.
Input: two files, each produced by internal/server's scope_latency_test.go (via SCOPE_LATENCY_RESULTS_FILE) as newline-separated "operation=nanoseconds" pairs. No third-party dependency — stdlib only, per research D10.
Usage: scope-latency-compare <merge-base-results-file> <head-results-file>
Click to show internal directories.
Click to hide internal directories.