Use timeline for ordered hook callbacks, request lifecycles, or release milestones along a single run.
timeline
1. Set type: timeline and a concise label.
type: timeline
label
2. List 2–10 events in firing order — labels automatically alternate above and below the rail so adjacent events never collide.
events
3. Highlight critical gates (like before_tool) with highlight: true.
before_tool
highlight: true
4. Add description or code so readers can click any event dot to read hook details.
description
code
| Field | Required | Description |
|---|---|---|
| type | Yes | Must be timeline |
type
| label | Yes | Accessible 1-sentence summary |
| events | Yes | 2–10 ordered event items ({ title, note?, highlight?, description?, code? }) |
{ title, note?, highlight?, description?, code? }
| eyebrow | No | Uppercase header over the rail |
eyebrow