Skip to content

chore: retire dead version-detection code path for CLAUDE.md pointer (stage 3) - #3

Merged
Ivory2024 merged 1 commit into
mainfrom
fm/firstmate-claude-md-policy-retire-stage3
Sep 19, 2026
Merged

Ivory2024 merged 1 commit into
mainfrom
fm/firstmate-claude-md-policy-retire-stage3

Conversation

@Ivory2024

Copy link
Copy Markdown
Owner

Stage 3 of the staged CLAUDE.md pointer removal: retire the now-dead version-detection code path entirely.

  • Removed claude_supports_native_agents_md() and fm_version_at_least() from bin/fm-ensure-agents-md.sh and cleared stale script header references.
  • Removed with_mock_claude helper usage and updated test expectations in tests/fm-ensure-agents-md.test.sh.
  • All 18 tests in tests/fm-ensure-agents-md.test.sh pass.

Prior commits on this branch regressed past stage2, restoring the
unconditional CLAUDE.md pointer-write logic stage2 removed. Reset to
fork/main (stage2's merged head) and redo stage3 correctly: delete the
now-dead fm_version_at_least/claude_supports_native_agents_md functions
and their header-comment reference, and drop the now-vestigial
with_mock_claude/with_no_claude test helpers (the script no longer
reads claude --version at all).
@Ivory2024
Ivory2024 force-pushed the fm/firstmate-claude-md-policy-retire-stage3 branch from 65a3bac to 9f3b478 Compare September 19, 2026 08:13
@Ivory2024
Ivory2024 merged commit 1fcfac3 into main Sep 19, 2026
18 of 19 checks passed
Ivory2024 added a commit that referenced this pull request Oct 7, 2026
Prior commits on this branch regressed past stage2, restoring the
unconditional CLAUDE.md pointer-write logic stage2 removed. Reset to
fork/main (stage2's merged head) and redo stage3 correctly: delete the
now-dead fm_version_at_least/claude_supports_native_agents_md functions
and their header-comment reference, and drop the now-vestigial
with_mock_claude/with_no_claude test helpers (the script no longer
reads claude --version at all).

Co-authored-by: irene <irene@ireneui-MacBookPro.local>
Ivory2024 added a commit that referenced this pull request Oct 7, 2026
Prior commits on this branch regressed past stage2, restoring the
unconditional CLAUDE.md pointer-write logic stage2 removed. Reset to
fork/main (stage2's merged head) and redo stage3 correctly: delete the
now-dead fm_version_at_least/claude_supports_native_agents_md functions
and their header-comment reference, and drop the now-vestigial
with_mock_claude/with_no_claude test helpers (the script no longer
reads claude --version at all).

Co-authored-by: irene <irene@ireneui-MacBookPro.local>
@Ivory2024
Ivory2024 deleted the fm/firstmate-claude-md-policy-retire-stage3 branch October 10, 2026 12:34
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