docs(ops): paper-validation launch runbook + ADR-031 local run model (S5-004)#94
Merged
Merged
Conversation
… (S5-004) Judge fix-now items pre-merge: filter IHttpClientFactory LogicalHandler Information logs (they echo the token-bearing Discord webhook URL) with a pinned regression test; clarify the two Claude key slots in the settings example; runbook polish — winter-first preflight deadline, DST column note, embed-color legend, concrete report-title example, observable-based triage rows incl. TWS Sunday restart and crash-vs-never-started, AlertDropped dual signature, curl.exe/absolute-path commands, gate-date qualification. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the operating runbook for the 12-week SANDBOX paper-validation run and records ADR-031 (local run model). Second commit applies all judge fix-now items, including one security code change folded in per judge scope ruling.
Runbook (
docs/paper-validation-runbook.md)customDimensions.AlertDropped == "true"structured /AlertDropped=Truerendered), TWS Sunday weekly-restart row, gateway degrade = expected behaviorDirectApiFallbackEnabled=falsestays false, stops alert-only, no risk-parameter changes mid-runADR-031
Local run model decision recorded in
DECISIONS.mdwith alternatives (Azure-hosted worker rejected: cannot reach loopback-only TWS/gateway).Security fold-in (judge scope ruling — gates tomorrow's run start)
Program.csaddsbuilder.AddFilter("System.Net.Http.HttpClient", LogLevel.Warning): IHttpClientFactory's LogicalHandler logs the full request URI at Information on every send, and for the Discord named clients that URI is the token-bearing webhook URL. Regression test pins the category-filter behavior (Information disabled forSystem.Net.Http.HttpClient.*categories, Warning+ preserved, app categories unaffected).Also:
local.settings.json.examplenow distinguishes the two Claude key slots (metered fallback placeholder vs gateway bearer from Bitwarden "ClimbOn Co").Test plan
dotnet build TradingSystem.sln— 0 warnings, 0 errorsdotnet test TradingSystem.sln— 590/590 passed (4 new logging-filter tests)DiscordRiskAlertServicepath (HTTP 204)🤖 Generated with Claude Code