Skip to content

feat(roadmap): Cap and mask the output of a planner run - #5761

Merged
dan-petty merged 3 commits into
mainfrom
feat/4006-cap-and-mask-the-planner-run-output
Nov 15, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/4006-cap-and-mask-the-planner-run-output

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

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/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 14, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 00:01
@dan-petty
dan-petty merged commit a1280aa into main Nov 15, 2026
23 checks passed
@dan-petty
dan-petty deleted the feat/4006-cap-and-mask-the-planner-run-output branch November 15, 2026 00:04
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): output truncation and secret masking for planner run tool

1 participant