Skip to content

feat(worktree): require managed task trackers#942

Merged
chubes4 merged 2 commits into
mainfrom
feat/932-required-trackers
Jul 21, 2026
Merged

feat(worktree): require managed task trackers#942
chubes4 merged 2 commits into
mainfrom
feat/932-required-trackers

Conversation

@chubes4

@chubes4 chubes4 commented Jul 21, 2026

Copy link
Copy Markdown
Member

Closes #932

Summary

  • require valid tracker metadata by default for agent and machine worktree creation
  • remove the agent-tool opt-out while retaining explicit operator-local CLI creation
  • persist explicit or environment-projected tracker metadata through local and remote workspace paths
  • require code-task worktrees to carry their source tracker

How to test

  1. Run php tests/worktree-add-lifecycle.php.
  2. Run php tests/worktree-add-tool-tracker-contract.php.
  3. Run git diff --check origin/main...HEAD.

Compatibility

Manual CLI worktree creation remains operator-local unless --require-task-tracker is supplied. Agent tools and direct ability calls now fail closed by default. Trusted callers can explicitly pass require_task_tracker=false; internal CodeTaskWorkspaceInterface implementations receive tracker arguments.

@chubes4
chubes4 merged commit 701a94c into main Jul 21, 2026
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.

Require tracker metadata for managed worktrees

1 participant