Attach files to an issue — and let the agent working it actually read them.
Issue attachments
A crash log, a screenshot, a repro bundle, a diff. Attach it to the issue, and
the agent working that issue can read it.That second half is the point. An attachment an agent cannot read is decoration:
before this existed, the only way a file reached an agent was a human pasting its
contents into a comment, which does not work for a 20 MB log and does not work at
all for a screenshot.
With -f json, issue attach prints only the attachment record (id,
filename, content_type, size_bytes, sha256, …) on stdout and no receipt,
so crewship issue attach BE-42 ./crash.log -f json | jq -r .id gives the id
that issue attachment and issue detach take. The human receipt is printed,
on stderr, only in the default human format. Attaching needs
MANAGER or above; a VIEWER can list and download but gets 403 Forbidden.The HTTP surface is documented in the
Issues API reference.
What an agent sees
An agent reaches the same files through its sidecar, on the loopback port inside
its own container. Three verbs, all needing the same fd-3 bearer-token form
every other sidecar call uses:
Listing is metadata only — id, filename, content type, size, digest, whether a
human or an agent attached it. Reading is a second, explicit call, so an issue
carrying four log files does not push all four into the agent’s context whether
or not it wanted any of them.A read comes back in one of two shapes:
encoding: "text" for text-ish types. The content arrives already wrapped
in a nonce-delimited <untrusted> block, and so does the filename. Budget:
128 KiB.
encoding: "base64" for everything else. Deliberately not fenced: an
agent that asked for bytes is going to decode them and write a file, and a
wrapper it has to strip first is a bug waiting to happen. Budget: 512 KiB.
truncated: true means you are looking at a prefix. Say so rather than
concluding from a partial file — the flag is always present so that ignoring it
is a choice rather than an accident.
An agent may attach up to 6 MiB per call, lower than the 25 MiB a human gets:
the agent door carries the file as base64 inside a JSON body, so the bytes are
buffered three times over on the request path of a process that also holds the
crew’s credentials. The human door is multipart and streams.The workspace is never the caller’s to choose. The sidecar fills it in from its
own IPC identity, and the server checks it against the workspace the internal
token is cryptographically bound to — a mismatch is a 403, on the read verbs and
the attach verb alike. An agent naming another tenant’s issue identifier gets a
refusal, not that tenant’s file.
Why the content is fenced
An uploaded file is attacker-controlled input. On a self-hosted instance anyone
who can comment on an issue can attach to it, and the content lands directly in
an agent’s context — the ingress prompt-injection surface
(OWASP LLM01)
that Crewship’s trust fence (internal/untrusted) exists for.Both the filename and the content go through the fence. The filename
matters as much as the body: ignore previous instructions.txt is a shorter and
likelier payload than the file itself, and it appears in every listing whether or
not anyone reads the file.
Types, and why the allowlist is short
The type is resolved from the file’s extension against an allowlist. The
request’s own Content-Type header is discarded entirely — that header is chosen
by whoever is uploading, and honouring it is how a stored file becomes stored XSS
served from your own origin.Allowed: .txt.log.md.csv.tsv.json.yaml.yml.toml.xml.diff.patch.png.jpg.jpeg.gif.webp.avif.pdf.zip.gz.tgz..html and .svg are absent on purpose rather than by oversight: both are
script-bearing document formats a browser executes, and serving one from your own
origin is script execution however it is labelled. Archives are allowed because a
repro bundle is a real use case and an archive is inert until something extracts
it. Adding a type is a one-line change to attachmentTypes in
internal/api/attachments.go, and a deliberate one.Downloads are served with the resolved type, X-Content-Type-Options: nosniff
and Content-Disposition: attachment, so even a type we got wrong is downloaded
rather than rendered.
Storage, de-duplication and deletion
Files are stored by content, under the storage root:
Every component of that path is derived from bytes Crewship computed. The
uploaded filename is a display label in the database and never a path component,
so a filename of ../../../etc/passwd is recorded as passwd and the bytes land
exactly where every other attachment’s do. Path traversal is not refused here —
it is not expressible.Consequences worth knowing:
Identical bytes in one workspace share one copy. Two issues carrying the
same log cost one file on disk and two records.
De-duplication stops at the workspace. Identical bytes in two different
workspaces are two separate files. A shared blob would make “erase this
workspace” undecidable, and would turn write-time de-duplication into an
existence oracle — upload a file, observe whether the store already had it, and
you have learned that some other tenant holds those exact bytes.
Attaching the same file to the same issue twice is one attachment. “The
same file” means the same bytes under the same name: the second call returns
200 with the existing record, not 201 and not 409. Retries are safe and do
not add a second timeline entry.
The same bytes under a different name are a different attachment.crash-before-fix.log and crash-after-fix.log can be byte-identical and mean
opposite things, so both are attached, both get 201, both appear on the
timeline — and they share one copy on disk.
Deletion is reference-counted. Removing an attachment deletes its record,
and deletes the stored bytes only when no other record stored at the same
content-addressed path still references them. Chat attachments are counted out
deliberately: their blobs are not content-addressed (see
chat sessions), so a chat file that happens to hash the
same is a different file in a different place and must not keep an issue
attachment’s bytes alive after you delete it. The question asked of every other
record is “would downloading it read this file?” — an issue or comment
attachment always resolves its bytes from the content-addressed path, so a
record restored from a backup into a new workspace still keeps its file
alive even though the path recorded on it names the workspace the backup came
from.
Bulk deletes leave reclaimable bytes. When an issue is hard-deleted (a
BACKLOG or CANCELLED issue removed outright), or a crew or workspace is
wiped, SQLite removes the attachment records by cascade without the application
seeing it — so the reference count never runs and the stored bytes stay on disk.
They are unreachable, not exposed: nothing points at them any more.Deleting an issue through crewship issue delete reclaims them straight away: it
reads the digests the issue is carrying before the delete and unlinks exactly
those. The crew-wipe and workspace-wipe paths do not, and nothing on a request
path could — SQLite removes those records without the application ever running.
They are collected instead by a background pass that runs once when the server
starts and then every hour, across every workspace under the storage root. It
needs no operator action and has no switch.A wiped tenant is included. The pass walks the directories under the storage
root rather than the workspace records, so a workspace whose records are all gone
is still visited and its files still reclaimed — which is the case that motivated
the pass, since it is also the largest. Chat attachment files are not in that
tree and are not its job; they belong to the crew files surface.The pass checks each stored file individually against the database while holding
that file’s own lock — the same lock an upload holds across writing its bytes and
recording them — so it cannot delete a file belonging to an upload that is one
statement from committing. It is idempotent and safe to run at any time on one
server. It is not safe to run two Crewship servers against one storage root: the
lock is in-process, nothing in the store arbitrates between processes, and that is
a limitation of the whole attachment design rather than of the reclaim pass.Files in the blob tree that are not named like a digest are never removed, and a
half-written temp file is removed only after it has sat untouched for an hour.
Audit trail
Every attach and detach writes to the issue’s activity timeline and to the
crew journal, which is what makes it notifiable — Crewship routes notifications
per journal entry type, so an event that reaches only mission_activity is an
event nobody is told about.The recorded detail is the filename, the content type and the size. Never the
content: an audit row is read back into the timeline, exported by backup, and
truncated into a notification body, and file content belongs in none of those.
Backup
Attachment records ride in the database dump. The stored bytes ride with
the file half of a bundle. A restored record whose bytes are missing degrades to a
404 on download rather than to a corrupt read — the sha256 column is what
lets a verify pass tell “bytes missing” from “bytes corrupt”.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Crewship","colors":{"primary":"#0F172A","light":"#38BDF8","dark":"#0F172A"},"logo":{"light":"https://mintcdn.com/unifytechnologysro/WhwQ87_U5LBMNsQr/logo/light.svg?fit=max\u0026auto=format\u0026n=WhwQ87_U5LBMNsQr\u0026q=85\u0026s=7339ba2741f7498b7b696734a17dee6d","dark":"https://mintcdn.com/unifytechnologysro/WhwQ87_U5LBMNsQr/logo/dark.svg?fit=max\u0026auto=format\u0026n=WhwQ87_U5LBMNsQr\u0026q=85\u0026s=9b6d34a1c75780cd797d25a354766892"},"favicon":"https://mintcdn.com/unifytechnologysro/YGXnF-ORuvOwZg7c/favicon.svg?fit=max\u0026auto=format\u0026n=YGXnF-ORuvOwZg7c\u0026q=85\u0026s=804731e497d7521629767b4d90c0befe","seo":{"metatags":{"canonical":"https://docs.crewship.ai"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","grok","aistudio","devin","windsurf","mcp","add-mcp","cursor","vscode","devin-mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"unifytechnologysro","hasAudioNarration":false,"actualSubdomain":"unifytechnologysro","customDomains":["docs.crewship.ai"],"gitSource":{"type":"github","owner":"crewship-ai","repo":"crewship","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0f4060ebe6aec5321be282","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Documentation","count":159},{"language":"default","tag":"CLI Reference","count":137},{"language":"default","tag":"Guides","count":111},{"language":"default","tag":"API Reference","count":61},{"language":"default","tag":"API","count":61},{"language":"default","tag":"Manifest Reference","count":22},{"language":"default","tag":"Agents \u0026 conversations","count":20},{"language":"default","tag":"Configuration \u0026 system","count":18},{"language":"default","tag":"Utilities","count":16},{"language":"default","tag":"Observability","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"guides/issue-attachments","slug":"/guides/issue-attachments","pageMetadata":{"title":"Issue attachments","description":"Attach files to an issue — and let the agent working it actually read them.","icon":"paperclip","stability":"experimental","tag":"Experimental","href":"/guides/issue-attachments"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Attach files to an issue — and let the agent working it actually read them.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`issue-attachments`,children:`Issue attachments`}),`\n`,_jsx(_components.p,{children:`A crash log, a screenshot, a repro bundle, a diff. Attach it to the issue, and\nthe agent working that issue can read it.`}),`\n`,_jsx(_components.p,{children:`That second half is the point. An attachment an agent cannot read is decoration:\nbefore this existed, the only way a file reached an agent was a human pasting its\ncontents into a comment, which does not work for a 20 MB log and does not work at\nall for a screenshot.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crewship`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` issue`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` attach`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` BE-42`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./crash.log`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crewship`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` issue`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` attachments`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` BE-42`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crewship`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` issue`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` attachment`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` BE-42`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`attachment-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./local-copy.log`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crewship`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` issue`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` detach`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` BE-42`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`attachment-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`-f json`}),`, `,_jsx(_components.code,{children:`issue attach`}),` prints only the attachment record (`,_jsx(_components.code,{children:`id`}),`,\n`,_jsx(_components.code,{children:`filename`}),`, `,_jsx(_components.code,{children:`content_type`}),`, `,_jsx(_components.code,{children:`size_bytes`}),`, `,_jsx(_components.code,{children:`sha256`}),`, …) on stdout and no receipt,\nso `,_jsx(_components.code,{children:`crewship issue attach BE-42 ./crash.log -f json | jq -r .id`}),` gives the id\nthat `,_jsx(_components.code,{children:`issue attachment`}),` and `,_jsx(_components.code,{children:`issue detach`}),` take. The human receipt is printed,\non stderr, only in the default human format. Attaching needs\n`,_jsx(_components.strong,{children:`MANAGER or above`}),`; a VIEWER can list and download but gets `,_jsx(_components.code,{children:`403 Forbidden`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The HTTP surface is documented in the\n`,_jsx(_components.a,{href:`/api-reference/issues#attachments`,children:`Issues API reference`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-an-agent-sees`,children:`What an agent sees`}),`\n`,_jsxs(_components.p,{children:[`An agent reaches the same files through its sidecar, on the loopback port inside\nits own container. Three verbs, all needing the same `,_jsx(_components.code,{children:`fd-3`}),` bearer-token form\nevery other sidecar call uses:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# What is attached?`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:9119/issue/BE-42/attachments`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -K`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/fd/3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AUTH`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`header = \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CREWSHIP_AGENT_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AUTH`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Read one.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:9119/issue/BE-42/attachments/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -K`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/fd/3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AUTH`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`header = \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CREWSHIP_AGENT_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AUTH`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Attach something the agent produced.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:9119/issue/BE-42/attachments`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"filename\":\"report.md\",\"content_base64\":\"IyBmaW5kaW5ncwo=\"}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -K`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dev/fd/3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AUTH`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`header = \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CREWSHIP_AGENT_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AUTH`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Listing is metadata only — id, filename, content type, size, digest, whether a\nhuman or an agent attached it. Reading is a second, explicit call, so an issue\ncarrying four log files does not push all four into the agent’s context whether\nor not it wanted any of them.`}),`\n`,_jsx(_components.p,{children:`A read comes back in one of two shapes:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"encoding\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cuntrusted source=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`attachment`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` …>…\u003c/untrusted …>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"truncated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"encoding\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"iVBORw0KGgo…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"truncated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`encoding: \"text\"`})}),` for text-ish types. The content arrives already wrapped\nin a nonce-delimited `,_jsx(_components.code,{children:`\u003cuntrusted>`}),` block, and so does the `,_jsx(_components.strong,{children:`filename`}),`. Budget:\n128 KiB.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`encoding: \"base64\"`})}),` for everything else. Deliberately `,_jsx(_components.em,{children:`not`}),` fenced: an\nagent that asked for bytes is going to decode them and write a file, and a\nwrapper it has to strip first is a bug waiting to happen. Budget: 512 KiB.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`truncated: true`})}),` means you are looking at a prefix. Say so rather than\nconcluding from a partial file — the flag is always present so that ignoring it\nis a choice rather than an accident.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`An agent may attach up to `,_jsx(_components.strong,{children:`6 MiB`}),` per call, lower than the 25 MiB a human gets:\nthe agent door carries the file as base64 inside a JSON body, so the bytes are\nbuffered three times over on the request path of a process that also holds the\ncrew’s credentials. The human door is multipart and streams.`]}),`\n`,_jsxs(_components.p,{children:[`The workspace is never the caller’s to choose. The sidecar fills it in from its\nown IPC identity, and the server checks it against the workspace the internal\ntoken is cryptographically bound to — a mismatch is a `,_jsx(_components.code,{children:`403`}),`, on the read verbs and\nthe attach verb alike. An agent naming another tenant’s issue identifier gets a\nrefusal, not that tenant’s file.`]}),`\n`,_jsx(Heading,{level:`2`,id:`why-the-content-is-fenced`,children:`Why the content is fenced`}),`\n`,_jsxs(_components.p,{children:[`An uploaded file is attacker-controlled input. On a self-hosted instance anyone\nwho can comment on an issue can attach to it, and the content lands directly in\nan agent’s context — the ingress prompt-injection surface\n(`,_jsx(_components.a,{href:`https://owasp.org/www-project-top-10-for-large-language-model-applications/`,children:`OWASP LLM01`}),`)\nthat Crewship’s trust fence (`,_jsx(_components.code,{children:`internal/untrusted`}),`) exists for.`]}),`\n`,_jsxs(_components.p,{children:[`Both the `,_jsx(_components.strong,{children:`filename`}),` and the `,_jsx(_components.strong,{children:`content`}),` go through the fence. The filename\nmatters as much as the body: `,_jsx(_components.code,{children:`ignore previous instructions.txt`}),` is a shorter and\nlikelier payload than the file itself, and it appears in every listing whether or\nnot anyone reads the file.`]}),`\n`,_jsx(Heading,{level:`2`,id:`types-and-why-the-allowlist-is-short`,children:`Types, and why the allowlist is short`}),`\n`,_jsxs(_components.p,{children:[`The type is resolved from the file’s extension against an allowlist. The\nrequest’s own `,_jsx(_components.code,{children:`Content-Type`}),` header is discarded entirely — that header is chosen\nby whoever is uploading, and honouring it is how a stored file becomes stored XSS\nserved from your own origin.`]}),`\n`,_jsxs(_components.p,{children:[`Allowed: `,_jsx(_components.code,{children:`.txt`}),` `,_jsx(_components.code,{children:`.log`}),` `,_jsx(_components.code,{children:`.md`}),` `,_jsx(_components.code,{children:`.csv`}),` `,_jsx(_components.code,{children:`.tsv`}),` `,_jsx(_components.code,{children:`.json`}),` `,_jsx(_components.code,{children:`.yaml`}),` `,_jsx(_components.code,{children:`.yml`}),` `,_jsx(_components.code,{children:`.toml`}),` `,_jsx(_components.code,{children:`.xml`}),`\n`,_jsx(_components.code,{children:`.diff`}),` `,_jsx(_components.code,{children:`.patch`}),` `,_jsx(_components.code,{children:`.png`}),` `,_jsx(_components.code,{children:`.jpg`}),` `,_jsx(_components.code,{children:`.jpeg`}),` `,_jsx(_components.code,{children:`.gif`}),` `,_jsx(_components.code,{children:`.webp`}),` `,_jsx(_components.code,{children:`.avif`}),` `,_jsx(_components.code,{children:`.pdf`}),` `,_jsx(_components.code,{children:`.zip`}),` `,_jsx(_components.code,{children:`.gz`}),`\n`,_jsx(_components.code,{children:`.tgz`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`.html`}),` and `,_jsx(_components.code,{children:`.svg`}),` are absent on purpose rather than by oversight: both are\nscript-bearing document formats a browser executes, and serving one from your own\norigin is script execution however it is labelled. Archives are allowed because a\nrepro bundle is a real use case and an archive is inert until something extracts\nit. Adding a type is a one-line change to `,_jsx(_components.code,{children:`attachmentTypes`}),` in\n`,_jsx(_components.code,{children:`internal/api/attachments.go`}),`, and a deliberate one.`]}),`\n`,_jsxs(_components.p,{children:[`Downloads are served with the resolved type, `,_jsx(_components.code,{children:`X-Content-Type-Options: nosniff`}),`\nand `,_jsx(_components.code,{children:`Content-Disposition: attachment`}),`, so even a type we got wrong is downloaded\nrather than rendered.`]}),`\n`,_jsx(Heading,{level:`2`,id:`storage-de-duplication-and-deletion`,children:`Storage, de-duplication and deletion`}),`\n`,_jsxs(_components.p,{children:[`Files are stored by `,_jsx(_components.strong,{children:`content`}),`, under the storage root:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\u003cstorage-root>/attachments/\u003cworkspace-id>/\u003csha256[0:2]>/\u003csha256>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Every component of that path is derived from bytes Crewship computed. The\nuploaded filename is a display label in the database and never a path component,\nso a filename of `,_jsx(_components.code,{children:`../../../etc/passwd`}),` is recorded as `,_jsx(_components.code,{children:`passwd`}),` and the bytes land\nexactly where every other attachment’s do. Path traversal is not refused here —\nit is not expressible.`]}),`\n`,_jsx(_components.p,{children:`Consequences worth knowing:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Identical bytes in one workspace share one copy.`}),` Two issues carrying the\nsame log cost one file on disk and two records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`De-duplication stops at the workspace.`}),` Identical bytes in two different\nworkspaces are two separate files. A shared blob would make “erase this\nworkspace” undecidable, and would turn write-time de-duplication into an\nexistence oracle — upload a file, observe whether the store already had it, and\nyou have learned that some other tenant holds those exact bytes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Attaching the same file to the same issue twice is one attachment.`}),` “The\nsame file” means the same bytes `,_jsx(_components.em,{children:`under the same name`}),`: the second call returns\n`,_jsx(_components.code,{children:`200`}),` with the existing record, not `,_jsx(_components.code,{children:`201`}),` and not `,_jsx(_components.code,{children:`409`}),`. Retries are safe and do\nnot add a second timeline entry.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The same bytes under a different name are a different attachment.`}),`\n`,_jsx(_components.code,{children:`crash-before-fix.log`}),` and `,_jsx(_components.code,{children:`crash-after-fix.log`}),` can be byte-identical and mean\nopposite things, so both are attached, both get `,_jsx(_components.code,{children:`201`}),`, both appear on the\ntimeline — and they share one copy on disk.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Deletion is reference-counted.`}),` Removing an attachment deletes its record,\nand deletes the stored bytes only when no other record `,_jsx(_components.em,{children:`stored at the same\ncontent-addressed path`}),` still references them. Chat attachments are counted out\ndeliberately: their blobs are not content-addressed (see\n`,_jsx(_components.a,{href:`/guides/chat-sessions`,children:`chat sessions`}),`), so a chat file that happens to hash the\nsame is a different file in a different place and must not keep an issue\nattachment’s bytes alive after you delete it. The question asked of every other\nrecord is “would downloading it read this file?” — an issue or comment\nattachment always resolves its bytes from the content-addressed path, so a\nrecord restored from a backup into a `,_jsx(_components.em,{children:`new`}),` workspace still keeps its file\nalive even though the path recorded on it names the workspace the backup came\nfrom.`]}),`\n`]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Bulk deletes leave reclaimable bytes.`}),` When an issue is hard-deleted (a\n`,_jsx(_components.code,{children:`BACKLOG`}),` or `,_jsx(_components.code,{children:`CANCELLED`}),` issue removed outright), or a crew or workspace is\nwiped, SQLite removes the attachment records by cascade without the application\nseeing it — so the reference count never runs and the stored bytes stay on disk.\nThey are unreachable, not exposed: nothing points at them any more.`]}),_jsxs(_components.p,{children:[`Deleting an issue through `,_jsx(_components.code,{children:`crewship issue delete`}),` reclaims them straight away: it\nreads the digests the issue is carrying `,_jsx(_components.em,{children:`before`}),` the delete and unlinks exactly\nthose. The crew-wipe and workspace-wipe paths do not, and nothing on a request\npath could — SQLite removes those records without the application ever running.\nThey are collected instead by a background pass that runs `,_jsx(_components.strong,{children:`once when the server\nstarts and then every hour`}),`, across every workspace under the storage root. It\nneeds no operator action and has no switch.`]}),_jsx(_components.p,{children:`A wiped tenant is included. The pass walks the directories under the storage\nroot rather than the workspace records, so a workspace whose records are all gone\nis still visited and its files still reclaimed — which is the case that motivated\nthe pass, since it is also the largest. Chat attachment files are not in that\ntree and are not its job; they belong to the crew files surface.`}),_jsxs(_components.p,{children:[`The pass checks each stored file individually against the database while holding\nthat file’s own lock — the same lock an upload holds across writing its bytes and\nrecording them — so it cannot delete a file belonging to an upload that is one\nstatement from committing. It is idempotent and safe to run at any time on `,_jsx(_components.strong,{children:`one`}),`\nserver. It is not safe to run two Crewship servers against one storage root: the\nlock is in-process, nothing in the store arbitrates between processes, and that is\na limitation of the whole attachment design rather than of the reclaim pass.`]}),_jsx(_components.p,{children:`Files in the blob tree that are not named like a digest are never removed, and a\nhalf-written temp file is removed only after it has sat untouched for an hour.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`audit-trail`,children:`Audit trail`}),`\n`,_jsxs(_components.p,{children:[`Every attach and detach writes to the issue’s activity timeline `,_jsx(_components.strong,{children:`and`}),` to the\ncrew journal, which is what makes it notifiable — Crewship routes notifications\nper journal entry type, so an event that reaches only `,_jsx(_components.code,{children:`mission_activity`}),` is an\nevent nobody is told about.`]}),`\n`,_jsx(_components.p,{children:`The recorded detail is the filename, the content type and the size. Never the\ncontent: an audit row is read back into the timeline, exported by backup, and\ntruncated into a notification body, and file content belongs in none of those.`}),`\n`,_jsx(Heading,{level:`2`,id:`backup`,children:`Backup`}),`\n`,_jsxs(_components.p,{children:[`Attachment `,_jsx(_components.strong,{children:`records`}),` ride in the database dump. The `,_jsx(_components.strong,{children:`stored bytes`}),` ride with\nthe file half of a bundle. A restored record whose bytes are missing degrades to a\n`,_jsx(_components.code,{children:`404`}),` on download rather than to a corrupt read — the `,_jsx(_components.code,{children:`sha256`}),` column is what\nlets a verify pass tell “bytes missing” from “bytes corrupt”.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Issue attachments","description":"Attach files to an issue — and let the agent working it actually read them.","icon":"paperclip","stability":"experimental","tag":"Experimental","href":"/guides/issue-attachments"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Issue attachments","slug":"issue-attachments","depth":1,"children":[]},{"title":"What an agent sees","slug":"what-an-agent-sees","depth":2,"children":[]},{"title":"Why the content is fenced","slug":"why-the-content-is-fenced","depth":2,"children":[]},{"title":"Types, and why the allowlist is short","slug":"types-and-why-the-allowlist-is-short","depth":2,"children":[]},{"title":"Storage, de-duplication and deletion","slug":"storage-de-duplication-and-deletion","depth":2,"children":[]},{"title":"Audit trail","slug":"audit-trail","depth":2,"children":[]},{"title":"Backup","slug":"backup","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"unifytechnologysro","siteName":"Crewship","title":"Issue attachments - Crewship","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T21:36:01.666Z","originalFileLocation":"guides/issue-attachments.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Attach files to an issue — and let the agent working it actually read them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Crewship\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Issue attachments - Crewship\">\u003cmeta data-mint-head property=\"og:description\" content=\"Attach files to an issue — and let the agent working it actually read them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Crewship\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.crewship.ai/guides/issue-attachments\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://unifytechnologysro.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Issue+attachments\u0026amp;description=Attach+files+to+an+issue+%E2%80%94+and+let+the+agent+working+it+actually+read+them.\u0026amp;theme=c523a64793ac01b0615646db\u0026amp;signature=513752470900dc0f6ce834d738306f8718e5c4859eb648daf24c335cedf8449b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Issue attachments - Crewship\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Attach files to an issue — and let the agent working it actually read them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://unifytechnologysro.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Issue+attachments\u0026amp;description=Attach+files+to+an+issue+%E2%80%94+and+let+the+agent+working+it+actually+read+them.\u0026amp;theme=c523a64793ac01b0615646db\u0026amp;signature=513752470900dc0f6ce834d738306f8718e5c4859eb648daf24c335cedf8449b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/unifytechnologysro/2TaouHNsRpVkyUpX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Crewship\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F172A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.crewship.ai/guides/issue-attachments\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/issue-attachments.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.crewship.ai/#organization\",\"name\":\"Crewship\",\"url\":\"https://docs.crewship.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/unifytechnologysro/WhwQ87_U5LBMNsQr/logo/light.svg?fit=max\u0026auto=format\u0026n=WhwQ87_U5LBMNsQr\u0026q=85\u0026s=7339ba2741f7498b7b696734a17dee6d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.crewship.ai#website\",\"name\":\"Crewship\",\"url\":\"https://docs.crewship.ai\",\"publisher\":{\"@id\":\"https://docs.crewship.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.crewship.ai/guides/issue-attachments#webpage\",\"url\":\"https://docs.crewship.ai/guides/issue-attachments\",\"name\":\"Issue attachments\",\"description\":\"Attach files to an issue — and let the agent working it actually read them.\",\"dateModified\":\"2026-10-30T21:36:01.666Z\",\"isPartOf\":{\"@id\":\"https://docs.crewship.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.crewship.ai/guides/issue-attachments#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.crewship.ai/guides/issue-attachments#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.crewship.ai/guides/install\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Issue attachments\",\"item\":\"https://docs.crewship.ai/guides/issue-attachments\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.crewship.ai/guides/issue-attachments#article\",\"headline\":\"Issue attachments\",\"name\":\"Issue attachments\",\"description\":\"Attach files to an issue — and let the agent working it actually read them.\",\"url\":\"https://docs.crewship.ai/guides/issue-attachments\",\"mainEntityOfPage\":{\"@id\":\"https://docs.crewship.ai/guides/issue-attachments#webpage\"},\"dateModified\":\"2026-10-30T21:36:01.666Z\",\"publisher\":{\"@id\":\"https://docs.crewship.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.crewship.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Crewship\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Crewship\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/issue-attachments.md","siteName":"Crewship","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Crewship Documentation","icon":"house","tag":"Experimental","href":""},{"title":"Quick Start","icon":"rocket","tag":"Stable","href":"/quickstart"},{"title":"Find your way around Crewship","icon":"map","tag":"Experimental","href":"/guides/task-index"},{"title":"First projects","icon":"route","tag":"Experimental","href":"/guides/first-projects"},{"title":"Crewship concepts and glossary","icon":"book-open","tag":"Experimental","href":"/concepts"},{"title":"Crewship use cases","icon":"briefcase-business","tag":"Experimental","href":"/guides/use-cases"},{"title":"Writing a good task for an agent","icon":"pencil-line","tag":"Experimental","href":"/guides/writing-good-tasks"},{"title":"When not to use Crewship","icon":"circle-stop","tag":"Experimental","href":"/guides/when-not-to-use"},{"title":"Philosophy","icon":"compass","tag":"Experimental","href":"/philosophy"},{"title":"Production Agent Checklist","icon":"circle-check","tag":"Experimental","href":"/production-checklist"},{"title":"Architecture","icon":"building","tag":"Experimental","href":"/architecture"}]},{"group":"Guides","icon":"book-open","pages":[{"group":"Setup","icon":"download","expanded":true,"pages":[{"title":"Install","icon":"download","tag":"Stable","href":"/guides/install"},{"title":"Developer Installation","icon":"wrench","tag":"Experimental","href":"/guides/installation"},{"title":"Onboarding","icon":"rocket","tag":"Experimental","href":"/guides/onboarding"},{"title":"Authentication","icon":"shield-check","tag":"Experimental","href":"/guides/auth"},{"title":"Top bar \u0026 account settings","icon":"user-gear","tag":"Experimental","href":"/guides/account-and-top-bar"},{"title":"Theme packs","icon":"palette","tag":"Experimental","href":"/guides/theme-packs"},{"title":"Admin CLI","icon":"wrench","tag":"Experimental","href":"/guides/admin-cli"}]},{"title":"Your First Crew","icon":"users","tag":"Experimental","href":"/guides/first-crew"},{"title":"Chat \u0026 Sessions","icon":"message-square","tag":"Stable","href":"/guides/chat-sessions"},{"title":"Document save state","icon":"file-text","tag":"Experimental","href":"/guides/document-drafts"},{"title":"Images and charts in chat","tag":"Experimental","href":"/guides/chat-run-images"},{"title":"Document history and compare","icon":"history","tag":"Experimental","href":"/guides/document-history-review"},{"title":"Document formatting and comments","icon":"message-square","tag":"Experimental","href":"/guides/document-formatting-comments"},{"title":"Chat Surface Limits","icon":"gauge","tag":"Stable","href":"/guides/chat-surface-limits"},{"title":"Native Slides initialization and reads","tag":"Experimental","href":"/guides/slides-native"},{"title":"Ask forms","icon":"clipboard-list","tag":"Experimental","href":"/guides/ask-forms"},{"title":"Chat demo walkthrough","icon":"play","tag":"Experimental","href":"/guides/chat-demo-walkthrough"},{"title":"Demo use cases","icon":"list-checks","tag":"Experimental","href":"/guides/demo-use-cases"},{"title":"Watching Agent Runs","icon":"radio","tag":"Experimental","href":"/guides/watching-agent-runs"},{"title":"Workspace Manifests","icon":"file-code","tag":"Experimental","href":"/guides/manifests"},{"title":"Devcontainers \u0026 Runtime Images","icon":"container","tag":"Stable","href":"/guides/devcontainers"},{"title":"Keeping crew images current","icon":"refresh-cw","tag":"Experimental","href":"/guides/crew-image-freshness"},{"title":"Credentials","icon":"key","tag":"Experimental","href":"/guides/credentials"},{"title":"Auto-managed credentials","icon":"shield-check","tag":"Experimental","href":"/guides/auto-managed-credentials"},{"title":"Model Discovery","icon":"list-checks","tag":"Experimental","href":"/guides/model-discovery"},{"title":"Multi-provider LLM configuration","icon":"plug-zap","tag":"Experimental","href":"/guides/multi-provider-llm"},{"group":"Skills","icon":"sparkles","expanded":false,"pages":[{"title":"Skills \u0026 Marketplace","icon":"sparkles","tag":"Experimental","href":"/guides/skills"},{"title":"Author a Skill in 10 Minutes","icon":"rocket","tag":"Experimental","href":"/guides/skills-authoring"},{"title":"Agent-Authored Skills","icon":"robot","tag":"Experimental","href":"/guides/skills-agent-authored"},{"title":"SKILL.md Format Reference","icon":"file-code","tag":"Experimental","href":"/guides/skills-format"}]},{"title":"Orchestration","icon":"network","tag":"Experimental","href":"/guides/orchestration"},{"title":"The issue detail","icon":"circle-dot","tag":"Experimental","href":"/guides/issue-detail"},{"title":"Mentioning an agent in an issue","icon":"at-sign","tag":"Experimental","href":"/guides/issue-mentions"},{"title":"Inbox","icon":"inbox","tag":"Experimental","href":"/guides/inbox"},{"title":"Search (⌘K)","icon":"magnifying-glass","tag":"Experimental","href":"/guides/search"},{"group":"Routines","icon":"workflow","expanded":false,"pages":[{"title":"Routines","icon":"workflow","tag":"Stable","href":"/guides/routines"},{"title":"Calendar","icon":"calendar","tag":"Experimental","href":"/guides/calendar"},{"title":"Routines cookbook","icon":"book-open","tag":"Experimental","href":"/guides/routines-cookbook"},{"title":"Demo packs","icon":"package","tag":"Experimental","href":"/guides/demo-packs"},{"title":"Routines: Migration \u0026 Compatibility","icon":"arrow-left-right","tag":"Experimental","href":"/guides/routines-migration"},{"title":"Outbound notifications","icon":"bell","tag":"Stable","href":"/guides/notifications"}]},{"group":"CLI adapters","icon":"plug","expanded":false,"pages":[{"title":"CLI Adapters","icon":"terminal","tag":"Experimental","href":"/guides/cli-adapters"},{"title":"CLI Pairing","icon":"link","tag":"Experimental","href":"/guides/cli-pairing"},{"title":"Claude Code","icon":"terminal","tag":"Experimental","href":"/guides/cli/claude-code"},{"title":"Codex CLI","icon":"terminal","tag":"Experimental","href":"/guides/cli/codex"},{"title":"Gemini CLI","icon":"terminal","tag":"Experimental","href":"/guides/cli/gemini"},{"title":"OpenCode","icon":"terminal","tag":"Experimental","href":"/guides/cli/opencode"},{"title":"Cursor CLI","icon":"terminal","tag":"Experimental","href":"/guides/cli/cursor"},{"title":"Factory Droid","icon":"terminal","tag":"Experimental","href":"/guides/cli/factory-droid"}]},{"title":"MCP across all 6 CLIs","icon":"plug-zap","tag":"Experimental","href":"/guides/mcp-multi-cli"},{"title":"Restricted native Codex profile","tag":"Experimental","href":"/guides/restricted-native-codex"},{"title":null,"href":"/guides/restricted-login-identity-proof"},{"title":"Keeper","icon":"shield-check","tag":"Experimental","href":"/guides/keeper"},{"title":"Autonomy + self-learning","icon":"sliders","tag":"Experimental","href":"/guides/autonomy-and-self-learning"},{"title":"Keeper Reviews — admin panel workflow","icon":"shield-check","tag":"Experimental","href":"/guides/keeper-reviews-panel"},{"title":"Ephemeral agents — hire, ghost, rehire","icon":"hourglass","tag":"Experimental","href":"/guides/ephemeral-agents"},{"title":"Integrations","icon":"plug","tag":"Experimental","href":"/guides/integrations"},{"title":"Git links","description":"Attach a GitHub pull request or GitLab merge request to an issue — no webhooks, no publicly reachable instance.","icon":"code-pull-request","tag":"Experimental","href":"/guides/git-links"},{"title":"Issue attachments","icon":"paperclip","tag":"Experimental","href":"/guides/issue-attachments"},{"title":"Templates","description":"Deploy pre-configured crews with agents from blueprints, and use workflow templates for mission patterns.","icon":"copy","tag":"Experimental","href":"/guides/templates"},{"group":"Memory","icon":"brain","expanded":false,"pages":[{"title":"Memory System","icon":"brain","tag":"Stable","href":"/guides/agent-memory"},{"title":"Memory Portability","icon":"arrow-right-arrow-left","tag":"Experimental","href":"/guides/memory-portability"},{"title":"Memory Provider interface","icon":"puzzle","tag":"Experimental","href":"/guides/memory-provider"},{"title":"AgentBrief — sub-agent briefing primitive","icon":"messages-square","tag":"Experimental","href":"/guides/agent-brief"},{"title":"Episodic Memory","icon":"database","tag":"Experimental","href":"/guides/episodic-memory"},{"title":"Conversation Search","icon":"magnifying-glass","tag":"Experimental","href":"/guides/conversation-search"},{"title":"Consolidate","icon":"layers","tag":"Experimental","href":"/guides/consolidate"},{"title":"Memory Observability","icon":"chart-line","tag":"Experimental","href":"/guides/memory-observability"},{"title":"LLM Middleware","icon":"layers","tag":"Experimental","href":"/guides/llm-middleware"},{"title":"Encryption at rest","icon":"shield","tag":"Experimental","href":"/guides/encryption-at-rest"}]},{"group":"Observability","icon":"activity","expanded":false,"pages":[{"title":"Crew Journal","icon":"book-open","tag":"Stable","href":"/guides/crew-journal"},{"title":"Activity","icon":"activity","tag":"Experimental","href":"/guides/activity"},{"title":"Bottom dock — context-aware inspector","icon":"panel-bottom","tag":"Experimental","href":"/guides/bottom-dock"},{"title":"Tracing (OpenTelemetry)","icon":"git-fork","tag":"Experimental","href":"/guides/tracing"},{"title":null,"href":"/observability/otlp-setup"},{"title":"Prometheus Metrics","icon":"chart-line","href":"/observability/metrics"},{"title":"Feedback","icon":"thumbs-up","tag":"Experimental","href":"/guides/feedback"},{"title":"Telemetry","icon":"shield-check","tag":"Experimental","href":"/guides/telemetry"},{"title":"Chat interaction events","icon":"activity","tag":"Experimental","href":"/guides/chat-telemetry"}]},{"title":"Scheduling","icon":"clock","tag":"Experimental","href":"/guides/scheduling"},{"title":"Files and Output","icon":"folder-open","tag":"Stable","href":"/guides/files-and-output"},{"title":"Paymaster","icon":"credit-card","tag":"Stable","href":"/guides/paymaster"},{"title":"Lookout","icon":"binoculars","tag":"Stable","href":"/guides/lookout"},{"title":"Harbormaster","icon":"anchor","tag":"Stable","href":"/guides/harbormaster"},{"title":"Cartographer","icon":"map","tag":"Experimental","href":"/guides/cartographer"},{"title":"Lifecycle Hooks","icon":"webhook","tag":"Experimental","href":"/guides/hooks"},{"title":"Automations","icon":"zap","tag":"Experimental","href":"/guides/automations"},{"title":"Pages","icon":"layout-template","tag":"Experimental","href":"/guides/pages"},{"group":"Artifacts","icon":"layers","pages":[{"title":"Artifacts","tag":"Experimental","href":"/guides/artifacts"},{"title":"Artifacts library","icon":"library","tag":"Experimental","href":"/guides/artifacts/library"},{"title":"Sharing and access","icon":"share-2","tag":"Experimental","href":"/guides/artifacts/sharing-and-access"},{"title":"Projects: screens, comments and agent work","icon":"app-window","tag":"Experimental","href":"/guides/artifacts/project"},{"title":"Design canvas","icon":"frame","tag":"Experimental","href":"/guides/artifacts/design"},{"title":"Dashboards","tag":"Experimental","href":"/guides/artifacts/dashboard"},{"title":"Interactive artifacts","tag":"Experimental","href":"/guides/artifacts/interactive"},{"title":"Slides","icon":"presentation","tag":"Experimental","href":"/guides/artifacts/slides"},{"title":"Word and Sheet editing","icon":"file-pen","tag":"Stable","href":"/guides/artifacts/word-and-sheet"},{"title":"Set up Sheets with an agent in chat","icon":"list-checks","tag":"Experimental","href":"/guides/artifacts/sheet-agent-setup"},{"title":"Artifacts in chat","icon":"message-square","tag":"Experimental","href":"/guides/artifacts/chat"},{"title":"Operate Artifacts","icon":"server","tag":"Experimental","href":"/guides/artifacts/operations"}]},{"title":"Operate Pages applications","tag":"Experimental","href":"/guides/pages-apps-operations"},{"title":"Quartermaster","icon":"clipboard-check","tag":"Experimental","href":"/guides/quartermaster"},{"title":"Watch Roster","icon":"eye","tag":"Experimental","href":"/guides/watch-roster"},{"group":"Operations","icon":"wrench","expanded":false,"pages":[{"title":"Backup \u0026 Restore","icon":"shield","tag":"Stable","href":"/guides/backup"},{"title":"Database Performance","icon":"gauge","tag":"Stable","href":"/guides/database-performance"},{"title":"Docker Socket Proxy","icon":"shield","tag":"Stable","href":"/guides/docker-socket-proxy"},{"title":"Service disk quotas","icon":"hard-drive","tag":"Experimental","href":"/guides/service-disk-quotas"},{"title":"Migrations Catalog","icon":"database","tag":"Experimental","href":"/guides/migrations"},{"title":"Migration Checklist","icon":"list-checks","tag":"Experimental","href":"/guides/migration-checklist"},{"title":"Troubleshooting","icon":"stethoscope","tag":"Experimental","href":"/guides/troubleshooting"},{"title":"Upgrading \u0026 Downgrading","icon":"arrow-up","tag":"Experimental","href":"/guides/upgrades"}]}]},{"group":"Security","icon":"shield","pages":[{"title":"Threat Model","icon":"shield-alert","tag":"Experimental","href":"/security/threat-model"},{"title":"Roles \u0026 Permissions","icon":"users","tag":"Experimental","href":"/security/rbac"},{"title":"Credential Encryption","icon":"lock","tag":"Experimental","href":"/security/encryption"},{"title":"Container Isolation","icon":"shield","tag":"Experimental","href":"/security/container-isolation"},{"title":"Audit Log","icon":"scroll","tag":"Experimental","href":"/security/audit"},{"title":"GDPR — Article 15 access + Article 17 cascade","icon":"scale","tag":"Experimental","href":"/security/gdpr"},{"title":"Rate Limiting \u0026 Security Headers","icon":"lock","tag":"Experimental","href":"/security/security-headers"},{"title":"Instance-Scope Backup Security","sidebarTitle":"Backup (Instance Scope)","icon":"database-backup","tag":"Stable","href":"/security/backup-instance-security"}]},{"group":"Configuration","icon":"settings","pages":[{"title":"Environment Variables","icon":"sliders-horizontal","tag":"Stable","href":"/configuration/environment"},{"title":"Artifacts configuration","icon":"toggle-right","tag":"Stable","href":"/configuration/artifacts"},{"title":"YAML Configuration","icon":"file-code","tag":"Experimental","href":"/configuration/yaml-config"},{"title":"Providers","icon":"server","tag":"Experimental","href":"/configuration/providers"},{"title":"Apple Containers on macOS","icon":"cpu","tag":"Experimental","href":"/configuration/apple-containers"},{"title":"Devcontainer Configuration","icon":"sliders-horizontal","tag":"Stable","href":"/configuration/devcontainers"},{"title":"Manifest Schema","icon":"list-tree","tag":"Experimental","href":"/configuration/manifest-schema"}]},{"group":"Manifest Reference","icon":"file-code","pages":[{"title":null,"href":"/manifest/overview"},{"title":null,"href":"/manifest/workspace"},{"title":null,"href":"/manifest/crew"},{"title":null,"href":"/manifest/agent"},{"title":null,"href":"/manifest/skill"},{"title":null,"href":"/manifest/integration"},{"title":null,"href":"/manifest/connector"},{"title":null,"href":"/manifest/issue"},{"title":null,"href":"/manifest/project"},{"title":null,"href":"/manifest/milestone"},{"title":null,"href":"/manifest/label"},{"title":null,"href":"/manifest/recurring_issue"},{"title":null,"href":"/manifest/triage_rule"},{"title":null,"href":"/manifest/saved_view"},{"title":null,"href":"/manifest/workflow_template"},{"title":null,"href":"/manifest/routine"},{"title":null,"href":"/manifest/page"},{"title":null,"href":"/manifest/feature_flag"},{"title":null,"href":"/manifest/instance_setting"},{"title":null,"href":"/manifest/hook"},{"title":null,"href":"/manifest/recipe"},{"title":null,"href":"/manifest/crew_template"}]}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/cli/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},"basePath":"","title":"Issue attachments - Crewship","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}