DOT Stage 8 delivery after AI Engineering Loop Judge PASS. GitLab issue/MR, one topic-branch MR (extra env cherry-pick only if named this turn), pipeline + Sonar gate, Coreview triage, card to Ready to review, Mattermost. Not a substitute for ael.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Dot Dev Workflow?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/egagofur-dot-dev-workflow)
---
name: dot-dev-workflow
description: DOT Stage 8 delivery after AI Engineering Loop Judge PASS. GitLab issue/MR, one topic-branch MR (extra env cherry-pick only if named this turn), pipeline + Sonar gate, Coreview triage, card to Ready to review, Mattermost. Not a substitute for ael.
---
# DOT Delivery Workflow (Stage 8)
This is **not** the engineering OS. On DOT repositories:
1. Run **`ael`** for Stages 0-7 (grill, RCA, Maker, verification, Devil's Advocate, Judge).
2. Run **this skill only after Judge `PASS`** (or the user explicitly asked to ship).
3. Stage 1 grill already includes `task-impact-inquiry`. Do not interview again.
4. Stages 6-7 are AEL DA + Judge. Do not re-run skill `devils-advocate` as a second pre-commit OS.
If `ael` is missing on this host, say so and stop. Do not silently run the old 9-phase loop.
## Mapping (old phases → AEL)
| Old `dot-dev-workflow` | Now |
|---|---|
| Phase 1 RCA | AEL Stage 2 (`core/root-cause-analysis.md`) |
| Phase 2 impact inquiry | AEL Stage 1 grill + `task-impact-inquiry` |
| Phase 3-5 code / tests / tsc | AEL Stages 4-5 (`policies/tdd-policy.md`, `.ai-engineering-loop/verification.md`) |
| Phase 6 `devils-advocate` | AEL Stages 6-7 (Finding Ledger + Judge PASS/ITERATE/ESCALATE) |
| Phase 7-9 glab / Sonar / Coreview / board / Mattermost | **This skill** (AEL Stage 8). Prefer `adapters/dot/` in the AEL package when present. |
`git commit`, `git push`, and `glab mr create` are forbidden until Judge `PASS`.
## DOT Maker constraints (AEL Stage 4)
While AEL Maker runs, still enforce:
- `backend-development` for naming, queries, layering.
- `backend-safety-guardrails` on mutations, jobs, recalculation: never bypass BullMQ; scope by entity id not coarse date strings; never overwrite `APPROVED`/`REJECTED` without explicit force; BigInt as string across boundaries; container moves sync old and new parents.
- Tests: commands in `.ai-engineering-loop/verification.md` (fallback `npx jest && npx tsc --noEmit`).
- Topic branch: if HEAD is already `feat/…` or `fix/…` for this feature, stay on that branch. Do not create a new topic branch. If HEAD is unrelated (`main`, `master`, `develop`, `staging`, other ticket), `git fetch origin`, then `git checkout -b type/descriptive-name origin/develop` when develop is in use (default branch is `develop`). Do not `git pull` into the current HEAD. HEAD being `main` does not override an in-use `develop` default. If develop is unused leftover (default branch is `main` / `master`), `git checkout -b type/descriptive-name origin/main` even if HEAD is `develop`. Do not force leftover develop.
Print these six invariants before commit (N/A allowed only with one sentence citing the diff):
- Queue: BullMQ not bypassed
- Granularity: entity id, not grouping strings
- BigInt: string in payloads, compare as BigInt
- Manual review: APPROVED/REJECTED not auto-reset
- Container move: old and new parents synced
- Hygiene: no unused locals or dead imports
---
## Stage 8a — Topic-branch MR and issue card (`glab`)
If the workspace has `adapters/dot/gitlab.md` and `adapters/dot/multi-branch.md`, follow those. Otherwise:
1. Commit:
```bash
git add <modified-files>
git commit -m "<type>(<scope>): <summary>"
```
2. Create a GitLab issue if none is linked (`glab issue create` with module title, scope checkboxes, `Steps to Reproduce & Testing (QA)` from `adapters/dot/gitlab.md`, expectation table, label `Ready to Test`). On a bugfix, do not leave those placeholders empty.
Delivery never closes the card; closing stays with humans. GitLab closes an issue on merge to the default branch when a commit or MR text puts `Closes`, `Fixes`, `Resolves` or `Implements` before an issue reference. Reference the issue only as `Refs #<issue-iid>`, `Related to #<issue-iid>` or the bare issue URL, and never run `glab issue close`.
3. Open **one** MR (`glab mr create` onto the live integration base from the topic-branch rules above; description links the issue). Issue and MR descriptions must include `Steps to Reproduce & Testing (QA)` (reproduce + how to test). On a bugfix, do not leave those placeholders empty. Do not cherry-pick to `staging` or `develop` unless the user named those branches this turn. Chat `setuju` is not propagate. Do not open three MRs.
---
## Stage 8b — Pipeline and Sonar gate
Follow `adapters/dot/sonar.md` when present. Wait for the MR pipeline, then read the Sonar quality gate from the pipeline's Sonar job (`glab ci trace <job-id>`) or the Sonar MR comment (`glab mr view <id> --comments`). Print:
```text
Sonar Gate
MR: !<id>
Pipeline: #<id> <passed|failed>
Quality gate: <PASS | FAIL | SKIPPED>
Action: <none | fix>
```
FAIL: fix on the same topic MR, re-verify, push, wait for the new pipeline. While FAIL, do not move the card and do not send Mattermost. No Sonar on the project is `SKIPPED`, never PASS. Use `glab` only; no tokens in prompts.
---
## Stage 8c — Coreview and MR discussions
Follow `adapters/dot/coreview.md` when present, plus `gitlab-mr-feedback` and `receiving-code-review`.
Gate before Mattermost: run `glab mr view <id> --comments` and print the triage. `comments: 0` is a printed empty triage, not a skip.
```text
Phase 8 Triage
MR: !<id>
Command: glab mr view <id> --comments
Comments: <n>
Valid: <list or none>
Halu: <list or none>
Action: <none | fix | reply>
```
Reply **inside** the Coreview discussion thread (not a top-level note):
```bash
glab api "projects/:fullpath/merge_requests/<mr-id>/discussions"
glab api "projects/:fullpath/merge_requests/<mr-id>/discussions/<discussion_id>/notes" -X POST -F "body=<text>"
```
- VALID: fix surgically, re-verify, commit, push to the same topic MR, reply with commit hash. Do not cherry-pick to `staging` or `develop` unless the user named those branches this turn. Chat `setuju` is not propagate.
- HALU: do not change code; reply with file-cited technical pushback.
---
## Stage 8d — Card to "Ready to review"
Follow `adapters/dot/gitlab.md` Step 4 when present. Only after Sonar PASS/SKIPPED and the printed triage. No linked card: print `Card: none linked (skipped)`. Otherwise add the `Ready to review` list label and remove only other board-list labels (`glab issue update <iid> --label "Ready to review" --unlabel "<old list label>"`). Already there: change nothing.
---
## Stage 8e — Mattermost (`no-ai-slop`)
Follow `adapters/dot/mattermost.md` when present. Send only after the Sonar Gate (PASS/SKIPPED), triage, and card lines are printed.
1. Resolve channel and PIC from `~/.gemini/config/mattermost-channel-mapping.json`. If PIC is missing, ask the user and save it.
2. Send via MCP `mattermost_send_message` with `from: "AI Agent"`. Use the Mattermost CLI only if MCP fails. Do not send twice.
3. Put `cc: <PIC>` on the last line.
Format (plain text, no markdown headings):
```text
[MR <ENV_TAG>] <MR_URL>
Changes log
- <active-voice change>
- <what the system now does>
- <regression protection>
cc: <PIC>
```
ENV tags: `[MR DEV]` develop, `[MR STAGING]` staging, `[MR MAIN]` / `[MR PROD]` main.
Forbidden: puffery (`secara komprehensif`, `robust`, `mengoptimalkan proses`), raw code/AST in the report.