# Timeline

Phases, tasks and milestones on dates: timelines and roadmaps.

**What it is.** Phases, tasks and milestones on dates: timelines and roadmaps, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. **Ask for it** in plain words: “Make an Artifacts roadmap for the Q1 launch: phases, owners, milestones and what waits on what.” It stays a live item at its own link in the space, and the space’s owner can [publish](/docs/publishing) it as a web page anyone can open. See one an agent made: [Product roadmap](/p/northwind-roadmap), five themes, owners, progress and what waits on what.

> Agents read this guide with the `guide` tool, topic `timelines`, before they first make a timeline. It is shown here word for word, so people and their agents work from the same method.

| | |
| --- | --- |
| Guide topic | `timelines` |
| Tools | [4 tools](/docs/reference/timelines) |

A timeline is phases holding tasks and milestones on dates: launch plans, project schedules, product
roadmaps, hiring plans, event run-ups. People see a Gantt chart (a table of entries beside bars on a
calendar, phases spanning their entries, diamonds for milestones, arrows for what waits on what) and a list
by date, phase by phase. They zoom by days, weeks or months, or fit the whole plan to the screen.

People with edit access change it too: **Add** (a task, milestone or phase), **Edit** (or double-click an
entry: title, kind, phase, dates, owner, status, progress, what it waits on, note, link), **Delete** (with
Undo), drag a bar to new dates, drag its progress, draw or remove an arrow. So the timeline you made may
not be the timeline that is there now: `read_timeline` before every change.

The tools: `create_timeline`, `read_timeline` (entries with ids, dates, progress, status, owners,
dependencies, and checks), `update_timeline` (add, change, shift, remove, reorder entries; add and remove
dependencies), `render_timeline` (screenshots of the chart and the list, and checks).

## Order of work

1. **Get the real dates.** From the person, or the doc, sheet or tickets they point at (read them:
   `read_doc`, `sheet_read_range`). Never invent a date. When one is not known, ask, or leave the entry
   out and say so. A plan with three real dates beats one with thirty guessed ones.
2. **Break the work down.** Phases first (three to seven: "Discovery", "Design", "Build", "Launch"), then
   the tasks inside each, then the milestones.
3. **Add who and how far.** An owner on every task; status and progress on what has started.
4. **Add the hand-offs.** Dependencies only where one thing truly cannot start until another finishes.
5. `create_timeline` with the phases, then their tasks and milestones (`phase` = the phase's id), then the
   dependencies.
6. `render_timeline`; fix what the checks name and what looks wrong; render again. Give the person the URL.

## Entries

| Kind | What it is | Dates |
|---|---|---|
| `phase` | a stage holding tasks and milestones | leave them out: it spans its entries and follows them as they move; give `start` and `end` only for a fixed window |
| `task` | work someone does | `start` to `end`, the last day included; one day = `end` equals `start` |
| `milestone` | a moment, not work: a decision, a review, a release, a deadline | `start` only |

- Tasks from one day to about four weeks. Longer work is several tasks (the steps people check off) or a
  phase; the checks name tasks over eight weeks.
- A milestone marks the end of something: "Design signed off", "Beta opens", "Launch day". Put it in the
  phase it closes, and make the next phase's first task wait on it.
- `id`: short and stable ("design", "beta-launch"); left out, it is made from the title. Dependencies,
  edits and comments use it.
- Titles say what gets done, verb first for tasks ("Write the launch post"), the outcome for milestones.
- `owner`: a person or a team ("Ana", "Design team"); the same spelling every time.
- `status`: `planned`, `active`, `done`, `at_risk` (may slip), `blocked` (cannot move until something
  else changes). `progress` 0–100 for work under way; done work is `status: done` with `progress: 100`.
- `note`: one line of context ("needs legal review"); `url`: the ticket or doc.
- Dates as YYYY-MM-DD, real calendar days.

## Dependencies

`{ from, to }`: `to` starts after `from` finishes (finish to start). Use them for real hand-offs: "Build"
waits on "Design signed off", "Launch" waits on "Security review". Not for every task in a row: a
dependency says "this cannot start before that ends", and people plan around it. A loop (A waits on B,
B on A) is refused. The checks name a dependency whose dates overlap.

## Size

- Up to about forty entries read at a glance; past that, split by team or by quarter into separate
  timelines.
- A plan of weeks reads in weeks, a plan of months in months: the chart picks that for people, and
  `render_timeline` fits the whole plan into one screenshot.

## An example

```json
{
  "title": "Mobile app launch",
  "subtitle": "October to December 2026; dates agreed at the Oct 12 kickoff",
  "entries": [
    { "id": "design", "title": "Design", "kind": "phase" },
    { "id": "interviews", "title": "Run user interviews", "phase": "design", "start": "2026-10-19", "end": "2026-10-30", "owner": "Ana", "status": "active", "progress": 60 },
    { "id": "mockups", "title": "Draw the mockups", "phase": "design", "start": "2026-11-02", "end": "2026-11-13", "owner": "Ana" },
    { "id": "design-signoff", "title": "Design signed off", "kind": "milestone", "phase": "design", "start": "2026-11-16" },
    { "id": "build", "title": "Build", "kind": "phase" },
    { "id": "api", "title": "Build the API", "phase": "build", "start": "2026-11-17", "end": "2026-12-04", "owner": "Sam" },
    { "id": "app", "title": "Build the app screens", "phase": "build", "start": "2026-11-23", "end": "2026-12-11", "owner": "Hritvik" },
    { "id": "launch", "title": "Launch day", "kind": "milestone", "phase": "build", "start": "2026-12-15" }
  ],
  "dependencies": [
    { "from": "interviews", "to": "mockups" },
    { "from": "design-signoff", "to": "api" },
    { "from": "app", "to": "launch" }
  ]
}
```

## Keeping it true

- `read_timeline` first: people may have dragged dates, changed owners, added or deleted entries.
- Something slips → `shift_entries` with `days` and `with_dependents: true` moves it and everything that
  waits on it, and what waits on those; phases follow their entries.
- Work moves on → `change_entries`: `status`, `progress`; done work `status: done`, `progress: 100`.
- A date changes → `change_entries` with the new `start`/`end`; then check what waits on it (the checks
  name overlaps).
- `""` clears a field (`status: ""`, `owner: ""`).
- The checks list entries past their end date that are not done: mark them done, or move them.

## Comments

People comment on an entry. Answer with `reply_comment`, change it with `update_timeline`, resolve. To start
a thread, `comment` with `entry` (its id or number).

## See it in use

- **Roles:** [AI for fraud examiners](/roles/fraud-examiner), [AI for lawyers](/roles/lawyer), [AI for editors](/roles/editor), [AI for project managers](/roles/project-manager), [AI for IT project managers](/roles/it-project-manager), [AI for real estate brokers](/roles/real-estate-broker)
- **Articles:** [Customer Onboarding Plan: Flow, Calendar and Booking Page](/blog/customer-onboarding-plan), [Product Launch Plan: Timeline, RSVP Form and Event Page](/blog/product-launch-plan), [Project Plan Template: What to Include, With an Example](/blog/project-plan-template)
- **Examples:** [24 pages agents made for a sample company](/examples)
