Skip to content

Commit 80429bb

Browse files
committed
docs(agents): prevent agents from modifying dependency manifests and lock files
1 parent 903eb5b commit 80429bb

10 files changed

Lines changed: 22 additions & 0 deletions

.github/agents/bug-fixing-implementer-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ If the bug requires SCSS, theme wiring, or style-test changes, do not implement
114114
- Do not update `README.md` — the `component-readme-agent` handles that.
115115
- Do not create migration schematics — the `migration-agent` handles that.
116116
- Do not update `CHANGELOG.md` — the `changelog-agent` handles that.
117+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file.
117118

118119
---
119120

.github/agents/bug-fixing-orchestrator-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ You do NOT write tests, production code, or detailed implementation instructions
6868
- Do not write tests or production code
6969
- Do not specify exact test cases, exact implementations, or exact file changes
7070
- Do not over-constrain the handoff prompts — give scope and root cause, not specs
71+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file
7172

7273
---
7374

.github/agents/changelog-agent.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ You update `CHANGELOG.md` at the repository root for Ignite UI for Angular. Only
1313

1414
---
1515

16+
## What You Do NOT Do
17+
18+
- Do not modify production source code.
19+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file.
20+
21+
---
22+
1623
## Steps
1724

1825
### 1. Find the Latest Version

.github/agents/component-readme-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ You do not implement production code, write tests, write migrations, or update `
3434
- Do not rewrite the whole README if only one area changed.
3535
- Do not update `CHANGELOG.md`.
3636
- Do not document private/internal implementation details.
37+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file.
3738

3839
---
3940

.github/agents/demo-sample-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ You do not implement the library change itself, create new samples or demo folde
3939
- Do not update component `README.md`.
4040
- Do not update `CHANGELOG.md`.
4141
- Do not create migrations.
42+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file.
4243

4344
---
4445

.github/agents/feature-implementer-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Update component agent skills if you need to guide other agents on how to use th
118118
- Do not update `README.md` — the `component-readme-agent` handles that.
119119
- Do not create migration schematics — the `migration-agent` handles that.
120120
- Do not update `CHANGELOG.md` — the `changelog-agent` handles that.
121+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file.
121122

122123
---
123124

.github/agents/feature-orchestrator-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ You do NOT write tests, production code, or detailed acceptance criteria. Each s
6464
- Do not write detailed acceptance criteria that downstream agents must encode literally
6565
- Do not specify exact test cases, exact implementations, or exact file changes
6666
- Do not over-constrain the handoff prompts — give scope, not specs
67+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file
6768

6869
---
6970

.github/agents/migration-agent.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ You create **`ng update` migration schematics** for breaking changes in Ignite U
2828

2929
---
3030

31+
## What You Do NOT Do
32+
33+
- Do not add, remove, or change entries in `package.json`, `package-lock.json`, or any other dependency manifest or lock file.
34+
35+
---
36+
3137
## Steps
3238

3339
### 1. Determine Version and Number

.github/agents/tdd-test-writer-agent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Do not add extra scenarios unless they are explicitly requested, clearly require
5555
- No execution-order dependency.
5656
6. **Never write production code.**
5757
- Only test code in this phase to ensure the test does not give false negatives. The test MUST fail if the functionality is missing, or not behaving as intended.
58+
7. **Never modify dependency files.**
59+
- `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, and similar manifest or lock files are off-limits.
5860

5961
---
6062

.github/agents/theming-styles-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ If the task is purely documentation or planning, say clearly that style validati
121121
- Do not update component `README.md`.
122122
- Do not create migrations.
123123
- Do not update `CHANGELOG.md`.
124+
- Do not modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file.
124125

125126
---
126127

0 commit comments

Comments
 (0)