[#335] [backend] Deterministic incident replay framework for full quote decision graph#2
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Copilot
AI
changed the title
[WIP] [335] [backend] Deterministic incident replay framework for full quote decision graph
[#335] [backend] Deterministic incident replay framework for full quote decision graph
May 30, 2026
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.
This PR adds deterministic incident replay support to quote generation by capturing a full decision graph and emitting a replay artifact that can be used for forensic debugging and regression checks. It also introduces redaction at artifact level so persisted replay data does not expose sensitive identifiers.
Replay data model in quote response
decision_graphandreplay_artifactfields toQuoteResponse.QuoteDecisionGraph,QuoteDecisionNode,QuoteReplayArtifact,QuoteReplayResult, etc.) to represent inputs, intermediate stages, and final selection deterministically.Deterministic replay in quote pipeline
find_best_priceoutput to include both captured graph and replay artifact.matches_production.Sensitive-field redaction
source,venue_ref, asset identifiers, selected source).Operator runbook
docs/architecture/INCIDENT_REPLAY_RUNBOOK.mdwith triage flow for collecting, validating, and using replay artifacts during incident response.Targeted behavior coverage
Original prompt
StellarRoute#335 <title>[backend] Deterministic incident replay framework for full quote decision graph</title> https://github.com/StellarRoute/StellarRoute fix/{{issue.number}}-{{issue.title | slugify}} Closes {{issue.number}} [{{issue.number}}] {{issue.title}} You have been assigned to resolve the GitHub issues defined in the block above. All values derived from the issue (branch name, PR title, closing keyword) are defined in the block and must be used consistently throughout.<success_criteria>
The task is ONLY complete when ALL of the following are true simultaneously:
</success_criteria>
<behavioral_constraints>
Never ask the user for clarification at any point
Never respond...
Created from VS Code.