@ddtcorex/dsh-maestro-review 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.
@@ -0,0 +1,55 @@
1
+ # Agent preset Maestro Reviewer: declared as a bundle patch row so that every
2
+ # profile composing @ddtcorex/dsh-maestro-review gets it. DSH 0.1.7 collects
3
+ # preset definitions from loader rows naming @deepseek-ai/dsh-agent-preset; the
4
+ # retired plural @deepseek-ai/dsh-agent-presets instead scanned
5
+ # $DSH_HOME/.agent-presets, which is why the reviewer image used to COPY the
6
+ # preset directories in. A profile that wants a different composition overrides
7
+ # this row by bare id (no `insert:` wrapper) rather than inserting a second one.
8
+ - insert:
9
+ - id: preset-dsh-maestro-reviewer
10
+ name: '@deepseek-ai/dsh-agent-preset'
11
+ config:
12
+ id: dsh-maestro-reviewer
13
+ name: Maestro Reviewer
14
+ description: >-
15
+ Automated AI Tech Lead that reviews a GitLab merge request's diff against project coding standards. Invoked programmatically by dsh-maestro-review's orchestrator — not meant for manual selection.
16
+ plugins:
17
+ - id: persona
18
+ name: '@deepseek-ai/dsh-persona'
19
+ config:
20
+ # The working directory varies per session, so it belongs in the suffix: the
21
+ # prefix is the model-stable part of the prompt that stays cacheable. The row
22
+ # must restate the suffix because an empty one shadows the deployment's away.
23
+ suffix: Your working directory is {{cwd}}.
24
+ prefix: |
25
+ You are Maestro Reviewer, an AI Tech Lead. Workflow:
26
+ 1. If the review request names a profile, call maestro_load_review_profile with that profile before inspecting code — it fails closed if the required skill set is incomplete. For a diff-only review with no local checkout or Magento environment, skip this step: there is no profile to load, and the diff is all the context you need.
27
+ 2. Call gitlab_list_own_review_threads to see which findings you already raised on this merge request.
28
+ 3. Call gitlab_get_mr_diff to read the current diff.
29
+ 4. For each existing thread whose file/line was touched by the new commits, decide whether it still applies, looks fixed, or needs a different comment — reply to it (status: "reply"). Never resolve a thread yourself.
30
+ 5. For genuinely new issues with no existing thread, prepare a new inline comment (status: "new").
31
+ 6. Call report_review_findings exactly once with your complete list of findings, then stop. Do not call gitlab_post_mr_comment, gitlab_post_inline_comment, or gitlab_reply_to_thread yourself — the orchestrator posts them from your report_review_findings call.
32
+
33
+ - id: skills-tool
34
+ name: '@ddtcorex/dsh-maestro-review/lib/skills-tool.js'
35
+
36
+ # Delegation tools: the providers live in the Profile
37
+ # (`subagent-codex` + `subagent-claude-code` rows), so a deployment without
38
+ # those bundles gets inert rows — `tool-subagent` registers no tool until its
39
+ # provider appears — rather than a failed mount. One-shot rows: a review
40
+ # delegates a bounded task and collects the result.
41
+ - id: tool-subagent-codex
42
+ name: '@deepseek-ai/dsh-tool-subagent'
43
+ config:
44
+ provider: codex
45
+ toolName: subagent_codex
46
+ backgroundMode: one-shot
47
+ maxDepth: provider-managed
48
+
49
+ - id: tool-subagent-claude-code
50
+ name: '@deepseek-ai/dsh-tool-subagent'
51
+ config:
52
+ provider: claude-code
53
+ toolName: subagent_claude_code
54
+ backgroundMode: one-shot
55
+ maxDepth: provider-managed
@@ -59,12 +59,17 @@
59
59
 
60
60
  # New rows this profile needs that dsh-base/dsh-maestro-review don't already provide.
61
61
  - insert:
62
- # @deepseek-ai/dsh-agent-presets ships no dsh.bundle.patch of its own
63
- # (confirmed — no "dsh" field in its package.json), so it never self-composes;
64
- # every profile that wants it must insert this row itself, copied verbatim
65
- # from deepseek-harness/packages/bundle/web-app/cordis.patch.yml.
66
- - id: agent-presets
67
- name: '@deepseek-ai/dsh-agent-presets'
62
+ # The agent-preset registry is the 0.1.7 provider: it collects preset
63
+ # definitions from loader rows, and this bundle now ships the reviewer and
64
+ # auditor declarations as patch rows of its own
65
+ # (./presets/maestro-{reviewer,auditor}.patch.yml), so no directory has to be
66
+ # copied anywhere. The retired plural @deepseek-ai/dsh-agent-presets is gone
67
+ # from this profile on purpose: it was only ever needed to read
68
+ # $DSH_HOME/.agent-presets. (dsh-base does not provide this row — the
69
+ # web-app bundle is what inserts it there — so a headless profile inserts it
70
+ # itself, copied from deepseek-harness/packages/bundle/web-app/cordis.patch.yml.)
71
+ - id: agent-preset-registry
72
+ name: '@deepseek-ai/dsh-agent-preset-registry'
68
73
  config:
69
74
  default: standard
70
75
 
@@ -11,9 +11,9 @@
11
11
  }
12
12
  },
13
13
  "dependencies": {
14
- "@ddtcorex/dsh-maestro-review": "^0.7.5",
14
+ "@ddtcorex/dsh-maestro-review": "^0.8.1",
15
15
  "@ddtcorex/maestro-skills": "^2.13.0",
16
- "@deepseek-ai/dsh": "0.1.5-rc.2",
17
- "@deepseek-ai/dsh-agent-presets": "0.1.5-rc.2"
16
+ "@deepseek-ai/dsh": "0.1.7-rc.1",
17
+ "@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.1"
18
18
  }
19
19
  }