generated from coulomb/repo-seed
44 lines
709 B
Markdown
44 lines
709 B
Markdown
---
|
|
title: Workplan Contract
|
|
version: "0.1"
|
|
---
|
|
|
|
# Workplan Contract
|
|
|
|
```yaml contract
|
|
id: workplan-contract-v1
|
|
document:
|
|
type: workplan
|
|
fields:
|
|
id:
|
|
type: string
|
|
required: true
|
|
status:
|
|
type: string
|
|
required: true
|
|
enum: [proposed, active, done, deferred]
|
|
sections:
|
|
- id: purpose
|
|
title: Purpose
|
|
presence: required
|
|
level: 2
|
|
- id: tasks
|
|
title: Tasks
|
|
presence: required
|
|
level: 2
|
|
assertions:
|
|
- id: tasks-have-task-blocks
|
|
contains: "status:"
|
|
severity: error
|
|
- id: decision-point
|
|
title: Decision Point
|
|
presence: recommended
|
|
level: 2
|
|
metrics:
|
|
document:
|
|
sections:
|
|
min: 2
|
|
max: 12
|
|
severity: warning
|
|
```
|