The Project File Format
This page is for contributors who change the project file and for integrators who write one from a script or an assistant. It is the reference: every key of every section, the order in which the file is checked and written, what is refused and what only warns, and the routes that carry it. After reading it you can produce a file the board accepts and add a new key without missing a place.
People use the file through Import, Export & Project Files. The decision behind it is ADR 0022, which extends the outline of ADR 0017; see Architecture Decisions.
What the file is
The project file is the type tack_core::outline::Outline, read from JSON or YAML. It is the outline of items plus eight optional sections.
| Section | Holds | Defined in |
|---|---|---|
project | Name, type, description, vocabulary, workflow. Read only when the file creates a project | OutlineProject, BundleWorkflow, BundleStatus |
types | The project's item types: a catalog with a level each | BundleType |
fields | Custom fields of the project | BundleField |
profiles | Agent profiles, shared by every project of the board | BundleProfile |
roles | Project roles and the profile each one uses | BundleRole |
sprints | Sprints | BundleSprint |
automation | Where the code is, the default agent, autonomy and auto-start | BundleAutomation, BundleAutonomy, BundleDomain, BundleBudgets, BundleAutoStart |
teams | The teams the file expects its profiles to name; described, never created | BundleTeam |
items | The items | OutlineItem |
All types derive deny_unknown_fields, so a misspelt key is an error and never data that vanishes. Every reference between sections is a name, never an id. The file is pure data: tack_core::outline::bundle::check reads it with a description of the board and returns a plan or every problem at once, and to_bundle writes a project back as the same file. Neither does any I/O.
Keys
Optional keys are omitted from an export when empty, so an export has no null.
project
| Key | Type | Notes |
|---|---|---|
name | text | Required to create a project, unless the request gives name |
type | text | software, web, mobile, construction, personal, homework, maintenance, legal, research, event or custom (default). project_type is also read |
description | text | |
vocabulary | map | Any of the ten vocabulary keys (the words that are not item types); the rest keep the type's words. Exported sorted, and only the words that differ from the type's |
workflow | object | A preset or statuses, never both |
workflow.preset | text | scrum, kanban, simple, construction, legal, research or event |
workflow.statuses | list | In order. Each has name, category (todo, in_progress or done) and optional wip_limit |
workflow.transitions | list | Optional {from, to} pairs. Absent means any status can move to any other. Beside a preset, it replaces the preset's |
On an existing project the whole project block is ignored with a warning: the name, workflow and vocabulary are kept.
types
| Key | Type | Notes |
|---|---|---|
key | text | 1 to 40 lowercase letters, digits, _ or -; unique in the section. Items name their type by it |
name | text | What the project calls the type; 1 to 60 characters |
level | text | group (holds work, like an epic) or work |
color | text | accent, accent2, danger, warning, success or neutral: a token name, never a hex value |
default | bool | The default work type. A file that creates a project needs exactly one, and it is work. Omitted from an export unless true |
A file that creates a project takes its types whole; a file that adds to a project adds the keys it lacks and takes the name and color of the ones it has (their level and the default stay, with a warning when the level differs). A file that creates a project with no types starts with the preset of its type. An item's type is read as a key or a name in any case; a word the catalog lacks is added as a work type and listed in the preview under new_types.
fields
| Key | Type | Notes |
|---|---|---|
name | text | The reference items use. Unique within the section |
type | text | text, number, date, boolean, select, multi_select, url, email or long_text |
description | text | |
required | bool | An item without a value gets a warning |
default | any | The value a new item starts with |
options | list of text | Required for select and multi_select |
validation | object | pattern, min_length, max_length, min, max, max_items |
profiles
| Key | Type | Notes |
|---|---|---|
name | text | Matched across the whole board |
kind | text | implementer, reviewer, researcher, planner or custom (default) |
instructions | text | What the agent is told before the task |
tool_policy | object | agent (one of claude-code, codex, opencode, docket), network (true or false; absent is false: the role's runs start with web tools on; a profile whose tools for the agent include *, WebFetch or WebSearch starts them on too, except for docket), tools, and docket.team, docket.denied_tools, docket.pipeline_by_type |
limits | object | Budgets and the time the agent may take |
fleet | text | A fleet's name. Absent means any computer |
summary | text | One line beside the profile's name |
delivers | text | What the profile delivers, in one line of at most 160 characters. Absent keeps the board's line, or none for a new profile |
teams
Descriptive: an import creates nothing from it, and a section line is not written for it. The preview compares it with what the runners report (see missing, below).
| Key | Type | Notes |
|---|---|---|
name | text | docket's project id, ^[a-z0-9][a-z0-9-]{0,63}$; unique in the section |
shape | text | build, respond, operate or routine |
delivers | text | branch, report or records |
methods | list of text | The methods a task may name on the team, named like the team |
An export writes the teams the exported profiles name through docket.team, with the shape, delivery and methods the runners report of each; a team no runner reports is written by name alone.
roles
| Key | Type | Notes |
|---|---|---|
name | text | Unique in the project |
color | text | A CSS color such as #3b82f6 |
icon | text | |
profile | text | A profile named in the file first, then one the board has, including the built-ins |
sprints
| Key | Type | Notes |
|---|---|---|
name | text | |
goal | text | |
start, end | date | YYYY-MM-DD |
status | text | planning (default) or closed. An import never activates a sprint |
automation
Only the keys the file names change. On an export every key is written.
| Key | Type | Notes |
|---|---|---|
code_origin | text | folder, new_folder, url or none |
repository | text | An absolute path for a folder origin, a URL for a url origin |
default_branch | text | |
workspace_mode | text | local_branch, in_place or clone |
prepare | text, optional | The install command that replaces the one the lockfile implies; empty turns the install off. Absent leaves the project's setting as it is; one line only |
push_after_run | bool | |
default_harness | text | The agent a run uses when none is named; one of the four kinds above |
default_profile | text | A profile name |
default_model | text | |
definition_of_done | text | |
autonomy.level | text | L3, L4 or L5. Lowered to the project's own level |
autonomy.domains | list | {name, paths, item_types, level}. A domain's level is lowered the same way |
autonomy.verify_require | list | criteria, suite, anti_tautology, static_analysis |
autonomy.verify_loop_max_attempts | integer | |
autonomy.budgets | object | tokens_per_day, auto_merges_per_day, queue_items_max; any other key is refused |
autonomy.merge_on_done | bool | |
auto_start.enabled | bool, optional | Never switched on by a file. Absent leaves the project's switch as it is |
auto_start.status | text | The trigger status; a status of the workflow |
auto_start.max_open | integer | At least 1 |
The attestation public key is never in a file.
items
| Key | Type | Notes |
|---|---|---|
ref | text or number | A name other items use in parent and depends_on. id and key are also read |
title | text | Required |
description | text | |
type | text | A key or a name of the project's types in any case; absent, the default work type. A word the catalog lacks is added as a work type. item_type is also read |
status | text | A status of the workflow, any case. Unknown or absent: the first status |
priority | text | critical (or urgent), high, medium (default, or normal), low or none |
assignee | text | |
estimate | number | |
estimate_unit | text | story_points (default), hours, days, or another word as a custom unit |
due_date | text | YYYY-MM-DD or an RFC 3339 timestamp. due is also read |
tags | list of text | |
recurrence | text | weekly, monthly or quarterly |
parent | text | Another item's ref or exact title. When adding to an existing project, also the id of an item already in it |
depends_on | list or text | Items that must finish first, by ref or exact title. blocked_by is also read |
roles | list of text | Names of the project's roles |
sprint | text | A sprint's name |
fields | map | Field name to value |
A ref wins over a title when both match. A file holds at most MAX_OUTLINE_ITEMS (1000) items.
Order of application
write in crates/tack-api/src/handlers/outline.rs applies the checked plan in this order:
project, for a new project only: its vocabulary (the type's words with the file's on top) and its workflow.types, when the plan changes the catalog (Repository::set_item_types, one transaction), so the items that follow find their types.fields, thenprofiles, thenroles, thensprints, each in the file's order.automation.items, in one transaction (Repository::create_outline_items), with their dependencies; then each item's roles and field values.
What check does
tack_core::outline::bundle::check(outline, board) collects problems from every section before it returns, so a writer fixes the whole file in one pass. It runs in this order:
project.vocabularykeys against the ten known keys, andproject.workflow(a preset or statuses, never both; a known preset; a category per status; thenWorkflowConfig::validate).types(before the fields): valid and unique keys, a name each, and for a new project exactly one default work type (check_catalog).fields: a known type, options forselectandmulti_select, no repeated or empty name.profiles: a profile named like a built-in is dropped with a warning and never changed. Otherwise a knownkind, a knowntool_policy.agent, a booleantool_policy.networkwhen present, adocket.teammatching^[a-z0-9][a-z0-9-]{0,63}$, and no repeated name. An unknownfleetis a warning and the profile runs on any computer.roles: theprofilemust be in the file or on the board. No repeated name.sprints: statusplanningorclosed, dates writtenYYYY-MM-DD, no repeated name.automation: the values of the table above;check_automationlowers levels and auto-start, and refuses a domain that names a type key the catalog lacks.items:tack_core::outline::resolve(references, loops, dates,CreateItemvalidation) and thencheck_item(roles, sprints and field values); each item's word is then given the key of its type, adding a work type for a word the catalog lacks.
Board describes the project: its workflow, its type catalog (item_types, and new_project, which says whether the file's types replace it), fields, profiles, roles, sprints, the fleets, the known agent kinds (HARNESS_KINDS in handlers/runner_admin.rs), its autonomy level (L3 for a new project) and whether auto-start is on.
Matching by name
For fields, profiles, roles and sprints, match_names pairs each entry with the board's row of the same trimmed name. A match is an Upsert::Update carrying the row's id, no match is an Upsert::Create. The board's names the file does not carry are counted as not_mentioned and left alone. Nothing is ever deleted by a file. Built-in profiles are not counted.
Errors and warnings
A problem refuses the whole file. A warning lets it through and is reported.
| Refused (problem) | Only a warning |
|---|---|
| An unknown key, a bad type, kind, category, level or date | A status or priority the workflow does not know (the item gets the default) |
| A repeated or empty name in a section | An unknown recurrence word (the task does not repeat) |
| A reference to a role, sprint, field, profile, parent or dependency that is nowhere | A profile named like a built-in (dropped) |
A parent or depends_on loop; an item that is its own parent or dependency | A fleet the board lacks |
| A value that fails its field's type or options | An item with no value for a required field |
repository that is not a path or URL for its origin | autonomy.level or a domain level above the project's own (lowered) |
A status or auto_start.status outside the workflow, in automation | auto_start.enabled: true when the project has it off (applied as false) |
max_open below 1; more than 1000 items | A project block in a file added to an existing project (ignored) |
The levels are lowered to the project's own level, which is L3 for a new project, so a file can never raise autonomy. The warning reads "autonomy.level asked: L4; applied: L3. Raise it from Settings → Automation". The auto-start warning reads "auto_start asked: true; applied: false. Turn it on from Settings → Automation". An auto_start block that omits enabled leaves the switch as it is, so a file can set the status and the cap without touching it.
The plan and its summaries
check returns a Plan:
| Field | Meaning |
|---|---|
vocabulary | The words to apply, or none |
types | The whole catalog the project ends with, when the file changes it; new_types names the work types the items' words added |
fields, profiles, roles, sprints | Vec<Upsert<…>> in the file's order |
automation | The section with levels and auto-start already lowered |
items | A ResolvedOutline: items in written order (parents first), blocks as index pairs, and warnings |
sections | One SectionSummary per section the file carries |
warnings | Every warning, in order |
SectionSummary is {section, created, updated, not_mentioned, warnings}. A section appears only when the file carries it. automation always reports updated: 1; items reports created and updated: 0, since a file never updates an item.
How the routes write
crates/tack-api/src/handlers/outline.rs serves the routes. The request is read as JSON, or as YAML when Content-Type mentions it, and checked whole before anything is written. A refusal is a 400 whose message is the problem, or N problems in the outline: … joined with ;.
- New project (
create_new): the board is empty (Boardwith no fields, roles or sprints, level L3, auto-start off). Ondry_runthe plan is returned and nothing is created. Otherwise the project row is created first, thenwriteruns. Any failure deletes the project again (delete_project), so nothing remains. - Existing project (
into_existing_project): theprojectblock is removed first, with the warning. The board is the project's fields, roles, sprints, the board's profiles and fleets, and the project's own level and auto-start flag. After a successful write the new items are announced on the board's WebSocket. - Failure of a section. Each configuration section is a handful of rows written one by one. A database error in one becomes
ApiError::SectionFailed { section, kept, source }, a500whose message names the section: "The roles section could not be written. What the file wrote before it stays, so importing it again finishes the job." On a new projectkeptisfalseand the message ends "so nothing was created". The cause is logged on the server and never sent to the client. Every section matches by name, so running the file again finishes the job. - The result is an
OutlineResult:dry_run,project,created,skipped,dependencies,items(anOutlineResultItemper item:ref,id,title,status,parent_id),sections,missingandwarnings.missing(tack_core::outline::missing) lists, per entry,kind(teamorharness),name,shapefor a team andfix: a team the file'steamsor a profile'sdocket.teamnames that no active runner reports, withdocket init <name> --blueprint <shape>and--recipe <method>for the first method that is a shipped docket recipe (docket initapplies one recipe; any shipped recipe can be named per task once the team has the roles it needs); and an agent a profile orautomation.default_harnessruns that no runner reports, with how to install it. It is empty for a CSV and for a file that names none.
Routes
| Method and path | Purpose |
|---|---|
POST /api/projects/outline | A new project from a file. Query: dry_run, name, project_type, description |
POST /api/projects/{id}/outline | A file into an existing project. Query: dry_run |
POST /api/projects/import-csv, POST /api/projects/{id}/import-csv | The items of a CSV, through the same checks; sections is empty |
GET /api/projects/{id}/export?scope=bundle&format=yaml | The project as a file. format is yaml or json |
POST /api/projects/from-template/{id} | A new project from a template |
POST /api/projects/{project_id}/save-as-template | A template from a project |
GET, POST /api/templates; GET, DELETE /api/templates/{id} | Template CRUD; built-ins cannot be deleted |
scope is snapshot (the database dump that POST /api/projects/import reads) or bundle. A bundle with format=csv is refused. The schemas in docs/openapi.json are Outline, OutlineProject, OutlineItem, Bundle*, OutlineResult, OutlineResultItem, SectionSummary and ProjectTemplate. The CLI (tack import, tack export --bundle, tack init --template, tack template save), the MCP tool create_outline (which forwards every section of the file) and Settings → Data → Import all end in these routes.
Export
handlers/export.rs::bundle_response gathers the rows and tack_core::outline::bundle::to_bundle(&Parts) builds the file. It is deterministic: exporting, importing into a new project and exporting again gives the same text. The rules:
- The workflow is always written as statuses in order, never as a preset. The vocabulary carries only the words that differ from the type's, and
typescarries the whole catalog in order. - Fields sorted by name. Sprints sorted by start date, then name.
- Only the profiles that the project's roles and its default point at, and not the built-ins. A profile's fleet is written by name.
- Items in dependency order (parents first) with
refset to1ton. Onlyblocksdependencies becomedepends_on. - A medium priority and the story-points unit are omitted. A sprint's
statusis written only when it isclosed. A due date at midnight is written as a date. - No ids, no timestamps, no briefs and no keys. The attestation public key is never written.
Templates
A template is a project file without items. Migration 091_template_bundle adds roles, profiles and automation (all text, JSON) to project_templates, beside the existing workflow, vocabulary, custom fields and default boards; migration 106_template_teams adds teams (a JSON list of the file's teams entries) and migration 107_item_types adds item_types (a JSON list of the file's types entries).
- Create a project from a template (
build_project_from_templateinhandlers/templates.rs): the template is turned back into anOutlineandcreate_from_bundleruns the same code as an import. Afterwards the template's own workflow is applied again, because statuses in a file can only saycustom. - Save a project as a template (
save_project_as_template):to_bundlesupplies the roles, profiles and automation that are stored. - Built-ins (
seed_builtin_templatesincrates/tack-db/src/repo/templates.rs): "Web product with content", "Library or CLI", "Static content site" and "Digital business". Each is a set of roles with a profile apiece, and all of them set the project at L3 withmerge_on_doneoff and carry no repository. Legal, Security and Ops are read-only reviewer profiles. "Digital business" has six departments (Software, Operations, Support, Growth, Finance, Insight); no profile in it names an agent or a team, and itsteamssection lists the four folder teams docket would run them with. The tests incrates/tack-db/src/repo/templates/tests.rsassert each template's roles and profiles. tack template create-fromkeeps its meaning (a project from a template);tack template savestores one.
The worked example
This is the whole My SaaS file, the fixture the tests read: crates/tack-api/tests/fixtures/bundles/my-saas.yaml. Its comments say what each rule does. Imported into a new project, it is applied with autonomy L3 and auto-start off, with a warning for each.
# A Tack project bundle: the outline of ADR 0017 with six more sections (ADR 0022).
# Applied in this order: project, types, fields, profiles, roles, sprints, automation, items.
# The whole file is checked before anything is written; every problem is reported at
# once; an unknown key anywhere is refused. Names are the references: `profile: X`
# names a profile of this file first, then one the board already has. An import
# never deletes anything; what the project has and the file does not mention is
# counted in the result.
project:
name: My SaaS
type: web
description: Invoicing and appointment booking for small agencies.
vocabulary: # any subset of the 10 keys; the rest keep the type's defaults
sprint: Semana
backlog: Ideas
board: Tablero
blocker: Bloqueo
story_points: Puntos
assignee: Responsable
deliverable: Entrega
phase: Fase
milestone: Hito
release: Publicación
workflow: # EITHER `preset: scrum|kanban|simple|construction|legal|research|event`
statuses: # OR the statuses in order, each with a category; wip_limit optional
- { name: Ideas, category: todo }
- { name: Por hacer, category: todo }
- { name: En curso, category: in_progress, wip_limit: 5 }
- { name: En revisión, category: in_progress }
- { name: Hecho, category: done }
transitions: # optional; absent means any status can move to any other
- { from: Ideas, to: Por hacer }
- { from: Por hacer, to: En curso }
- { from: En curso, to: En revisión }
- { from: En revisión, to: En curso }
- { from: En revisión, to: Hecho }
- { from: Hecho, to: Por hacer }
types: # item types: a level (group holds work, work is work) and a token colour; one default work type
- { key: epic, name: Iniciativa, level: group, color: accent }
- { key: feature, name: Historia, level: work, color: success }
- { key: task, name: Tarea, level: work, color: neutral, default: true }
- { key: bug, name: Error, level: work, color: danger }
- { key: requirement, name: Requisito, level: work, color: warning }
fields: # custom fields; the name is what items use; the name is what items use
- { name: Plan, type: select, required: true, options: [free, pro, team, business, enterprise] }
- { name: Segmento, type: select, options: [autónomo, pyme, empresa] }
- { name: Canal, type: multi_select, options: [app, newsletter, instagram, tiktok] }
- { name: Fuente, type: url, description: Where the research or the asset came from }
# type: text|number|date|boolean|select|multi_select|url|email|long_text; `default` and `validation` optional
profiles: # agent profiles are shared by every project; a profile with an existing name is updated
- name: My SaaS content writer
kind: custom # implementer|reviewer|researcher|planner|custom (the default)
instructions: >
Write and edit help-center articles, release notes and newsletter copy for the plan the task names.
Keep every sentence plain enough for a customer to follow without asking support.
tool_policy:
agent: docket # which agent runs this profile; absent: the project's default agent
tools: { docket: ["*"] }
docket:
team: saas-content # the team; absent: the project's own default team
pipeline_by_type: { feature: dual-review, task: single }
limits: { budgets: { tokens: 300000 }, timeout_seconds: 1800 }
- name: My SaaS implementer
kind: implementer
instructions: Implement the change on a branch; run the project's checks before you finish.
tool_policy: { agent: docket, tools: { docket: ["*"] }, docket: { team: saas-dev, pipeline_by_type: { bug: tdd, feature: dual-review } } }
limits: { budgets: { tokens: 600000 } }
- name: My SaaS growth
kind: custom
instructions: Draft campaigns and measure them; never publish anything yourself.
tool_policy: { agent: docket, tools: { docket: ["*"] }, docket: { team: saas-growth } }
- name: My SaaS research
kind: researcher
instructions: Read, compare and summarise; write findings as a document with sources.
tool_policy: { agent: docket, tools: { docket: [read, fetch, write] }, docket: { team: saas-research } }
- name: My SaaS ops
kind: custom
instructions: Deployments, backups and monitoring. Ask before anything that touches production.
tool_policy: { agent: docket, tools: { docket: ["*"] }, docket: { team: saas-ops } }
- name: Security review
kind: reviewer
instructions: Review for secrets, injection and permissions. You only read.
tool_policy: { agent: claude-code, tools: { claude-code: [Read, Grep, Glob] } }
# Planner is a built-in profile, named by a role below; nothing to declare here.
# A profile may name a `fleet` (a fleet's name); one the board does not have is a warning.
# No `harness` or `model` on a profile: the agent is tool_policy.agent; a model belongs to a run or to the project (ADR 0019).
roles: # project roles; `profile` is a name from `profiles` or an existing profile
- { name: Contenido, color: "#f59e0b", profile: My SaaS content writer }
- { name: Desarrollo, color: "#3b82f6", profile: My SaaS implementer }
- { name: Crecimiento, color: "#10b981", profile: My SaaS growth }
- { name: Investigación, color: "#8b5cf6", profile: My SaaS research }
- { name: Operaciones, color: "#6b7280", profile: My SaaS ops }
- { name: Seguridad, color: "#ef4444", profile: Security review }
- { name: Planificación, color: "#0ea5e9", profile: Planner }
sprints: # status: planning (the default) or closed; an import never activates one
- { name: Semana 42, goal: Lanzar la facturación recurrente, start: 2026-10-12, end: 2026-10-18 }
- { name: Semana 43, goal: Newsletter y campaña de octubre, start: 2026-10-19, end: 2026-10-25 }
automation:
code_origin: folder # folder|new_folder|url|none
repository: /home/person/Sites/my-saas
default_branch: main
workspace_mode: local_branch # local_branch|in_place|clone
push_after_run: true
default_harness: docket
default_profile: My SaaS implementer
default_model: null # the agent's own default
definition_of_done: >
Every change passes `npm run check` (lint, types, tests) from the repository root.
Content pieces carry their plan and segment fields and are proofread before they ship.
autonomy:
level: L4 # accepted in the file, applied as L3, with a warning: raise it from Settings → Automation
domains:
- { name: content, paths: ["content/**", "public/help/**"], item_types: [feature, task], level: L4 }
- { name: code, paths: ["src/**", "package.json"], item_types: [], level: L3 }
verify_require: [criteria, suite, anti_tautology, static_analysis]
budgets: { tokens_per_day: 2000000, auto_merges_per_day: 10, queue_items_max: 8 }
merge_on_done: true
# the attestation public key is never in a bundle: it is pasted on the Merge rung.
auto_start:
enabled: true # accepted, applied as false, with a warning
status: Por hacer
max_open: 3
items: # the outline of ADR 0017, plus roles, sprint, fields, recurrence and estimate_unit
- { ref: C1, title: Facturación recurrente, type: epic, priority: high, roles: [Contenido], fields: { Plan: pro } }
- ref: S1
title: Guía para crear tu primera factura
type: feature
parent: C1
status: Por hacer
priority: high
roles: [Contenido]
sprint: Semana 42
fields: { Plan: pro, Segmento: autónomo, Canal: [app] }
estimate: 3
estimate_unit: hours
description: Un artículo de 600 palabras, con capturas, para leer en seis minutos.
- { ref: S2, title: Novedades de la versión 2.4, type: feature, parent: C1, status: Por hacer, roles: [Contenido], sprint: Semana 42, fields: { Plan: pro, Segmento: pyme, Canal: [app, newsletter] } }
- { ref: S3, title: Revisión editorial de la iniciativa, type: task, parent: C1, roles: [Investigación], depends_on: [S1, S2], fields: { Plan: pro } }
- { ref: D1, title: Vista previa de la factura en PDF, type: feature, status: Por hacer, priority: high, roles: [Desarrollo], sprint: Semana 42, estimate: 5, estimate_unit: story_points, fields: { Plan: pro } }
- { ref: D2, title: Selector de plan en el onboarding, type: feature, status: Por hacer, roles: [Desarrollo], depends_on: [D1], fields: { Plan: pro } }
- { ref: D3, title: El PDF se corta al imprimir facturas largas, type: bug, status: Por hacer, priority: critical, roles: [Desarrollo], fields: { Plan: pro } }
- { ref: D4, title: Revisión de seguridad del login con enlace mágico, type: task, roles: [Seguridad], depends_on: [D2], fields: { Plan: pro } }
- { ref: G1, title: Campaña de octubre en Instagram, type: feature, status: Por hacer, roles: [Crecimiento], sprint: Semana 43, fields: { Plan: pro, Canal: [instagram] } }
- { ref: G2, title: Newsletter semanal, type: task, status: Por hacer, roles: [Contenido, Crecimiento], recurrence: weekly, due: 2026-10-18, fields: { Plan: pro, Canal: [newsletter] } }
- { ref: G3, title: Informe mensual de métricas, type: task, roles: [Crecimiento], recurrence: monthly, due: 2026-10-31, fields: { Plan: pro } }
- { ref: R1, title: Qué planes piden los clientes en Chile, type: task, status: Por hacer, roles: [Investigación], fields: { Plan: free, Fuente: "https://forms.example.com/chile" } }
- { ref: R2, title: Comparativa de proveedores de firma electrónica, type: task, roles: [Investigación], fields: { Plan: enterprise } }
- { ref: O1, title: Copia de seguridad diaria de la base de facturas, type: task, status: Por hacer, roles: [Operaciones], fields: { Plan: pro } }
- { ref: O2, title: Revisión trimestral de costos de hosting, type: task, roles: [Operaciones], recurrence: quarterly, due: 2026-12-31, fields: { Plan: pro } }
- { ref: P1, title: Plan del calendario de citas, type: task, roles: [Planificación], depends_on: [S3], fields: { Plan: team } }
- { ref: C2, title: Calendario de citas, type: epic, roles: [Contenido], fields: { Plan: team }, depends_on: [P1] }
- { ref: S4, title: Cómo sincronizar tu calendario, type: feature, parent: C2, roles: [Contenido], fields: { Plan: team, Segmento: empresa } }
- { ref: D5, title: Modo sin conexión para la app, type: feature, roles: [Desarrollo], estimate: 8, estimate_unit: story_points, fields: { Plan: pro } }
- { ref: D6, title: Pipeline de PDFs en CI, type: task, roles: [Desarrollo, Operaciones], fields: { Plan: pro } }
How to add a key
Take a new optional key on automation. Six places change, and deny_unknown_fields means a key missing from the first one is refused everywhere.
- The type. Add the field to the struct in
crates/tack-core/src/outline.rs(BundleAutomation), with#[serde(default, skip_serializing_if = "Option::is_none")]so an export stays free ofnull. - The check. Validate it in
crates/tack-core/src/outline/bundle.rs(check_automationfor this section,checkorcheck_itemfor the others). Push a problem to refuse, a warning to allow. If it can raise autonomy or switch something on, lower it aslowered_leveldoes. - The write. Apply it in
crates/tack-api/src/handlers/outline.rs(write_automationhere), and name the section inat("…")so a failure says where. - The export. Read it back in
to_bundle, and gather any new row inPartsandbundle_responseinhandlers/export.rs. The export must round-trip to the same text. - The stored forms, when they apply. A key that a template should carry needs a column in
project_templates(a migration),build_project_from_templateandsave_project_as_template. - The contract and the tests. Run
./scripts/regen-generated.sh(docs/openapi.json,schema.gen.ts); add the key to the My SaaS fixture with a comment; add a row to the checking tests incrates/tack-core/src/outline/bundle/tests.rsand a handler test incrates/tack-api/tests/handlers/bundle.rs; and add the key to this page's tables.
A recipe with the commands is in Adding Features.