@cratis/pi 7.60.0 → 7.61.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.
@@ -92,6 +92,8 @@ profile includes neither Screenplay nor Stage.
92
92
  | `cratis/engineering/typescript` | TypeScript engineering conventions | `cratis/engineering/core` |
93
93
  | `cratis/engineering/react` | React engineering conventions | `cratis/engineering/core` |
94
94
 
95
+ The `cratis/engineering` profile also carries [issue-assignment.md](../../../rules/issue-assignment.md): when an agent starts work on a numbered issue in a known repository and nobody is assigned, it assigns the current `gh` user.
96
+
95
97
  ### Language Profiles
96
98
 
97
99
  | Profile ID | Description |
@@ -0,0 +1,31 @@
1
+ ---
2
+ profile: cratis/engineering
3
+ ---
4
+
5
+ # Claim the issue you start work on
6
+
7
+ When an agent starts work on a GitHub issue, the issue says who is on it. Nobody can
8
+ tell from an unassigned issue that work has begun, so two people (or two agents) pick it
9
+ up, or it looks abandoned while it is being done.
10
+
11
+ - **Applies when** the work is tied to an issue with a number in a known repository: the
12
+ user named it (`#123`, `Cratis/Repo#123`, an issue URL), or the branch, task or handover
13
+ names it. Work with no issue, or an issue whose repository you cannot determine, is
14
+ outside this rule; never guess a number or a repository.
15
+ - **Read the assignees first**, in the issue's own repository:
16
+ `gh issue view <n> --repo <owner>/<repo> --json assignees,state`.
17
+ - **Assign only when nobody is assigned.** Run
18
+ `gh issue edit <n> --repo <owner>/<repo> --add-assignee @me` so the current `gh` user is
19
+ the assignee. `@me` resolves to whoever is authenticated, so it is the user the agent
20
+ works for, not a name you invent.
21
+ - **Never replace or add to an existing assignment.** Someone already on the issue means
22
+ it is claimed; leave it, and mention it if it affects the work.
23
+ - **Do it once, at the start,** before the first edit. Do not re-check on every turn.
24
+ - **Skip a closed issue** and say so; do not reopen or assign it.
25
+ - **If assigning fails** (no permission, `gh` not authenticated, the issue is in a
26
+ repository you cannot write to), say so in one line and continue with the work. A missing
27
+ assignee is never a reason to stop.
28
+
29
+ The user's request to work on the issue is the authority for this assignment; do not ask
30
+ before doing it. It authorizes assigning the issue and nothing else: commenting, labeling
31
+ or closing still follow [pull-requests.md](./pull-requests.md) and the user's request.
@@ -91,6 +91,8 @@ profile includes neither Screenplay nor Stage.
91
91
  | `cratis/engineering/typescript` | TypeScript engineering conventions | `cratis/engineering/core` |
92
92
  | `cratis/engineering/react` | React engineering conventions | `cratis/engineering/core` |
93
93
 
94
+ The `cratis/engineering` profile also carries [issue-assignment.md](./issue-assignment.md): when an agent starts work on a numbered issue in a known repository and nobody is assigned, it assigns the current `gh` user.
95
+
94
96
  ### Language Profiles
95
97
 
96
98
  | Profile ID | Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.60.0",
3
+ "version": "7.61.0",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [