Refactor manifest.py into domain-specific modules #157
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracked from the medium-priority refactoring playbook in #154.
manifest.pyis 1,036 lines and carries git identity, egress routing, agent configuration, and top-level manifest parsing in a single file. The size and mixed domain responsibility make it harder to navigate and extend.Proposed split
manifest_git.py—GitEntry,GitUser, and related parsing/validation helpersmanifest_egress.py—EgressRoute,PipelockRoutePolicy, and related helpersmanifest_agent.py—Agent,AgentProvider, and related helpersmanifest.py(residual) —Manifest,Bottle, and top-level orchestration that composes the aboveWork
manifest.pyas the public import surface (re-export from the new modules) so existing callers do not need updating in the same PR.