Skip to content

chore: drop the tolerated-legacy CLAUDE.md patterns from clone and regroup (#494) - #495

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/drop-legacy-claude-md-patterns
Oct 7, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/drop-legacy-claude-md-patterns

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Drops the tolerated-legacy CLAUDE.md patterns that PyAutoBrain#493 kept while the assistants still tracked scripts/CLAUDE.md pointers. The PyAutoMind#482 session_hook_propagate removal waves (root run 37627261984, nested run 37631942996) have since removed every CLAUDE.md pointer: the four assistants track no file named CLAUDE.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 root CLAUDE.md entry from the rewritten local config files and narrow the bare-repo-name rewrite to AGENTS.md.
  • tests/test_memory_surfaces.py — the "adapter never displaces wiki/AGENTS.md" guard now plants a generic wiki/GEMINI.md adapter, 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.md or scripts/CLAUDE.md file now fails the clone boundary as unclassified. That is the intended effect, and no reference tracks one today.

Test Plan

  • Brain suite in a clean shell (env -u PYTHONPATH python3 -m pytest -q -n auto): 1291 passed
  • check_boundary.py from this branch against the canonical assistant checkouts, each level with origin/main:
    • autolens_assistant: boundary complete (generic 74 · domain 582 · mixed 89), exit 0
    • autofit_assistant: boundary complete (generic 138 · domain 58 · mixed 21), exit 0
    • autogalaxy_assistant: not a clone reference, skipped, exit 0
    • autocti_assistant: not a clone reference, skipped, exit 0
  • Control: a scratch clone of autofit_assistant with a committed scripts/CLAUDE.md gives exit 1 (unclassified), so the pattern really is gone
  • git grep -in "claude\.md" returns nothing
Full API Changes (for automation & release notes)

Changed Behaviour

  • agents/conductors/clone/_clone.py framework patterns no longer include CLAUDE.md / scripts/CLAUDE.md. Those files are now unclassified, so the clone boundary and the birth partition refuse them.
  • bin/regroup_workspace.py no longer rewrites paths in a workspace-root CLAUDE.md.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QmiavJnNzmKb6EJmgYATfx

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
@Jammy2211
Jammy2211 merged commit 766c006 into main Oct 7, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/drop-legacy-claude-md-patterns branch October 7, 2026 14:10
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.

chore: drop legacy CLAUDE.md patterns from clone and regroup

1 participant