Skip to content

Fix cleanup planning triage#634

Merged
chubes4 merged 2 commits into
mainfrom
fix-cleanup-triage-papercuts
Jun 12, 2026
Merged

Fix cleanup planning triage#634
chubes4 merged 2 commits into
mainfrom
fix-cleanup-triage-papercuts

Conversation

@chubes4

@chubes4 chubes4 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Make workspace cleanup plan --mode=retention freeze a bounded worktree-inventory plan by default instead of starting with an exhaustive artifact scan.
  • Keep artifact cleanup planning explicit through --mode=artifacts or --include-artifacts for retention plans.
  • Add workspace list --summary for compact cleanup triage counts on large workspaces.

Fixes #631.
Fixes #632.
Fixes #633.

Verification

  • php -l inc/Cli/Commands/WorkspaceCommand.php
  • php -l tests/smoke-worktree-cleanup-cli.php
  • php tests/smoke-worktree-cleanup-cli.php
  • php tests/smoke-cleanup-run-storage.php
  • php tests/smoke-workspace-list-repo-filter.php

Note

  • php tests/smoke-worktree-cleanup-chunks.php still fails one repaired-metadata expectation (expected no_merge_signal, actual plan_mismatch). This appears unrelated to the CLI planning/list changes in this PR.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Investigating the cleanup/list CLI path, drafting the implementation and focused smoke coverage, and running targeted verification. Chris remains responsible for review and merge.

@homeboy-ci

homeboy-ci Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since 4b0c630

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/27386977470

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 4b0c630

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/27386977470

Audit

audit — passed

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

Deep dive: homeboy audit data-machine-code --changed-since 4b0c630

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/27386977470
Tooling versions
  • Homeboy CLI: homeboy 0.228.13+ff35df0
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 9b6890d1
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 039bd50 into main Jun 12, 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

1 participant