Skip to content

feat(plugin): add standalone readiness diagnostics to health check (#1215)#1221

Merged
JeremyDev87 merged 1 commit into
masterfrom
feat/1215-standalone-readiness-health-check
Apr 3, 2026
Merged

feat(plugin): add standalone readiness diagnostics to health check (#1215)#1221
JeremyDev87 merged 1 commit into
masterfrom
feat/1215-standalone-readiness-health-check

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Added check_mcp_connection() — detects codingbuddy entry in mcp.json (PASS/WARN)
  • Added check_runtime_mode() — reports mcp or standalone via runtime_mode.detect_runtime_mode()
  • Added check_standalone_readiness() — verifies .ai-rules/, ModeEngine, and UserPromptSubmit hook
  • Updated run_all() to return 10 checks (was 7)
  • Added 6 new tests covering all PASS/WARN scenarios

Test plan

  • python3 -m pytest tests/test_health_check.py -v — 28/28 passed
  • yarn workspace codingbuddy build — success
  • yarn workspace codingbuddy test — 5822 passed

Closes #1215

…1215)

Add 3 new checks to HealthChecker (8-10):
- check_mcp_connection: detect codingbuddy entry in mcp.json
- check_runtime_mode: report mcp vs standalone via runtime_mode
- check_standalone_readiness: verify .ai-rules, ModeEngine, hooks

run_all() now returns 10 results. Includes 6 new tests covering
all scenarios (PASS/WARN for each check, run_all count).

Closes #1215
@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 3, 2026 2:36pm

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Review complete — all comments addressed

Code Review:

  • Check 8 check_mcp_connection(): reads mcp.json, case-insensitive key match — correct
  • Check 9 check_runtime_mode(): delegates to runtime_mode utility — clean
  • Check 10 check_standalone_readiness(): checks .ai-rules, ModeEngine import, UserPromptSubmit — comprehensive
  • run_all() updated to 10 checks
  • Tests cover MCP configured/missing, standalone ready/not-ready scenarios
  • No unused imports, docstrings updated
  • CI: 28/28 checks pass

LGTM

@JeremyDev87 JeremyDev87 self-assigned this Apr 3, 2026
@JeremyDev87 JeremyDev87 merged commit c3e5558 into master Apr 3, 2026
28 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/1215-standalone-readiness-health-check branch April 3, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(plugin): add standalone readiness diagnostics to health check

1 participant