p-backlog 0.8.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +170 -0
- package/README.md +15 -7
- package/README.ru.md +15 -6
- package/dist/cli.js +5476 -4561
- package/dist/web/assets/CodeTab-ClCaW8AS.js +1 -0
- package/dist/web/assets/CostTab-CtI3iFiW.js +1 -0
- package/dist/web/assets/EffectTab-DcvyEB2U.js +1 -0
- package/dist/web/assets/Figure-DkmKAO9C.css +1 -0
- package/dist/web/assets/Figure-DxKUx52i.js +1 -0
- package/dist/web/assets/OverviewTab-DE_6Z9ps.js +1 -0
- package/dist/web/assets/Page-buthlp0V.js +59 -0
- package/dist/web/assets/Page-r2s5SXpX.css +1 -0
- package/dist/web/assets/PanelRows-6zccccnE.css +1 -0
- package/dist/web/assets/PanelRows.module-ZonfBTD-.js +1 -0
- package/dist/web/assets/QualityTab-CkoKu4X0.js +1 -0
- package/dist/web/assets/ShareBar-B5phBvQk.css +1 -0
- package/dist/web/assets/ShareBar-BAS4lpze.js +1 -0
- package/dist/web/assets/StatsPage-B_pacptZ.css +1 -0
- package/dist/web/assets/StatsPage-Bmr75f8J.js +1 -0
- package/dist/web/assets/StatsTabState-BacJCCdC.css +1 -0
- package/dist/web/assets/StatsTabState-D93FkgT5.js +1 -0
- package/dist/web/assets/StatsTable-D-PylWl7.js +1 -0
- package/dist/web/assets/StatsTable-DPDsjAV6.css +1 -0
- package/dist/web/assets/UnavailableRepos-DyBVFVrQ.js +1 -0
- package/dist/web/assets/index-BFmeY_kk.js +2 -0
- package/dist/web/assets/start-CJ8zVmAB.js +38 -0
- package/dist/web/assets/start-CjkFx30s.css +1 -0
- package/dist/web/assets/summaries-D57lRSim.js +1 -0
- package/dist/web/assets/use-grain-panel-UcuXHAhT.js +55 -0
- package/dist/web/assets/use-grain-panel-nSBWtox9.css +1 -0
- package/dist/web/assets/web-paths--TbmQ8rA.js +1 -0
- package/dist/web/index.html +1 -1
- package/package.json +12 -6
- package/skill/backlog/SKILL.md +23 -15
- package/skill/backlog-en/SKILL.md +25 -16
- package/dist/web/assets/CodeTab-Bn0Zl7PI.js +0 -1
- package/dist/web/assets/CostTab-BBsTM7es.js +0 -1
- package/dist/web/assets/EffectTab-gDz3Omnz.js +0 -1
- package/dist/web/assets/Figure-DAdnR-Fu.js +0 -1
- package/dist/web/assets/OverviewTab-CkZ7dCcx.js +0 -1
- package/dist/web/assets/QualityTab-Bkxkcnh2.js +0 -1
- package/dist/web/assets/ShareBar-CoTArw6Q.js +0 -1
- package/dist/web/assets/StatsPage-B-sQM9n_.js +0 -1
- package/dist/web/assets/StatsPage-CHUVlZXv.css +0 -1
- package/dist/web/assets/StatsPage.module-DxtnhZOJ.js +0 -1
- package/dist/web/assets/StatsTabState-BauB3xdU.js +0 -1
- package/dist/web/assets/StatsTabState-CUDEyUDu.css +0 -1
- package/dist/web/assets/StatsTable-Dg0CrPof.js +0 -1
- package/dist/web/assets/StatsTable-Z9x-Xaha.css +0 -1
- package/dist/web/assets/UnavailableRepos-BTMsOBI-.js +0 -1
- package/dist/web/assets/cx-CutaZ2Ho.js +0 -55
- package/dist/web/assets/index-CM8tBSED.js +0 -2
- package/dist/web/assets/start-CbHSVk3k.css +0 -1
- package/dist/web/assets/start-Cm2kfqW8.js +0 -41
- package/dist/web/assets/use-grain-panel-BczBScgN.js +0 -55
- package/dist/web/assets/use-grain-panel-tQC8-pw2.css +0 -1
- package/dist/web/assets/value-dot-Dy8YzPPT.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,175 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
- In Safari and Firefox, after a bulk action done with the mouse, focus now moves to Undo, and after the epic filter
|
|
6
|
+
disappears it moves to the next toolbar control, as it already did in Chrome and with the keyboard. Before, the click
|
|
7
|
+
left focus on the page content.
|
|
8
|
+
- Statistics charts now look the same: every chart has horizontal grid lines (the Debt, Usage and Check precision
|
|
9
|
+
charts with two value axes had only the top and bottom border), the hover cursor of the period charts is one framed
|
|
10
|
+
band in theme colors under the hovered period (before, the Debt, Created, Check precision and Usage charts drew
|
|
11
|
+
recharts' fixed light-gray line, and the Effectiveness chart a band without a frame), and the "decided" axis of the
|
|
12
|
+
Check precision chart is shortened like the other count axes (`1.2K` and `1,2 тыс.`, not `1200`).
|
|
13
|
+
- `backlog serve --port ""` now fails with "--port: expected a number from 1 to 65535" and exit code 1, like any
|
|
14
|
+
other invalid port, instead of silently starting on the default port 4317. An empty `PORT` environment variable still
|
|
15
|
+
means "not set".
|
|
16
|
+
- A Stop hook command with options before the event (`backlog hook --agent codex stop`) is now recorded in the run log
|
|
17
|
+
and statistics as a Stop hook run; before, it counted as an ordinary `hook` command.
|
|
18
|
+
- Ages and times to close in days (median, 90th percentile, a stuck task) are now printed in Russian with the thousands
|
|
19
|
+
separator, like every other count (`1 234 дн.`, not `1234 дн.`), and so are the weeks of the debt forecast in both
|
|
20
|
+
languages (`1 500 нед.`, `1,500 wk.`). In English, the forecast ("about 1,500 wk.", "0.8 tasks a week") now keeps
|
|
21
|
+
the number and its unit together with a no-break space, as the other counts do.
|
|
22
|
+
- `backlog check` no longer leaves a task created on a branch "awaiting merge" forever when that branch was merged by
|
|
23
|
+
squash or rebase while the local branch still exists; in 0.9.0 the wait ended only once the task's creation commit
|
|
24
|
+
itself was in the current branch. The branch now counts as merged once the current branch's history has, for every
|
|
25
|
+
file the branch changed, the branch's version of the file, or a copy of the branch's whole change to it in one commit
|
|
26
|
+
(squash), or a copy of each of the branch's commits to it (rebase); edits elsewhere in the same file do not matter,
|
|
27
|
+
and later edits do not undo it. A task whose creation commit is gone from the repository no longer waits either.
|
|
28
|
+
- `backlog check` makes fewer needless re-check requests for a task without an anchor. In 0.9.0 only a merge commit
|
|
29
|
+
that brought nothing beyond the task's creation commit was ignored; now commits that only repeat what the creation
|
|
30
|
+
commit already had are ignored too: the squash commit of the task's branch, copies of each of the branch's commits
|
|
31
|
+
to the file (a rebase, or cherry-picks into the main branch or into another branch merged later), a commit that
|
|
32
|
+
brings the file to its version at the task's creation, and a merge commit that brings only such commits. This works
|
|
33
|
+
for a task created on a detached HEAD as well. Of the copies of an edit only the earliest counts: a later repeat of
|
|
34
|
+
it, edits made after the task was created and later edits of the file still make the task a candidate, even when
|
|
35
|
+
they repeat a branch edit that was undone before the task was created. A commit that brings the file back to its
|
|
36
|
+
version at the task's creation is ignored wherever it is.
|
|
37
|
+
- `backlog check` recognizes such a copy by `git patch-id` together with the exact text of the changed lines, so an
|
|
38
|
+
edit that differs only in whitespace (indentation in Python, for example) is not a copy, and the copy has to sit at
|
|
39
|
+
the same place in the file: the same edit made to another, identical part of the file does not count, while lines
|
|
40
|
+
added or removed elsewhere in the file in the meantime do not matter. A change whose surrounding lines (3 on each
|
|
41
|
+
side) were edited in the meantime, or that was resolved by hand in a conflict, is not recognized, and its task is
|
|
42
|
+
treated as in 0.9.0. An edit of a binary file counts as a copy only with the same contents before and after it, on
|
|
43
|
+
git older than 2.39 too.
|
|
44
|
+
- A repository without commits yet is checked as having an empty history instead of reporting it unreadable, and a
|
|
45
|
+
failure to run git is reported as unreadable history rather than "not a git repository".
|
|
46
|
+
- A task's `source` written with Windows backslashes (`src\lib\a.ts:12`) or with `.`, `..` or a doubled `/` inside the
|
|
47
|
+
path (`src/./a.ts`, `src/x/../a.ts`, `src//a.ts`) now means the file git knows (`src/lib/a.ts`, `src/a.ts`)
|
|
48
|
+
everywhere. 0.9.0 only dropped a leading `./` and trailing slashes, so such a source did not match the paths git
|
|
49
|
+
reports: the task got no "code changed" re-check in `backlog check` when its file changed, its function was not
|
|
50
|
+
found in the code graph, statistics put it in a folder of its own (`src/.`, `src/x/..`) outside hot spots, churn and
|
|
51
|
+
debt density, and `backlog take --path` missed it or, for `src/../lib/a.ts`, took it for `src`. Leading `..` segments
|
|
52
|
+
are kept (`src/../../shared/a.ts` is `../shared/a.ts`), and so are drive (`C:/`) and network (`\\server\share`)
|
|
53
|
+
roots; a source ending in `.` or `..` names a folder in statistics (`src/shared/.` is `src/shared`, `src/shared/..`
|
|
54
|
+
is `src`). `backlog take --path .` run outside the project's repository now takes all open tasks of the project that
|
|
55
|
+
have a source, as `--path ./` already did.
|
|
56
|
+
- When looking for duplicates, `backlog check` and `backlog new` now treat these spellings of one file's path
|
|
57
|
+
(`src/./queue.ts`, `src\queue.ts`, `src/x/../queue.ts`, `.//src/queue.ts` next to `src/queue.ts`) as the same place.
|
|
58
|
+
Such a duplicate in one function was missed or found only through the code graph: its candidate episode closed when
|
|
59
|
+
the graph was missing and opened again once it came back, so statistics counted that duplicate signal twice.
|
|
60
|
+
- A task file created in the first moments after `backlog serve` starts (for example by an agent while the service is
|
|
61
|
+
starting) now reaches an open web interface without waiting for another edit. The file watcher could miss files that
|
|
62
|
+
appeared before it finished its initial scan; now the server reloads the backlog once when the watcher is ready.
|
|
63
|
+
- The web API now rejects a request body larger than 1 MiB with `413` and "Request body is larger than 1 MiB" instead of
|
|
64
|
+
reading it whole; a task description edited in the web UI is far below that. A closing reason made of a very long
|
|
65
|
+
run of spaces or line breaks (about 100,000 characters, from `backlog close --reason` or the batch close in the web
|
|
66
|
+
UI) no longer keeps the process busy for seconds: it is normalized in linear time, with the same result as before.
|
|
67
|
+
- When the backlog directory cannot be written to (no permission, read-only file system, full disk) and `.settings.json`
|
|
68
|
+
does not exist yet, every command and `backlog serve` now say so once on stderr: "Could not save the language to
|
|
69
|
+
.../.settings.json: EACCES ...". Before, the failed write was swallowed without a trace and the language was silently
|
|
70
|
+
detected afresh on each run, so it could flip with the shell's locale. The command or the server still runs.
|
|
71
|
+
`backlog serve` also reports an unparsable `.settings.json` once, not twice as before.
|
|
72
|
+
- Clean-up of old closed tasks after a command no longer stalls it for 5 seconds per busy task file: when several of
|
|
73
|
+
those files are locked by another process (a parallel command, an editor), the whole set now waits for the locks
|
|
74
|
+
once, up to 5 seconds in total, instead of 5 seconds for each locked file. Files that are free are still locked and
|
|
75
|
+
processed.
|
|
76
|
+
- `backlog check` no longer reports a project repository that belongs to another user (git's "dubious ownership") as
|
|
77
|
+
"not a git repository", which sent people to edit `repos` in `project.md`. It now reports `project-repo-unsafe` and
|
|
78
|
+
names the fix, `git config --global --add safe.directory <path>`. git's error is recognized by the untranslated
|
|
79
|
+
`safe.directory` hint in it, not by its wording, which differs between git versions and languages.
|
|
80
|
+
- An installed service file that `backlog service status` or `backlog stats` cannot read is named in a warning, and
|
|
81
|
+
they use `PORT`. An agent directory that `backlog setup` or `backlog config` cannot read (for example, `CODEX_HOME`
|
|
82
|
+
without permission) is named in a warning and that agent is skipped, while the other agents are set up as usual;
|
|
83
|
+
before, it was reported as "not found". The same goes for a Claude Code settings file that cannot be read: before,
|
|
84
|
+
`backlog setup` stopped there without setting up Cursor or Codex, and `backlog config language` saved the language
|
|
85
|
+
but did not relink any skill. Now Claude Code is named in a warning (`backlog setup` skips it and still exits with
|
|
86
|
+
code 4), and the other agents are set up or relinked as usual. `backlog config language` still repoints an existing
|
|
87
|
+
Claude Code skill link to the new language (it cannot tell whether a plugin provides the skill, so it never creates
|
|
88
|
+
a link there); without such a link it says the link was left unchanged and asks to re-run the command once the file
|
|
89
|
+
is readable. A skill link, or a legacy skill link of Cursor or Codex, that `backlog setup --remove-manual` cannot
|
|
90
|
+
remove is named in a warning, the agent's hook is still removed, and the command exits with code 4.
|
|
91
|
+
- The statistics of a project whose directory is named `all` are no longer shown as the statistics of all projects (or
|
|
92
|
+
the other way round) after switching between the two in the web UI.
|
|
93
|
+
- The card of a closed task whose file lacks the closing date or the reason (or has a blank one) now says "Closed,
|
|
94
|
+
date not recorded" / "reason not recorded" instead of leaving a blank after "Closed" or a dangling dash.
|
|
95
|
+
- The chart scale (week / day) picked on the statistics page now applies to other open tabs at once. With browser
|
|
96
|
+
storage blocked, "new" badges also work for tasks created while the tab is open.
|
|
97
|
+
- The confirm button of the delete-project and close-tasks dialogs stays reachable with Tab while it is not yet
|
|
98
|
+
available, like the other unavailable buttons; it is still announced as unavailable.
|
|
99
|
+
- A tag with a comma inside, written by hand in a task file (`tags: ["ui, web"]`), is now read as separate tags (`ui`,
|
|
100
|
+
`web`), the way `backlog new --tags` and the web form already split it, and the next save of the task writes them
|
|
101
|
+
back to the file as separate tags. Before, such a tag showed up as one chip, and clicking it in the web list (or
|
|
102
|
+
following it from the statistics) showed no tasks.
|
|
103
|
+
- On the statistics page of a project whose id has spaces or non-Latin letters, the tab being loaded is now highlighted
|
|
104
|
+
and the page is marked busy, as for other projects.
|
|
105
|
+
- `backlog serve` (the background service included) is no longer recorded as a command run: stopping or restarting the
|
|
106
|
+
service no longer adds a `serve` row with an uptime of hours to the Commands table on the cost tab, or counts it in
|
|
107
|
+
"other commands". `serve` records already in `.runs.jsonl` are ignored by the report too.
|
|
108
|
+
- An invalid `PORT` (not a number from 1 to 65535) is no longer silently replaced with 4317 when no service is
|
|
109
|
+
installed: `backlog stats` warns about it and prints the summary without the web link, and `backlog service status`
|
|
110
|
+
rejects it with exit code 1, as `serve` and `service install` already did.
|
|
111
|
+
- A command that waits 5 seconds for a busy `journal.jsonl` appends its events without the lock; when that happens
|
|
112
|
+
while compaction is rewriting the journal, compaction now carries such lines over into the compacted file, including
|
|
113
|
+
a line that was still being written when compaction read the file. If the journal was replaced by a different file
|
|
114
|
+
in the meantime, compaction leaves it as is.
|
|
115
|
+
- A task source or project repository path that cannot be read (no permission, a name too long, a symlink loop) is
|
|
116
|
+
reported and skipped instead of being treated as missing: `backlog check` and the Stop hook print a warning with the
|
|
117
|
+
path and the error and leave the tasks with that source out of this run (no `source-missing` or `source-changed`
|
|
118
|
+
for them, other tasks are checked as usual); `new --source` and `verify` warn and save the task without a new anchor;
|
|
119
|
+
`close` warns and skips that repository. A repository path in a `project.md`, or the current directory itself, that
|
|
120
|
+
cannot be read is named in a warning when the CLI or the Stop hook looks up the project of the current directory. A
|
|
121
|
+
source that is a directory, does not exist or runs through a file (`src/a.ts/b.ts`) is still treated as having no
|
|
122
|
+
file to read.
|
|
123
|
+
|
|
124
|
+
## 0.9.0
|
|
125
|
+
|
|
126
|
+
- `backlog close <ID> --as fixed --reason "Fixed in <sha>: …"` on a task closed with `status <ID> done` now attaches the
|
|
127
|
+
fix commit without reopening it (exit 0 instead of 3; status and closing date stay). Statistics then count that
|
|
128
|
+
closing as fixed, so Effect sees the commit. `status <ID> done` suggests this command, and returning a fixed task to
|
|
129
|
+
work prints its earlier commits so the next `--reason` starts with them (statistics count the first commit).
|
|
130
|
+
- The skill asks the agent to close a task only after tests, checks and review, right after committing, with the hash
|
|
131
|
+
from `git commit`; `status done` is for changes that the user will commit later or that have no commit.
|
|
132
|
+
- Re-checks are quieter. "Code changed" for anchored tasks is raised only when the task's own lines (±2) changed
|
|
133
|
+
after the state the task was last verified in; switching to a branch without that state no longer raises it.
|
|
134
|
+
"File missing" is raised only when the file was deleted or renamed on the current branch, is deleted in the working
|
|
135
|
+
tree, or is unknown to git — a file that lives on another branch no longer counts. A renamed file whose task lines
|
|
136
|
+
are intact moves the task's `source` by itself (`source-moved`). Replayed on a real backlog, re-check candidates
|
|
137
|
+
went from 112 to 76 (precision 17 % → 23 %) without losing any task that a re-check led to close.
|
|
138
|
+
- `backlog new` and `backlog check` treat two open tasks as a possible duplicate only when their `source` is in the
|
|
139
|
+
same file and their titles share several words, or when the titles are nearly the same (version numbers and dates
|
|
140
|
+
are compared whole). Shared words alone — review-nit groups, one area of the code — and the same line or function
|
|
141
|
+
with unrelated titles no longer count. On a real backlog, check offered 6 pairs instead of 159 and `new` refused 5
|
|
142
|
+
times instead of 73, still catching the known duplicates it caught before.
|
|
143
|
+
- The web list "Closed by the agent" and its chip count no longer include tasks a person closed in the web UI (the bulk
|
|
144
|
+
"Close as obsolete" action and epics that closed after it); tasks closed through the CLI stay there. `GET /api/tasks`
|
|
145
|
+
gains a `closedInWeb` field. An unreadable project journal no longer breaks the board — the server warns instead.
|
|
146
|
+
- `backlog new` keeps `manual` as the default for `--found`, and `--help` says so; the skill tells the agent to always
|
|
147
|
+
pass `--found` (without it the task does not count in Effect). The skill's exit-code table for `take` explains that
|
|
148
|
+
code 1 also means a write conflict or a validation error.
|
|
149
|
+
- `backlog prune --all-projects` considers only active projects, like `list` and `stats`.
|
|
150
|
+
- `backlog setup` recognizes the earlier PowerShell form of the Claude Stop hook and replaces it instead of adding a
|
|
151
|
+
second hook; `setup --remove-manual` removes it too. Codex and Cursor Windows hooks are recognized whatever the CLI
|
|
152
|
+
bundle file is named.
|
|
153
|
+
- CLI commands that reopen an epic that had closed by itself (including `backlog new --epic`) say so on stderr, and
|
|
154
|
+
`new --json` shows the epic's current status.
|
|
155
|
+
- `backlog new` in a new repository no longer reuses a prefix declared in another project's `project.md` whose header is
|
|
156
|
+
broken.
|
|
157
|
+
- Hotspots, churn × debt and debt density put tasks with a source like `./src/…` into `src` and files in the repository
|
|
158
|
+
root into `.`; a source pointing at a folder with a trailing slash counts in that folder again.
|
|
159
|
+
- The Code tab counts files such as `X.test.tsx.snap` as tests, as its explanation says; the code cache version is
|
|
160
|
+
bumped, so the git history is read once more after updating.
|
|
161
|
+
- Effect shows "≈" only for numbers that include an estimate of pending tasks — the same rule for tiles, the summary,
|
|
162
|
+
the chart tooltip and the projects table. The accuracy chart shows a point at 0 %. Chart tooltips and the weekly
|
|
163
|
+
trend group digits like the tables. English durations of 1000 days and more group digits too.
|
|
164
|
+
- "Created today / closed today" count from local midnight to now, like the daily rows.
|
|
165
|
+
- A duplicate candidate of a task from an unmerged branch is recorded in the journal exactly as it is shown, so check
|
|
166
|
+
accuracy no longer loses it; the "unknown journal lines" warning also counts candidate events with renamed values.
|
|
167
|
+
- The language switch in the web UI unlocks as soon as the setting is saved instead of after every query refetches.
|
|
168
|
+
- A failed task or project write in the web UI resets the server caches, so the UI never shows a half-written state.
|
|
169
|
+
- `.hook-turns.json` and `.candidates-shown.json` store local times with an offset, like the other files.
|
|
170
|
+
- Releases are published from a tag only after CI is green for that commit and `test:package` passes, with a pinned npm
|
|
171
|
+
version.
|
|
172
|
+
|
|
3
173
|
## 0.8.1
|
|
4
174
|
|
|
5
175
|
- Effect counts every task recorded as `incidental` again, including tasks recorded by earlier versions, where
|
package/README.md
CHANGED
|
@@ -17,9 +17,10 @@ what will break. Findings from audits and code reviews become tasks too, instead
|
|
|
17
17
|
- **Context kept, tokens saved.** A task stores the context the agent needs to pick it up later. On a re-check the
|
|
18
18
|
agent gets the task's summary, the current code around its line and the diff since the last check — usually
|
|
19
19
|
enough to decide without re-reading the codebase.
|
|
20
|
-
- **Stays current by itself.** A Stop hook asks the agent to re-check tasks whose
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
- **Stays current by itself.** A Stop hook asks the agent to re-check tasks whose own lines changed since the last
|
|
21
|
+
check — not an edit elsewhere in the file, and not a file that is merely absent from the current branch. The agent
|
|
22
|
+
closes fixed ones with the commit as evidence; line numbers follow the code as it moves, and so do renamed files.
|
|
23
|
+
Closed tasks are cleaned up after 7 days.
|
|
23
24
|
- **Local and autonomous.** Plain files in `~/backlog`, no account, no cloud. The agent drives it through the skill,
|
|
24
25
|
so you don't have to touch the CLI — though you can.
|
|
25
26
|
- **Charts when you want them.** Start the local web app to browse and triage tasks and follow the metrics: debt by
|
|
@@ -158,9 +159,9 @@ The retention window isn't configurable.
|
|
|
158
159
|
| `backlog category <ID> <category\|none>` | Changes the category or clears it |
|
|
159
160
|
| `backlog epic <ID> [<ID> …] --to <epic ID\|none>` | Moves tasks into an epic or takes them out of it |
|
|
160
161
|
| `backlog check [--changed] [--project id \| --all-projects] [--json]` | Fixes dangling links and completed epics, finds tasks that are due for a re-check |
|
|
161
|
-
| `backlog close <ID> --as fixed\|obsolete\|duplicate --reason <evidence> [--duplicate-of ID]` | Closes a task with a reason; `fixed` only with a commit hash from the project's repository |
|
|
162
|
+
| `backlog close <ID> --as fixed\|obsolete\|duplicate --reason <evidence> [--duplicate-of ID]` | Closes a task with a reason; `fixed` only with a commit hash from the project's repository; on a task closed with `status <ID> done`, `fixed` attaches the commit without reopening the task |
|
|
162
163
|
| `backlog verify <ID> [<ID> …] [--source file:line]` | Marks tasks as still relevant and remembers the code snippet |
|
|
163
|
-
| `backlog prune [--project id \| --all-projects] [--apply]` | Low-priority tasks older than 30 days; `--apply` cancels them |
|
|
164
|
+
| `backlog prune [--project id \| --all-projects] [--apply]` | Low-priority tasks older than 30 days; `--apply` cancels them; `--all-projects` covers active projects only |
|
|
164
165
|
| `backlog stats [--project id \| --all-projects] [--json]` | Statistics summary and alerts |
|
|
165
166
|
| `backlog project list \| status <id> active\|inactive \| delete <id> --confirm <id>` | Project activity and deleting a project with its tasks |
|
|
166
167
|
| `backlog hook stop [--agent claude\|codex\|cursor]` | The Stop hook of Claude Code, Codex, or Cursor: asks the agent to re-check tasks whose code changed |
|
|
@@ -188,6 +189,10 @@ requires typing the project id to confirm.
|
|
|
188
189
|
- When the agent finishes a turn in a repository where open tasks reference code that changed, the Stop
|
|
189
190
|
hook asks it to re-check those tasks. On request ("check the backlog"), it goes through the whole
|
|
190
191
|
project.
|
|
192
|
+
- Two open tasks are a possible duplicate — the check offers the pair, and `backlog new` refuses a new task
|
|
193
|
+
(code 3) — when their `source` is in the same file and their titles share at least three words (every
|
|
194
|
+
word of a short title), or when the titles are nearly the same, short words included. Shared words
|
|
195
|
+
alone don't count: review-nit groups and tasks from one area of the code share them all the time.
|
|
191
196
|
- The agent closes a task that's no longer needed with `backlog close` and evidence; in the UI such tasks
|
|
192
197
|
are visible under the "Closed by agent" link, and can be reopened.
|
|
193
198
|
- An epic whose tasks are all closed is closed by the server on its own, at startup and once an hour; such
|
|
@@ -207,7 +212,8 @@ it when it's there — read-only:
|
|
|
207
212
|
Stop hook and `backlog check` then flag the task only when that symbol changed, not when any line of the file
|
|
208
213
|
moved — fewer needless re-checks. Without the graph the check falls back to the task's source lines, then to the
|
|
209
214
|
whole file.
|
|
210
|
-
- **Duplicates by symbol.**
|
|
215
|
+
- **Duplicates by symbol.** A duplicate pair whose tasks point into the same function is marked as found by
|
|
216
|
+
symbol, so the Quality tab shows how often that signal is right.
|
|
211
217
|
- **Graph state in the web UI.** The sidebar warns when a project has no graph, when it's stale, or when it can't be
|
|
212
218
|
read (built by a different version or for a different path), with the command that fixes it.
|
|
213
219
|
- **Check precision.** The Quality tab in statistics shows how often each check method (by symbol, by source lines,
|
|
@@ -315,7 +321,9 @@ npm run typecheck
|
|
|
315
321
|
npm run lint
|
|
316
322
|
|
|
317
323
|
npx playwright install chromium # once, before the first e2e run
|
|
318
|
-
npm run test:e2e # Playwright: live
|
|
324
|
+
npm run test:e2e # Playwright in Chromium: bulk actions, live updates, CSP, charts, task panel width
|
|
325
|
+
npx playwright install webkit # optional: the same suite in WebKit too
|
|
326
|
+
npx playwright test # Chromium, then WebKit
|
|
319
327
|
|
|
320
328
|
npm run test:package # the tarball install path end to end on this OS (slow)
|
|
321
329
|
npm run screenshots # README screenshots on demo data, into docs/screenshots
|
package/README.ru.md
CHANGED
|
@@ -17,8 +17,10 @@
|
|
|
17
17
|
- **Контекст сохранён, токены сэкономлены.** Задача хранит контекст, который нужен агенту, чтобы потом взять её
|
|
18
18
|
в работу. При перепроверке агент получает суть задачи, текущий код вокруг её строки и изменения с прошлой
|
|
19
19
|
проверки — обычно этого хватает, чтобы решить, не перечитывая кодовую базу.
|
|
20
|
-
- **Сам следит за актуальностью.** Stop-хук просит агента перепроверить задачи,
|
|
21
|
-
|
|
20
|
+
- **Сам следит за актуальностью.** Stop-хук просит агента перепроверить задачи, чьи строки изменились с прошлой
|
|
21
|
+
проверки, — не правку в другом месте файла и не файл, которого просто нет в текущей ветке. Агент закрывает
|
|
22
|
+
исправленные со ссылкой на коммит, номера строк и переименованные файлы следуют за кодом. Закрытые задачи
|
|
23
|
+
удаляются через 7 дней.
|
|
22
24
|
- **Локальный и автономный.** Обычные файлы в `~/backlog`, без аккаунта и облака. Агент работает с ним через
|
|
23
25
|
скилл, так что трогать CLI не обязательно — но можно.
|
|
24
26
|
- **Графики — когда нужны.** Поднимите локальное веб-приложение, чтобы просматривать и разбирать задачи и следить
|
|
@@ -156,9 +158,9 @@
|
|
|
156
158
|
| `backlog category <ID> <категория\|none>` | Меняет категорию или убирает её |
|
|
157
159
|
| `backlog epic <ID> [<ID> …] --to <ID эпика\|none>` | Переносит задачи в эпик или вынимает из него |
|
|
158
160
|
| `backlog check [--changed] [--project id \| --all-projects] [--json]` | Чинит висячие ссылки и завершённые эпики, находит задачи, которые пора перепроверить |
|
|
159
|
-
| `backlog close <ID> --as fixed\|obsolete\|duplicate --reason <улика> [--duplicate-of ID]` | Закрывает задачу с причиной; `fixed` — только с хешем коммита из репозитория
|
|
161
|
+
| `backlog close <ID> --as fixed\|obsolete\|duplicate --reason <улика> [--duplicate-of ID]` | Закрывает задачу с причиной; `fixed` — только с хешем коммита из репозитория проекта; задаче, закрытой через `status <ID> done`, `fixed` привязывает коммит, не открывая её снова |
|
|
160
162
|
| `backlog verify <ID> [<ID> …] [--source файл:строка]` | Отмечает, что задачи ещё актуальны, и запоминает фрагмент кода |
|
|
161
|
-
| `backlog prune [--project id \| --all-projects] [--apply]` | Задачи с низким приоритетом старше 30 дней; `--apply` отменяет
|
|
163
|
+
| `backlog prune [--project id \| --all-projects] [--apply]` | Задачи с низким приоритетом старше 30 дней; `--apply` отменяет их; `--all-projects` — только активные проекты |
|
|
162
164
|
| `backlog stats [--project id \| --all-projects] [--json]` | Сводка статистики и тревоги |
|
|
163
165
|
| `backlog project list \| status <id> active\|inactive \| delete <id> --confirm <id>` | Активность проектов и удаление проекта вместе с задачами |
|
|
164
166
|
| `backlog hook stop [--agent claude\|codex\|cursor]` | Хук Stop для Claude Code, Codex или Cursor: просит агента перепроверить задачи, чей код изменился |
|
|
@@ -184,6 +186,10 @@
|
|
|
184
186
|
|
|
185
187
|
- Агент заканчивает ответ в репозитории, где открытые задачи ссылаются на изменившийся код, — хук Stop
|
|
186
188
|
просит его перепроверить эти задачи. По просьбе «проверь беклог» он проходит весь проект.
|
|
189
|
+
- Две открытые задачи — возможный дубль (проверка предлагает пару, `backlog new` отказывает с кодом 3),
|
|
190
|
+
когда `source` у них в одном файле и в заголовках не меньше трёх общих слов (все слова короткого
|
|
191
|
+
заголовка) или когда заголовки почти одинаковы, включая короткие слова. Одних общих слов мало: их всё
|
|
192
|
+
время делят группы «Мелочи ревью» и задачи одной части кода.
|
|
187
193
|
- Ненужную задачу агент закрывает через `backlog close` с уликой; в интерфейсе такие задачи видны по
|
|
188
194
|
ссылке «Закрыты агентом», их можно вернуть в беклог.
|
|
189
195
|
- Эпик, все задачи которого закрыты, сервер при старте и раз в час закрывает сам; такие эпики тоже видны
|
|
@@ -201,7 +207,8 @@
|
|
|
201
207
|
стоит. Stop-хук и `backlog check` предлагают перепроверить задачу, только когда изменился этот символ, а не
|
|
202
208
|
любая строка файла, — лишних перепроверок меньше. Без графа проверка опирается на строки `source`, затем на весь
|
|
203
209
|
файл.
|
|
204
|
-
- **Дубли по символу.**
|
|
210
|
+
- **Дубли по символу.** Пара-дубль, задачи которой указывают в одну функцию, помечается как найденная по
|
|
211
|
+
символу — вкладка «Качество» показывает, как часто этот признак прав.
|
|
205
212
|
- **Состояние графа в вебе.** Боковая панель предупреждает, если у проекта нет графа, он устарел или не читается
|
|
206
213
|
(собран другой версией или для другого пути), и подсказывает команду, которая это исправит.
|
|
207
214
|
- **Точность проверки.** Вкладка «Качество» в статистике показывает, как часто был прав каждый способ проверки: по
|
|
@@ -309,7 +316,9 @@ npm run typecheck
|
|
|
309
316
|
npm run lint
|
|
310
317
|
|
|
311
318
|
npx playwright install chromium # один раз, перед первым запуском e2e
|
|
312
|
-
npm run test:e2e # Playwright: живое
|
|
319
|
+
npm run test:e2e # Playwright в Chromium: массовые действия, живое обновление, CSP, графики, ширина панели задачи
|
|
320
|
+
npx playwright install webkit # по желанию: тот же набор ещё и в WebKit
|
|
321
|
+
npx playwright test # Chromium, затем WebKit
|
|
313
322
|
|
|
314
323
|
npm run test:package # весь путь установки из tarball на этой ОС (медленный)
|
|
315
324
|
npm run screenshots # скриншоты для README на демо-данных, в docs/screenshots
|