Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What changed and why
A — Complexity detector relocated. defaults/detectors/complexity.py deleted. ComplexityFindings, ComplexityDetector, and the new ENTERPRISE ComplexityCategory value now live in analyzers/complexity_analyzer/defaults_detector.py. Six import sites updated.
B — Diagram generation consolidated. All diagram-related code moved into a dedicated diagrams/ module, removing scattered files from utils/.
C — Dual document-role implementation eliminated. commands/document_role/core.py (548 lines) deleted. core_orchestrated.py is now the sole implementation. DOCSIBLE_USE_ORCHESTRATOR env var removed. Three helper functions moved into core_orchestrated.py. Six import sites + init.py updated.
D–J — utils/ cleanup, formatters centralized, validators/ → validation/, help/ → helpers/, legacy docsible role isolated in commands/legacy/, phase detector merged, model colocation pattern documented.
Bug fix — document_collection.py template corrected from "standard" (broken monolithic tables) → "standard_modular" (clean modular sections).
CLI/tests — test_orchestrator_cli.sh rewritten, test_implementation_comparison.sh deleted, edge_case_role fixture + 5 new pytest end-to-end tests added.
Housekeeping — .docsible/ at project root deleted and gitignored.
Breaking changes
None. All changes are internal restructuring. No public CLI surface changed.
Test results
995 passed · 0 mypy errors · ruff clean