Skip to main content

Common Problems

Common Problems

Guide

Diagnose configuration, target, environment, and workflow failures.

CommandDoc Gen

Category

Support

Quick Command

doc-gen structure generate . --dry-run
SymptomFirst checkNext action
Wrong repository was scannedPositional TARGET_DIRECTORY, then tool.doc-gen.cli.structure.target_directoryPass the intended path explicitly and rerun a read-only command.
Generate created no file--dry-run or tool.doc-gen.cli.execution.dry_runReview the preview, then rerun without dry-run when a write is intended.
Output cannot be writtenResolved --output path, parent permissions, and file locksSelect a writable output path; on Windows, close programs holding the file.
Tree is too large or too smallProfile, smart mode, maximum depth, and file visibilityAdjust --profile, --smart, --max-depth, or --hide-files.
Expected entries are missingIgnore rules and collapse_dirsReview the target configuration and reduce collapsing where appropriate.
Project type is unexpectedAutomatic signals or an explicit --project-type overrideRemove or correct the override and inspect with structure analyze.
Configuration appears ignoredExact TOML table/key and a higher-priority CLI valueRemove the CLI override or correct the key, then retry with debug logging.