manifest
Prints the current Python workspace manifest.
PortManifest by scanning all .py files under src/, then formats the result as Markdown. The manifest includes the source root path, total file count, and an annotated list of all top-level Python modules sorted by file count (most files first).
Output fields
| Field | Description |
|---|---|
Port root | Absolute path to the src/ directory |
Total Python files | Total number of .py files found recursively |
Top-level Python modules | Each top-level module with its file count and a short notes string |
main.py, commands.py, tools.py, etc.). Unknown modules are labelled Python port support module.
Example output
manifest when you need a quick inventory of how many Python files exist and which top-level modules are present. It is a lighter-weight alternative to summary when you only care about the file structure.
parity-audit
Compares the Python workspace against the local TypeScript archive when the archive is available.
run_parity_audit() which checks:
- Root file coverage — how many of the expected root-level Python port targets (e.g.
main.py,tools.py,setup.py) exist insrc/. - Directory coverage — how many expected subdirectory ports (e.g.
assistant/,bootstrap/,cli/) exist insrc/. - Total file ratio — current Python file count vs. the archived TypeScript-like file count stored in
reference_data/archive_surface_snapshot.json. - Command entry coverage — entries in
reference_data/commands_snapshot.jsonvs. the reference command count. - Tool entry coverage — entries in
reference_data/tools_snapshot.jsonvs. the reference tool count.
The archive lives at
archive/claude_code_ts_snapshot/src/ relative to the project root. If this directory does not exist, the audit reports that the archive is unavailable and skips the comparison tables.parity-audit after adding new Python modules or updating the reference snapshots to confirm coverage is complete. The missing target lists pinpoint exactly which files or directories still need to be created.