Repository navigation
chore: drop the tolerated-legacy CLAUDE.md patterns from clone and regroup (#494) - #495
Merged
Merged
Conversation
The PyAutoMind#482 removal waves retired every CLAUDE.md pointer, so the assistants track no CLAUDE.md and the workspace root has none. Drop the "CLAUDE.md"/"scripts/CLAUDE.md" framework patterns from the clone profiles, the root CLAUDE.md entry from regroup_workspace's config rewrite, and re-point the Memory adapter test at a generic per-tool adapter name. No file in PyAutoBrain names CLAUDE.md any more. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QmiavJnNzmKb6EJmgYATfx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Drops the tolerated-legacy
CLAUDE.mdpatterns that PyAutoBrain#493 kept while the assistants still trackedscripts/CLAUDE.mdpointers. The PyAutoMind#482session_hook_propagateremoval waves (root run 37627261984, nested run 37631942996) have since removed every CLAUDE.md pointer: the four assistants track no file namedCLAUDE.md, and neither does the workspace root.agents/conductors/clone/_clone.py— remove"CLAUDE.md"and"scripts/CLAUDE.md"(and their "legacy per-tool pointer" comment) from the shared framework patterns.bin/regroup_workspace.py— remove the rootCLAUDE.mdentry from the rewritten local config files and narrow the bare-repo-name rewrite toAGENTS.md.tests/test_memory_surfaces.py— the "adapter never displaceswiki/AGENTS.md" guard now plants a genericwiki/GEMINI.mdadapter, not a CLAUDE.md.After this PR,
git grep -i "claude\.md"in PyAutoBrain returns nothing. This completes the "no file in PyAutoBrain names CLAUDE.md" done-when of PyAutoBrain#492.Closes #494
API Changes
None, internal changes only. A reference assistant that tracks a
CLAUDE.mdorscripts/CLAUDE.mdfile now fails the clone boundary as unclassified. That is the intended effect, and no reference tracks one today.Test Plan
env -u PYTHONPATH python3 -m pytest -q -n auto): 1291 passedcheck_boundary.pyfrom this branch against the canonical assistant checkouts, each level withorigin/main:autolens_assistant: boundary complete (generic 74 · domain 582 · mixed 89), exit 0autofit_assistant: boundary complete (generic 138 · domain 58 · mixed 21), exit 0autogalaxy_assistant: not a clone reference, skipped, exit 0autocti_assistant: not a clone reference, skipped, exit 0autofit_assistantwith a committedscripts/CLAUDE.mdgives exit 1 (unclassified), so the pattern really is gonegit grep -in "claude\.md"returns nothingFull API Changes (for automation & release notes)
Changed Behaviour
agents/conductors/clone/_clone.pyframework patterns no longer includeCLAUDE.md/scripts/CLAUDE.md. Those files are now unclassified, so the clone boundary and the birth partition refuse them.bin/regroup_workspace.pyno longer rewrites paths in a workspace-rootCLAUDE.md.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QmiavJnNzmKb6EJmgYATfx