17Documentation
Two ways of working: in drafts, or on a single trunk
Every project works in one of two ways. Most work in drafts; a very small team can work on a single trunk, with no drafts at all. What each one is, what differs on the screen, which to choose — and how the switch is made.
Why there are two
Both ways keep one rule: exactly one place can be written in. In drafts, that place is the draft — the approved version is read-only. On a single trunk it is the project’s documents themselves — there are no drafts.
Drafts give a team room: several topics at once, a colleague’s approval before anything is in force, a clean record of who decided what. A team of three who trust each other may not need any of it, and every extra step costs them time. For them there is the single trunk.
A third, mixed way — the approved version writable and drafts beside it — does not exist, on purpose: the app could no longer tell you reliably what a draft would collide with, and work left unpublished in the approved version would belong to nobody. A small team that now and then needs a separate proposal switches the project to drafts for that time.
In drafts — the usual way
- The approved version is read-only, for people and for Agent Delta alike. A band above the page says so.
- Every change is made in a draft — a working copy of the whole project. There can be many drafts at once.
- A change goes from in progress to accepted (✓) to published: Write into the approved version… carries the draft into the approved version, after a confirmation.
- Before that you can ask a colleague for approval — an agreement, not a lock.
- When two people change the same place, publishing stops and walks you through it, place by place.
Everything in the chapters Your first draft and Approving and publishing is this way of working.
On a single trunk — for very small teams
- Everybody writes straight into the project’s documents — one shared working copy. What you type saves itself and is a change in progress.
- ✓ accepts a change (in the Changes panel or on its card), ↩ returns it to work in progress, ✗ throws it away — as everywhere.
- [[Write into the approved version (1)]] — one button at the foot of the Changes panel, with no dialog — makes everything accepted the approved version in one step. The number counts the accepted documents.
- Work in progress stays where it is; only what is accepted goes out.
What differs on the screen
| In the app | What it means |
|---|---|
| The address bead | Names only the project — “Project Nordwind Service”, with no draft and no lock. A press does not open a Drafts menu; it opens the tab Project documents (below). |
| The tab strip | No name at its right end — there is no draft to name. |
| The document | Writable at once. No yellow band, no Edit button; typing makes changes right there. |
| The Changes panel | No Branch actions ⋮, no draft card, no Ask for approval…. Its foot is one button: Write into the approved version (1). |
| The Projects mode | No Active drafts row; Way of working says single trunk. |
| Words | The tips, the Screen guide and the Explain cards speak of “the project”, never of a draft. |
The address bead’s tab, Project documents, is the trunk’s overview of where its work stands:
Side by side
| In the app | What it means |
|---|---|
| Where you write | In drafts: in a draft. Single trunk: straight in the project’s documents. |
| The approved version | In drafts: read-only. Single trunk: what was last published — the documents themselves stay writable. |
| Topics at once | In drafts: as many as there are drafts. Single trunk: one shared copy for everybody. |
| The way of a change | In drafts: in progress → ✓ accepted → Write into the approved version…, with a dialog. Single trunk: in progress → ✓ accepted → Write into the approved version (1), without one. |
| A colleague’s approval | In drafts: Ask for approval…. Single trunk: none in the app — you agree on it among yourselves. |
| Two people, one place | In drafts: publishing stops and walks you through it. Single trunk: cannot happen — everybody writes into the one copy, live. |
| A public link shows | In drafts: the approved version. Single trunk: the published version. |
| History | In drafts: every draft and its publication. Single trunk: one line, one dot for every publication. |
| Who switches it | Both: the account manager of your company, or the administrator of the installation. |
| Who it suits | In drafts: teams with approvals, several topics at once, a record of who decided. Single trunk: two to five people, one topic at a time, as few steps as possible. |
Which one to choose
In drafts suits you when:
- somebody looks at a change before it is in force — a manager, quality, legal;
- several topics are worked on at once and should not get mixed;
- a long proposal should wait, untouched by the rest, until it is ready;
- you need a record of who approved what.
A single trunk suits you when:
- you are two to five people who trust each other;
- you work on one thing at a time;
- you want as few steps as possible — but not “typing is publishing”: ✓ and Publish are still two separate decisions.
Publishing on a single trunk
- Write. What you type saves itself and appears among the work in progress.
- When a change is finished, accept it — ✓ on its card, or ✓ on Live in the Changes panel for everything at once.
- Open Changes and press Write into the approved version (1) at its foot.
There is no dialog: the number on the button is the confirmation. Every press makes one new version of the approved version. Whatever is accepted goes out together, whoever accepted it — the person who presses is its author, the others its co-authors. Work in progress stays where it is.
With nothing accepted, the button is grey and says why: “Nothing to write — accept a change (✓) first.”
Nothing is lost before you publish
Accepted and in-progress work is backed up to the company’s git server even before it is published: what is accepted after every ✓, what is in progress every five minutes. Two sentences tell you if that ever fails:
- In red, with a button to send it again: “Published here, but the git server does not have it yet — the push failed.” The publication is made; only its copy on the server is missing.
- Quietly, in amber: “Accepted changes are saved here, but their backup to the git server failed — it is retried on the next accept.” Nothing published is missing.
Public links on a single trunk
A public link shows the published version — never the work in progress, never what is merely accepted. A change appears in the link only after somebody presses Publish. A document that has never been published cannot be shared yet.
History, authors and Delta
- History is one line: every dot is one publication. Any earlier version can be restored — and restoring is again a change in progress, to accept and publish.
- Authors (File → Authors) work the same as in drafts.
- Delta edits the project’s documents directly. Her changes are in progress and wait for your ✓ like anybody’s; she never publishes by herself. What she learns about the project, she learns after every publication.
Switching between the two
The way of working is set per project, in Projects → Way of working. It is changed only by the administrator of the installation or by your company’s account manager — not by the company administrator and not by a member. A company administrator sees which way the project works, and a sentence saying who makes the change; the two cards are grey for them.
For the person allowed to switch, a press on the other card opens a dialog. It lists what will change — “After the switch:” — and that you can switch back. Then it checks the project (“Checking the project…”) and answers either “Nothing stands in the way.” or “First, this has to be done:” with a list, each item linked to its place, and “Check again”.
| In the app | What it means |
|---|---|
| From drafts to a single trunk | Every open draft must be published or closed first — the dialog names each one and says how many of its changes nobody has decided yet. No publication may be running, and Delta must not be working. Drafts put aside do not matter: they stay hidden and come back if the project returns to drafts. |
| From a single trunk to drafts | Nothing may be left unpublished in the project’s documents: no typing still being saved, no change in progress, nothing accepted and unpublished, nothing the git server does not have yet — and Delta must not be working. Open documents are closed by the switch; from the start of the check the approved version is read-only again. |
After the switch the app reloads for everybody in the project, and the switch is written into the record. The dialog said in advance what everybody will see: “all members write straight into the project’s documents”, or “the approved version becomes read-only for all members”.