Understand the work04 / 20
Read an explanation
On this page
Agents are capable enough now that proving the work is right shouldn't still fall on you. In Noea, the Agent writes an explanation for each part of your intent: how its implementation answers that sentence, the path it took, the choices it made, and what is left for you to judge. You read an answer to what you said, not changes across dozens of files.
Open a paragraph's overall explanation
In an Intent Document, clicking the text lets you edit it; clicking the empty space around a paragraph opens its “Overall explanation”. The explanation appears as a note to the right of the paragraph, set apart by a thin line on its left.
Paragraphs, lists, tables, code blocks and diagrams can each have their own explanation; a whole list counts as one paragraph, and headings have none. You can keep notes open on several paragraphs at once; each stays until you close it.
In a narrow window, notes appear below their paragraph. If you prefer that layout, turn on “Always show notes below” in Settings → Document: the text stays centered and explanations open under each paragraph.
Down to the word
The sense of control in writing code comes from knowing what every symbol means. Send off a prompt and you can't tell which word made a difference. Noea has the Agent explain point by point: the key phrases in a sentence each have their own explanation.
Rest the pointer on a paragraph and faint dashes appear under those phrases. Point at a dash and it stretches across the whole phrase; click it, and the note switches to that phrase's explanation, with its position at the top, such as “Explanation 1 / 3”. Use “‹ Previous” and “Next ›” to move between the key points of the paragraph, and “← Overall explanation” to go back.
Take “After a renewal charge fails, the subscription keeps a 7-day grace period and the charge is retried every 2 days.” The explanation of “7-day grace period” says how the deadline is worked out and where it is stored; the explanation of “retried every 2 days” says which job triggers the retries, and on what condition. Change one of those words and you can predict what changes.
What counts as a key point? If deleting the phrase, replacing it or reversing it would change which implementations are acceptable, it is a key point. Conditions, objects, quantities, directions, exceptions and negations can all be key points; words that don't change the meaning aren't. In “sort by creation time, ascending”, “creation time”, “ascending” and “sort” decide what to sort by, in which direction and what behavior is required, so each is usually its own key point.
When you read a key point's explanation, judge it in two steps: first, is the Agent's reading of the phrase reasonable; then, does the implementation match that reading. If the reading is wrong, an implementation that matches it doesn't help. Nor should a reading be rewritten after the fact to defend the code that exists; if you see that, ask.
Diagrams in a document work the same way: key points in a diagram's text are marked as dashes along its bottom edge, and clicking one opens its explanation.
Read the three parts
| Part | Answers | What to look at |
|---|---|---|
| Realization | How the current implementation answers this part of your intent | Behavior, steps, edge cases, and the functions and files involved |
| Evidence | What the explanation rests on | Code locations, tests and run output, screenshots and other material |
| Attention | What needs your judgment | Implementation choices, gaps, risks and suggestions |
“Realization” is open by default, “Evidence” is folded, and “Attention” is open when it has anything in it and absent when it doesn't. For how to check evidence, see Check the evidence.
If an implementation turn recently changed the code behind this part of your intent, the note ends with “Recent implementation”, listing those turns with their chat, time and number of changes. Open one and the code panel shows only that turn's changes for this paragraph; see Read changes by intent.
Who decided
The worry with work an Agent wrote is whether it quietly made decisions for you and left traps behind. Finding them used to mean reviewing code line by line. In Noea, the Agent has to list them itself under “Attention”, each with a kind:
| Kind | Meaning | Example |
|---|---|---|
| Gap | Your intent requires something the implementation doesn't do yet, or your intent is unclear and the implementation had to guess | The document doesn't say when seats are taken back after a refund; today they are taken back at once |
| Implementation choice | Your intent didn't specify, so the Agent picked an approach | A month counts as 30 days, not a calendar month |
| Risk | Works now, but could go wrong in some cases | The exported amount column carries no currency, so a team that bills in several currencies can't tell them apart |
| Suggestion | An improvement worth considering that doesn't change the current judgment | When an export takes more than 10 seconds, build it in the background and email when it's ready |
Gaps get the most prominent color. Whenever the overall explanation or any key-point explanation of a paragraph has attention items, a mark with the total count appears to the right of the paragraph, in the gap color if any of them is a gap. Click it to open the first explanation with attention items at its “Attention” section; the up and down buttons under the mark move between the paragraph's explanations.
A sentence of intent rarely allows only one implementation. “Remind the owner before the trial ends” doesn't say how many days ahead, how many times or with which template. What's left open is the Agent's implementation freedom. Noea doesn't take that freedom away; it is much of the Agent's value. The boundaries are:
- What you haven't decided, the Agent may decide. Ordinary technical detail, such as how a variable is named or which helper is used, doesn't show up as attention.
- What you have decided, the Agent must not violate. Anything that doesn't match your intent is listed as a gap.
- Freedom that matters has to be visible. Choices that noticeably affect experience, cost, risk, privacy or later decisions belong in the realization; those worth your judgment are also listed as attention.
So you don't need every detail settled up front. Start from a rough idea, see what the Agent lists, then decide which calls to take back. Each one you take back tightens your intent a little and gives you a little more of the software.
Decide whether to write it back
An explanation describes what the code does today; that doesn't mean it must always do so. When you see an implementation choice, ask whether it affects experience, cost, privacy, risk or later decisions, then pick one:
- Fine as it is, and you want to keep room to change it later: leave it out of your intent and keep the current approach.
- Something the software must keep meeting: write it into your intent so it binds every later implementation.
For example, you may be fine with “a month counts as 30 days”. But if finance requires refunds by calendar month, write “whole months remaining are counted by calendar month” into Refunds. Writing the behavior you actually require is easier to maintain than copying implementation detail. For how to write it, see Write down the intent you care about; for the steps, see Write what you settled into intent.
If you have a question about an explanation, hover over the paragraph and click “Ask about this” on its left to ask the Agent with the paragraph attached.
Diagrams and interactive demos in explanations
Explanations can include tables, code blocks and Mermaid diagrams, such as a state diagram or a swimlane. Click a diagram to enlarge it over the whole window; scroll to zoom, drag to pan, and press Esc to close.
Some explanations include an “Interactive demo”: a small interface where you can try the rule yourself, such as entering a payment date to see how the refund changes. It runs in its own sandbox with no access to the app or the network, and resets when you close the note. It helps you understand; whether the real software does it is still a matter of code and evidence.
First check that the explanation still applies
Before reading, look at the top of the note:
| What you see | What it means | What to do |
|---|---|---|
| This explains the previous text | You edited the paragraph; the explanation, including its attention items, still refers to the text before your edit | Click “Show what changed” to see the edit, then investigate again |
| This explanation may be outdated | Files the explanation read or cites have changed since; the note lists them | Click “Investigate Again” |
| This explanation's data can't be read | The explanation itself is damaged; your text is unaffected | Click “Investigate Again” to write a new explanation in its place |
When an explanation's conclusion changes in a run of Explain, an empty ring in the theme color appears to the right of the paragraph. It disappears once you open the explanation.
Notes are read-only. To change a requirement, edit the intent; to check an explanation, investigate again. For how these states arise and how to handle them, see When the code changes.