Repository navigation
feat(roadmap): Cap and mask the output of a planner run - #5761
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 15, 2026 00:01
dan-petty
pushed a commit
that referenced
this pull request
Nov 15, 2026
🤖 I have created a release *beep* *boop* --- ## [0.146.0](v0.145.0...v0.146.0) (2026-11-15) ### Features * **roadmap:** Cap and mask the output of a planner run ([#5761](#5761)) ([a1280aa](a1280aa)) * **roadmap:** Hold a prompt change for its live scores ([#5758](#5758)) ([183bcdc](183bcdc)) * **roadmap:** Pass the declared dependencies to the stage request ([#5763](#5763)) ([19f15f2](19f15f2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.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.
A command that the planner runs can print more text than a plan holds, and it can print a credential. ADR 0018 requires a cap of 8 KiB and 120 lines and a mask. New module src/devops_cli/roadmap/run_output.py masks the whole text with mask_secrets before it cuts, keeps the first whole lines that fit the caps with the trailer, and appends [truncated: N bytes and M lines omitted] when it cuts. quote_run puts the text in a fence one backtick longer than the longest run, with the command line and the exit code, for the Feasibility section. The mask runs before the cut, so a private-key block past the cap is masked whole.
Closes #4006
Change:
openspec/changes/archive/2026-11-14-4006-cap-and-mask-the-run-output/