fix: project name auto-detect, module docstrings, dataclass critical threshold #2

Merged
Arkasha merged 2 commits from feature/improvements-v2 into main 2026-02-15 11:37:24 +03:00
Owner
No description provided.
Arkasha added 2 commits 2026-02-15 11:37:15 +03:00
On init, detect project name by:
1. Parsing pyproject.toml [project] name field
2. Falling back to directory basename
Replace <PROJECT_NAME> placeholder in ARCHITECTURE.md template.
For non-init files, use the file's own docstring first before
falling back to the parent __init__.py docstring.

Also skip dataclass-like classes (≤2 methods) from critical marking
to avoid false positives on simple data containers like ToolResult.
Arkasha merged commit 3097764fb9 into main 2026-02-15 11:37:24 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Arkasha/archdoc#2