Importar una épica de CCPM en OrgGen
En CCPM, la ruta de un archivo lleva la identidad de la tarea: se pega cada archivo bajo su ruta, y OrgGen lee la ruta. Esta guía dice cómo pegar una épica, en qué se convierte cada campo y qué cambia de identidad cuando CCPM renombra sus archivos al sincronizar.
Esta guía solo está disponible en inglés. El título y el resumen de arriba sí están traducidos.
What OrgGen reads: the files of an epic
OrgGen reads the folder of a CCPM epic (`.claude/epics/<epic>/`): `epic.md`, then one numbered file per task (`001.md`, `002.md`…). Revision used: the automazeio/ccpm repository, revision 7d7e462 (no published release), read on 2026-10-07 — taken from the frontmatter schemas that this repository publishes; the repository itself contains no real epic.
An epic spans SEVERAL files, and the path carries the identity: you paste each file preceded by its path, on a line of its own. Without a path, the batch is refused.
=== FILE: .claude/epics/user-auth/epic.md ===
---
name: user-auth
status: in-progress
---
=== FILE: .claude/epics/user-auth/001.md ===
---
name: Create user table
status: closed
depends_on: []
parallel: true
---What each field becomes
| In the epic | In OrgGen |
|---|---|
| `epic.md` | a PARENT task `<epic>/epic` — title = `name`, status (backlog → to do, in-progress → in progress, completed → done), body = the Markdown |
| `001.md` | a subtask `<epic>/1` — `name` as the title, status (open → to do, in-progress → in progress, closed → done) |
| `depends_on: [001, 2]` | the task's dependencies: `001`, `1` and `"001"` all designate the same task `<epic>/1` |
| `parallel: true` | the `parallel` label |
| `github` | the task's link, if it is a URL (`(will be set on sync)` is not one) |
| `conflicts_with` | written at the top of the body ("Conflicts with: …") — it has no slot of its own |
| `## Effort Estimate` → `- Size: M` | the task's complexity (XS to XL, in relative human time); `- Hours: N` stays in the body |
Identity follows the file name
A task's identity is `<epic>/<number>`, read from the path. CCPM renames `001.md` to `<issue number>.md` at GitHub sync time, and rewrites `depends_on` accordingly: an epic pasted before and after the sync is therefore a DIFFERENT set of identifiers.
The steps, in order
- You paste the epic's files into the conversation with your agent, each under its path — the OrgGen chat, or an MCP client that sends an API key.
- It calls `import_tasks` with `format: "ccpm-epic"`. By default this is a dry run: the plan is returned (created, updated, skipped, conflicts, errors) and nothing is written.
- Your agent is instructed to show you this plan. Read the notes: they list the ignored files and the sizes that were not recognized.
- Nothing is written without a second, explicit call, with `dryRun: false` and the same batch. The agent keeps the `importId` that is returned.
- If in doubt afterwards: `list_imports` finds the batch, `rollback_import` rolls it back — as a dry run first.
Replay, update, roll back
- Replaying never duplicates: the replay key is `(source, <epic>/<number>)`. Pasting the same files again creates nothing.
- With `onExisting: "update"`, statuses that have moved on are rewritten — only if nobody has edited the task in OrgGen since; otherwise it is reported as a conflict and never overwritten.
- Rolling back a batch deletes what it created and keeps what a human edited. The updates it made are not restored.
- A finished task keeps its completion date when the export carries one — an epic's files carry none: the closed task takes the import date.
What does not carry over
- The `…-analysis.md` files, `github-mapping.md` and the `updates/` folder: ignored, and named in the plan's notes.
- The estimate in hours (`Hours`): with no numeric slot, it stays in the task's body; only the size (`Size`) becomes a complexity.
- `conflicts_with`: written at the top of the task's body, it is not a relationship between tasks.
¿Viene de otra herramienta? Vea cómo pasarse a OrgGen
Pruébalo con tu propio caso
Describe tu situación en una frase — OrgGen construye el diagrama y hace el cálculo.
Pruébalo con tu propio caso