revdeck 0.8.0 → 0.9.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 +30 -0
- package/README.md +37 -13
- package/README.ru.md +36 -11
- package/dist/cli.js +183 -49
- package/dist/cli.js.map +4 -4
- package/dist/daemon.js +26 -2
- package/dist/daemon.js.map +3 -3
- package/dist/mcp.js +59 -18
- package/dist/mcp.js.map +3 -3
- package/dist/ui/assets/{index-BcvEWwhI.js → index-CP-jcwGi.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/docs/architecture.md +4 -0
- package/docs/capabilities.md +6 -1
- package/docs/configuration.md +1 -1
- package/docs/integrations.md +31 -12
- package/docs/ru/architecture.md +4 -0
- package/docs/ru/capabilities.md +6 -1
- package/docs/ru/configuration.md +1 -1
- package/docs/ru/integrations.md +32 -14
- package/package.json +1 -1
- package/skills/revdeck/en/Feedback.md +2 -0
- package/skills/revdeck/en/Review.md +2 -0
- package/skills/revdeck/en/SKILL.md +16 -9
- package/skills/revdeck/en/agents/openai.yaml +2 -2
- package/skills/revdeck/ru/Feedback.md +2 -0
- package/skills/revdeck/ru/Review.md +2 -0
- package/skills/revdeck/ru/SKILL.md +14 -8
- package/skills/revdeck/ru/agents/openai.yaml +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,36 @@ All notable changes to this project are documented here. The format is based on
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.9.0] - 2026-11-19
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Explicit scenario entry points: `revdeck review <N|URL>` for someone else's MR and
|
|
12
|
+
`revdeck feedback <N|URL>` for your own, matching `/revdeck review|feedback` in harness commands.
|
|
13
|
+
`revdeck context --scenario review|feedback` and the MCP tool `revdeck_context` with
|
|
14
|
+
`scenario=review|feedback` carry the same choice into the agent context; `revdeck open` stays neutral
|
|
15
|
+
and prints the matching next command when the platform user and the MR author are known. Context
|
|
16
|
+
marks whether the MR belongs to you and returns `scenario` / `suggestedScenario` in JSON and MCP
|
|
17
|
+
structured content.
|
|
18
|
+
- `revdeck init` now upgrades a harness command file that still matches the previously generated
|
|
19
|
+
template, so existing projects get the `review`/`feedback` router. A customized command file is left
|
|
20
|
+
alone.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- `revdeck review` is the explicit "someone else's MR" command instead of an undocumented alias of
|
|
25
|
+
`revdeck context`. The context content, flags, RPC methods and stored reviews are unchanged.
|
|
26
|
+
|
|
27
|
+
## [0.8.1] - 2026-11-18
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- `revdeck devcontainer --write` now writes `REVDECK_HOST_ROOT` as `${localWorkspaceFolder}` instead
|
|
32
|
+
of a `${localEnv:HOME}`-relative path. Each developer's devcontainer tooling expands the variable
|
|
33
|
+
to their own checkout, so the shared `devcontainer.json` no longer contains a user-specific path
|
|
34
|
+
that breaks colleagues who clone into another folder. A Windows host path (`C:\...`) from Docker
|
|
35
|
+
Desktop is passed to the daemon without POSIX normalization.
|
|
36
|
+
|
|
7
37
|
## [0.8.0] - 2026-11-18
|
|
8
38
|
|
|
9
39
|
### Changed
|
package/README.md
CHANGED
|
@@ -75,7 +75,9 @@ In a repository:
|
|
|
75
75
|
cd /path/to/repo
|
|
76
76
|
revdeck init # .revdeck.yml, skill for your harnesses, MCP config
|
|
77
77
|
revdeck doctor # node, glab/gh auth, daemon, adapters
|
|
78
|
-
revdeck
|
|
78
|
+
revdeck review 42 # someone else's MR: context, rules, review
|
|
79
|
+
revdeck feedback 42 # your own MR: work through the discussion
|
|
80
|
+
revdeck open 42 # just load an MR/PR without a scenario
|
|
79
81
|
revdeck ui # open the local UI
|
|
80
82
|
```
|
|
81
83
|
|
|
@@ -125,8 +127,10 @@ Russian READMEs live in this repository; translation fixes are welcome.
|
|
|
125
127
|
| `revdeck projects [add <path>]` | projects, their roots and review counts; register a repository |
|
|
126
128
|
| `revdeck list [--all] [--remote]` | reviews of the current project, or all projects with `--all` |
|
|
127
129
|
| `revdeck feature …` | list/create/add/remove/context/update/archive/delete features |
|
|
128
|
-
| `revdeck
|
|
129
|
-
| `revdeck
|
|
130
|
+
| `revdeck review <N\|URL>` | review someone else's MR: context, rules, diff |
|
|
131
|
+
| `revdeck feedback <N\|URL>` | work through findings on your own MR: threads, fixes, replies |
|
|
132
|
+
| `revdeck open <N\|URL>` | load a review without a scenario; suggests review or feedback |
|
|
133
|
+
| `revdeck context <N> [--scenario review\|feedback]` | agent context: rules, files, threads, findings |
|
|
130
134
|
| `revdeck diff <N> [--file]` | files and hunks |
|
|
131
135
|
| `revdeck threads <N>` | discussions |
|
|
132
136
|
| `revdeck findings <N> set --file f.json` | write findings |
|
|
@@ -228,6 +232,24 @@ Every finding has a private **Note for the agent** field, and every thread has t
|
|
|
228
232
|
reply. The text is included in `revdeck_context` / MCP but never published to GitLab or GitHub. Findings
|
|
229
233
|
also keep their decision note separately.
|
|
230
234
|
|
|
235
|
+
## Two scenarios
|
|
236
|
+
|
|
237
|
+
revdeck has two review procedures, and the command now names the scenario explicitly:
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
revdeck review 42 # someone else's MR: Review.md
|
|
241
|
+
revdeck feedback 42 # your own MR: Feedback.md
|
|
242
|
+
revdeck open 42 # only load; the scenario stays open
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
The same verbs work in the harness command: `/revdeck review 42` and `/revdeck feedback 42`. The
|
|
246
|
+
generated command file routes the first argument, and `revdeck_context` / `revdeck context` with
|
|
247
|
+
`--scenario review|feedback` carries the same choice into the agent context. The context marks whether
|
|
248
|
+
the MR belongs to you (`your MR` / `someone else's MR`), so `open` can suggest the matching command when
|
|
249
|
+
the platform user is known. The scenario is client-side: it is not stored in the review, the daemon or
|
|
250
|
+
the database. Existing projects get the new router by rerunning `revdeck init`; a command file you have
|
|
251
|
+
customized is left alone.
|
|
252
|
+
|
|
231
253
|
## Multi-agent review
|
|
232
254
|
|
|
233
255
|
Configure independent reviewers in `.revdeck.yml`:
|
|
@@ -239,7 +261,8 @@ review:
|
|
|
239
261
|
```
|
|
240
262
|
|
|
241
263
|
The lead agent reads this plan from `revdeck_context`, starts one subagent per role/shard, and gives each
|
|
242
|
-
`revdeck context <N> --role <role> --shard i/N` (the MCP tool takes the same
|
|
264
|
+
`revdeck context <N> --scenario review|feedback --role <role> --shard i/N` (the MCP tool takes the same
|
|
265
|
+
`scenario`, `role` and `shard`). Workers
|
|
243
266
|
return findings as JSON and do not write to revdeck; the lead deduplicates by `file:line:title` and writes
|
|
244
267
|
the final summary/findings once.
|
|
245
268
|
|
|
@@ -280,13 +303,14 @@ home path, so the same `.devcontainer/devcontainer.json` works for every develop
|
|
|
280
303
|
foreign keys in an existing JSONC file are preserved.
|
|
281
304
|
|
|
282
305
|
The daemon runs on the host and cannot read the container workspace path (`/workspaces/...`), so the
|
|
283
|
-
same command also writes `REVDECK_HOST_ROOT`
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
server inside the container replace their worktree path with that host path before
|
|
287
|
-
`.revdeck.yml`, rule documents, checks and local diff bases then come from the host
|
|
288
|
-
repository is
|
|
289
|
-
|
|
306
|
+
same command also writes `REVDECK_HOST_ROOT: "${localWorkspaceFolder}"` into `containerEnv` and
|
|
307
|
+
`remoteEnv` (the MCP server inherits it from the container). The devcontainer tooling expands
|
|
308
|
+
`${localWorkspaceFolder}` to each developer's host path, so the shared file has no user-specific path.
|
|
309
|
+
The CLI and MCP server inside the container replace their worktree path with that host path before
|
|
310
|
+
calling the daemon; `.revdeck.yml`, rule documents, checks and local diff bases then come from the host
|
|
311
|
+
checkout. If the repository is not the opened workspace folder, set `REVDECK_HOST_ROOT` to the host
|
|
312
|
+
repository root manually (for example `${localWorkspaceFolder}/subdir`). Reviews opened before this
|
|
313
|
+
mapping still point at the container root: reopen them after updating the devcontainer.
|
|
290
314
|
|
|
291
315
|
The daemon creates the bridge socket on startup, so on the host run `revdeck daemon restart`, then
|
|
292
316
|
rebuild the container. Inside the container revdeck never starts a local daemon, so `gh`/`glab` are
|
|
@@ -325,8 +349,8 @@ Tools: `revdeck_status`, `revdeck_list`, `revdeck_open`, `revdeck_context`, `rev
|
|
|
325
349
|
|
|
326
350
|
Publishing requires an `approval_id` created by the human UI or the host CLI. The agent bridge has no
|
|
327
351
|
`publish.approve`, and the MCP tool does not create one. Prompts `review-mr`, `close-feedback` and
|
|
328
|
-
`review-feature` are available in
|
|
329
|
-
|
|
352
|
+
`review-feature` are available in clients that support MCP prompts; they mirror `/revdeck review`,
|
|
353
|
+
`/revdeck feedback` and the feature workflow.
|
|
330
354
|
|
|
331
355
|
Harness matrix and slash commands: [docs/integrations.md](docs/integrations.md).
|
|
332
356
|
|
package/README.ru.md
CHANGED
|
@@ -62,7 +62,9 @@ GitHub — `gh` с `gh auth login`. CLI должен быть в `PATH` демо
|
|
|
62
62
|
cd /path/to/repo
|
|
63
63
|
revdeck init # .revdeck.yml, skill в .agents/.claude, MCP-конфиг
|
|
64
64
|
revdeck doctor # проверка окружения и адаптеров
|
|
65
|
-
revdeck
|
|
65
|
+
revdeck review 42 # чужой MR: контекст, правила, ревью
|
|
66
|
+
revdeck feedback 42 # свой MR: разбор замечаний
|
|
67
|
+
revdeck open 42 # только открыть MR/PR без сценария
|
|
66
68
|
revdeck ui # ссылка на локальный интерфейс
|
|
67
69
|
```
|
|
68
70
|
|
|
@@ -109,8 +111,10 @@ self-hosted GitLab), по умолчанию выбирается `gitlab`. Пе
|
|
|
109
111
|
| `revdeck projects [add <путь>]` | проекты, их root'ы и число ревью; зарегистрировать репозиторий |
|
|
110
112
|
| `revdeck list [--all] [--remote]` | ревью текущего проекта или все проекты с `--all` |
|
|
111
113
|
| `revdeck feature …` | list/create/add/remove/context/update/archive/delete фич |
|
|
112
|
-
| `revdeck
|
|
113
|
-
| `revdeck
|
|
114
|
+
| `revdeck review <N│URL>` | ревью чужого MR: контекст, правила, diff |
|
|
115
|
+
| `revdeck feedback <N│URL>` | разбор замечаний к своему MR: треды, правки, ответы |
|
|
116
|
+
| `revdeck open <N│URL>` | загрузить ревью без сценария; подсказывает review или feedback |
|
|
117
|
+
| `revdeck context <N> [--scenario review│feedback]` | контекст для агента: правила, файлы, треды, замечания |
|
|
114
118
|
| `revdeck diff <N> [--file]` | файлы и hunks |
|
|
115
119
|
| `revdeck threads <N>` | обсуждения |
|
|
116
120
|
| `revdeck findings <N> set --file f.json` | записать замечания |
|
|
@@ -213,6 +217,24 @@ API загрузки вложений, поэтому кнопка там отк
|
|
|
213
217
|
ответом. Текст попадает в `revdeck_context` / MCP, но никогда не публикуется в GitLab или GitHub.
|
|
214
218
|
Решение по замечанию хранится отдельно.
|
|
215
219
|
|
|
220
|
+
## Два сценария
|
|
221
|
+
|
|
222
|
+
У revdeck две процедуры ревью, и команда теперь называет сценарий явно:
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
revdeck review 42 # чужой MR: Review.md
|
|
226
|
+
revdeck feedback 42 # свой MR: Feedback.md
|
|
227
|
+
revdeck open 42 # только открыть; сценарий остаётся на выбор
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
Те же глаголы работают в команде харнесса: `/revdeck review 42` и `/revdeck feedback 42`.
|
|
231
|
+
Сгенерированный файл команды разбирает первый аргумент, а `revdeck_context` / `revdeck context` с
|
|
232
|
+
`--scenario review|feedback` передаёт тот же выбор в контекст агента. В контексте отмечено, ваш ли это
|
|
233
|
+
MR (`это ваш MR` / `чужой MR`), поэтому `open` может подсказать подходящую команду, когда пользователь
|
|
234
|
+
платформы известен. Сценарий клиентский: он не сохраняется в ревью, демоне или базе. Существующие
|
|
235
|
+
проекты получают новый роутер после повторного `revdeck init`; изменённый вручную командный файл
|
|
236
|
+
остаётся нетронутым.
|
|
237
|
+
|
|
216
238
|
## Многоагентное ревью
|
|
217
239
|
|
|
218
240
|
Независимые ревьюеры настраиваются в `.revdeck.yml`:
|
|
@@ -224,7 +246,8 @@ review:
|
|
|
224
246
|
```
|
|
225
247
|
|
|
226
248
|
Лид-агент читает план из `revdeck_context`, запускает по субагенту на роль/шард и выдаёт каждому
|
|
227
|
-
`revdeck context <N> --role <роль> --shard i/N` (MCP-инструмент принимает те
|
|
249
|
+
`revdeck context <N> --scenario review|feedback --role <роль> --shard i/N` (MCP-инструмент принимает те
|
|
250
|
+
же `scenario`, `role` и `shard`).
|
|
228
251
|
Воркеры возвращают замечания JSON и не пишут в revdeck; лид дедуплицирует по `file:line:title` и один
|
|
229
252
|
раз записывает итоговые summary/findings.
|
|
230
253
|
|
|
@@ -265,12 +288,13 @@ info-`daemon.json` без токена UI) и выставляет `REVDECK_RUNT
|
|
|
265
288
|
чужие ключи в существующем JSONC сохраняются.
|
|
266
289
|
|
|
267
290
|
Демон живёт на хосте и не видит путь рабочей копии в контейнере (`/workspaces/...`), поэтому команда
|
|
268
|
-
дополнительно записывает `REVDECK_HOST_ROOT`
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
контейнере заменяют свой путь на путь хоста перед обращением к демону:
|
|
272
|
-
правил, checks и база локального diff читаются из рабочей копии хоста. Если
|
|
273
|
-
|
|
291
|
+
дополнительно записывает `REVDECK_HOST_ROOT: "${localWorkspaceFolder}"` в `containerEnv` и
|
|
292
|
+
`remoteEnv` (MCP-сервер наследует его из окружения контейнера). Клиент devcontainer раскрывает
|
|
293
|
+
`${localWorkspaceFolder}` в путь конкретного разработчика, поэтому общий файл не содержит личного
|
|
294
|
+
пути. CLI и MCP-сервер в контейнере заменяют свой путь на путь хоста перед обращением к демону:
|
|
295
|
+
`.revdeck.yml`, документы правил, checks и база локального diff читаются из рабочей копии хоста. Если
|
|
296
|
+
репозиторий — не открытая папка workspace, задайте `REVDECK_HOST_ROOT` вручную (например,
|
|
297
|
+
`${localWorkspaceFolder}/subdir`). Ревью, открытые до этого изменения, хранят путь контейнера — их
|
|
274
298
|
нужно открыть заново после обновления devcontainer.
|
|
275
299
|
|
|
276
300
|
Демон создаёт сокет моста при старте: на хосте выполните `revdeck daemon restart`, затем пересоберите
|
|
@@ -310,7 +334,8 @@ HTTP: достаточно `revdeck daemon restart`, потому что `daemon
|
|
|
310
334
|
`approval_id`, который создаёт человек в UI или CLI на хосте; у моста агента нет `publish.approve`.
|
|
311
335
|
|
|
312
336
|
Промпты `review-mr`, `close-feedback` и `review-feature` доступны в клиентах, поддерживающих
|
|
313
|
-
MCP prompts
|
|
337
|
+
MCP prompts; они соответствуют `/revdeck review`, `/revdeck feedback` и работе с фичей. В харнессах
|
|
338
|
+
без MCP используйте CLI — возможности те же. Матрица адаптеров и `/`-команд: [docs/ru/integrations.md](docs/ru/integrations.md).
|
|
314
339
|
|
|
315
340
|
## Правила проекта
|
|
316
341
|
|