-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add department policies to default templates #723
Copy link
Copy link
Closed
Labels
prio:mediumShould do, but not blockingShould do, but not blockingscope:smallLess than 1 day of workLess than 1 day of workspec:company-structureDESIGN_SPEC Section 4 - Company StructureDESIGN_SPEC Section 4 - Company Structurespec:templatesDESIGN_SPEC Section 14 - Templates & BuilderDESIGN_SPEC Section 14 - Templates & Buildertype:featureNew feature implementationNew feature implementationv0.5Minor version v0.5Minor version v0.5v0.5.1Patch release v0.5.1Patch release v0.5.1
Description
Problem
No template uses the policies field on departments. The field exists in TemplateDepartmentConfig and DepartmentPolicies supports review requirements, approval chains, and operational constraints -- but every template leaves it empty.
With #674 adding department detail pages to the org chart, these policies become visible and actionable.
Proposed Changes
Add realistic policies to templates with 3+ departments:
dev_shop
- engineering:
code_review_required: true,min_reviewers: 1 - quality_assurance:
test_coverage_required: true
product_team
- engineering:
code_review_required: true,min_reviewers: 1 - design:
design_review_required: true
agency
- engineering:
code_review_required: true,min_reviewers: 1 - operations:
client_approval_required: true
full_company
- engineering:
code_review_required: true,min_reviewers: 2,approval_chain: ["Software Architect", "CTO"] - security:
security_review_required: true,approval_chain: ["Security Engineer", "CTO"] - operations:
change_management_required: true
Scope
YAML-only changes. Policies must conform to whatever DepartmentPolicies schema supports at the time of implementation.
Dependencies
- feat: interactive org chart with department/team CRUD and detail pages #674 -- org chart CRUD (surfaces policies in UI)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
prio:mediumShould do, but not blockingShould do, but not blockingscope:smallLess than 1 day of workLess than 1 day of workspec:company-structureDESIGN_SPEC Section 4 - Company StructureDESIGN_SPEC Section 4 - Company Structurespec:templatesDESIGN_SPEC Section 14 - Templates & BuilderDESIGN_SPEC Section 14 - Templates & Buildertype:featureNew feature implementationNew feature implementationv0.5Minor version v0.5Minor version v0.5v0.5.1Patch release v0.5.1Patch release v0.5.1