feat(fixtures): introduce deterministic scenario bundles - #78
Merged
knytcomics-ui merged 2 commits intoAug 18, 2026
Conversation
Adds versioned scenario bundles for deterministic, offline, multi-transaction attack workflows. Scenarios reference existing destinations/transactions by stable id and declare ordered steps with machine-checkable expected warnings and state transitions, replayed via a new CLI command. Existing point fixtures (destinations.json, scores.json, transactions/*.xdr) are unchanged and remain directly loadable by downstream consumers. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Two lines were committed with mojibake (stray backslashes and a mangled em dash), making the script fail with a SyntaxError and breaking the CI secret-check job. Restores the intended template-literal error message and the em-dash log line. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
5 tasks
Contributor
|
wonderful work |
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.
Closes #68
Summary
Introduces versioned scenario bundles for deterministic multi-transaction attack workflows.
Changes
npm run replay -- scenarios/<file>.json), synthetic-only, no networkscenarios/phishing-drain.json)Verification
Closes #68