After native MCP configuration and Firecrawl skill installation both succeed, the CLI:
writes a versioned managed block to the project-local CLAUDE.md or AGENTS.md;
adds the tested routing prefix to installed Firecrawl skill descriptions;
preserves unrelated user-authored instructions;
never writes a machine-global CLAUDE.md or AGENTS.md;
does not deliver router state from package installation, init, direct setup mcp, MCP-only setup, skills-only setup, keyless setup, or unsupported harnesses.
This PR depends on #155 for secure native bearer MCP configuration.
User control and safety
Default-on only inside the explicit firecrawl launch configuration journey.
Opt out without changing routing state: --no-router-card.
Remove the project card and exact Firecrawl skill prefixes: --remove-router-card.
Project resolution prefers --project, then the containing Git worktree, then a safe current directory.
Filesystem-root, home-directory, symlink, malformed-marker, and duplicate-marker writes fail closed.
Writes are atomic, idempotent, preserve file mode and unrelated bytes, and refresh the skill lock after removal.
Experiment conclusion
EXP-029 reproduced the accepted combined state with native bearer MCP configuration and no forced Claude config flags.
Base automatically changed from
fix/secure-hosted-mcp-setup to
mainJuly 25, 2026 12:53
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
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
Configures the experiment-validated Firecrawl routing state only during an authenticated first-use firecrawl launch journey for Claude Code and Codex.
The exact journey is:
After native MCP configuration and Firecrawl skill installation both succeed, the CLI:
This PR depends on #155 for secure native bearer MCP configuration.
User control and safety
Experiment conclusion
EXP-029 reproduced the accepted combined state with native bearer MCP configuration and no forced Claude config flags.
Raw traces and judge outputs remain in Convex; no raw experiment results are committed.
Claim boundary: post-approval, authenticated launch state. The experiment does not measure human discovery or consent conversion.
Verification