Ein CCPM-Epic in OrgGen importieren
Bei CCPM trägt der Pfad einer Datei die Identität der Aufgabe: Man fügt jede Datei unter ihrem Pfad ein, und OrgGen liest den Pfad. Dieser Leitfaden zeigt, wie man ein Epic einfügt, was jedes Feld wird und was die Identität wechselt, wenn CCPM beim Sync seine Dateien umbenennt.
Dieser Leitfaden ist nur auf Englisch verfügbar. Titel und Zusammenfassung oben sind übersetzt.
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.
Sie kommen von einem anderen Tool? So wechseln Sie zu OrgGen
Probieren Sie es an Ihrem eigenen Fall
Beschreiben Sie Ihre Situation in einem Satz — OrgGen baut das Diagramm und rechnet.
Probieren Sie es an Ihrem eigenen Fall