Skip to content

Compact worktree cleanup operator summaries#813

Merged
chubes4 merged 2 commits into
mainfrom
fix/cleanup-compact-operator-summaries-809
Jun 26, 2026
Merged

Compact worktree cleanup operator summaries#813
chubes4 merged 2 commits into
mainfrom
fix/cleanup-compact-operator-summaries-809

Conversation

@chubes4

@chubes4 chubes4 commented Jun 26, 2026

Copy link
Copy Markdown
Member

Summary

  • Use compact JSON rendering for active/no-signal report/apply worktree cleanup commands unless --verbose is supplied.
  • Route bounded cleanup-eligible apply JSON through the shared compact formatter for consistent summary-first output.
  • Extend compact cleanup output to count active/no-signal row arrays and surface pagination next commands.

Fixes #809

Testing

  • php tests/workspace-compact-output.php
  • php tests/smoke-cleanup-eligible-drain.php
  • php tests/artifact-cleanup-plan-output-contract.php
  • php tests/cleanup-remaining-work-summary.php
  • php tests/bounded-cleanup-processed-candidates.php
  • php -l inc/Cli/WorkspaceCompactOutput.php
  • php -l inc/Cli/Commands/WorkspaceCommand.php
  • for test in tests/*.php; do php "$test"; done (one unrelated existing failure: tests/worktree-metadata-reconciliation-finalizer-contract.php)

AI assistance

  • AI assistance: Yes
  • Tool(s): gpt-5.5 via OpenCode
  • Used for: Inspecting cleanup output paths, implementing compact JSON routing, adding focused test coverage, and running verification.

@homeboy-ci

homeboy-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
Deep dive: homeboy lint data-machine-code --changed-since 8c4fa27

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/28209685270

Test

test — passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine-code --from lint --write
ℹ️ Collect coverage: homeboy test data-machine-code --coverage
ℹ️ Save test baseline: homeboy test data-machine-code --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine-code --changed-since 8c4fa27

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/28209685270

Audit

audit — passed

  • audit — 11 finding(s)
  • Total: 11 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since 8c4fa27

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/28209685270
Tooling versions
  • Homeboy CLI: homeboy 0.261.0+6ac880c96e78+cfc6881
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 29799d56
  • Action: unknown@unknown

@chubes4
chubes4 merged commit 369f6b9 into main Jun 26, 2026
5 checks passed
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.

Improve compact operator summaries for large cleanup runs

1 participant