Skip to content

feat: add status subcommand#3

Merged
montfort merged 1 commit intomainfrom
feat/status-command
Mar 19, 2026
Merged

feat: add status subcommand#3
montfort merged 1 commit intomainfrom
feat/status-command

Conversation

@montfort
Copy link
Contributor

Summary

  • Add devtrail status [path] command that checks installation state, structure completeness, and documentation statistics
  • Detects whether DevTrail is installed, verifies expected directories/files, and counts documents by type (ADR, AIDEC, AILOG, ETH, INC, REQ, TDE, TES)
  • Graceful handling: non-installed projects get an informative message (not an error), unreadable config/manifest show warnings

Test plan

  • test_status_not_installed — empty dir returns exit 0 with "not installed" message
  • test_status_with_minimal_install — shows version, language, and correct doc counts
  • test_status_incomplete_structure — reports missing directories
  • test_status_explicit_path_argument — works with explicit path arg
  • cargo clippy — no warnings
  • cargo build — compiles cleanly

🤖 Generated with Claude Code

Shows installation detection, structure completeness, and documentation
statistics per document type (ADR, AIDEC, AILOG, etc.).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit df4fbaa into main Mar 19, 2026
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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