commit
Store completed PRDs, ADRs, specs, or OKRs as searchable commitment memories with optional target dates and key results, so decisions and promises persist across sessions and remain queryable by type.
Instructions
Persist a commitment-shaped artifact (PRD, ADR, spec, OKR) as a memory with intent='commitment'.
WHEN TO USE: This is the write primitive for /prd, /decide, /spec, /commit slash commands. Call after the artifact is fully drafted in the conversation. Send the COMPLETE artifact verbatim — do NOT summarize.
INSERT-only. Each call creates a new memory; supersede prior versions by recency, never overwrite. No conversationId parameter (intentional — see ADR-034).
QUERYABLE: GET /api/v1/commitments/?type= returns all commitments of a given type, filterable by target_date and sorted by recency.
EXAMPLES:
commit(title="ADR-035 - Foo - Bar - 2026-04-28", type="ADR", content="", key_result="single-sentence chosen-option statement")
commit(title="PRD - Email verification flow", type="PRD", content="", target_date="2026-05-15")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for categorization. "commitment" and the lowercased commitment_type are added automatically. | |
| title | Yes | Title following the pattern "[Type]-NNN - [Project] - [Subject] - [Date]" for ADRs, or "[Project] - [Type] - [Feature]" for PRDs/specs. | |
| content | Yes | COMPLETE artifact content, verbatim — the full markdown body of the PRD/ADR/spec/OKR. | |
| key_result | No | Optional one-sentence concrete deliverable. What is true when this commitment is honored? | |
| target_date | No | Optional target date in YYYY-MM-DD format. Omit if no deadline. | |
| commitment_type | Yes | The kind of commitment. |