dsh-department 0.1.2 → 0.2.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 +17 -0
- package/README.md +15 -6
- package/README.ru.md +7 -5
- package/assets/editor.html +621 -0
- package/client.js +158 -13
- package/package.json +1 -1
- package/src/approval.js +40 -0
- package/src/create-task.js +61 -0
- package/src/discussion.js +48 -0
- package/src/handover.js +138 -0
- package/src/panel-api.js +6 -2
- package/src/routes.js +114 -1
- package/src/settings.js +49 -0
- package/src/store.js +30 -27
- package/src/tools.js +121 -27
- package/src/verify.js +8 -9
- package/src/watchdog.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
- **Обсуждение задачи**: `discussion.md` (цели, не-цели, пользователи, ограничения, риски, вопросы, решения).
|
|
5
|
+
- **Гейт утверждения**: ТЗ нельзя утвердить при открытых вопросах; концепция — без двух вариантов.
|
|
6
|
+
- **ТЗ и концепция в любом порядке**, запуск проекта только после утверждения обоих.
|
|
7
|
+
- **Стадия release**: `dept_handover` собирает `delivery/` (RUN.md, MANUAL-QA.md, CHANGELOG.md, RELEASE.md + копии документов), без неё `done` недоступен.
|
|
8
|
+
- **Встроенный пиксель-редактор**: трафарет, сохранение в проект, передача художнику.
|
|
9
|
+
- **«Отдел вкл/выкл»** и **«+ Задача»** в панели.
|
|
10
|
+
- Ужесточены переходы: из ревью нельзя проскочить без утверждения человеком.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## 0.1.3
|
|
14
|
+
- Полный английский README (главная страница GitHub и npm), русский — README.ru.md.
|
|
15
|
+
- Скриншоты панели, офиса, паузы и персонажей в README.
|
|
16
|
+
- GitHub Actions: CI, авто-создание релиза и публикация в npm по тегу (Trusted Publishing).
|
|
17
|
+
- Убраны временные спрайт-инструменты из репозитория.
|
|
18
|
+
|
|
19
|
+
|
|
3
20
|
## 0.1.2
|
|
4
21
|
- Исправлено: русские переводы новых ключей (в т.ч. имя офиса в сайдбаре — «ИИ-отдел»).
|
|
5
22
|
- Проверка паритета словарей ru/en (226/226).
|
package/README.md
CHANGED
|
@@ -91,13 +91,22 @@ The sidebar shows “Department”, the main window shows the board, office and
|
|
|
91
91
|
|
|
92
92
|
## Process rules
|
|
93
93
|
|
|
94
|
-
1. Stages: `analysis →
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
1. Stages: `analysis (discussion) → spec → spec_review → concept → concept_review → executing → release → done`.
|
|
95
|
+
`release` is production preparation: `dept_handover` builds `delivery/` with RUN.md,
|
|
96
|
+
MANUAL-QA.md, CHANGELOG.md and copies of the key documents; `done` is blocked without it.
|
|
97
|
+
2. First comes the **task discussion**: the department asks questions and gathers requirements.
|
|
98
|
+
Then **spec and concept in any order** (iteratively): start from the spec (`spec.md`) or from
|
|
99
|
+
the concept (`concept.md`) with the architect's options; after the first document is approved
|
|
100
|
+
the department moves to the other and refines it. Approvals are human-only (`dept_approve`);
|
|
101
|
+
the project starts (`executing`) only when **both** are approved.
|
|
102
|
+
3. The first execution step is the **plan** (`plan.md`), then stage-by-stage work.
|
|
103
|
+
The three key documents — **spec, concept, plan** — are always current: changes go through
|
|
104
|
+
`dept_amend`/`dept_section`; the Documents tab pins them at the top.
|
|
105
|
+
4. Each stage is closed by a commit tagged `stage-N`; the tag is pushed with the branch.
|
|
106
|
+
5. Gates reset after a commit: a previous stage's pass does not carry over.
|
|
107
|
+
6. A test failure writes `stages/NN/failure.md`; retry is forbidden until “Analysis” and
|
|
99
108
|
“Plan” are filled in.
|
|
100
|
-
|
|
109
|
+
7. Autonomous amendments — at most 5 per task, then escalate to the human.
|
|
101
110
|
|
|
102
111
|
## Working together on concept and spec
|
|
103
112
|
|
package/README.ru.md
CHANGED
|
@@ -89,13 +89,15 @@ dsh plugin add link:/path/to/dsh-department
|
|
|
89
89
|
|
|
90
90
|
## Правила процесса
|
|
91
91
|
|
|
92
|
-
1. Этапы: `analysis →
|
|
92
|
+
1. Этапы: `analysis (обсуждение) → spec → spec_review → concept → concept_review → executing → release → done`.
|
|
93
|
+
`release` — подготовка к продакшену: `dept_handover` собирает `delivery/` с RUN.md,
|
|
94
|
+
MANUAL-QA.md, CHANGELOG.md и копиями главных документов; без пакета `done` недоступен.
|
|
93
95
|
2. Утверждения — только человеком (`dept_approve`), стадия двигается только через них.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
4. Каждый этап закрывается коммитом с тегом `stage-N`; тег пушится вместе с веткой.
|
|
97
|
+
5. Гейты сбрасываются после коммита: pass предыдущего этапа не переезжает.
|
|
98
|
+
6. Провал тестов пишет `stages/NN/failure.md`; повтор запрещён, пока не заполнены
|
|
97
99
|
«Анализ» и «План».
|
|
98
|
-
|
|
100
|
+
7. Автономные поправки — не более 5 на задачу, дальше эскалация человеку.
|
|
99
101
|
|
|
100
102
|
## Совместная работа над концепцией и ТЗ
|
|
101
103
|
|