22 lines
772 B
Markdown
22 lines
772 B
Markdown
# Scripts
|
|||
|
|
|
||
|
|
## `validate_repository.py`
|
||
|
|
|
||
|
|
Performs read-only, dependency-free validation of this repository.
|
||
|
|
|
||
|
|
- **Runtime:** Python 3.10 or later.
|
||
|
|
- **Dependencies:** Python standard library only.
|
||
|
|
- **Input:** Repository path; defaults to the current directory.
|
||
|
|
- **Output:** Human-readable findings or JSON.
|
||
|
|
- **Modifies files:** No.
|
||
|
|
- **Human approval required:** No.
|
||
|
|
|
||
|
|
Commands:
|
||
|
|
|
||
|
|
```text
|
||
|
|
python scripts/validate_repository.py .
|
||
|
|
python scripts/validate_repository.py . --json
|
||
|
|
```
|
||
|
|
|
||
|
|
Checks include required paths, JSON parsing, identity alignment, entry points, declared contents, content-index IDs and paths, version/license alignment, report count, and relative Markdown links. Validation cannot prove that interpretations are correct or that external URLs are available.
|
||
|
|
|