@catladder/cli 0.0.0-main-db6ec1ef → 0.0.0-main-18bd4513
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.
|
@@ -6082,7 +6082,7 @@ const goldenRules = ({ agentUserName }) => `
|
|
|
6082
6082
|
- Use the \`gitlab-mcp\` tool for ALL GitLab actions. Do not call any other APIs.
|
|
6083
6083
|
- If a needed \`gitlab-mcp\` capability is unavailable, post a short comment explaining the limitation and stop.
|
|
6084
6084
|
- NEVER mention yourself ("@${agentUserName}") anywhere (comments, descriptions, titles, commit messages).
|
|
6085
|
-
- NEVER push to
|
|
6085
|
+
- NEVER push to $CI_DEFAULT_BRANCH or any protected branch. Always create a new branch and open a Merge Request (MR).
|
|
6086
6086
|
- Always assign yourself as the assignee of any MR you create.
|
|
6087
6087
|
- Do not create an MR for a **closed** issue.
|
|
6088
6088
|
- Keep actions minimal and idempotent. Avoid duplicate comments or duplicate MRs.
|
|
@@ -6203,6 +6203,7 @@ const eventWorkflow = ({ agentUserName }) => `
|
|
|
6203
6203
|
create_branch({ projectId: $CI_PROJECT_ID, branchName: "<source_branch>", ref: $CI_DEFAULT_BRANCH })
|
|
6204
6204
|
4) Write changes → commit → push:
|
|
6205
6205
|
push_files({ projectId: $CI_PROJECT_ID, branch: "<source_branch>", commitMessage, files })
|
|
6206
|
+
- Ensure files list is not empty before calling push_files; if empty, skip pushing.
|
|
6206
6207
|
5) Verify:
|
|
6207
6208
|
get_branch_diffs({ projectId: $CI_PROJECT_ID, from: $CI_DEFAULT_BRANCH, to: "<source_branch>" })
|
|
6208
6209
|
- Require non-empty diffs
|
|
@@ -9313,7 +9313,7 @@ const goldenRules = ({ agentUserName }) => `
|
|
|
9313
9313
|
- Use the \`gitlab-mcp\` tool for ALL GitLab actions. Do not call any other APIs.
|
|
9314
9314
|
- If a needed \`gitlab-mcp\` capability is unavailable, post a short comment explaining the limitation and stop.
|
|
9315
9315
|
- NEVER mention yourself ("@${agentUserName}") anywhere (comments, descriptions, titles, commit messages).
|
|
9316
|
-
- NEVER push to
|
|
9316
|
+
- NEVER push to $CI_DEFAULT_BRANCH or any protected branch. Always create a new branch and open a Merge Request (MR).
|
|
9317
9317
|
- Always assign yourself as the assignee of any MR you create.
|
|
9318
9318
|
- Do not create an MR for a **closed** issue.
|
|
9319
9319
|
- Keep actions minimal and idempotent. Avoid duplicate comments or duplicate MRs.
|
|
@@ -9434,6 +9434,7 @@ const eventWorkflow = ({ agentUserName }) => `
|
|
|
9434
9434
|
create_branch({ projectId: $CI_PROJECT_ID, branchName: "<source_branch>", ref: $CI_DEFAULT_BRANCH })
|
|
9435
9435
|
4) Write changes → commit → push:
|
|
9436
9436
|
push_files({ projectId: $CI_PROJECT_ID, branch: "<source_branch>", commitMessage, files })
|
|
9437
|
+
- Ensure files list is not empty before calling push_files; if empty, skip pushing.
|
|
9437
9438
|
5) Verify:
|
|
9438
9439
|
get_branch_diffs({ projectId: $CI_PROJECT_ID, from: $CI_DEFAULT_BRANCH, to: "<source_branch>" })
|
|
9439
9440
|
- Require non-empty diffs
|
|
@@ -21,7 +21,7 @@ const goldenRules = ({ agentUserName }) => `
|
|
|
21
21
|
- Use the \`gitlab-mcp\` tool for ALL GitLab actions. Do not call any other APIs.
|
|
22
22
|
- If a needed \`gitlab-mcp\` capability is unavailable, post a short comment explaining the limitation and stop.
|
|
23
23
|
- NEVER mention yourself ("@${agentUserName}") anywhere (comments, descriptions, titles, commit messages).
|
|
24
|
-
- NEVER push to
|
|
24
|
+
- NEVER push to $CI_DEFAULT_BRANCH or any protected branch. Always create a new branch and open a Merge Request (MR).
|
|
25
25
|
- Always assign yourself as the assignee of any MR you create.
|
|
26
26
|
- Do not create an MR for a **closed** issue.
|
|
27
27
|
- Keep actions minimal and idempotent. Avoid duplicate comments or duplicate MRs.
|
|
@@ -142,6 +142,7 @@ const eventWorkflow = ({ agentUserName }) => `
|
|
|
142
142
|
create_branch({ projectId: $CI_PROJECT_ID, branchName: "<source_branch>", ref: $CI_DEFAULT_BRANCH })
|
|
143
143
|
4) Write changes → commit → push:
|
|
144
144
|
push_files({ projectId: $CI_PROJECT_ID, branch: "<source_branch>", commitMessage, files })
|
|
145
|
+
- Ensure files list is not empty before calling push_files; if empty, skip pushing.
|
|
145
146
|
5) Verify:
|
|
146
147
|
get_branch_diffs({ projectId: $CI_PROJECT_ID, from: $CI_DEFAULT_BRANCH, to: "<source_branch>" })
|
|
147
148
|
- Require non-empty diffs
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../../../../pipeline/src/pipeline/agent/prompts.ts"],"names":[],"mappings":";AAAA,iFAAiF;AACjF,0FAA0F;AAC1F,0FAA0F;AAC1F,wFAAwF;AACxF,yDAAyD;;;AAIzD,yCAAyC;AAEzC,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC;;;;CAIpB,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,EAAE,aAAa,EAAO,EAAE,EAAE,CAAC;;6BAEhB,aAAa;CACzC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,EAAE,aAAa,EAAO,EAAE,EAAE,CAAC;;;;8BAIlB,aAAa;;;;;;CAM1C,CAAC;AAEF,qDAAqD;AAErD,MAAM,mBAAmB,GAAG,CAAC,EAAE,aAAa,EAAO,EAAE,EAAE,CAAC;;;;;;;;wCAQhB,aAAa;;;;CAIpD,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,EAAE,aAAa,EAAO,EAAE,EAAE,CAAC;;;gCAGrB,aAAa;;;;CAI5C,CAAC;AAEF,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC;;;;;;CAM/B,CAAC;AAEF,iDAAiD;AAEjD,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCrB,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,EAAE,aAAa,EAAO,EAAE,EAAE,CAAC;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