[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114712":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":14,"starSnapshotCount":14,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},114712,"noddit","WeCarbon\u002Fnoddit","WeCarbon","Noddit is where you and your AI hand work to each other. It is the decision hub that centralizes the tasks and to-dos for both humans and long-running AI agents.",null,"TypeScript",139,7,8,0,9,56,77,40,88.41,"MIT License",false,"main",true,[],"2026-11-11 11:09:30","2026-11-23 19:48:15","**English** · [Simplified Chinese](README.zh-Hans.md) · [Traditional Chinese](README.zh-Hant.md) · [French](README.fr.md) · [Arabic](README.ar.md)\n\n# Noddit\n\n*Where you and your AI hand work to each other.*\n\nYou give an agent a two-hour job — or five agents, one each — and walk away.\nAn hour later, three of them have been sitting on a question in chats you\nweren't watching, and you can't tell which one is still working.\n\n**Noddit gives your agents one place to put their work and their questions, and\ngives you one screen to watch it all. Agents ask; you answer with one keypress;\nthe agent hears about it and carries on — while it's still running.**\n\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fraw.githubusercontent.com\u002FWeCarbon\u002Fnoddit\u002Fmain\u002Fdocs\u002Fapp.en.dark.png\">\n  \u003Cimg alt=\"The Noddit desktop app: the Available view with a pending decision open, its two options as cards, progress bars and a new request waiting for an AI\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FWeCarbon\u002Fnoddit\u002Fmain\u002Fdocs\u002Fapp.en.png\">\n\u003C\u002Fpicture>\n\n\u003Csub>Desktop app — \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FWeCarbon\u002Fnoddit\u002Freleases\u002Flatest\">download for macOS, Windows and Linux\u003C\u002Fa>\u003C\u002Fsub>\n\n![Demo: the nod bench opens on a tree of running work; read a pending decision, answer it with a keystroke, then an agent picks up the answer with nod read](https:\u002F\u002Fraw.githubusercontent.com\u002FWeCarbon\u002Fnoddit\u002Fmain\u002Fdocs\u002Fdemo.gif)\n\n\u003Csub>In the terminal\u003C\u002Fsub>\n\n## Why\n\n| Without Noddit | With Noddit |\n|---|---|\n| An agent asks \"A or B?\" in chat. You miss it; it waits for an hour. | Every open question is on one screen, the ones blocking an agent first. |\n| You answer, the answer scrolls away, the next session never sees it. | The question and your answer are a markdown file in git, for good. |\n| \"What are you doing? How far along?\" — you have to ask, and interrupt. | Each task shows its progress bar; one that goes quiet turns grey, then red. |\n| Five agents share one `TODO.md`, pick the same number, overwrite each other. | Every task is its own file with its own id; any number of agents write at once. |\n| You step away and everything stops. | Each question carries a default and says what happens if you don't answer; agents keep going on the rest. |\n\nIt's not a board you plan work on. It's the line between a running agent and\nyou: its question reaches you, your answer reaches it, and both are kept.\n\n## What it looks like\n\n1. Your agent hits a choice. Instead of asking in chat, it runs:\n\n   ```sh\n   nod ask W4 -o 1=\"Keep current CDN\" 2=\"Switch to Fastly\" --default 1\n   ```\n\n2. You run `nod` in any terminal. W4 is at the top, marked ◆ Decide, with\n   both options and what each one costs.\n\n3. You press `2`.\n\n4. The agent is told right away, reads \"Switch to Fastly\" and carries on.\n   The question and your answer stay in `decisions\u002Factive\u002F4-pick-cdn.md`, in git.\n\n## Quickstart (Claude Code)\n\n```sh\nnpm i -g @wecarbon\u002Fnoddit\ncd your-project && nod init\n```\n\nThen, inside Claude Code:\n\n```\n\u002Fplugin marketplace add wecarbon\u002Fnoddit\n\u002Fplugin install decs@decisions-md\n```\n\nThat's it. Give your agent a task as usual. It logs its work and asks its\nquestions through nod on its own. Run `nod` in another terminal to watch.\n(`decs` still works as an alias, for every command on this page.)\n\nUsing a different agent? Paste [`AGENTS.md`](AGENTS.md) into its instructions —\nthe rules are plain CLI calls, so any agent with a shell can follow them.\n\n## Three words\n\n- **Node** — one thing an agent is doing. One markdown file.\n- **Decide** — a node that needs your answer. It shows up with options; press a number.\n- **Bench** — the screen you get when you run `nod`. Everything, live.\n\nThat's all you need to start. The rest of this page is how it works underneath.\n\n---\n\n## The idea\n\nOne kind of thing — a **node** — and one id space.\n\nA node is something the AI does. When the agent knows how, it just does it.\nWhen it needs the owner first, the node becomes **needs decision**, with\noptions, a default, and what happens if nobody answers. A running node that\nhits a question doesn't spawn a second entry; it turns into a question itself,\nand goes back to running when you answer.\n\n```\ndecisions\u002F\n  decs.json                                  # {\"letter\": \"W\"} → refs read W12\n  active\u002F12-ship-v2-4.md                     # a root node still in play\n  active\u002F12-ship-v2-4\u002F13-run-test-suite.md   # its children live in its folder\n  archived\u002F9-rotate-api-keys.md              # done or closed, kept forever\n  attachments\u002F12\u002Fafter.png\n  .ids\u002F12                                    # zero-byte reservation (O_EXCL)\n```\n\nBecause every node is its own file and ids are reserved with `O_EXCL`, any number\nof agents can write at once without colliding. Because it's markdown in git, you\nget history, diffs, review and grep for free.\n\n## What you get\n\n**For the human — the bench.** `nod bench` is a live terminal UI over every\nproject you've registered. Six tabs:\n\n| tab | shows |\n|---|---|\n| **Available** | what can move now: running, waiting on someone, ready to start or still blocked behind another node, needs you, answered |\n| **Active** | what's happening: running and needs-decision only |\n| **Human work** | what waits on you: decisions to make, and your own to-dos — whatever blocks an AI first |\n| **Waiting** | held up outside — a colleague, a customer, a service — longest wait first |\n| **Live** | every change, by anyone, newest first — finished nodes too |\n| **All** | everything, finished nodes folded into a `✓ Completed N` row |\n\nThe left pane is the node tree with progress bars and staleness (grey past 30\nminutes without an update, red past an hour). The right pane is the selected\nnode: status, urgency, *\"if you don't answer\"*, parent, dependencies, body,\nattachments. Press `1`–`9` to answer, `Enter` for the default. Screenshots\nrender inline in the terminal (iTerm2, kitty, Ghostty, WezTerm).\n\n**For the agent — a CLI and a contract.** Agents create nodes, break them into\nchild nodes, report progress, ask questions, and get notified of your answers:\n\n```sh\nnod add \"Ship v2.4\" --task --author \"lead · release\"          # → W12\nnod add \"Run full test suite\" --task --parent W12 --after W14\nnod start W13\npytest | nod progress --parse pytest                           # bar moves by itself\n\nnod ask W15 -o 1=\"Short & playful\" 2=\"Plain & direct\" --default 2 \u003C\u003C'EOF'\n**What.** The first screen new users see after sign-up …\nEOF\n```\n\n**Human work, alongside AI's.** `nod add \u003Ctitle> --for me` files a to-do\nthat's yours, not an AI's — no agent starts it, checks in on it, or takes it\nas a brief. `nod assign \u003Cid> me|ai` moves a node between the two later. The\nbench's **Human work** tab lists both: decisions waiting on you and your own\nto-dos, whatever blocks an AI first.\n\n**Milestones.** `nod add \u003Ctitle> --milestone` (or `nod assign \u003Cid>\nmilestone`) marks a node as a goal with sub-goals and work under it — a\nphase, not a task. It's never started or finished on its own; the bench\nshows it as `⚑` with a done\u002Ftotal count for its children, and it doesn't\nneed a `--due`, though it can take one.\n\n**Due dates, estimates, a repeat cadence.** `--due \u003Cdate>` on `nod add` or\n`nod edit` puts a deadline on any node — overdue turns red, in the bench and\nthe app. `--est 2h` records whose time it costs: yours on your own to-do,\nthe AI's otherwise; a parent adds up both across its subtree. `--every 3d`\ngives a node its own cadence, so `nod defer --every` (or `D` on the bench)\nputs it off to today plus that span without typing the date each time.\n\n**A reminder is an AI's job, not yours.** `nod add --remind \"fri 2pm\"` (or\n`nod edit --remind`) schedules a plain AI task for that moment — it never\nmixes with options, a brief, or `--for`. At the time, `nod monitor` tells\nthe node's own agent once, with its next step (tell the owner, then `nod\ndone`); the desktop app reminds you too.\n\n**Notifications without polling.** `nod monitor` prints one line per thing an\nagent must act on — an owner answer, a reply, a new item from an external\nsource, an answer nobody has picked up for five minutes — and remembers where\neach session left off. It wakes on a filesystem event, not a timer, so nothing\nwaits for the next poll. The Claude Code plugin starts it for the whole session\n(`nod monitor --here`, watching the current project); it goes offline by itself\nafter two quiet hours with a `DECS-IDLE` line. Sub-agents, or a session after\n`DECS-IDLE`, arm it with Claude Code's Monitor tool:\n\n```\nMonitor({ command: \"nod monitor --mine\", description: \"nod\", timeout_ms: 1800000 })\n```\n\nA reply or note longer than a line or two needs `--summary`; that one line —\nnot the full text — is what a notice, a reply card's title and the bench show.\n\n**Dependencies and order.** `--after W13` holds a node back until W13 is done.\nYou can still answer a question early; the node then waits as **to do** and\nstarts when its turn comes.\n\n**External sources, synced on their own schedule.** Point a tiny adapter at\nGitHub issues, Azure DevOps, a support inbox or a feedback form. It syncs\n*references only* (id + title, optional url\u002Fstate\u002Ffrom), never bodies, never\ncredentials. Register one with `--sync-cmd \"...\" --every 10m` and your own\nrunning `nod monitor` runs the sync itself on that interval — stored only on\nyour machine (`~\u002F.decs\u002Fsource-sync.json`), never in the repo, so cloning it\nnever runs anyone's command. The bench header tells you, per source,\nwhether it's cleared and who holds what:\n\n```\nSources github-issues ✗ unhandled 2 W7 1   support-inbox ✓ clear\n```\n\n**Approval gates for anything that leaves the building.** Attach a draft with\n`--approval-content`; nod records its sha256. Before sending, the agent runs\n`nod approved W20 --check draft.html` — it fails unless *you* picked the\napproving option *for exactly that content*. An agent relaying \"send it\" from\nthe chat can't approve on your behalf.\n\n**Defer.** Press `d` on anything you want out of sight. It leaves the working\nviews without changing state, and the agent on it is told it was deferred and stops\nuntil you lift it.\n\n**Act on several at once.** `Space` marks rows on the bench; with any marked,\nthe same single-node keys — defer, start, reassign, important, archive — act\non all of them. The desktop app does the same with `⌘`-click, `⇧`-click, or a\nbox dragged from empty space or from any row that isn't itself draggable, and\nmirrors in-place title\u002Fdescription edits, image zoom and pan, and inline\nMarkdown\u002FHTML previews — see [Development](#development) below for where the\ntwo surfaces are tracked against each other.\n\n**Every answer keeps its own history.** A node with any unanswered option is\nalways **needs decision** — even one that's already running or not started —\nand a reply that doesn't pick one hands that round back to the agent instead\nof settling it; the node returns to **in progress** and gets asked again.\nEach answer you give is its own block, labelled *Decided*; picking the pencil\nto change an already-locked answer adds a new block labelled *Answer changed*\nright after it, never rewriting the one before.\n\n**Refs in prose link to their node.** Write a ref like `G91` or `W305`\nanywhere — a title, body, note, summary or option — and the desktop app turns\nit into a link that jumps straight to that node, across projects too. The\nterminal board has no pointer to click with; type the same ref at `g` or `:`\ninstead.\n\n**A daily Nod counter.** ⚡, above Views in the app's sidebar and in the\nterminal board's header, counts every owner action — a reply, a decision\nanswered, a node you filed yourself; an AI's own writes never count — across\nevery registered project, archived ones included. It shows today, yesterday\nand the 7-day average (floored to a whole number), and moves the instant you\nact rather than waiting for the next refresh. The calendar button beside it\n(`c` on the terminal board) opens the Nod calendar, a GitHub-style heatmap of\nthe whole last year.\n\n**Two notice sounds, synthesized live.** Settings gets two short chimes —\n*AI update* and *Needs a decision* — built from a Web Audio recipe, no audio\nfile to ship or license. Each has its own on\u002Foff switch, an A\u002FB variant and a\npreview button, plus one shared volume slider; at most one chime plays in any\nfive-second span, and a decision's chime always wins over an update's in\nthat span.\n\n## Install\n\nRequires Node 22.18+.\n\n```sh\nnpm i -g @wecarbon\u002Fnoddit\n\ncd ~\u002Fcode\u002Fyour-project\nnod init --letter W                  # creates decisions\u002F, registers the project\nnod add \"Try nod\" --task --author \"me · kicking the tyres\"\nnod                                  # the bench (same as nod bench); q to quit\n```\n\nNo install: `npx @wecarbon\u002Fnoddit init --letter W` works the same way, one command at a time.\n\n### From source\n\nTypeScript runs directly; there is no build step.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fwecarbon\u002Fnoddit.git\ncd noddit && npm install\nexport PATH=\"$PWD\u002Fbin:$PATH\"          # add to your shell profile\n\ncd ~\u002Fcode\u002Fyour-project\nnod init --letter W\nnod add \"Try nod\" --task --author \"me · kicking the tyres\"\nnod\n```\n\n### With Claude Code\n\nThe repo is also a Claude Code plugin marketplace. The plugin injects the usage\nrules at the start of every session (plus the project's open nodes, so a\nresumed session picks its work back up), starts `nod monitor` for the session\nso your answers reach the agent without it polling, and reminds the agent to\nrecord what you say about a node in chat before replying.\n\n```\n\u002Fplugin marketplace add wecarbon\u002Fnoddit\n\u002Fplugin install decs@decisions-md\n```\n\n(`\u002Fplugin marketplace add \u002Fpath\u002Fto\u002Fnoddit` works for a local clone.)\n\nThe full agent guide is [`AGENTS.md`](AGENTS.md) — paste it into your own\n`AGENTS.md` \u002F `CLAUDE.md` if you use a different agent harness. The rules are\nCLI calls, so any agent with a shell can follow them.\n\n## Language\n\n`nod` picks the UI language in this order:\n\n1. `--lang \u003Ccode>` on any command, e.g. `nod bench --lang fr`\n2. the `NODDIT_LANG` environment variable (`DECS_LANG` still works)\n3. `nod config lang \u003Ccode>` — stored per user in `~\u002F.decs\u002Fconfig.json`\n   (`$NODDIT_HOME\u002Fconfig.json`). `nod config lang` alone shows the current\n   language and where it comes from; `nod config lang --off` removes it.\n4. the system locale (`LC_ALL` \u002F `LC_MESSAGES` \u002F `LANG`, `C` \u002F `POSIX`\n   ignored): `zh_CN` → `zh-Hans`, `zh_TW` \u002F `zh_HK` → `zh-Hant`, `fr_*` →\n   `fr`, `ar_*` → `ar`\n5. the OS display language, when none of those locale variables are set —\n   plain Windows terminals (cmd, PowerShell) have none, so nod reads it the\n   way Node's `Intl` reports it\n6. otherwise, English — also where a locale nod has no translation for\n   ends up\n\nCodes: `en`, `zh-Hans`, `zh-Hant`, `fr`, `ar`. The plugin's prompt\nreminder follows the same resolution; the session-start rules\n(`plugin\u002Frules.md`) are English in every language.\n\nArabic is laid out right to left. `NODDIT_BIDI=visual|terminal` (`DECS_BIDI`\nstill works, or `nod config bidi visual|terminal`, `--off` to remove) picks how: `visual`\n(the default) has nod reorder each line itself with the Unicode\nBidirectional Algorithm, for terminals that draw strictly left to right\n(e.g. macOS Terminal); `terminal` has nod write logical order and wrap\nembedded left-to-right runs (refs like W12, numbers, commands, English\ntitles) in Unicode isolates, for terminals that apply bidi themselves\n(iTerm2 with bidi enabled, kitty, VTE-based terminals). In Arabic the bench\nalso mirrors: the list sits on the right, details on the left. Output to\npipes and `--json` always stays in logical order, so scripts and agents\nread it unchanged. Relative times (\"3 days ago\") follow the language too.\n\nThe on-disk file format never changes with the language: `nod` always\nwrites one fixed set of section headings, so a repo stays readable by every\nteammate whatever language their CLI speaks. When you write a file by hand,\n`## Options`, `## Attachments` and `## Questions` are accepted. See [The file format](#the-file-format) below.\n\n## How a session goes\n\n1. You give the lead agent a goal. It runs `nod add \"Ship v2.4\" --task`, starts\n   it, and splits it into child nodes with `--after` dependencies.\n2. It hands lanes (sub-agents) their own nodes. Each lane pipes its long\n   commands into `nod progress`; the bench bars move on their own.\n3. A lane hits a fork in the road. It runs `nod ask \u003Cid> -o …` with options,\n   costs and a default. The node turns yellow `◆` in your bench.\n4. You press `2`. `nod monitor` wakes the lane; it runs `nod read`, carries on,\n   and finally `nod done \u003Cid> --note \"412\u002F412 passing\"`.\n5. You never had to ask \"where are we?\" — and next week, the whole story is\n   still in `decisions\u002Farchived\u002F`.\n\n## CLI cheat sheet\n\n| | |\n|---|---|\n| `nod init [--letter W]` | create `decisions\u002F` here and register the project |\n| `nod add \u003Ctitle> [--task] [-o 1=… 2=…]` | new node; with options it needs a decision. Body from stdin |\n| `nod add \u003Ctitle> --parent W12 --after W13` | child node, ordered after another |\n| `nod start \u002F done \u002F close \u003Cid>` | To do → In progress → Done \u002F Closed (`--reason obsolete\\|superseded\\|merged-into:W15`) |\n| `nod ask \u003Cid> -o 1=… 2=…` | a running node needs the owner |\n| `nod hold \u003Cid> --on \"Carol: icon set\" --until fri` | waiting on someone outside (an active delay, purple); not counted as stuck — same as `nod defer --on` |\n| `nod add \u003Ctitle> --for me` · `nod assign \u003Cid> me\\|ai` | a to-do that's yours, not an AI's — listed in **Human work** |\n| `nod add \u003Ctitle> --milestone [--due …]` | a goal with sub-goals under it, never started or finished on its own |\n| `nod edit \u003Cid> --due \u003Cdate> --est 2h --every 3d --remind \"fri 2pm\"` | due date · whose time it costs · a repeat cadence · an AI reminder |\n| `nod progress \u003Cpct> \"msg\"` · `… \\| nod progress --parse pytest` | report progress (or let a pipe report it) |\n| `nod steps \u003Cid> \"a\" \"b\" \"c\"` · `nod step \u003Cid> 2` | multi-step work, percent computed for you |\n| `nod note \u003Cid> \"…\" [--summary \"…\"]` | append a record (agent by default; `--human` for the owner); a summary is required past a line or two |\n| `nod push \u003Cid> 2 [--note …]` | record an answer |\n| `nod monitor [--mine] [--here] [--idle-exit 2h]` | the agent's notification stream |\n| `nod read \u003Cid>` · `nod queue` | collect answers \u002F see what's uncollected |\n| `nod attach \u003Cid> file [--approval-content --approve-on 1]` | attach a file; gate it on approval |\n| `nod approved \u003Cid> --check \u003Cfile>` | exit 0 only if exactly this content was approved |\n| `nod defer \u003Cid> [--until \u003Cdate>]` · `nod undefer \u003Cid>` | put off, to a day or indefinitely (a passive delay, grey) \u002F bring back |\n| `nod show [open\\|active\\|deferred\\|…] [--stale]` · `nod tree` · `nod get \u003Cid>` | read the store |\n| `nod search \u003Cwords> [--all]` | titles, bodies, notes, attachment names |\n| `nod source register\u002Fsync\u002Fpush\u002Flist\u002Fitems\u002Fack` | external sources |\n| `nod changes --since \u003Ct>` | everything after a cursor, for catching up |\n| `nod bench [.\\|\u003Cdir>…] [--view decide]` | the live screen |\n| `nod` | on a terminal, the same as `nod bench`; piped or in a script, prints the usage |\n| `nod config [\u003Csetting> [\u003Cvalue>\\|--off]]` | your settings: lang, bidi, view, images, mouse, idle-exit, unclaimed-after (also in the bench: `,`) |\n\nIds are `305`, `W305` (project letter), `web:305` (project name), or legacy\n`D305`. `nod \u003Ccommand> --help` has the rest.\n\n## Bench keys\n\n| key | |\n|---|---|\n| `↑` `↓` | move |\n| `←` `→` · `-` `+` | fold \u002F unfold (remembered across sessions) |\n| `Tab` `Shift-Tab` | switch view |\n| `1`–`9` · `Enter` | answer · take the default |\n| `w` | jump to the next node an agent is stuck on |\n| `g` or `:` | go to an id |\n| `Ctrl-L` | go to the cross-project main agent, or start one if it's offline |\n| `N` | reply without deciding (the node goes back to the agent) |\n| `d` | defer \u002F undefer |\n| `@` | flip who does it: your to-do ↔ an AI's |\n| `m` | flip whether this node is a milestone |\n| `Space` | mark \u002F unmark a row; with any marked, `d D s @ ! A` act on all of them |\n| `X` · `A` | close with a reason · mark looked-at and archive |\n| `M` | move mode: ↑\u002F↓ moves the node among its siblings (or its group in a list), ⏎ done; the app takes a drag |\n| `i` · `o` | pick and view images · open an attachment |\n| `j` `k` `Ctrl-F` `Ctrl-B` | scroll the detail pane |\n| `Z` · `?` · `q` | condensed body · all keys · quit |\n| `c` | Nod calendar — a heatmap of the last year behind ⚡ |\n| `,` | settings (language, right-to-left text, mouse, …) |\n\nThe mouse works too: click a tab, a node, an option or an attachment; the wheel\nscrolls the pane it's over.\n\n## The file format\n\nA node is markdown with YAML front matter. Humans can read it in any editor;\nagents and the bench go through the CLI, which handles locking and history.\n\n```markdown\n---\nid: 1\ntitle: Choose a CDN\nauthor: lane-perf · static assets\nstatus: needs_decision\ncreated: 2026-03-14T10:12:03+00:00\nurgency: high\ndefault: \"1\"\nif_no_answer: stay; re-measure Friday\nreversible: true\n---\n\n**What.** Static assets are served from one region.\n\n**Why now.** APAC p95 doubled last week.\n\n## Options\n\n### 1 · Stay on current CDN\n\n### 2 · Move to edge provider\n```\n\nSection headings are fixed tokens, not translated: see [Language](#language)\nabove for why, and how each person picks their own. Replies and notes are\nappended as their own sections, each recording who wrote it and when.\n\nA node can also carry a few optional fields, set with the matching `nod add`\n\u002F `nod edit` flags rather than by hand: `due`, `est`, `every`, `remind_at`,\n`assignee` (`human`, for a to-do that's yours) and `milestone` (`true` for a\ngoal with sub-goals under it). The bench and the app read all of them\nstraight from the front matter.\n\nStatuses: `not_started` To do · `in_progress` In progress · `waiting`\nWaiting · `needs_decision` Needs decision · `decided` Answered, for AI ·\n`completed` Done · `closed` Closed. Children live in a folder named like\ntheir parent's file; ids stay flat, so moving a node is a rename and every\nreference still holds.\n\n## Design principles\n\n- **Files, not a service.** Everything is in `decisions\u002F`, versioned with your\n  code, readable without nod installed.\n- **The filesystem is the lock.** Ids come from `O_EXCL` files; each write\n  re-reads the node under its own lock and lands via write-then-rename. Two dozen\n  concurrent writers get consecutive ids and lose nothing — there's a test for it.\n- **One kind of thing.** Tasks and decisions are the same node. Fewer concepts,\n  one id space, one tree.\n- **The human never has to ask.** Status, progress, staleness, what's waiting on\n  whom — it's all on the bench, not in a chat thread.\n- **Roles are explicit.** Every appended section says whether a human or an agent\n  wrote it, who, and when. Only human answers approve outbound content.\n- **References, not content, from outside.** External sources sync ids and\n  titles; bodies and credentials stay where they live.\n\n## FAQ\n\n**Is this only for Claude Code?**\nNo. The CLI is agent-agnostic — anything with a shell can call it. The Claude\nCode plugin adds session-start rules and uses `CLAUDECODE` \u002F\n`CLAUDE_SESSION_ID` to tell agent shells from yours and tag who wrote what.\nElsewhere, set `NODDIT_ROLE=agent` and `NODDIT_SESSION` (`DECS_ROLE` \u002F `DECS_SESSION` still work).\n\n**Does it work with git worktrees?**\nYes. `nod` always resolves to the main checkout's `decisions\u002F`, so lanes in\nworktrees share one store. Each lane should still run `nod` from its own\nworktree; when one is forced to share another lane's cwd instead, set\n`NODDIT_WORKTREE=\u003Cits own worktree's path>` so their identities don't\ncollide.\n\n**Several repos at once?**\n`nod init` registers each project; `nod bench` with no arguments opens all of\nthem, grouped by project letter.\n\n**What if nobody answers?**\nEvery question carries a default and an `--if-no-answer`. `nod wait --timeout`\nexits with code 2 and prints the default — the moment to proceed with it.\n\n**Can I edit the files by hand?**\nYou can read them freely. For writes, use the CLI: it keeps ids, locks, the\nanswer queue and attachment history consistent.\n\n**I have an old `DECISIONS.md`.**\n`nod migrate --dir \u003Cproject> --dry-run`, then without `--dry-run`.\n\n## Python SDK\n\nNoddit also ships a small Python package, [`noddit` on PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Fnoddit\u002F) (standard library only, Python 3.10+). It lets long Python jobs report progress to a node — useful when tests or scripts run somewhere `nod` isn't installed, such as a Docker container. A pytest plugin writes one JSON line per test; `progress_events` does the same for any script. On the host, `nod progress --from-file` or `nod run` reads the file and moves the node.\n\n```sh\npip install noddit\npytest --noddit-events events.jsonl          # or NODDIT_EVENTS=events.jsonl pytest\nnod run W12 --events events.jsonl -- pytest  # the node's progress bar follows the run\n```\n\n```python\nfrom noddit import progress_events\n\nev = progress_events(\"events.jsonl\")\nev.start(total=23, label=\"recalculate\")\nev.step(done=5, msg=\"table 3\")\nev.finish(ok=True, summary=\"23 tables\")\n```\n\nThe event format is in [`python\u002Fdocs\u002Fprogress-events.md`](python\u002Fdocs\u002Fprogress-events.md).\n\n## Development\n\n```sh\nnpm test            # node --test\nnpm run typecheck   # tsc --noEmit\nnode scripts\u002Frender-screenshot.ts --out docs\u002Fscreenshot.en   # regenerate docs\u002Fscreenshot.\u003Clng>.svg\u002F.png (mock data)\n```\n\nThe desktop app (`app\u002Fsrc`) and the terminal board (`src\u002Ftui`) are meant to stay at feature\nparity — [`docs\u002Fapp-tui-parity.md`](docs\u002Fapp-tui-parity.md) tracks where each feature lives in\nboth, and gets a new row whenever one changes.\n\n## License\n\n[MIT](LICENSE) © 2026 WeCarbon\n","Noddit 是一个面向 AI 代理（AI agents）与人类协同工作的实时决策协调工具。它提供统一的终端\u002F桌面界面，集中管理多个长期运行 AI 代理提出的待决问题（如二选一决策），支持一键响应、即时回传答案、进度可视化及决策记录持久化（Git 可追溯）。基于 TypeScript 构建，采用轻量 CLI + 文件驱动架构，无需服务器或云依赖。适用于本地开发中多 AI 代理并行执行任务（如自动化部署、内容生成、数据处理）时需人工介入关键节点的场景。",2,"2026-11-24 04:49:27","CREATED_QUERY"]