Task
A task has a title, an optional project name, a status and its current state. Agents refer to a task by its id (returned by sky_start) or by its title; titles are matched case-insensitively among tasks that are not archived.
Keep one task per piece of work you would describe to a colleague in a sentence: “Billing webhook retries”, “Migrate search to the new index”.
Task state
| Field | Type | Meaning |
|---|---|---|
| goal | text | What the task should achieve, in one sentence. |
| summary | text | Where the work stands right now. |
| steps | list | The ordered plan. Each step has an id (s1, s2…) and a status: todo, doing or done. Replaces the old done and next lists. |
| decisions | list | Decisions with a short why. Added with decisions_add. |
| blockers | list | What blocks progress. Replaced as a whole; send [] when clear. |
| files | list | Paths touched, stored exactly (never contents). Added with files_add. |
| commands | list | Exact commands worth remembering. Added with commands_add. |
| snippets | list | Exact code the agent chose to save, with an optional language. Opt-in: added with snippets_add. |
| branch | text | Git branch, if any. |
| notes | text | Anything else the next agent must know. |
Step, decision and snippet ids are assigned by the server and never reused, so an agent can refer to “s2” safely.
Versions
Every sky_start that creates a task, every sky_update, sky_checkpoint, manual edit in the dashboard and rollback writes a new version. Nothing is overwritten.
A version is stored as a delta: a short list of operations such as set a field, add a step or mark a step done, not a copy of the whole state. Every 20th version also stores a full snapshot, so any version can be rebuilt by replaying at most 19 deltas. sky_detail with a version number rebuilds an old state, and a rollback rebuilds one and saves it as a new version.
- Free keeps 7 days of history. The latest version of a task is never deleted.
- Pro keeps a year of full history and every checkpoint forever, and can roll back to any kept version; a rollback is itself a new version.
- If two agents write at the same moment, both writes are kept as consecutive versions.
Statuses
| Status | Meaning |
|---|---|
| active | Work in progress. Counts towards the Free limit of 5. |
| done | Finished: sky_checkpoint with finished=true, or marked in the dashboard. |
| archived | Hidden from title matching. Set in the dashboard. |
sky_start on a done or archived task reopens it as active, so a task can always be resumed.
What is stored, and how
- Stored: task title, project, the state fields above, version history, which agent wrote each version, and the code snippets an agent chose to save.
- Encrypted: everything above is encrypted with AES-256-GCM using a key derived for each user. Only technical fields needed to look things up (ids, status, version, timestamps) are not.
- Code: Sky stores code only when the agent saves it with snippets_add. It does not read your repository, and fenced code blocks in text fields become [code omitted — put exact code in snippets].
- Secrets: strings that look like API keys, tokens, JWTs, private keys or password=… become [redacted] in every field, snippets and commands included, and the agent is told.
- Integrity: every version is signed in a hash chain, so tampering with stored history is detectable.
- Tokens are stored as SHA-256 hashes only.
Exact and condensed
Sky separates what must come back exactly from what can be summarized.
| Kind | Fields | How it is kept |
|---|---|---|
| Exact | Title, project, branch, files, commands, snippets, step and decision text | Lossless compression: the exact code, paths and commands come back byte for byte. |
| Condensed | Only the description: goal, summary and notes | When they are long, Sky also writes a short brief for the compact view. The full text is always kept and is available in sky_detail. |
Limits: goal 600 characters, summary and notes 2000, step and decision text 300, a snippet 2000; up to 60 steps, 40 decisions, blockers, files and commands each, and 10 snippets. Keep it short: it is a briefing, not a log.
Search
sky_search embeds the title, goal and summary of each task and every checkpoint summary with a multilingual model (English, Ukrainian and Russian), then ranks them against your query. Only the search vectors are quantized to 8 bits to save space; your task data is never lossy. The vectors hold no text: a hit points to a task and version, and the text is decrypted from the stored record.
Something unclear? Write to altumptic@gmail.com
