feat: deliver portable incident evidence workflow at scale - #27
Merged
Conversation
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.
Operator outcome
Operators can capture or import non-NSL telemetry, investigate and compare bounded incidents, verify received evidence in the application, and process the published 200,000-record replay tier without freezing or replacing the active workspace when work is cancelled.
Scope
Intentional non-goals: protocol auto-detection, arbitrary JavaScript plug-ins, RF demodulation or radio control, full-session evidence export above existing artifact row limits, and signed source authenticity.
Verification
npm run checkpasses locally.Results:
Compatibility and evidence
[startUs, endUs)).Compatibility notes: v1 and v2 session imports remain unchanged. IndexedDB v1 text and v2 Blob records remain readable; new saves use v3 canonical bytes. Decoder, schema, pack, and runtime identities remain exact throughout replay and bundle verification. Version 3 raw and decoded artifacts remain limited to 100,000 rows, so larger replays require a narrower incident selection.
Telemetry safety and provenance
Fixture provenance:
npm run fixture:largerunsscripts/large-session-corpus.mjsto stream a deterministic synthetic 200,000-record v1 session into ignoredoutput/large-session/.Visual evidence
Documentation and migration
CHANGELOG.mdunder[Unreleased]is updated.The immutable v0.1.0 release note was not changed because these features have not been tagged as v0.1.0.
Reviewer focus
Please focus on worker chunk hydration and post-clone immutability, cancellation preserving the active workspace, exact canonical-byte persistence, maximum-tier memory budgets, and the distinction between the 200,000-record replay limit and 100,000-row evidence artifact limit.