21 lines
764 B
Markdown
21 lines
764 B
Markdown
# Scripts
|
|||
|
|
|
||
|
|
## `validate_repository.py`
|
||
|
|
|
||
|
|
Performs a read-only, dependency-free validation of this implemented 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
|
||
|
|
```
|
||
|
|
|
||
|
|
The validator checks required paths, JSON parsing, core manifest fields, author/publisher alignment, entrypoint paths, manifest contents paths, version alignment, license alignment, and relative Markdown links. It does not prove content accuracy or check external URLs.
|