Skip to content

Bound worktree metadata reconciliation#338

Merged
chubes4 merged 1 commit into
mainfrom
fix/333-334-bounded-reconcile
May 11, 2026
Merged

Bound worktree metadata reconciliation#338
chubes4 merged 1 commit into
mainfrom
fix/333-334-bounded-reconcile

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 11, 2026

Summary

  • Adds --limit/--offset support for workspace worktree reconcile-metadata dry-runs so large inventories can be reviewed in bounded pages.
  • Returns pagination/evidence metadata while preserving the existing full dry-run behavior when no bounds are supplied.
  • Improves metadata repair visibility by merging stored lifecycle option metadata with inventory fallback data.

Closes #333.
Closes #334.

Testing

  • php tests/smoke-worktree-metadata-reconcile.php
  • php -l inc/Workspace/Workspace.php
  • php -l inc/Workspace/WorktreeContextInjector.php
  • php -l inc/Cli/Commands/WorkspaceCommand.php
  • php -l inc/Abilities/WorkspaceAbilities.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted and implemented bounded reconciliation changes and smoke coverage; Chris retains review and merge responsibility.

@chubes4 chubes4 merged commit e26daee into main May 11, 2026
@chubes4 chubes4 deleted the fix/333-334-bounded-reconcile branch May 11, 2026 14:11
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.

Repair and prevent missing lifecycle metadata on worktrees Scale worktree cleanup and metadata reconciliation for large inventories

1 participant