p-backlog 0.9.0 → 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 +121 -0
- package/README.md +3 -1
- package/README.ru.md +3 -1
- package/dist/cli.js +4826 -4173
- 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 +9 -5
- package/skill/backlog/SKILL.md +3 -1
- package/skill/backlog-en/SKILL.md +3 -1
- package/dist/web/assets/CodeTab-DvFAuZ83.js +0 -1
- package/dist/web/assets/CostTab-1Rdp5nwz.js +0 -1
- package/dist/web/assets/EffectTab-8aARbrne.js +0 -1
- package/dist/web/assets/Figure-CCcsLfB5.js +0 -1
- package/dist/web/assets/OverviewTab-DvBBhF85.js +0 -1
- package/dist/web/assets/QualityTab-TBeOxc7b.js +0 -1
- package/dist/web/assets/ShareBar-C_mQiINj.js +0 -1
- package/dist/web/assets/StatsPage-B5K4_4Wb.css +0 -1
- package/dist/web/assets/StatsPage-DtpkiP-4.js +0 -1
- package/dist/web/assets/StatsPage.module-DrfzjXrP.js +0 -1
- package/dist/web/assets/StatsTabState-BmkJh8eP.js +0 -1
- package/dist/web/assets/StatsTabState-CUDEyUDu.css +0 -1
- package/dist/web/assets/StatsTable-B9Rm04sJ.css +0 -1
- package/dist/web/assets/StatsTable-C5qAHApf.js +0 -1
- package/dist/web/assets/UnavailableRepos-ctosBCJf.js +0 -1
- package/dist/web/assets/cx-DvgIdypj.js +0 -55
- package/dist/web/assets/index-NfqY6Vxd.js +0 -2
- package/dist/web/assets/start-BG-1CZwx.css +0 -1
- package/dist/web/assets/start-jnWYnN9h.js +0 -41
- package/dist/web/assets/use-grain-panel-DRZkQL7T.js +0 -55
- package/dist/web/assets/use-grain-panel-tQC8-pw2.css +0 -1
- package/dist/web/assets/value-dot-BJdkleLN.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,126 @@
|
|
|
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
|
+
|
|
3
124
|
## 0.9.0
|
|
4
125
|
|
|
5
126
|
- `backlog close <ID> --as fixed --reason "Fixed in <sha>: …"` on a task closed with `status <ID> done` now attaches the
|
package/README.md
CHANGED
|
@@ -321,7 +321,9 @@ npm run typecheck
|
|
|
321
321
|
npm run lint
|
|
322
322
|
|
|
323
323
|
npx playwright install chromium # once, before the first e2e run
|
|
324
|
-
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
|
|
325
327
|
|
|
326
328
|
npm run test:package # the tarball install path end to end on this OS (slow)
|
|
327
329
|
npm run screenshots # README screenshots on demo data, into docs/screenshots
|
package/README.ru.md
CHANGED
|
@@ -316,7 +316,9 @@ npm run typecheck
|
|
|
316
316
|
npm run lint
|
|
317
317
|
|
|
318
318
|
npx playwright install chromium # один раз, перед первым запуском e2e
|
|
319
|
-
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
|
|
320
322
|
|
|
321
323
|
npm run test:package # весь путь установки из tarball на этой ОС (медленный)
|
|
322
324
|
npm run screenshots # скриншоты для README на демо-данных, в docs/screenshots
|