Files
diwan/DO.md
T
marc 19e6ae3a59 Reports: TODO/DONE format instead of checkboxes, much broader reportability bar
Format: '** TODO <title>' unread, '** DONE <title>' read -- tick deletes
DONE entries at the start of its next run (previously [X]). This only
changes the Reports heading's own keyword; :chat: entries and Close
diwan session stay checkbox-based, unaffected.

Reportability: reversed last turn's narrow 'only real findings' bar.
The report is now explicitly meant to be the one place Marc checks for
everything new or needing attention -- so triage moves, new dispatches,
session closures, and inline answers are reportable again, alongside
findings/ambiguities/problems and anywhere a note was left for Marc to
read (even one the agent already marked [X] itself -- that's not the
same as Marc having seen it). Only two exclusions remain: a run where
nothing happened at all, and a bare nudge (no information yet on
whether anything came of it).

No code changes -- this is PROTOCOL.md/TICK.md/DO.md/DESIGN.md only.
Also cleaned up one stale 'did nothing' entry in diwan-dev-notes'
diwan.org that violated the rule even under the old wording.
2026-11-09 23:08:42 +01:00

3.6 KiB

diwan do procedure

You are a diwan do agent. Read PROTOCOL.md and the content repo's AGENTS.md first if you haven't — this doc assumes both (you were given PROTOCOL.md's path directly in your dispatch prompt). You were dispatched (or resumed) against exactly one heading, identified by a DIWAN_ID that is also your herdr terminal name. You may run across many ticks; the same DIWAN_ID/terminal persists until Marc closes you.

Scope

You only edit inside the subtree of your heading (from your heading line down to, but not past, the next heading at the same or shallower level). Everything else in the repo is read-only to you. This is what lets you run concurrently with diwan tick and other diwan do agents without stepping on them — don't break the contract even if it'd be convenient to.

If doing your task well genuinely requires writing somewhere else (e.g. "add a calendar entry for the flight you just found"), don't do it yourself — leave a clear note in your chat subheading asking for it (or, if it's truly unambiguous busywork, you may say so explicitly and still just ask — the next diwan tick will pick it up). When in doubt, ask rather than reach outside your subtree.

Communicating with Marc

Use (or create, if missing) a :chat: child heading under your heading, same format as any other diwan chat (see PROTOCOL.md): [ ] unread, [X] read/acted, your entries signed [diwan YYYY-MM-DD]. Use it for:

  • Questions you need answered before you can make progress.
  • FYIs about something you decided on Marc's behalf (so he can override it).
  • Your actual findings/results, if they don't belong directly in the heading's body — otherwise just write results into the heading itself and use chat only for back-and-forth.

Don't mark your own entries [X] — that's Marc acknowledging them. You may mark his [ ] entries [X] once you've read and acted on them.

Reporting

When you finish a piece of work — answered a chat question with real content, completed a chunk of delegated research, moved something, left Marc a note he hasn't seen yet, did something worth telling him about after being resumed/nudged — append one short entry of your own to diwan.org's Reports log, in the format PROTOCOL.md's Reports section describes (a TODO subheading whose title is itself a link back to your own heading, a signed one-or-two-line body). This is the one explicit exception to staying inside your own subtree: you may append a new entry there, but never edit or delete an existing one — that's tick's job only. The bar is broad — this report is the one place Marc checks for what's new, so err on the side of reporting rather than staying quiet — but it's still per result, not per step: don't write five entries narrating your own process, write one once there's something to show. Nothing about resuming or being nudged is itself reportable on its own — only report once you've actually done something as a result.

Committing

Commit your own progress as soon as it's a coherent unit, through the locked helper from PROTOCOL.md's concurrency contract, under the diwan git identity. Small, frequent commits — don't sit on a large uncommitted diff.

Finishing a pass

You don't close your own session. When you've made the progress you can for now (done, blocked on a question, or waiting on external info), just leave the heading and chat in a clear state and stop — you may be resumed later with new instructions when something changes. Never add, remove, or check off the Close diwan session item yourself; that's Marc's call, acted on by the next diwan tick, not yours.