Create handoff packet
create_packetCapture the current working state into a portable Markdown packet for handoff—writes a record, copies listed files as artifacts, and returns the packet path.
Instructions
Use to capture the current working state as a portable packet another session, tool, or repo can import: it writes a Markdown record to the store outbox, copies any listed files in as artifacts, and returns the packet with its path. Handoff packets require at least one recipient field, content is secret-scanned before it is written, and creating a packet transmits nothing — packing and sending are separate steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | Project-relative paths to reference without copying; each is recorded as a file source link. | |
| tags | No | Lowercase slug tags (a-z, 0-9, hyphen) for later filtering; must be unique. | |
| task | No | One-line statement of the task, rendered into the packet's included-context section. | |
| files | No | Project-relative file paths copied into the packet as artifacts, optionally suffixed with a purpose ('docs/plan.md:source'). Valid purposes are asset, source, reference, and output, plus common aliases such as logo, image, or screenshot. | |
| title | Yes | Short human-readable title for the packet; also used to build the stored filename. | |
| toRepo | No | Intended recipient repository; routing intent recorded on the packet. Satisfies the handoff recipient requirement. | |
| include | No | Existing 3Notch brief records to list as included context on the packet. | |
| purpose | No | 'handoff' (default) for work passed to someone else; 'seed' for private carried-forward context, which is always written to the private outbox. | |
| summary | Yes | The working state being handed off — what is done, decided, and blocked. A summary over 5000 characters with no source links or included records returns a NOTCH_SUMMARY_LARGE warning. | |
| toAgent | No | Intended recipient agent; routing intent recorded on the packet, not a delivery mechanism. A handoff packet needs at least one of toAgent, toPerson, or toRepo. | |
| toPerson | No | Intended recipient person; routing intent recorded on the packet. Satisfies the handoff recipient requirement. | |
| actorName | No | Name recorded as the author of this write; defaults to the server's configured actor, or 'mcp-client'. | |
| nextSteps | No | What the receiving agent should do next; rendered as its own packet section. | |
| outputPath | No | Project-relative path to write an extra copy of the packet Markdown to, in addition to the store copy. | |
| supersedes | No | Record ID this packet replaces; check_store reports the edge as broken if the referenced record is not in the store. | |
| importNotes | No | Guidance for whoever imports the packet; the body shows 'Review before use.' when omitted. | |
| sensitivity | No | 'project' (default) writes to .notch/outbox/; 'private' writes to .notch/private/outbox/ and hides the packet from listings unless the server runs with --include-private. Defaults to 'private' when purpose is 'seed'. | |
| sourceLinks | No | Context links to record (kind: file, url, commit, issue, record, command, or repo); file links must resolve inside the project root and may not point inside the .notch store. |