[Feature] Command Output Capture #57

Closed
opened 2026-02-10 15:58:51 +00:00 by chihlasm · 0 comments
chihlasm commented 2026-02-10 15:58:51 +00:00 (Migrated from github.com)

Summary

Action nodes (which show commands to run) get an optional "Paste Output" text area. Engineers run commands, copy output, paste it in. Output is captured in session data and included in exports.

Why

  • Engineers already run commands and read output during troubleshooting
  • Today the output is lost — exports say "ran this command" but not what it returned
  • Captures evidence that proves work was done and documents the state of the system
  • Pairs with scratchpad for complete evidence capture

Export Output Example

> Ran: Get-Service -Name Spooler
> Output:
>   Status: Stopped
>   Name: Spooler
> Decision: Service was stopped, proceeded to restart

Implementation Notes

  • Add optional command_output field to session decision JSONB
  • Add collapsible text area below commands on action nodes in TreeNavigationPage
  • Include in export with code formatting (monospace/code block)
  • Future: syntax highlighting for PowerShell, JSON output formats
  • Future: image paste for screenshots of GUI-based evidence

Acceptance Criteria

  • Collapsible "Paste Output" textarea on action nodes with commands
  • Command output saved to session decision record
  • Output included in all export formats with code formatting
  • Output visible in session detail/review page

Sources

  • docs/plans/2026-02-04-feature-ideas-brainstorm.md — Idea 3: Command Output Capture

Priority

Do Next — small effort, enriches every export

## Summary Action nodes (which show commands to run) get an optional "Paste Output" text area. Engineers run commands, copy output, paste it in. Output is captured in session data and included in exports. ## Why - Engineers already run commands and read output during troubleshooting - Today the output is lost — exports say "ran this command" but not what it returned - Captures evidence that proves work was done and documents the state of the system - Pairs with scratchpad for complete evidence capture ## Export Output Example ``` > Ran: Get-Service -Name Spooler > Output: > Status: Stopped > Name: Spooler > Decision: Service was stopped, proceeded to restart ``` ## Implementation Notes - Add optional `command_output` field to session decision JSONB - Add collapsible text area below commands on action nodes in TreeNavigationPage - Include in export with code formatting (monospace/code block) - Future: syntax highlighting for PowerShell, JSON output formats - Future: image paste for screenshots of GUI-based evidence ## Acceptance Criteria - [ ] Collapsible "Paste Output" textarea on action nodes with commands - [ ] Command output saved to session decision record - [ ] Output included in all export formats with code formatting - [ ] Output visible in session detail/review page ## Sources - `docs/plans/2026-02-04-feature-ideas-brainstorm.md` — Idea 3: Command Output Capture ## Priority **Do Next** — small effort, enriches every export
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: chihlasm/resolutionflow#57