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.

SectionHoldsDefined in
projectName, type, description, vocabulary, workflow. Read only when the file creates a projectOutlineProject, BundleWorkflow, BundleStatus
typesThe project's item types: a catalog with a level eachBundleType
fieldsCustom fields of the projectBundleField
profilesAgent profiles, shared by every project of the boardBundleProfile
rolesProject roles and the profile each one usesBundleRole
sprintsSprintsBundleSprint
automationWhere the code is, the default agent, autonomy and auto-startBundleAutomation, BundleAutonomy, BundleDomain, BundleBudgets, BundleAutoStart
teamsThe teams the file expects its profiles to name; described, never createdBundleTeam
itemsThe itemsOutlineItem

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

KeyTypeNotes
nametextRequired to create a project, unless the request gives name
typetextsoftware, web, mobile, construction, personal, homework, maintenance, legal, research, event or custom (default). project_type is also read
descriptiontext
vocabularymapAny 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
workflowobjectA preset or statuses, never both
workflow.presettextscrum, kanban, simple, construction, legal, research or event
workflow.statuseslistIn order. Each has name, category (todo, in_progress or done) and optional wip_limit
workflow.transitionslistOptional {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

KeyTypeNotes
keytext1 to 40 lowercase letters, digits, _ or -; unique in the section. Items name their type by it
nametextWhat the project calls the type; 1 to 60 characters
leveltextgroup (holds work, like an epic) or work
colortextaccent, accent2, danger, warning, success or neutral: a token name, never a hex value
defaultboolThe 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

KeyTypeNotes
nametextThe reference items use. Unique within the section
typetexttext, number, date, boolean, select, multi_select, url, email or long_text
descriptiontext
requiredboolAn item without a value gets a warning
defaultanyThe value a new item starts with
optionslist of textRequired for select and multi_select
validationobjectpattern, min_length, max_length, min, max, max_items

profiles

KeyTypeNotes
nametextMatched across the whole board
kindtextimplementer, reviewer, researcher, planner or custom (default)
instructionstextWhat the agent is told before the task
tool_policyobjectagent (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
limitsobjectBudgets and the time the agent may take
fleettextA fleet's name. Absent means any computer
summarytextOne line beside the profile's name
deliverstextWhat 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).

KeyTypeNotes
nametextdocket's project id, ^[a-z0-9][a-z0-9-]{0,63}$; unique in the section
shapetextbuild, respond, operate or routine
deliverstextbranch, report or records
methodslist of textThe 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

KeyTypeNotes
nametextUnique in the project
colortextA CSS color such as #3b82f6
icontext
profiletextA profile named in the file first, then one the board has, including the built-ins

sprints

KeyTypeNotes
nametext
goaltext
start, enddateYYYY-MM-DD
statustextplanning (default) or closed. An import never activates a sprint

automation

Only the keys the file names change. On an export every key is written.

KeyTypeNotes
code_origintextfolder, new_folder, url or none
repositorytextAn absolute path for a folder origin, a URL for a url origin
default_branchtext
workspace_modetextlocal_branch, in_place or clone
preparetext, optionalThe 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_runbool
default_harnesstextThe agent a run uses when none is named; one of the four kinds above
default_profiletextA profile name
default_modeltext
definition_of_donetext
autonomy.leveltextL3, L4 or L5. Lowered to the project's own level
autonomy.domainslist{name, paths, item_types, level}. A domain's level is lowered the same way
autonomy.verify_requirelistcriteria, suite, anti_tautology, static_analysis
autonomy.verify_loop_max_attemptsinteger
autonomy.budgetsobjecttokens_per_day, auto_merges_per_day, queue_items_max; any other key is refused
autonomy.merge_on_donebool
auto_start.enabledbool, optionalNever switched on by a file. Absent leaves the project's switch as it is
auto_start.statustextThe trigger status; a status of the workflow
auto_start.max_openintegerAt least 1

The attestation public key is never in a file.

items

KeyTypeNotes
reftext or numberA name other items use in parent and depends_on. id and key are also read
titletextRequired
descriptiontext
typetextA 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
statustextA status of the workflow, any case. Unknown or absent: the first status
prioritytextcritical (or urgent), high, medium (default, or normal), low or none
assigneetext
estimatenumber
estimate_unittextstory_points (default), hours, days, or another word as a custom unit
due_datetextYYYY-MM-DD or an RFC 3339 timestamp. due is also read
tagslist of text
recurrencetextweekly, monthly or quarterly
parenttextAnother item's ref or exact title. When adding to an existing project, also the id of an item already in it
depends_onlist or textItems that must finish first, by ref or exact title. blocked_by is also read
roleslist of textNames of the project's roles
sprinttextA sprint's name
fieldsmapField 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:

  1. project, for a new project only: its vocabulary (the type's words with the file's on top) and its workflow.
  2. types, when the plan changes the catalog (Repository::set_item_types, one transaction), so the items that follow find their types.
  3. fields, then profiles, then roles, then sprints, each in the file's order.
  4. automation.
  5. 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:

  1. project.vocabulary keys against the ten known keys, and project.workflow (a preset or statuses, never both; a known preset; a category per status; then WorkflowConfig::validate).
  2. types (before the fields): valid and unique keys, a name each, and for a new project exactly one default work type (check_catalog).
  3. fields: a known type, options for select and multi_select, no repeated or empty name.
  4. profiles: a profile named like a built-in is dropped with a warning and never changed. Otherwise a known kind, a known tool_policy.agent, a boolean tool_policy.network when present, a docket.team matching ^[a-z0-9][a-z0-9-]{0,63}$, and no repeated name. An unknown fleet is a warning and the profile runs on any computer.
  5. roles: the profile must be in the file or on the board. No repeated name.
  6. sprints: status planning or closed, dates written YYYY-MM-DD, no repeated name.
  7. automation: the values of the table above; check_automation lowers levels and auto-start, and refuses a domain that names a type key the catalog lacks.
  8. items: tack_core::outline::resolve (references, loops, dates, CreateItem validation) and then check_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 dateA status or priority the workflow does not know (the item gets the default)
A repeated or empty name in a sectionAn unknown recurrence word (the task does not repeat)
A reference to a role, sprint, field, profile, parent or dependency that is nowhereA profile named like a built-in (dropped)
A parent or depends_on loop; an item that is its own parent or dependencyA fleet the board lacks
A value that fails its field's type or optionsAn item with no value for a required field
repository that is not a path or URL for its originautonomy.level or a domain level above the project's own (lowered)
A status or auto_start.status outside the workflow, in automationauto_start.enabled: true when the project has it off (applied as false)
max_open below 1; more than 1000 itemsA 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:

FieldMeaning
vocabularyThe words to apply, or none
typesThe whole catalog the project ends with, when the file changes it; new_types names the work types the items' words added
fields, profiles, roles, sprintsVec<Upsert<…>> in the file's order
automationThe section with levels and auto-start already lowered
itemsA ResolvedOutline: items in written order (parents first), blocks as index pairs, and warnings
sectionsOne SectionSummary per section the file carries
warningsEvery 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 (Board with no fields, roles or sprints, level L3, auto-start off). On dry_run the plan is returned and nothing is created. Otherwise the project row is created first, then write runs. Any failure deletes the project again (delete_project), so nothing remains.
  • Existing project (into_existing_project): the project block 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 }, a 500 whose 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 project kept is false and 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 (an OutlineResultItem per item: ref, id, title, status, parent_id), sections, missing and warnings. missing (tack_core::outline::missing) lists, per entry, kind (team or harness), name, shape for a team and fix: a team the file's teams or a profile's docket.team names that no active runner reports, with docket init <name> --blueprint <shape> and --recipe <method> for the first method that is a shipped docket recipe (docket init applies one recipe; any shipped recipe can be named per task once the team has the roles it needs); and an agent a profile or automation.default_harness runs 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 pathPurpose
