Skip to content

Verify repos at completion, suppress passthru output#51

Merged
jonathonbyrdziak merged 1 commit intomasterfrom
fix/suppress-output-verify-repos
Mar 21, 2026
Merged

Verify repos at completion, suppress passthru output#51
jonathonbyrdziak merged 1 commit intomasterfrom
fix/suppress-output-verify-repos

Conversation

@jonathonbyrdziak
Copy link
Copy Markdown
Contributor

Summary

  • protocol init now verifies both primary repo and config repo are cloned at the completion: label — covers both fresh deploy and re-entry (user says "no" to changing deployment)
  • Shell::passthruShell::run in ComposerInstall, GitPull, and ProtocolInit git clone calls so output is captured instead of dumped to screen
  • When subcommands are called with NullOutput from ProtocolStart, their output is now properly suppressed (no more composer install dump)

Test plan

  • Run protocol init → decline to change deployment → verify repos are checked before protocol start
  • Run protocol init fresh → verify both repos clone silently with status messages
  • Run protocol start → verify no composer output leaks through stages
  • Verify StageRunner shows clean single-line stages without noise

🤖 Generated with Claude Code

- protocol init now verifies primary repo and config repo are cloned
  at the completion label, covering both fresh deploy and re-entry paths
- Moved config repo clone from pre-completion to completion block so
  it runs regardless of which path was taken
- Changed Shell::passthru to Shell::run in ComposerInstall, GitPull,
  and ProtocolInit git clone calls so output is captured instead of
  dumped to screen (respects NullOutput when called from ProtocolStart)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jonathonbyrdziak jonathonbyrdziak merged commit 1e6d522 into master Mar 21, 2026
6 of 8 checks passed
@jonathonbyrdziak jonathonbyrdziak deleted the fix/suppress-output-verify-repos branch March 21, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant