p-backlog 0.13.1 → 0.14.1
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 +95 -0
- package/README.md +1 -1
- package/README.ru.md +1 -1
- package/dist/cli.js +1630 -1009
- package/dist/web/assets/CodeTab-D7apweTn.js +1 -0
- package/dist/web/assets/CostTab-Cbq-tBpi.js +1 -0
- package/dist/web/assets/EffectTab-CSJBH_A_.js +1 -0
- package/dist/web/assets/Figure-BkubK2zp.js +1 -0
- package/dist/web/assets/OverviewTab-D1S-xV7F.js +1 -0
- package/dist/web/assets/Page-DcJkvJR8.js +81 -0
- package/dist/web/assets/QualityTab-Bvo5sLJL.js +1 -0
- package/dist/web/assets/ShareBar-CVoET5r9.js +1 -0
- package/dist/web/assets/StatsPage-CC1pIw6W.js +1 -0
- package/dist/web/assets/StatsTabState-DsgM-E6r.js +1 -0
- package/dist/web/assets/StatsTable-Dfk5L9ju.js +1 -0
- package/dist/web/assets/UnavailableRepos-DEI_jdL7.js +1 -0
- package/dist/web/assets/index-CrooTAtB.js +2 -0
- package/dist/web/assets/start-CTwcHqnH.js +257 -0
- package/dist/web/assets/start-D3XxrO_Y.css +1 -0
- package/dist/web/assets/use-grain-panel-C8dF5mz1.js +69 -0
- package/dist/web/assets/web-paths-Cv9UykyI.js +1 -0
- package/dist/web/index.html +1 -1
- package/package.json +6 -6
- package/dist/web/assets/CodeTab-DeM399k_.js +0 -1
- package/dist/web/assets/CostTab-BkuP_lKs.js +0 -1
- package/dist/web/assets/EffectTab-C6yxsNf4.js +0 -1
- package/dist/web/assets/Figure-CVTyKv4y.js +0 -1
- package/dist/web/assets/OverviewTab-B83eJneA.js +0 -1
- package/dist/web/assets/Page-DLaFG3Qi.js +0 -59
- package/dist/web/assets/QualityTab-DCMWjXz4.js +0 -1
- package/dist/web/assets/ShareBar-DLIjLhrg.js +0 -1
- package/dist/web/assets/StatsPage-Dyu3XyGq.js +0 -1
- package/dist/web/assets/StatsTabState-C2YngECB.js +0 -1
- package/dist/web/assets/StatsTable-4QrI6DcN.js +0 -1
- package/dist/web/assets/UnavailableRepos-BSMfh0t_.js +0 -1
- package/dist/web/assets/index-DBSU7e-A.js +0 -2
- package/dist/web/assets/start-B7mNnilg.js +0 -42
- package/dist/web/assets/start-BmSqjxn9.css +0 -1
- package/dist/web/assets/use-grain-panel-CSj1uVOI.js +0 -55
- package/dist/web/assets/web-paths-CziYixFT.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,100 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.1
|
|
4
|
+
|
|
5
|
+
Rewritten branches keep their candidates, removed lanes keep their costs, and CI no longer depends on Ubuntu mirrors.
|
|
6
|
+
|
|
7
|
+
- `backlog check`: a mark commit that was the tip of the current branch counts as the current line once that branch
|
|
8
|
+
was rewritten, whatever the rewrite did to its content: `pull --rebase` (including from a URL) or `rebase` with a
|
|
9
|
+
resolved conflict in any file, `commit --amend` followed by a rebase, `rebase --autosquash` and
|
|
10
|
+
`rebase --update-refs` for the branches of a stack. An edit to the task's lines is a candidate again instead of
|
|
11
|
+
silently disappearing. A rebased lane checked from `master` and a branch reset back past the mark still count as
|
|
12
|
+
another branch. A git failure while reading the branch's reflog leaves the task unchecked.
|
|
13
|
+
- Costs: runs and tokens of a git worktree that lived outside the repository directory stay with the repository's
|
|
14
|
+
project after `git worktree remove`. While such a worktree exists, the service remembers its root and main
|
|
15
|
+
repository from the working directories of transcripts and CLI runs; a live repository at the path still wins.
|
|
16
|
+
Worktrees removed before this version are not recovered.
|
|
17
|
+
- CI: the Linux end-to-end job no longer installs fonts through apt, so an outage of the Ubuntu mirrors no longer
|
|
18
|
+
fails CI and blocks a release.
|
|
19
|
+
|
|
20
|
+
## 0.14.0
|
|
21
|
+
|
|
22
|
+
Projects with several repositories, a single "state at the task's mark" for `backlog check`, and fixes from the full
|
|
23
|
+
review.
|
|
24
|
+
|
|
25
|
+
### `backlog check` and git
|
|
26
|
+
|
|
27
|
+
- In a project with several `repos`, each task is judged in its own repository. The repository is chosen by the
|
|
28
|
+
commit the task was created or verified on, then by where the file exists, where the anchor matches and where the
|
|
29
|
+
path was ever committed. `source-missing` is reported only when the file is gone from every repository, `close`
|
|
30
|
+
finds the fixing commit in any of them, and `new` / `verify --source` check the file in the repository you run them
|
|
31
|
+
from. When the choice is ambiguous, nothing is written: no first anchor, no moved source, no verify commit.
|
|
32
|
+
- `backlog verify` records the `HEAD` commit in the journal's `verified` event (new optional field `commit`). A
|
|
33
|
+
verified task now has one base for every worktree: a worktree that was behind and then fast-forwarded no longer
|
|
34
|
+
shows an edit the verifier had already seen. Older events without the field fall back to the reflog as before.
|
|
35
|
+
- The state of the code at a task's mark is computed in one place (commit of the mark, then the reflog, then the
|
|
36
|
+
date), and candidates, line tracing, the symbol filter, the diff excerpt, known and late commits all use it.
|
|
37
|
+
- A task whose mark commit was rewritten by `pull --rebase`, `commit --amend` or a squash merge is judged as being on
|
|
38
|
+
the current line when its content reached `HEAD`, so an edit the rebase brought in makes it a candidate again. An
|
|
39
|
+
unmerged branch, a rebased lane checked from `master` and a detached worktree stay "another branch": no candidate
|
|
40
|
+
and no first anchor taken from that branch's text.
|
|
41
|
+
- A git failure in `merge-base --is-ancestor`, `log --first-parent` or `cat-file` leaves the task unchecked instead of
|
|
42
|
+
being read as "not an ancestor" or "no late commits". A branch with no common history with `HEAD` is "another
|
|
43
|
+
branch" in a full clone and unknown in a shallow one; in a shallow clone a task whose mark commit is missing waits
|
|
44
|
+
for its first anchor.
|
|
45
|
+
- A verified task awaits a merge from its verify commit, so a task created on a branch and verified on `master` no
|
|
46
|
+
longer hangs as "awaiting merge".
|
|
47
|
+
- "File gone" is detected on a branch that merged `master` (path history is read with `--full-history`).
|
|
48
|
+
- `check` and the Stop hook run from a git hook in a linked worktree now look at the project's repository: git is
|
|
49
|
+
started without `GIT_DIR`, `GIT_INDEX_FILE` and the other variables a hook inherits.
|
|
50
|
+
|
|
51
|
+
### Tasks and storage
|
|
52
|
+
|
|
53
|
+
- A project directory behind a symlink is loaded, and `new` no longer creates a duplicate project with the same
|
|
54
|
+
prefix; `project delete` removes only the link. A broken link or a task file that is a link is a parse error.
|
|
55
|
+
- `project delete` and `project status` (and the project API) match the exact directory ID: an ID in a different case
|
|
56
|
+
on macOS and Windows no longer deletes or changes another project.
|
|
57
|
+
- Writes under a lock share one helper: a failure to release the lock or sync the directory after a write is a
|
|
58
|
+
warning, not a "not written" error, including for the runs log.
|
|
59
|
+
|
|
60
|
+
### Costs and Effect
|
|
61
|
+
|
|
62
|
+
- Prices for current models from Anthropic's price list: Fable/Mythos 5.2, Sonnet 5.5, Haiku 5.5, Opus 4.5, Sonnet
|
|
63
|
+
4.5, and fast mode of Fable/Mythos 5.2 and Opus 4.8. Haiku 5.5 is billed at two rates: a request longer than 100,000
|
|
64
|
+
tokens including cache is billed entirely at the higher one.
|
|
65
|
+
- Costs keep runs and tokens from directories that no longer exist: a deleted `cwd` is matched to the project through
|
|
66
|
+
its nearest existing parent and that parent's git repository. A relative path in `repos` no longer covers the
|
|
67
|
+
directory the server was started from.
|
|
68
|
+
- Cost history survives a change of the usage cache format, a downgrade of the package and a damaged cache entry:
|
|
69
|
+
buckets of transcripts Claude Code has already deleted are carried over, and the cache is now written durably,
|
|
70
|
+
since it is the only copy of them.
|
|
71
|
+
- Effect names the reason the noise share is empty (no commits, no extracted tasks, open tasks not estimated) instead
|
|
72
|
+
of always saying "no commits after adoption".
|
|
73
|
+
|
|
74
|
+
### Web app
|
|
75
|
+
|
|
76
|
+
- An unknown address shows "Page not found" inside the app instead of the crash screen. Links in a task description:
|
|
77
|
+
app paths go through the router, `http(s)` opens in a new tab, anchors and `mailto` work as is, anything else is
|
|
78
|
+
plain text.
|
|
79
|
+
- A checklist with blank lines between items shows one checkbox per item.
|
|
80
|
+
- Text typed into the description while it is being saved is no longer lost.
|
|
81
|
+
- Tapping the dimmed backdrop saves a pending edit of the title, tags or epic, like the close button and Esc, instead
|
|
82
|
+
of asking whether to leave without saving.
|
|
83
|
+
- The delete-project dialog counts task files whose frontmatter can't be parsed, which are deleted with the project.
|
|
84
|
+
|
|
85
|
+
### CLI and service
|
|
86
|
+
|
|
87
|
+
- `backlog … | head` no longer crashes with `write EPIPE`; the run is still logged.
|
|
88
|
+
- `setup` carries on when writing one agent's config fails, names that agent and exits with a failure code.
|
|
89
|
+
- Windows: the server with a PID of 65536 or more is stopped on service reinstall and uninstall.
|
|
90
|
+
|
|
91
|
+
### Security and release
|
|
92
|
+
|
|
93
|
+
- `zod`, `hono` and `@hono/node-server` are updated to patched versions; CI runs `npm audit --omit=dev` as a separate
|
|
94
|
+
job.
|
|
95
|
+
- The release workflow grants `id-token: write` only to the publish job, which publishes the tarball built and tested
|
|
96
|
+
by a separate verify job with `--ignore-scripts`; release actions are pinned by SHA.
|
|
97
|
+
|
|
3
98
|
## 0.13.1
|
|
4
99
|
|
|
5
100
|
Follow-up fixes from the full review and a second pass over `backlog check`.
|
package/README.md
CHANGED
|
@@ -138,7 +138,7 @@ If there's no project yet, `backlog new` creates it.
|
|
|
138
138
|
| Task files | One file per task, closed ones included | 7 days after closing (tasks of an open epic: after the epic closes), then deleted (service: hourly; without the service: once a day, after a CLI command other than the agent hook) |
|
|
139
139
|
| `journal.jsonl` | Per-project history of task and check events | Full history for tasks whose file still exists; other events for 13 weeks (compacted once a day, by the service and after CLI commands other than the agent hook) |
|
|
140
140
|
| `.runs.jsonl` | CLI run log | 13 weeks |
|
|
141
|
-
| `.usage-cache.json` | Claude Code usage parsed from transcripts | 13 weeks |
|
|
141
|
+
| `.usage-cache.json` | Claude Code usage parsed from transcripts; for transcripts Claude Code has already deleted, the only copy | 13 weeks |
|
|
142
142
|
| `.code-cache.json` | Cached git history for the Code tab | 90 days |
|
|
143
143
|
| Service log | `launchd` stdout/stderr on macOS, `p-backlog.log` in `%LOCALAPPDATA%` on Windows | macOS: trimmed to the last 256 KiB once it exceeds 1 MiB. Windows: over 1 MiB it is moved to `p-backlog.log.old` when the service starts. Linux: `journald` limits it |
|
|
144
144
|
| `.swept-at`, `.journal-compacted-at` | Timestamp of the last sweep/compaction | Until the next one |
|
package/README.ru.md
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
| Файлы задач | По файлу на задачу, включая закрытые | Закрытые — 7 дней после закрытия (задачи открытого эпика — после закрытия эпика), затем удаляются (служба — раз в час; без службы — раз в сутки, после команды CLI, кроме хука агента) |
|
|
138
138
|
| `journal.jsonl` | История событий задач и проверок по проекту | История существующих задач — целиком; остальные события — 13 недель (уплотняется раз в сутки, службой и после команд CLI, кроме хука агента) |
|
|
139
139
|
| `.runs.jsonl` | Журнал запусков CLI | 13 недель |
|
|
140
|
-
| `.usage-cache.json` | Расход Claude Code, разобранный из
|
|
140
|
+
| `.usage-cache.json` | Расход Claude Code, разобранный из транскриптов; для транскриптов, которые Claude Code уже удалил, — единственная копия | 13 недель |
|
|
141
141
|
| `.code-cache.json` | Кэш истории git для вкладки «Код» | 90 дней |
|
|
142
142
|
| Лог службы | stdout/stderr `launchd` на macOS, `p-backlog.log` в `%LOCALAPPDATA%` на Windows | macOS: обрезается до последних 256 КиБ, когда превышает 1 МиБ. Windows: больше 1 МиБ — при старте службы переносится в `p-backlog.log.old`. Linux: размер ограничивает `journald` |
|
|
143
143
|
| `.swept-at`, `.journal-compacted-at` | Отметка времени последней уборки/уплотнения | До следующей |
|