Skip to content

coldbox ai doctor and coldbox ai uninstall check for .ai directory but coldbox ai install uses .agents #60

@edyionescu

Description

@edyionescu

What are the steps to reproduce this issue?

  1. Run coldbox ai install in your project root - this installs AI integration files into the .agents folder.
  2. Run coldbox ai doctor to check the health of the AI integration.
  3. Optionally, run coldbox ai uninstall to remove the AI integration.

What happens?

coldbox ai doctor reports a critical error "AI integration not installed. Run 'coldbox ai install' first." even though the installation completed successfully and all files exist under .agents.

coldbox ai uninstall reports "No AI integration found in this project." for the same reason.

However, if an empty .ai folder is manually created in the project root, both coldbox ai doctor and coldbox ai uninstall behave correctly, the doctor reports "Good" status and uninstall shows the expected confirmation warning.

What were you expecting to happen?

coldbox ai doctor should detect the AI integration installed in the .agents folder and report a healthy status. coldbox ai uninstall should detect and offer to remove the .agents folder.

Any logs, error output, etc?

coldbox ai install output:

✅ Installed 104 skill(s).
SUCCESS  🍭 AI integration installed successfully!
INFO  Guidelines installed: 2
INFO  Skills installed: 104
INFO  Agents configured: claude
INFO  MCP Servers configured: 10

coldbox ai doctor output after successful install:

❌ Errors (1)
    • AI integration not installed. Run 'coldbox ai install' first.
✓ No Warnings

Overall Status  🔴 Critical
Errors          1
Warnings        0
Recommendations 0

ERROR  Your AI integration has critical errors that must be fixed.

coldbox ai doctor output after manually creating an empty .ai folder:

✓ No Errors
✓ No Warnings

Overall Status  🟢 Good
Errors          0
Warnings        0
Recommendations 0

SUCCESS  ✓ Your AI integration is healthy!

What versions are you using?

Operating System: Windows 11 Pro 25H2
Package Version: 8.11.0+29

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions