# Your data

What Crew's person and team archives hold, how to open them, and what Crew counts when the Arcadia account asks.

You ask for your data, and close your account, at your Arcadia account. Crew offers neither on its own: your account asks Crew, and Crew answers it.

## Your archive

When you ask your account for your data, Crew makes one zip file of everything it keeps of you, seals it so that only you can open it, and hands it to your account as it makes it. Crew keeps no copy.

The archive holds what is yours whole: you and your agents, your teams and invitations, what was addressed to you and how far you have read, your drafts, the direct chats you or your agents sit in, whole, and every team and group chat that only you and your agents are in, with all it holds. From the teams and chats you share with others, it holds what you and your agents wrote and did there, and nothing that anyone else wrote. Of a shared team's canvases, it holds the comments you and your agents wrote on them, by the ids of where each is. The team's owners take its canvases whole in the team's archive.

## The files

| File | What it holds |
|---|---|
| `schema.json` | A description of every record and every field below, as a JSON Schema |
| `person.json` | You, as Crew holds you: your account id, username, email and picture, when Crew first saw you, the skin tone you chose for reactions, and whether you leave your own events out of workflow telemetry, with when you chose that |
| `staff_acts.jsonl` | Crew staff acts about you, with their grounds as recorded. The Arcadia account handles disclosure of lawful demands and urgent notices |
| `agents.jsonl` | Your agents, their descriptions, and for each team Crew has seen each of them in, their limits, hearing settings and whether a Router may wake them |
| `teams.jsonl` | Each team the archive names: your place in it, and for a team only you are in, its guide for agents, house rules, labels and repositories |
| `invitations.jsonl` | The invitations to you, and those you made |
| `notifications.jsonl` | What was addressed to you and to your agents, and when it was seen |
| `lines.jsonl` | Your lines from the account, Keep, Act and Arcadia, the events that wrote them, your hand marks, the agents you mute and your categories |
| `telegram.json` | Your Telegram link, if you linked one: your Telegram user id, whether pings are on, when you linked it, when it last changed, and whether Telegram stopped the messages |
| `manners.json` | Your note to writers, your switches and their versions |
| `manners-served.jsonl` | Which of your note's versions was served to each writer's agent and when |
| `interruptions.jsonl` | Your daily counts of interruptions by agents |
| `reads.jsonl` | How far you and each of your agents have read each chat |
| `boards.jsonl` | The boards of the teams only you are in, with their columns, lead, due day, description and health |
| `board_updates.jsonl` | Updates of those boards and updates by you or your agents |
| `views.jsonl` | The saved views of those teams and their boards, with their filters, display and order, including archived views |
| `templates.jsonl` | The templates of those boards for a new card, with the title, text, labels and priority each gives, including archived templates |
| `skills.jsonl` | The skills and plugins of the teams only you are in, each with its text and metadata, including archived ones |
| `skill_versions.jsonl` | Saved versions of skills and plugins that you or your agents wrote |
| `cards.jsonl` | Their cards, with text, relations, source messages and linked GitHub commits |
| `card_texts.jsonl` | Current card text you or your agents wrote on boards the archive does not hold whole |
| `behavior-intents.jsonl` | Declarations on boards exported whole, and declarations by your agents on other boards you can read |
| `behavior-reviews.jsonl` | Decisions on boards exported whole, and your own decisions on other boards you can read |
| `versions.jsonl` | The earlier texts those cards keep, each whole, with who wrote it and when; and the earlier texts you and your agents wrote on cards of the teams you share |
| `checks.jsonl` | Checks recorded on cards of the teams only you are in, and checks you and your agents recorded on cards of the teams you share |
| `card_reads.jsonl` | Reads recorded on cards of the teams only you are in, and reads you and your agents recorded on cards of the teams you share |
| `findings.jsonl` | Findings of those reads |
| `runs.jsonl` | Runs heard on cards of the teams only you are in, and every run of your agents |
| `usage_runs.jsonl` | Team-attributed AI usage runs recorded for you and your agents |
| `chats.jsonl` | Each chat the archive names, and for one only you are in, its purpose and who is in it |
| `messages.jsonl` | Every message of the chats only you are in, and every message you and your agents wrote in any other, each ask with whom it was put to, any seats it asked for and how it ended |
| `answers.jsonl` | Each ask put to you that you answered, with your answer |
| `change_requests.jsonl` | Each change request you made in Design mode on a canvas, with the edits it asks for |
| `comments.jsonl` | Each comment you and your agents wrote on a canvas, with the ids of its canvas and of the frame, the elements or the mark it is on, or its point on the plane. Its words are the first message of its thread in `messages.jsonl` |
| `view_follows.jsonl` | The saved views you and your agents follow, with when each follow began |
| `sidebar_orders.jsonl` | The order in which you keep each team's boards and chats in your sidebar |
| `place_mutes.jsonl` | The boards and chats whose ambient notifications you muted |
| `mutes.jsonl` | Each asker whose asks you muted |
| `reach.jsonl` | Your contacts, the requests to write you made and were asked, whom you block, the lines they left you, and whether you take requests |
| `direct-chats.jsonl` | The direct chats you or your agents sit in, with who sits in each |
| `direct-messages.jsonl` | Every message of those direct chats, and of their threads |
| `direct-queue.jsonl` | What waits for each of your agents from a message of a direct chat by someone else |
| `reactions.jsonl` | The reactions in the chats only you are in, and every reaction you and your agents put anywhere else |
| `files.jsonl` | The images of those messages and your drafts, each with where its bytes are |
| `canvases.jsonl` | Each canvas of the teams only you are in, whole, as its folder's [`manifest.json`](#canvas) holds it |
| `removed.jsonl` | A placeholder for each message, card and image here that Arcadia removed. It says where the item was and holds nothing of it. What Arcadia removed as urgent is left out whole, with no placeholder, and no other file names it |
| `record.jsonl` | Every change of the teams and chats only you are in, and every change you and your agents made anywhere else |
| `files/<id>/<name>` | Each image as it was sent, and beside an image made in the markup editor, what was drawn on it, as `<name>.marks.json` |
| `chats/<id>.md` | Each chat with messages here, to read, by day |
| `canvases/<name> (<id>)/` | Each canvas's [folder](#canvas) |

In `reach.jsonl`, a request that ended in a block reads as `blocked` only for the one who blocked. For the other person it reads as `ended`, whoever made the request. A request you made that the person answered Not now also reads as `ended`. A request that ran out before anyone answered it reads as `lapsed`.

`schema.json` describes every record and every field of these files, so that another product, or your agent, can read them. The archive's `README.md` holds this table too.

An address invited to a team, with no account in Crew, gets an archive of its own invitations alone: for each, the team's id, when it was made, how and when it closed, and the address.

## A team's archive

An owner asks for the archive on the team's page at the Arcadia account, with their second step. An owner can also export a closed team during its 14 days. Crew seals its part to the key the account names and keeps no copy. The account tells every member who exported the team.

The archive holds the team's work, General and the group chats the asking owner is in. Other group chats stay out, including their images and record lines. So do drafts, notifications, read marks, mutes, sessions and presence. Crew includes no credentials or member emails. The account adds invitations in its own part.

| File | What it holds |
|---|---|
| `README.md` | Who asked for the archive, when it was made and what it holds |
| `schema.json` | The shape of each record, as a JSON Schema |
| `teams.jsonl` | The team's name, card prefix, guide for agents, house rules, labels, repositories by name and number, and sidebar sections with places in the archive |
| `people.jsonl` | The team's people by id and username, with markers for former members whose data was erased |
| `agents.jsonl` | The agents Crew lists for the team |
| `boards.jsonl` | Live and archived boards with their columns, lead, due day, description and health |
| `board_updates.jsonl` | Project updates, with text only from messages in the archive |
| `views.jsonl` | The team's saved views and those of its boards, with their filters, display and order, including archived views |
| `templates.jsonl` | Its boards' templates for a new card, with the title, text, labels and priority each gives, including archived templates |
| `skills.jsonl` | The team's skills and plugins, each with its text and metadata, including archived ones |
| `skill_versions.jsonl` | Saved versions of the team's skills and plugins, including archived ones |
| `cards.jsonl` | Live and archived cards, with relations and GitHub links. Cards Arcadia removed stay out, with a placeholder in `removed.jsonl` |
| `behavior-intents.jsonl` | Declarations on the cards in the archive |
| `behavior-reviews.jsonl` | Decisions and notes on those declarations |
| `versions.jsonl` | Earlier texts of those cards |
| `checks.jsonl` | Checks on those cards |
| `card_reads.jsonl` | Reads recorded on those cards |
| `findings.jsonl` | Findings from those reads |
| `runs.jsonl` | Runs heard on the team's cards |
| `usage_runs.jsonl` | Named AI usage runs for members who have not opted out |
| `usage_daily.jsonl` | Anonymous daily team AI usage sums |
| `chats.jsonl` | General and the group chats in the archive, with their members |
| `messages.jsonl` | Their messages, with asks and answers |
| `answers.jsonl` | Answers to their asks |
| `reactions.jsonl` | Reactions in those chats |
| `files.jsonl` | Files in their messages, images on their cards and paths to the bytes. A document preview names its original |
| `comments.jsonl` | Comments on canvases, by the ids of their threads and what they point at |
| `change_requests.jsonl` | The edits requested in those threads |
| `shared_review_notices.jsonl` | Opaque Keep proposal, collection and target identifiers, the operation and who submitted it. No Keep contents or decisions |
| `canvases.jsonl` | The team's live and archived canvases, each as its folder's [`manifest.json`](#canvas) holds it |
| `removed.jsonl` | A placeholder for each message, card and image here that Arcadia removed. It says where the item was and holds nothing of it. What Arcadia removed as urgent is left out whole, and no other file names it |
| `record.jsonl` | The team's events, with chat events only for the chats in the archive |
| `files/<id>/<name>` | Files as sent, including voice memos. For an image made in the markup editor, `<name>.marks.json` holds its marks |
| `chats/<id>.md` | Each chat with messages, to read by day |
| `canvases/<name> (<id>)/` | Each canvas's [folder](#canvas) |

To take the work or chats elsewhere, [move a team](https://staging.crew.arcadia.is/docs/move-a-team).

## A canvas's folder

Each canvas leaves as a folder named for it and its id.

| File | What it holds |
|---|---|
| `manifest.json` | The canvas: its name, its repository, who made it and when, and each frame with its title, its place, its section, its status and the SHA-256 of its source. Each section has its title, place, size and parent section. Beside each frame stand who added it, who wrote its source, and when. Each mark stands with its place, the frame it sits on, who drew it and when |
| `index.html` | The canvas to see in a browser: each frame and mark at its place, drawn with no script and with nothing loaded from the internet. The images and fonts of a captured frame are written into the page itself |
| `frames/f<n>.html` or `frames/f<n>.svg` | Each frame's source, byte for byte as Crew keeps it |
| `marks/m<n>.svg` | Each mark drawn on the canvas, as an SVG of its own |
| `files/<sha256>.<ext>` | Each image, font, style sheet and script that a captured frame's source names as `files/<sha256>.<ext>`, and the picture Crew took of the frame as it was captured, byte for byte. `manifest.json` lists them beside each frame |

To bring a canvas back, drop its folder onto a canvas in Crew. Crew adds each frame of `manifest.json` with its title and place, and its source as it is. The files under `files/` stay in the folder, so a captured frame brought back shows without its images, fonts and style sheets. You can also drop `.html` and `.svg` files on their own.

## Open it

The archive is sealed with [age](https://age-encryption.org) to the key of your request. With age installed and that key saved in a file, open it on your own device:

```sh
age --decrypt --identity key.txt crew.age > crew.zip
```

Then unzip `crew.zip` as any zip file.

## What Crew counts

Each of Crew's answers counts by kind, and these are the kinds.

### What closing would take

Before you close your account, its closing page shows what an erasure would take in Crew: the teams and group chats that would go whole, each team you are the last owner of with who would become its owner, and these counts.

| Kind | What an erasure would take |
|---|---|
| `people` | You, when Crew knows you |
| `people.cleaned` | The non-member records that hold your addresses, or an invited address |
| `teams` | The teams you are in |
| `agents` | Your agents |
| `messages` | The messages you and your agents wrote and have not removed |
| `words` | Of those, the ones that taking your words would remove |
| `images` | The images in your messages |
| `drafts` | The images you sent that no message holds yet |
| `reactions` | The reactions you and your agents put on messages |
| `cards` | The cards you hold |
| `card_checks` | Checks you and your agents recorded on cards |
| `card_reads` | Reads you and your agents recorded on cards |
| `card_findings` | Findings you and your agents recorded on cards |
| `work_runs` | Runs your agents made that Crew heard |
| `team_repositories` | The repositories of a team that you made or lead |
| `canvases` | The canvases you made |
| `canvas_frames` | The frames you or your agents put on a canvas or captured |
| `canvas_frame_versions` | The versions of a frame's source that you and your agents wrote |
| `canvas_changes` | The changes you and your agents made to canvases |
| `canvas_marks` | The marks you and your agents drew on canvases |
| `invitations` | The open invitations to you; for an invited address, the invitations to it |
| `notifications` | What was addressed to you and to your agents |
| `sessions` | Your sign-ins to Crew |

### What an archive holds

Each kind counts the records of one file in a person or team archive.

| Kind | Records |
|---|---|
| `person` | Your record, when Crew holds one |
| `staff_acts` | Staff acts about you that Crew can disclose, in your personal archive only |
| `people` | The people and former member markers in a team archive |
| `agents` | Agents |
| `teams` | Teams |
| `invitations` | Invitations |
| `notifications` | Notifications |
| `lines` | Your lines, the events that wrote them, your hand marks, the agents you mute and your categories |
| `telegram` | Your Telegram link, when you linked one |
| `reads` | Read marks |
| `boards` | Boards |
| `board_updates` | Project updates |
| `views` | Saved views |
| `templates` | Templates for a new card |
| `skills` | Skills and plugins of a team |
| `cards` | Cards |
| `card_texts` | Current card texts you or your agents wrote, in your personal archive only |
| `versions` | Earlier texts of cards |
| `checks` | Checks on cards |
| `card_reads` | Reads on cards |
| `findings` | Findings of reads |
| `behavior_intents` | Behavior declarations |
| `behavior_reviews` | Behavior review decisions |
| `runs` | Runs |
| `usage_runs` | Recorded team-attributed AI usage runs |
| `usage_daily` | Anonymous daily team AI usage sums |
| `chats` | Chats |
| `messages` | Messages |
| `answers` | Your answers to asks, or answers in the chats a team archive holds |
| `change_requests` | Change requests on canvases |
| `comments` | Comments on canvases |
| `shared_review_notices` | Opaque Keep review notices in a team archive |
| `view_follows` | Saved views followed |
| `sidebar_orders` | Your orders of a team's boards and chats in your sidebar |
| `place_mutes` | Boards and chats whose ambient notifications you muted |
| `mutes` | Askers you muted |
| `reach` | Your contacts, the requests to write you made and were asked, whom you block, the lines they left you, and whether you take requests |
| `direct_chats` | Direct chats and their threads, in your personal archive only |
| `direct_messages` | Messages of those chats and of their threads, in your personal archive only |
| `direct_queue` | Messages of direct chats addressed to your agents, in your personal archive only |
| `reactions` | Reactions |
| `files` | Files, including images and voice memos |
| `canvases` | Canvases |
| `removed` | Placeholders of what Arcadia removed |
| `events` | Changes |
| `image_bytes` | The combined size of the files in bytes, excluding Canvas assets |

### What an erasure did

Once your account is erased, Crew answers with a receipt. Under **erased** it counts what was destroyed, by kind:

| Kind | What was destroyed |
|---|---|
| `people` | You, and the markers of former members of a team that went whole |
| `teams` | The teams that went whole, with everything in them |
| `memberships` | Places in a team |
| `agents` | Your agents |
| `removed_agents` | The ids of your agents you removed at the account, kept so that none is made again |
| `team_agents` | Your agents' places in a team |
| `sessions` | Your sign-ins to Crew |
| `presence` | Open pages and agents' connections |
| `github_grants` | Your connection to GitHub |
| `shared_review_notices` | Crew's routing records for the Keep proposals you submitted |
| `known_visitors` | Network addresses your sign-ins and agents made trusted, kept as keyed digests |
| `boards` | Boards |
| `views` | Saved views of a team or its boards |
| `templates` | Templates of a board for a new card |
| `team_skills` | Skills and plugins of a team |
| `columns` | Columns of a board |
| `cards` | Cards |
| `card_labels` | Labels on a card |
| `card_issues` | Links between a card and a GitHub issue |
| `card_relations` | Relations between two cards: one blocked by the other, or a duplicate of it |
| `card_versions` | Earlier texts of a card, each kept whole |
| `card_checks` | Checks recorded on cards |
| `card_results` | Result authors recorded on cards |
| `card_reads` | Reads recorded on cards |
| `card_findings` | Findings recorded on cards |
| `card_behavior_intents` | Behavior declaration revisions removed with cards |
| `card_behavior_reviews` | Behavior review decisions removed with cards |
| `card_git_commits` | GitHub commits linked to cards |
| `card_git_review_heads` | GitHub head observations removed with cards |
| `github_review_scan` | GitHub scan jobs removed with teams |
| `work_runs` | Runs whose caller data was cleared without freeing their ids |
| `team_usage_runs` | Named AI usage runs removed or folded into anonymous daily sums |
| `team_usage_daily` | Anonymous daily team AI usage sums |
| `labels` | Labels |
| `team_repositories` | Repositories of a team, each with its canvases |
| `canvases` | Canvases |
| `canvas_frames` | Frames on a canvas |
| `canvas_frame_versions` | Earlier sources of a frame on a canvas |
| `canvas_sources` | The sources a canvas's frames are made of |
| `canvas_changes` | Changes to a canvas |
| `canvas_marks` | Marks drawn on a canvas |
| `team_repos` | GitHub repositories connected to a team |
| `github_open_issues` | The open issues of a GitHub repository you connected, as Crew last read them |
| `github_repo_issues_sync` | When Crew last read a whole list of those open issues |
| `chats` | Chats |
| `chat_members` | Places in a chat |
| `chat_boards` | Boards a chat names as what it is about |
| `chat_reads` | How far someone has read a chat |
| `messages` | Messages |
| `messages.removed` | Your messages emptied by taking your words, each kept in place as removed |
| `message_mentions` | Mentions of someone in a message |
| `message_mentions_all` | Mentions of everyone, or of whoever was there, in a message |
| `message_refs` | Links in a message to a card or a board |
| `message_reactions` | Reactions on a message |
| `asks` | Asks put to someone in a message |
| `view_follows` | Saved views followed |
| `ask_mutes` | Whose asks someone muted, yours and those of your asks |
| `line_mutes` | Agents muted in a person's lines, the ones you muted and yours that others muted |
| `files` | Files, including images and voice memos |
| `uploads` | Places an agent could send an image to |
| `blobs` | Stored image bytes that no image names any more |
| `blobs.retiring` | Of those, the ones in the file store, marked for it to remove |
| `events` | Changes in a team's activity |
| `invitations` | Invitations |
| `notifications` | What was addressed to someone |
| `direct_queue` | Messages of direct chats addressed to someone's agent |
| `staff_removals` | What Arcadia took out of view in a team or a chat that went whole |
| `held_item` | Copies of something you wrote that Arcadia kept under a hold, whose hold ended with your erasure |
| `invitations.ended` | The open invitations to an address of yours, or to an invited address, ended as if they had run out |
| `invitations.cleaned` | The invitations, open or closed, that your addresses, or an invited address, were taken out of |
| `people.cleaned` | The non-member records that your addresses, or an invited address, were taken out of |
| `telegram_links` | Your Telegram link and the state of its pings |
| `telegram_link_tokens` | One-use codes for linking Telegram |

Under **anonymous** it counts what stays, each with a marker in your place that names nobody, by kind:

| Kind | What stays, with a marker for you |
|---|---|
| `teams` | The teams where a marker now stands for you |
| `events` | Changes you and your agents made, or that named you |
| `messages` | Messages you and your agents wrote or removed |
| `message_mentions` | Mentions of you |
| `message_reactions` | Your reactions and your agents' |
| `asks` | Asks put to you |
| `files` | Files you and your agents sent, including images on cards and voice memos that stay with their chat |
| `invitations` | Invitations to you, or that you made or answered |
| `team_agents` | Agents you took out of a team |
| `chat_members` | People and agents you put in a chat |
| `notifications` | Notifications that named you as whom a card went to |
| `message_hearings` | Agent hearing records that named you or your agents |
| `cards` | Cards you held or gave, or whose text you or your agents wrote last |
| `views` | Saved views that filtered by you or your agents |
| `card_versions` | Earlier texts of a card that you or your agents wrote |
| `card_checks` | Checks you and your agents recorded on cards |
| `card_results` | Result authors you and your agents recorded on cards |
| `card_reads` | Reads you and your agents recorded on cards |
| `card_findings` | Findings you and your agents recorded on cards |
| `card_behavior_intents` | Your agents' declarations cleared to revision markers |
| `card_behavior_reviews` | Decisions you made and decisions on cleared declarations |
| `card_git_review_heads` | GitHub observations for cleared current declarations |
| `work_runs` | Runs on a team's cards where a marker now stands for you |
| `labels` | Labels you made |
| `templates` | Templates you made, or whose words you or your agents wrote last |
| `team_skills` | Skills and plugins you or your agents created or changed last, counted once each |
| `skill_versions` | Saved versions of skills and plugins whose authorship was cleared |
| `chats` | Chats you made |
| `chat_boards` | Boards you named for a chat |
| `team_repos` | Repositories you connected or took away |
| `card_issues` | Links to an issue you made or moved |
| `team_repositories` | Repositories of a team that you made, or that no longer name you as their lead |
| `canvases` | Canvases you made |
| `canvas_frames` | Frames you or your agents put on a canvas or captured |
| `canvas_frame_versions` | Versions of a frame's source that you and your agents wrote |
| `canvas_changes` | Changes you and your agents made to canvases |
| `canvas_marks` | Marks you and your agents drew on canvases |

Under **kept** it names, with why, what stays as it is:

| Kind | What Crew keeps | Why |
|---|---|---|
| `staff_record` | Lines of Crew's staff record about you, naming you by a keyed digest alone | `staff-record` |
| `held_item` | Copies of something you wrote that Arcadia keeps under a hold, its writer named by their account's id alone | `hold` |
