{% extends "space-settings-base.html" %}
{% from "ui.html" import csrf_field, when, secret_confirm with context %}
{% set section = "vocation" %}
{# One of the two files: editor, preview, latest changes. #}
{% macro document_card(key, title, lead, action_url, placeholder) %}
{% set doc = documents[key] %}
{% set mine = error_kind == key %}
{{ lead }} {{ _(error.template, **error.params) }} {{ _("Preview — not saved yet") }} {{ _("Latest changes") }}{{ title }}
{% if doc.pending %}{{ _("Waiting for synchronization") }}{% elif not doc.sha %}{{ _("Not defined") if key == "vocation" else _("None") }}{% endif %}
{% for date, author, subject in history[key] %}
{{ _("Purpose") }}
{{ _("What the space is") }}
{{ _("What it is for and for whom, what goes in it or not, how folders are organized, conventions, vocabulary. Given to the nightly tidy-up, to routines and to AI assistants.") }}
.synaptane/vocation.md
{{ _("Filing instructions") }}
{{ _("How to file") }}
{{ _("Precise rules for the tidy-up agent, taking precedence over its default instructions. Read by the agent only.") }}
.synaptane/prompts/tidy.md
{{ _("The space is not synchronized with its repository yet: what you save waits for the first synchronization, then is written to the repository (unless it already has its own file).") }} {{ _("Git repository") }}
{{ _("Both files are versioned in the repository: edit them here or with a push. Each save is a commit in your name.") }}
{% endif %} {% call document_card("vocation", _("Purpose"), _("Answer each section's questions in a few concrete lines. An infrastructure team's second brain is not filed the same way as a marketing team's or a family's."), "/o/" ~ org.slug ~ "/" ~ space.slug ~ "/-/vocation", _("Start from a template above, or write: what the space is for, what goes in it, how…")) %} {% if chosen and 'vocation' in drafts %}{{ _("Template loaded in the editor: review it, adapt it, then save.") }}