Skip to content

feat: add cora config validate subcommand (#88)#144

Merged
ajianaz merged 1 commit into
developfrom
feat/config-validate
Jun 2, 2026
Merged

feat: add cora config validate subcommand (#88)#144
ajianaz merged 1 commit into
developfrom
feat/config-validate

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add cora config validate subcommand that validates current configuration and reports field status.

New command: cora config validate

  • Checks 8 fields: config file, provider, model, API key, severity, output format, temperature, cache TTL
  • Shows ✅ (explicitly set), ⚠️ (using default), ❌ (missing/problem)
  • Summary line: "X/8 fields explicitly set"
  • Exit 0 if valid, exit 2 if issues found

Also updates AGENT.md: fix test count 157→224, document validate command.

Files: 3 changed, +236/-3

Closes #88

Co-Authored-By: codecoradev noreply@github.com

Validates current configuration and reports field status:
- Config file location
- Provider, model, API key presence
- Severity, output format, temperature, cache TTL
- Shows which fields are explicitly set vs using defaults

Exit 0 if valid, exit 2 if issues found.

Also updates AGENT.md: fix test count 157→224, document validate.

224 tests pass, clippy clean, fmt clean.

Closes #88

Co-Authored-By: codecoradev <noreply@github.com>
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

⚠️ Review could not complete. Cora produced an empty result. Check the workflow logs for errors.


Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz merged commit 215eb2f into develop Jun 2, 2026
6 of 8 checks passed
@ajianaz
ajianaz deleted the feat/config-validate branch June 4, 2026 06:03
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.

📝 AGENT.md mentions config validate but command does not exist

1 participant