Concepts

How Dus gets better

Dus keeps looking for what slows it down or goes wrong in your project, from what it recorded itself, and proposes fixes you decide on. Duscode learns from the same findings only if you allow it.

Dus watches its own work the way a good lead engineer reviews a team's week: what failed, what had to be done twice, what was slow, what cost money for nothing, and where you had to step in. It does this by itself, all the time, from the records Duscode already keeps. No model is called and nothing leaves your computer unless you allow it.

What Dus looks at

Only what Duscode itself recorded while it worked:

  • Checks that failed, with the failing tests named, and checks that failed and then passed on the same commit with nothing changed (flaky tests).
  • Slow steps: a check run much slower than usual for a project this size, and the one test suite that makes your checks slow.
  • Waiting: time lost to the network or to a lock another process held.
  • Wasted spend: money spent on tasks or jobs that ended blocked or stopped, and a finished task that costs clearly more than it used to.
  • When you had to step in: a step you declined, Change this on finished work, a restart in the middle of a task, or the same question asked twice.
  • The computer: a full disk or temp folder, running out of memory, too much running at once, or a helper still running after its task ended.
  • Work nobody moved on: a job or card waiting a day or more.

Each of these becomes a finding: one plain sentence, the evidence (which records, how often, how much time and money it cost), the likely cause, and how serious it is. The same problem is one finding, however often it happens. When a fix lands, the finding closes; if the problem comes back, the same finding reopens and is marked as having come back.

Where you see it

  • Today, on the project home, has What Dus improved and what slows it down: what was fixed, and the problems with the most impact. For example: "Your checks take 22 min; 18 min is one suite (test/e2e.test.ts). Split it or speed it up?"
  • Every Proof of Work has the same section, as it stood when the task ended.
  • The daily brief carries it too, and duscode improve --list in a terminal lists every finding with its evidence (--all includes the fixed ones).

Fixing it: your call

When a finding is something Dus can fix in your project, like a slow suite, a flaky test or a temp folder that keeps filling up, it comes with a proposal: Fix it (up to $5.00). Choosing it shows what it costs, what it means and how to undo it. Dus then works on it as an engineering job in its own task, with a specialist's brief (a quality engineer for tests, a reliability engineer for the machine) and that budget, and ships it the usual way: tests, Local CI, review, merge. Nothing starts without your OK, and you can cancel the job at any time. When its merge lands, the finding closes by itself.

Big jobs get a look back

After every Lead mode run, Dus writes a short look back from what the run recorded: how many helpers ran at once against how many could have, which ones were slow, failed or were blocked, what was spent on work that wasn't merged, and what to change next time. The next run reads it. For example, if helpers stalled because the computer was busy, the next run on a busy computer runs fewer at once. The run's report shows Next time.

Making Duscode better

Some findings are about Duscode itself rather than your project, such as a network error Duscode reported unclearly, or a helper it left running. They are marked as Duscode's own.

If you turn on Send problems to Duscode (Settings → About & updates → Feedback for Duscode, off by default), these are added to that list as short summaries: the kind of problem, how often, the time and money it cost, and where in Duscode it happened. They never include your code, commands, file names, project name or any text from your work. With the switch off, or in privacy mode, nothing is sent. See Your data.

Something missing or wrong? Email support@duscode.com.