POST /api/projects/outlineA new project from a file. Query: dry_run, name, project_type, description
POST /api/projects/{id}/outlineA file into an existing project. Query: dry_run
POST /api/projects/import-csv, POST /api/projects/{id}/import-csvThe items of a CSV, through the same checks; sections is empty
GET /api/projects/{id}/export?scope=bundle&format=yamlThe 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-templateA 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 types carries 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 ref set to 1 to n. Only blocks dependencies become depends_on.
  • A medium priority and the story-points unit are omitted. A sprint's status is written only when it is closed. 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_template in handlers/templates.rs): the template is turned back into an Outline and create_from_bundle runs the same code as an import. Afterwards the template's own workflow is applied again, because statuses in a file can only say custom.
  • Save a project as a template (save_project_as_template): to_bundle supplies the roles, profiles and automation that are stored.
  • Built-ins (seed_builtin_templates in crates/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 with merge_on_done off 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 its teams section lists the four folder teams docket would run them with. The tests in crates/tack-db/src/repo/templates/tests.rs assert each template's roles and profiles.
  • tack template create-from keeps its meaning (a project from a template); tack template save stores 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.

  1. 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 of null.
  2. The check. Validate it in crates/tack-core/src/outline/bundle.rs (check_automation for this section, check or check_item for the others). Push a problem to refuse, a warning to allow. If it can raise autonomy or switch something on, lower it as lowered_level does.
  3. The write. Apply it in crates/tack-api/src/handlers/outline.rs (write_automation here), and name the section in at("…") so a failure says where.
  4. The export. Read it back in to_bundle, and gather any new row in Parts and bundle_response in handlers/export.rs. The export must round-trip to the same text.
  5. The stored forms, when they apply. A key that a template should carry needs a column in project_templates (a migration), build_project_from_template and save_project_as_template.
  6. 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 in crates/tack-core/src/outline/bundle/tests.rs and a handler test in crates/tack-api/tests/handlers/bundle.rs; and add the key to this page's tables.

A recipe with the commands is in Adding Features.