Package Architecture¶
How the vergil_tooling Python package is laid out. Every vrg-* command
is a console script declared in [project.scripts] in pyproject.toml,
which is the complete list of entry points. The
CLI Tools Overview documents each command.
Layout¶
| Path | Holds |
|---|---|
src/vergil_tooling/bin/ |
One module per console script (vrg_commit.py for vrg-commit, and so on) |
src/vergil_tooling/lib/ |
Shared libraries the commands build on |
src/vergil_tooling/data/ |
Packaged data: the label registry, the host-dependency manifest, the managed CLAUDE.md and .claude/settings.json templates, task-body scaffolds |
src/vergil_tooling/configs/ |
Bundled tool configs: the canonical lint configs the common checks use, and the git-cliff changelog configs |
Shared libraries¶
The main modules under src/vergil_tooling/lib/:
git.py: git subprocess wrappers.github.py:ghCLI subprocess wrappers.config.py: parse and validatevergil.toml.identity_mode.py: the identity resolver behindvrg-whoami;platform_env.pyresolves the platform.epics.py: the epic/task model: theStandingKindtable (the ad-hoc, intake, planning and deferred standing epics and their per-quarter archives), epic and queue homes, sub-issue linking, rollup, and the parent-based queue-item check thatvrg-pr-workflow report-readyandvrg-submit-pruse to refuse intake, planning and deferred items.epic_audit.py,intake_route.pyandqueue_view.pybuild onepics.py: thevrg-epic-auditdrift report and orphan pass, thevrg-intake-routemechanics and route table, and thevrg-queueviews.security_records.py:vrg-security-recordand the security-records pass ofvrg-epic-audit --close.release/: the mechanized release workflow behindvrg-release: preflight, prepare, merge, bump, confirm, finalize, handoff, the orchestrator, the package-index wait, and theupdate-depsstage. Preflight holds the dependency-update gate.update_deps/: thevrg-update-depspipeline: preflight, orchestrator, the PR and the fix task, failure output, the held-back report, and registry and package-index lookups. Its updaters live underupdaters/.package/: binary package builds forvrg-package: the matrix, the python and staged builders, nFPM, install-test, repository bootstrap, andindex/for the signed apt/dnf site.host_*.py:vrg-host: manifest loading (host_deps), install-method handlers (host_methods), host pins (host_pins), classification and rendering (host_status), and version ordering (host_versions).