Documents and artifacts
The Resources page holds the project's longer documents, in two tabs. Documents are files your team uploads, such as specs, PDFs, slide decks, notes and screenshots, so Dev and your agents can search them and cite them. Artifacts are documents Dev and your agents write for you, such as guides, references and runbooks, so what your team knows about how things work is kept somewhere everyone can find it.
You'll find it under Knowledge → Resources in the project sidebar. It opens on the Documents tab.
Why upload documents
Upload the material your team already works from: a product spec, an API reference, a design brief, meeting notes, a screenshot of a bug. Once a document is uploaded, Dev can find it from any session in the project and quote it in its answers, and your agents can search it while they work. Nobody has to paste the same spec into every conversation.
Documents belong to one project. Every member of the project can see them.
Upload a document
On the Resources page, press Upload document and choose one or more files. Each file appears with a progress indicator, then in the list with its name, size and when it was uploaded.
DevSpec accepts these files:
| Kind | File types | Largest file |
|---|---|---|
| Text | .txt, .md, .csv, .json, .xml, .html | 2 MB |
| Code | .ts, .tsx, .js, .jsx, .py, .go, .rs, .java, .rb, .php, .c, .cpp, .h, .cs, .swift, .kt, .sh, .yaml, .yml, .toml, .sql, .graphql, .proto, .css, .scss | 2 MB |
| Word | .docx | 20 MB |
| PowerPoint | .pptx | 20 MB |
| 20 MB | ||
| Images | .png, .jpg, .jpeg, .gif, .webp | 10 MB |
Older Word (.doc) and PowerPoint (.ppt) files aren't accepted: save them as .docx, .pptx or PDF first.
Files you attach to a message in a session can also become documents: tick Save to project when you attach them, and they appear on this tab. A Word or PowerPoint file keeps the original file, so you can open it exactly as it was attached. Session attachments have their own size limits (see Sessions).
How DevSpec reads your documents
Text, code, Word and PowerPoint files are read as soon as you upload them, and are searchable within moments. From a PowerPoint file, DevSpec reads each slide's text and tables, and the speaker notes, in slide order.
PDFs and images are read in the background after upload, because their text and content have to be extracted first, so they take a little longer to become searchable. You can leave the page while that happens.
Indexing documents for search, including reading PDFs and images, is background work charged to your organization's balance. It appears on Settings → Billing → Transactions as Running your project. See Billing, usage and limits.
Keep a file as it is, or adopt it as a living document
When you upload files that aren't all images, DevSpec asks how to keep them:
- Keep as a reference file (the default). The file stays exactly as you uploaded it. Dev and your agents can search it, quote it and open the original. Use this for material your team doesn't edit, such as a vendor's spec, a standard you follow or an image-heavy PDF.
- Adopt as a living document. DevSpec turns the text it read from the file into a guide, reference or runbook on the Artifacts tab. Anyone who can edit the project can change it there, with its full version history, and DevSpec flags it as Possibly outdated when shipped changes make it out of date. Use this for your own documents brought over from tools like Confluence or Notion, which would otherwise drift out of date.
To adopt a file you've already uploaded, press the pen icon (Adopt as a living document) on its row, choose guide, reference or runbook, and press Adopt. The icon appears once DevSpec has read the file. Images can't be adopted, because they have no text of their own to edit, and neither can a file kept out of AI answers until you switch it back on.
A living document starts with all the text DevSpec read from the file. A PDF's text is used as it was read; code and data files, such as .yaml or .json, become one code block so they keep their exact layout. A PDF you choose to adopt while uploading becomes a living document as soon as DevSpec has finished reading it.
Once a file is adopted, it leaves the Documents tab, so search finds one copy rather than two. The original file isn't lost: open the living document and select the file name under Adopted from to see it exactly as it was uploaded.
Documents explain how things work; they never set rules. If your team wants something enforced, such as a policy, a standard or a compliance requirement, record it as a decision or requirement that links to the document. See Memories and Requirements.
Contributors and Maintainers can adopt files. Reviewed Contributors can upload files but can't adopt them; ask a Contributor or Maintainer to.
If a document can't be read
When DevSpec can't read a document, its row says "We couldn't read this one, so it won't show up in search. You can still open it from its name." Press the retry icon (Try reading it again) to have DevSpec read it again.
If your organization's balance is empty, PDFs and images can't be read and show as unreadable. Add funds, then retry them.
Find, filter and delete documents
On the Documents tab, Search documents… matches file names, summaries and tags. The menu next to it shows All documents, only those Used in AI answers, or only those Kept out of AI answers. Click tags to narrow the list further, and Clear filters to reset it.
Each document has a Used in AI answers switch. Turn it off when you want to keep an uploaded file on the project without Dev citing it in answers. Click a document's name to open the file as it was uploaded.
To delete a document, press the bin icon (Delete document) on its row and press Delete to confirm. Deleting can't be undone. Once deleted, Dev and your agents stop finding it in their searches.
Anyone on the project can see its documents. Contributors and Maintainers can upload documents, change whether a document is used in AI answers, retry a failed read and delete documents. Viewers can see them but can't change them. See Organizations, members and roles.
What artifacts are
An artifact is a standalone document that Dev or an agent writes when a conversation produces something worth keeping on its own: how to do something, how part of your system works, the steps for a deploy. Each artifact has one of these types:
| Type | For |
|---|---|
| Guide | How to do something |
| Reference | How something works, or facts to look up, such as an architecture or API reference |
| Runbook | Operational steps, for example for a deploy or an incident |
Artifacts are for longer documents. A decision, a convention or a short settled fact, such as "we use Postgres row-level security for tenancy", belongs in a memory.
How artifacts are created
There is no create button on the Artifacts tab. Artifacts are written during the work:
- Dev offers to write one when a session settles something worth a document, and writes it when you agree, or straight away if you ask.
- Your agents can write them too, such as a guide to something they built.
- Artifacts created by automations, and new artifacts proposed by Reviewed Contributors, wait in Review for a Maintainer to accept.
An artifact written in a session links back to it, so you can see the conversation behind it.
Before Dev or your agent writes a new artifact, or rewrites one substantially, it looks for documents that already cover the same ground and shows you any it finds, so you can update the existing one instead of adding a second. Artifacts waiting for a Maintainer are listed at the top of the Artifacts tab under Awaiting review, each marked Proposed.
Find an artifact
On the Artifacts tab:
- All types narrows the list to one type.
- Live artifacts shows current artifacts; switch it to Archived only to see archived ones.
- Flagged only appears when some artifacts have been flagged, and shows only those. You can narrow it further to Superseded but live or Possibly outdated.
- Click tags to show only artifacts with them.
The list loads 30 at a time; press Load more resources for the rest. To find an artifact by what it says, ask Dev.
Open, edit and archive an artifact
Click an artifact to open it. You see the full text, its tags, where it came from (the source session, who wrote it, when it was created and updated, and what replaced it, if anything), any tasks linked to it, and its history. Show history lists every version of the document, who asked for, made or approved each change, and word-by-word differences between versions; Read this version opens any earlier version in full, and Load older versions pages back through a long history.
The buttons along the bottom:
- Copy: copies the text.
- Download: saves it as a Markdown file.
- Edit: change the title, summary, text and tags, then Save. If your change needs approval, use Review changes and send it for acceptance; the current artifact stays in use while it waits.
- Archive: takes it out of the live list. Archived artifacts stay available under Archived only. Unarchive puts one back.
- Delete permanently: appears only on an archived artifact, and removes it for good, with no further confirmation.
To replace an artifact with a new version, ask Dev or your agent. The old one then shows what replaced it.
Connect related knowledge
Ask Dev or your agent to link an artifact with a memory, another artifact or an inventory entry, such as the runbook for your production database, and give a reason. Both show Reads together with, so readers can follow a decision or resource to its full explanation without repeating it.
For two records that describe the same outcome, use duplicate resolution instead: keep the useful detail in one and archive the duplicate. See Review.
Documents are references, not rules
Artifacts and uploaded documents are supporting references. They describe how things are, so they can go out of date, and DevSpec flags an artifact when that seems likely (see below). They never hold a decision on their own: changing a document never waits for whoever wrote it or asked for it, and a document can't be adopted as your decision.
If your team wants a rule followed, record it as a decision or convention in Memories and link the supporting document or uploaded file to it via Reads together with (see Connect related knowledge). Work is checked against the decision, and checkers read the linked supporting document in full alongside that decision so the detail is respected without turning standalone docs into rules.
When an artifact is flagged
DevSpec checks artifacts in the background and flags ones that may need attention. A flagged artifact shows the reason when you open it:
- Superseded but live: a newer artifact replaces it, but this one hasn't been archived. View replacement opens the newer one, and Archive this artifact tidies it away.
- Possibly outdated: it may be out of date with your code or the rest of the project.
For Possibly outdated, you can answer right there with Still accurate, the same answer as on the Review page, and add a note about why. Edit lets you correct it, Discuss opens a session about the artifact, and Archive this artifact takes it out of the live list. Implementation-time checks are background work, charged to your balance as Running your project.
Who can change artifacts
Anyone on the project can read, copy and download artifacts, and press Discuss.
Contributors and Maintainers can add artifacts directly; Reviewed Contributors propose them for approval. Viewers can read and discuss them.
Contributors and Maintainers can edit, replace, archive or restore any artifact straight away, whoever wrote it or asked for it, themselves or through Dev and their agents. Each edit is saved as a new version in the artifact's history, which records who asked for it, who made it and when. A Reviewed Contributor's change waits in Review for a Maintainer, and the current artifact stays in use meanwhile.
A Maintainer can rule that a flagged document is Still accurate. Contributors and Reviewed Contributors can propose that ruling, leaving the flag in place until it is accepted. Delete permanently is a Maintainer action.
See Review and Organizations, members and roles.