feat(evidence): boruna evidence inspect shows step output content#67
Merged
Conversation
Extends `boruna evidence inspect` to read and display step output files from the outputs/ directory for non-encrypted bundles. Text mode shows truncated previews (500 chars); --json mode includes full parsed content under a "step_outputs" key. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Bench compare Threshold for regression: ≥ 10% slower mean.
✅ No benchmark regressed past threshold. |
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
boruna evidence inspectto readoutputs/<step_id>/result.jsonfiles for plaintext (non-encrypted) bundles=== Step Outputs ===section with[<step_id>] <json>entries, truncated to 500 chars with... (truncated)suffix--jsonmode: adds"step_outputs"key to the JSON object (map of step_id → parsedserde_json::Value; invalid JSON falls back to{"raw": "..."})--decryptnow hint:"pass --decrypt --bundle-encryption-key <hex> to view step outputs"instead of just printing the algorithm infoTest plan
inspect_shows_step_outputs_for_plaintext_bundle— creates minimal bundle dir withoutputs/step_1/result.json, asserts step_id and value appear in stdoutinspect_json_includes_step_outputs_for_plaintext_bundle— same bundle with--json, assertsstep_outputs.step_1.value == 42boruna-clitests continue to pass (includinginspect_does_not_leak_plaintext_without_decrypt_flagandinspect_decrypt_reveals_step_outputs_with_correct_kek)🤖 Generated with Claude Code