Create configuration from parsed arguments.
(cls, args: argparse.Namespace)
| 137 | with_prose: bool = False |
| 138 | # Docs layout (LAYOUT_HIERARCHICAL or LAYOUT_FLAT) |
| 139 | layout: str = DEFAULT_LAYOUT |
| 140 | # Persist each successful LLM clustering batch under docs/temp for resume after failures. |
| 141 | cluster_batch_cache: bool = True |
| 142 | |
| 143 | def __post_init__(self): |
| 144 | validate_min_module_tokens(self.min_token_per_module) |
| 145 | |
| 146 | @property |
| 147 | def artifact_exclude(self) -> list[str] | None: |
| 148 | """Extra patterns excluded from artifact analysis (from agent instructions).""" |
| 149 | if self.agent_instructions: |
| 150 | return self.agent_instructions.get("artifact_exclude") |
| 151 | return None |
| 152 | |
| 153 | @property |
| 154 | def include_patterns(self) -> list[str] | None: |
| 155 | """Get file include patterns from agent instructions.""" |
| 156 | if self.agent_instructions: |
| 157 | return self.agent_instructions.get("include_patterns") |
| 158 | return None |
no outgoing calls
no test coverage detected