Docs: add a troubleshooting page for the most common CLI failures

Open
#1,408 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
markdown, python

Research direction

Read docs/README.md, the root README.md, src/aletheore/report.py, and src/aletheore/cli.py to locate the referenced messages and CLI behavior. Reproduce each failure in a throwaway directory, including the unsupported-language and outdated-configuration cases, then add docs/TROUBLESHOOTING.md with at least five exact-message entries and link it from both READMEs. Run the repository’s markdown formatter, prettier, spellcheck, and link-check workflows; done means all entries contain the reproduced message, cause, and fix, and every check passes.

Written by the indexing model from the issue text.

Description

documentation good first issue

The repository has no troubleshooting page for the CLI. (The only "troubleshooting" files in the tree are bundled third-party skills.) The same few failures come up for new users, and each already has a specific message in the code. A page that explains them would answer most "it doesn't work" reports before they are filed.

Task: add docs/TROUBLESHOOTING.md (and link it from docs/README.md and the README) with one short entry per problem: the message the user sees, why it happens, and the fix. Start with these, and add others you can reproduce:

  • "no coding agent found" when running aletheore audit (NO_AGENT_MESSAGE in src/aletheore/report.py): which agent CLIs and API-key variables are detected, and what --agent NAME does.
  • --agent names a tool that is not installed or not on PATH.
  • A command run outside a repository, or on a path that does not exist (_checked_dir in src/aletheore/cli.py).
  • A repo with a language or framework the scanner does not cover, so the graph or endpoint list looks empty (see the unsupported-language reporting in scan).
  • An old .aletheore/air.json after upgrading, and how to rescan.

Please reproduce each message by running the command in a throwaway directory rather than copying it from the code, since wording can change.

Done when: the page has at least five entries, each with the exact message, and the markdown, prettier, spellcheck and link-check workflows pass.

Dominant language
Python
Stars
762
Forks
56
Avg merge
1d 8h
Merged PRs (30d)
141

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Aletheore/Aletheore

All issues in Aletheore/Aletheore

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.