@ddtcorex/dsh-maestro-review 0.5.0 → 0.6.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/README.md +2 -1
- package/lib/ci-coexist.d.ts +6 -4
- package/lib/ci-coexist.d.ts.map +1 -1
- package/lib/ci-coexist.js +6 -4
- package/lib/ci-coexist.js.map +1 -1
- package/lib/events.d.ts +4 -0
- package/lib/events.d.ts.map +1 -1
- package/lib/gitlab-client.d.ts +7 -0
- package/lib/gitlab-client.d.ts.map +1 -1
- package/lib/gitlab-client.js +21 -0
- package/lib/gitlab-client.js.map +1 -1
- package/lib/incremental.d.ts.map +1 -1
- package/lib/incremental.js +3 -2
- package/lib/incremental.js.map +1 -1
- package/lib/orchestrator.d.ts +15 -2
- package/lib/orchestrator.d.ts.map +1 -1
- package/lib/orchestrator.js +61 -11
- package/lib/orchestrator.js.map +1 -1
- package/lib/providers/ci-trigger.d.ts +2 -1
- package/lib/providers/ci-trigger.d.ts.map +1 -1
- package/lib/providers/ci-trigger.js +12 -8
- package/lib/providers/ci-trigger.js.map +1 -1
- package/lib/providers/gitlab.d.ts.map +1 -1
- package/lib/providers/gitlab.js +16 -4
- package/lib/providers/gitlab.js.map +1 -1
- package/lib/review-history.d.ts +2 -1
- package/lib/review-history.d.ts.map +1 -1
- package/lib/review-history.js +67 -40
- package/lib/review-history.js.map +1 -1
- package/lib/review-intake.d.ts +9 -0
- package/lib/review-intake.d.ts.map +1 -1
- package/lib/review-intake.js +34 -1
- package/lib/review-intake.js.map +1 -1
- package/lib/review-signals.d.ts.map +1 -1
- package/lib/review-signals.js +9 -3
- package/lib/review-signals.js.map +1 -1
- package/package.json +10 -9
- package/profiles/reviewer-ci/package.json +4 -4
- package/profiles/reviewer-ci/pnpm-lock.yaml +4934 -22
- package/profiles/reviewer-ci/pnpm-workspace.yaml +11 -0
- package/src/host/ci-coexist.ts +6 -4
- package/src/host/events.ts +4 -0
- package/src/host/gitlab-client.ts +21 -0
- package/src/host/incremental.ts +3 -2
- package/src/host/orchestrator.ts +65 -11
- package/src/host/providers/ci-trigger.ts +14 -10
- package/src/host/providers/gitlab.ts +19 -5
- package/src/host/review-history.ts +65 -35
- package/src/host/review-intake.ts +36 -1
- package/src/host/review-signals.ts +6 -4
- package/templates/reviewer-project.gitlab-ci.yml +15 -12
- package/templates/source-project.gitlab-ci.yml +1 -2
|
@@ -3,7 +3,7 @@ stages: [review]
|
|
|
3
3
|
|
|
4
4
|
variables:
|
|
5
5
|
# Image registry — pin the SHA for reproducibility
|
|
6
|
-
REVIEWER_IMAGE: "ddtcorex/maestro-reviewer:
|
|
6
|
+
REVIEWER_IMAGE: "ddtcorex/maestro-reviewer:0.1.0"
|
|
7
7
|
# Or use $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA when building the image in the same project
|
|
8
8
|
|
|
9
9
|
review:
|
|
@@ -42,18 +42,21 @@ review:
|
|
|
42
42
|
# the run would "complete" without ever posting. A human-tied PAT needs yearly
|
|
43
43
|
# rotation; prefer a bot/group token where the instance allows creating one.
|
|
44
44
|
# MAESTRO_GITLAB_TOKEN (api scope) — required
|
|
45
|
-
#
|
|
46
|
-
#
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#
|
|
45
|
+
# Model route selection — deepseek is the sole baked default; set
|
|
46
|
+
# REVIEW_LLM_API_KEY to overlay any OpenAI-compatible endpoint instead:
|
|
47
|
+
# DEEPSEEK_API_KEY (required unless using the route below) — deepseek-official
|
|
48
|
+
# straight from api.deepseek.com.
|
|
49
|
+
# REVIEW_LLM_API_KEY / REVIEW_LLM_BASE_URL / REVIEW_LLM_MODEL — bring-your-own
|
|
50
|
+
# OpenAI-compatible endpoint (self-hosted, Azure OpenAI, OpenRouter, a
|
|
51
|
+
# private gateway, ...). All three required together; the job fails closed
|
|
52
|
+
# if REVIEW_LLM_API_KEY is set without the other two. Optional
|
|
53
|
+
# REVIEW_LLM_API selects the wire protocol (openai-completions [default]
|
|
54
|
+
# or openai-responses).
|
|
50
55
|
# TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_ID (optional)
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
# REVIEW_MODEL_PROVIDER: "opencode-go" # or "deepseek-official"
|
|
56
|
-
# REVIEW_MODEL: "muse-spark-1.3-contributor" # e.g. deepseek-v4-flash (deepseek-official via zen)
|
|
56
|
+
# Model pin (optional, as a pair — unset both for the active route's default
|
|
57
|
+
# model, baked in docker/ci-settings.*.yaml):
|
|
58
|
+
# REVIEW_MODEL_PROVIDER: "deepseek-official" # or "custom-openai"
|
|
59
|
+
# REVIEW_MODEL: "deepseek-v4-flash" # the active route's model id
|
|
57
60
|
# Only the provider's key is needed — no settings mount required. ID without
|
|
58
61
|
# provider fails the review with a provider error (not silently the wrong
|
|
59
62
|
# model); provider without ID is ignored.
|
|
@@ -15,8 +15,7 @@ maestro:trigger-review:
|
|
|
15
15
|
SOURCE_PROJECT_ID: $CI_PROJECT_ID
|
|
16
16
|
MR_IID: $CI_MERGE_REQUEST_IID
|
|
17
17
|
GITLAB_HOST: $CI_SERVER_HOST
|
|
18
|
-
|
|
19
|
-
REVIEW_MODE: "quick" # or "deep" for a govard audit
|
|
18
|
+
REVIEW_MODE: "quick" # or "deep" for a static-only audit (no govard runtime in CI)
|
|
20
19
|
REVIEW_PROFILE: "generic" # per-project skill profile: magento2 | laravel | symfony | wordpress | generic
|
|
21
20
|
# REVIEW_ON_PUSH: "1" # uncomment to re-review every push (default: only the opened review runs)
|
|
22
21
|
|