Keep your decisions08 / 20
Write down the intent you care about
On this page
Finish a task with an Agent and what is left is often a heap of code you have not read. In Noea each task also leaves a piece of intent: why this billing rule is set this way, where that flow's edges are. Syntax and implementation detail can go to the Agent; these judgments are yours. Intent Documents are where they live.
What to write
Intent describes the behavior and constraints you require the software to keep meeting:
| Kind | Example |
|---|---|
| Product rule | A new team can try Team free for 14 days without adding a payment method |
| Edges and exceptions | A monthly subscription is not refunded; after cancelling, it runs to the end of the period |
| Architectural constraint | The refund amount is computed in one place, using whole cents throughout |
| Interaction requirement | If an export fails, keep the current date range and allow a retry |
Where you can, state the trigger and the result you could observe. “Exports should be reliable” is hard to check; “If an export fails, keep the current date range and allow a retry” gives you something to judge against.
You don't have to describe the whole software. Intent can be rough, like “Teams can subscribe monthly or annually”, and get finer as the implementation teaches you more, like “An annual plan is charged at the price of 10 months.” When an implementation choice matters enough that you want every later change to respect it, write it in; leave undecided details to the implementation.
Keep Intent Documents lean. If you pour every implementation detail into them, you have only swapped code you can't keep up with for documents you can't keep up with. Explanations answer the details, when you open them.
Three rules for writing it
Say only what the software should be now. Intent isn't a task list or a running log. Don't write “check the export module first this time” or “last week we changed 14 days to 21”; write “The trial lasts 21 days.” When the feature is done, the sentence stays; when you want different behavior, you change the sentence.
Put each matter in one place. “Data is kept for 90 days after a downgrade” lives only in Plans and seats; Trial and Renewal point to it when they need it rather than each repeating it. Written in several places, it will sooner or later contradict itself.
Use your own words. You should recognize each sentence as your own thinking, be able to explain it in your own words, and find it again when you want to change it. When the Agent drafts intent, it works from what you actually said in the chat and keeps its additions short. If it uses a term you don't know or adds a requirement you never mentioned, ask before deciding whether to keep it. A complete spec the Agent wrote and you nodded through isn't something you own yet: a sentence you don't understand holds nothing in place, even in your document.
Lasting requirements versus this time's instructions
A chat often mixes two kinds of content:
| Content | Where it goes |
|---|---|
| During the grace period, retry the charge every 2 days | Intent: it keeps defining the retry rule |
| Before every refund, check the payment record first | Intent: “first” sets the order the software works in |
| This time, read the existing renewal job before you change anything | The chat: an instruction for this piece of work |
| Do the backend now; the interface can wait until next week | The chat: a plan for the work |
To tell them apart, ask whether a sentence constrains the software or this piece of work. Requirements for a single implementation can go to the Agent as a proposal's “Run Guidance” instead of into the intent text; see Write what you settled into intent.
Create and edit directly
Click “New Intent” in the sidebar and enter a name. Noea creates a .noea.md file at the root of your intent folder with just a top-level heading, and opens it.
You read and edit in the same view: click the text to change it, and organize it with headings, paragraphs, lists, tables and code blocks. Use headings for sections and paragraphs to separate requirements. A whole list is explained as one paragraph, so split requirements you want to discuss separately into separate paragraphs.
# Refunds
## Annual subscriptions
A subscription can be refunded in full within 14 days of payment, no questions asked.
After 14 days, an annual subscription is refunded in proportion to the whole months remaining; a monthly subscription is not refunded and runs to the end of the period.
Drag documents under “intents” in the sidebar to arrange how they nest, such as putting Trial, Renewal and Refunds under Subscriptions. The document tree only helps you and the Agent find your way; it isn't intent itself, and rearranging it doesn't make any explanation outdated. So give each document a title that says what it covers on its own, without relying on where it sits in the tree.
Shape intent in a chat
When you haven't made up your mind yet, talk it through first:
When someone on an annual plan wants out midway, today it is all or nothing. That's too blunt. Look at how the code handles it now, and let's work out a pro-rata refund rule.
Once you reach a conclusion, have the Agent draft it as a proposal. Review the wording in the document, edit it if needed, then accept. What was said in the chat counts only once it is in an Intent Document. For the steps, see Write what you settled into intent.
Show relationships with diagrams
State changes, processing flows and exchanges between several parties are often clearer as a diagram than as paragraphs. A code block in the mermaid language is shown as a diagram, for example:
```mermaid
stateDiagram-v2
Active --> GracePeriod: charge fails
GracePeriod --> Active: retry succeeds
GracePeriod --> Free: unpaid on day 7
```
Diagrams follow light and dark appearance. The button at the block's top right switches between the diagram and its source; switch to the source to edit it. On hover there is also an enlarge button for zooming and panning over the whole window. If the syntax has an error, the block stays as source with the reason shown, and the rest of the document is unaffected.
Diagrams have explanations too: key points in a diagram's text are marked as dashes along its bottom edge; click one to read it.
Save, and edit elsewhere
Save your edits yourself: press ⌘S (Ctrl+S on Windows and Linux), or choose File → Save. A dot beside the title means there are unsaved edits. They are kept when you switch tabs, and Noea asks you to save when you close the document or the project or quit. Saving normalizes how the Markdown is written.
You can also edit the files in another editor. If a file changes on disk while you are editing it, Noea won't overwrite it; it lets you reload the file or save yours as a new one.
After you change the text
Adding, rewriting and deleting express different changes:
| Edit | What it changes |
|---|---|
| Change “14 days” to “21 days” | Extends the trial |
| Add “Email the owner a reminder 3 days before the trial ends” | Adds a notification requirement |
| Delete “as a CSV file” | No longer fixes the export format |
Removing a constraint isn't the same as removing a feature. After deleting “as a CSV file”, the existing CSV export still fits the rest of your intent. If you want exports gone, say so.
Once saved, a rewritten paragraph gets a blue bar on its left, and its note still shows the explanation of the text before your edit. To have the software follow, see Edit a line, start work; to check whether the existing code already meets it, see When the code changes.