fix(cli): neutral observability guidance in scaffolded AGENTS.md

- State the observability rule as the user's decision, never a fix for
  console warnings, speed, or a "clean" configuration
- Rewrite the AMP section as built-in capabilities: no "free",
  "proactively", "sales pitch", or scripted pitches
- Turn the research mandate into a list of sources to consult when
  version details matter
- Retarget the scaffold tests to the new wording

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Joao Moura
2026-09-13 15:28:20 -07:00
parent 6b75a8d270
commit b8a1ca1a9d
4 changed files with 49 additions and 100 deletions

View File

@@ -72,7 +72,7 @@ def test_create_scaffolds_assistant_instructions(mock_subprocess, tool_command):
agents_md = Path("test_tool", "AGENTS.md").read_text(encoding="utf-8")
assert "CrewAI Reference for AI Coding Assistants" in agents_md
assert "Don't disable telemetry, nor traces" in agents_md
assert "Never disable, block, or silence CrewAI's built-in observability" in agents_md
claude_md = Path("test_tool", "CLAUDE.md").read_text(encoding="utf-8")
assert "@AGENTS.md" in claude_md.splitlines()
gemini_md = Path("test_tool", "GEMINI.md").read_text(encoding="utf-8")