Skip to content

Add diagnose tool (#21), CLI command, and QA agent#1

Open
robrawks wants to merge 5 commits intomainfrom
feature/phase3-diagnose-qa
Open

Add diagnose tool (#21), CLI command, and QA agent#1
robrawks wants to merge 5 commits intomainfrom
feature/phase3-diagnose-qa

Conversation

@robrawks
Copy link
Copy Markdown
Owner

Summary

  • Diagnose MCP tool (#21): Self-check environment — reports data paths, database availability, and API configuration status directly from Claude
  • CLI diagnose command: npm run diagnose for pre-launch verification from the terminal (exits 0 if healthy, 1 if issues found)
  • QA tool-tester agent: Systematically exercises all 21 tools with natural Bible study questions, produces pass/fail/skip report
  • Updated Socratic agent and README to document the new tool (20 → 21 tools)

Test plan

  • npm run build — TypeScript compiles clean
  • npm test — 54/54 tests passing
  • npm run diagnose — CLI prints DB status, exits correctly
  • Restart Claude Code, run /mcp — verify 21 tools appear
  • Call diagnose tool in conversation — verify formatted output
  • /agent tool-tester — run full QA suite

🤖 Generated with Claude Code

robpecoraro and others added 5 commits February 25, 2026 20:52
Chain Study mode adds a 5th study session type to the rob-agent
where Rob navigates chains in his physical Thompson Bible and the
agent enriches each link with lexicons, grammars, and balanced
commentaries via Logos tools.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Seven bite-sized tasks to add chain study capabilities to rob-agent.md:
lexical-first tool sequence, chain study session flow, persistent
journal, and use-case outputs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Agent instructions stay local. Chain study journal files will be
written to docs/chain-studies/ during Thompson Chain study sessions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add diagnose MCP tool to index.ts for self-checking environment
  (data paths, database availability, API configuration)
- Add cli.ts standalone CLI entry point for pre-launch verification
- Add "diagnose" npm script to package.json
- Update socratic-bible-study agent with diagnose tool reference
- Update README: 20→21 tools, add System & Diagnostics section,
  add troubleshooting note, document tool-tester QA agent
- Create tool-tester.md QA agent (local only, gitignored)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants