Skip to content

docs(claude): drop worktree restriction#3106

Merged
Yeraze merged 1 commit into
mainfrom
docs/remove-worktree-restriction
May 20, 2026
Merged

docs(claude): drop worktree restriction#3106
Yeraze merged 1 commit into
mainfrom
docs/remove-worktree-restriction

Conversation

@Yeraze

@Yeraze Yeraze commented May 20, 2026

Copy link
Copy Markdown
Owner

Summary

Worktrees are no longer a hazard, so the CLAUDE.md guidance that restricted them to docs/CI-only is removed. Core app work via worktree is now fine.

Test plan

  • CLAUDE.md no longer references a worktree policy (only the /worktree and /worktree-cleanup slash commands remain mentioned, which is expected).

🤖 Generated with Claude Code

The previous guidance forced core app work onto the live checkout and
restricted worktrees to docs/CI-only. Worktree workflows are no longer
problematic, so the carveout is removed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 20, 2026

Copy link
Copy Markdown

Claude finished @Yeraze's task —— View job


PR Review: Documentation Update

I've reviewed this pull request that removes worktree restrictions from the documentation.

Todo List

  • Read current CLAUDE.md file
  • Examine the specific changes made
  • Verify no worktree policy references remain
  • Assess code quality and best practices
  • Check for potential issues
  • Provide comprehensive review feedback

Review Findings

✅ Code Quality & Best Practices

  • Clean removal: The changes cleanly remove outdated policy without leaving orphaned references
  • Consistent formatting: The removal maintains proper markdown structure and formatting
  • Appropriate scope: Changes are surgical and focused only on the worktree policy

✅ Content Accuracy

  • Complete policy removal: Both the bullet point in "Hard rules" and the entire "Git Worktree Policy" section have been removed
  • Expected references remain: The /worktree and /worktree-cleanup slash commands are correctly retained in the Tools section (line 108), as these are operational tools rather than policy restrictions
  • No orphaned content: No dangling references or incomplete sentences remain

✅ Documentation Structure

  • Section flow: The removal of the "Git Worktree Policy" section maintains logical document flow
  • Cross-references: No broken internal links or references introduced
  • Formatting consistency: Markdown structure remains consistent throughout

✅ Security & Performance

  • No security implications: This is a documentation-only change with no code impact
  • No performance impact: Documentation changes don't affect runtime performance

✅ Test Coverage

  • Self-documenting test plan: The PR includes an appropriate test plan verifying the change
  • Verification method: The test plan correctly identifies that only slash command references should remain

Summary

This is a well-executed documentation update that cleanly removes outdated worktree restrictions. The change is:

  • Complete: Removes both policy references without leaving orphans
  • Precise: Retains appropriate tool references as expected
  • Safe: No code or configuration impact
  • Well-documented: Includes proper test plan for verification

Recommendation: ✅ Approve - This change is ready to merge.


@Yeraze Yeraze merged commit 196b1b8 into main May 20, 2026
19 checks passed
@Yeraze Yeraze deleted the docs/remove-worktree-restriction branch May 20, 2026 17:03
Yeraze added a commit that referenced this pull request May 20, 2026
* chore(release): bump version to 4.6.3

Five user-visible files bumped per the CLAUDE.md version recipe:
package.json, package-lock.json (regenerated), helm/meshmonitor/Chart.yaml,
desktop/src-tauri/tauri.conf.json, desktop/package.json. CLAUDE.md
banner line bumped to match.

CHANGELOG entry covers the five PRs since 4.6.2-1:
- #3105 unified tapback metadata fix
- #3106 docs: drop worktree restriction
- #3107 meshcore contact advType persistence
- #3108 MQTT channel permissions via channel_database
- #3109 hint banner Catppuccin restyle
- #3110 node.channel ingest + traceroute/neighbor channel gate

Companion blog post (docs/blog/2026-05-20-v4.6.3-permissions.md)
walks operators through the new Virtual Channel Permissions flow,
the map-visibility behavior change, and the floating-lines fix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(release): regenerate desktop/package-lock.json for 4.6.3

The desktop sub-project carries its own lockfile and the bump to 4.6.3
left it pinned to 4.6.1. The Windows Desktop CI job runs `npm install`
without `--legacy-peer-deps` and fails on the package.json /
package-lock.json version mismatch. Regenerate to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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