Capability Guide: Governance and Scope¶
Purpose¶
Define delivery context, ownership boundaries, and scope structures that downstream modules depend on.
When To Use This Guide¶
- creating a new project/program structure
- introducing or refactoring phases and delivery organisations
- assigning scope and design package ownership
- diagnosing downstream confusion caused by weak governance context
Modules In Scope¶
portfolio_mgmtscope_mgmt
Inputs and Preconditions¶
- project/program naming and ownership model agreed
- delivery phases and timeline assumptions defined
- team/organisation ownership data available
End-to-End Workflow¶
flowchart LR
Setup["Program and Project Setup"] --> Phase["Phase Definition"]
Phase --> Org["Delivery Organisation Mapping"]
Org --> Scope["Scope Allocation"]
Scope --> Package["Design Package Structuring"]
Package --> Assign["Assignments and Ownership"] Step-by-Step¶
- Create/validate program and project records.
- Define phases and delivery milestones.
- Map delivery organisations and ownership domains.
- Allocate scope units to responsible teams.
- Create design packages and assignment records.
- Validate that downstream modules can consume the resulting context.
Key Artifacts Produced¶
- project/program/phase records
- delivery organisation records
- scope allocation records
- design package and assignment mappings
Downstream Consumers¶
sysdef_mgmt: receives scope context for definition boundariesproject_interface_mgmt: relies on project ownership contextops_mgmt: uses governance context for readiness planning
Validation Checklist¶
docker compose run --rm app sh -c "pytest portfolio_mgmt/tests scope_mgmt/tests -v"
./scripts/run_smoke_tests.sh
- phase and project context visible in UI flows
- scope assignments resolve to valid ownership entities
- no orphaned scope artifacts without project/phase context
Common Failure Modes¶
| Symptom | Likely Cause | Fix |
|---|---|---|
| downstream modules show empty project context | missing or inactive project/phase setup | verify portfolio records and context selection |
| scope allocations conflict | overlapping ownership model | normalize allocation granularity |
| design packages not actionable | assignments missing or ambiguous | enforce assignment completeness |
Implementation anchors
app/portfolio_mgmt/models.pyapp/portfolio_mgmt/views/main.pyapp/scope_mgmt/views/dashboard_views.pyapp/scope_mgmt/views/design_package_views.py
Change impact
Changes here frequently cascade into sysdef_mgmt, project_interface_mgmt, and ops_mgmt. Always run targeted downstream checks.