@cratis/pi 7.172.1 → 7.172.2

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.
@@ -38,10 +38,9 @@ dumps, and similar coordination files. These are **work records, not documentati
38
38
  replace the prompt.
39
39
  - **A worktree is a work record too.** Create it outside the repository tree, for
40
40
  example in a sibling `../.worktrees/` directory. A nested worktree inherits the
41
- parent's `.globalconfig`, causing .NET `MultipleGlobalAnalyzerKeys` errors or silently
42
- changing analyzer severities. In a container worker whose checkout is the workspace root
43
- with a read-only parent (such as `/workspace`), use `$HOME/.worktrees/<name>`,
44
- never `..` outside the workspace or inside the checkout. **Delivered work is cleaned up by
41
+ parent's `.globalconfig` (.NET `MultipleGlobalAnalyzerKeys` errors or changed analyzer
42
+ severities). In a container whose checkout is the workspace root with a read-only
43
+ parent, use `$HOME/.worktrees/<name>`. **Delivered work is cleaned up by
45
44
  `.cratis/ai/hooks/scripts/cratis-cleanup-worktrees.sh`, not by memory:** run it from the
46
45
  main checkout when a PR merges or you finish a task (hooks and **ship-changes** also run it). It
47
46
  removes a worktree and its branch only on evidence the work reached the default branch —
@@ -53,7 +52,8 @@ dumps, and similar coordination files. These are **work records, not documentati
53
52
  or `git branch -D` a delivered branch when the script can; `gh pr merge --delete-branch`
54
53
  inside a worktree leaves the worktree and branch behind. If the branch must outlive the task
55
54
  unmerged, leave the worktree and say so in the handoff. Never `--force` a removal; a
56
- refusal means look, not push harder.
55
+ refusal means look. Cleanup keeps local-only work (unpushed commits, stashes, dirty
56
+ worktrees) and records branch refs and SHAs before and after.
57
57
  - **Scan for secrets before archiving or sharing.** Before anything from `.ai-work/` is archived,
58
58
  attached or shared, run `gitleaks detect --no-git --source <dir>` (or the repository's equivalent)
59
59
  and redact every finding. See [`secrets.md`](./secrets.instructions.md).
@@ -43,6 +43,9 @@ not measured: code-shape inspection is not a benchmark, a build is not behaviora
43
43
  proof, and an unexamined surface is not verified. State `None` only when the entire
44
44
  declared scope was examined; otherwise give concrete limits and remaining checks.
45
45
 
46
+ - **[contract]** A security reviewer's NOT PASS is blocking, never advisory. Resolve it with a fix plus re-review, or an explicit, recorded decision by the person who owns the risk; never downgrade it to advisory.
47
+ - **[contract]** A review report, and any reviewer notes posted on a PR, lists only the commit ranges actually reviewed. Name unreviewed deltas as unreviewed; never imply they are covered.
48
+
46
49
  ## Verdict vocabulary
47
50
 
48
51
  | Verdict | Meaning |
@@ -37,10 +37,9 @@ dumps, and similar coordination files. These are **work records, not documentati
37
37
  replace the prompt.
38
38
  - **A worktree is a work record too.** Create it outside the repository tree, for
39
39
  example in a sibling `../.worktrees/` directory. A nested worktree inherits the
40
- parent's `.globalconfig`, causing .NET `MultipleGlobalAnalyzerKeys` errors or silently
41
- changing analyzer severities. In a container worker whose checkout is the workspace root
42
- with a read-only parent (such as `/workspace`), use `$HOME/.worktrees/<name>`,
43
- never `..` outside the workspace or inside the checkout. **Delivered work is cleaned up by
40
+ parent's `.globalconfig` (.NET `MultipleGlobalAnalyzerKeys` errors or changed analyzer
41
+ severities). In a container whose checkout is the workspace root with a read-only
42
+ parent, use `$HOME/.worktrees/<name>`. **Delivered work is cleaned up by
44
43
  `.cratis/ai/hooks/scripts/cratis-cleanup-worktrees.sh`, not by memory:** run it from the
45
44
  main checkout when a PR merges or you finish a task (hooks and **ship-changes** also run it). It
46
45
  removes a worktree and its branch only on evidence the work reached the default branch —
@@ -52,7 +51,8 @@ dumps, and similar coordination files. These are **work records, not documentati
52
51
  or `git branch -D` a delivered branch when the script can; `gh pr merge --delete-branch`
53
52
  inside a worktree leaves the worktree and branch behind. If the branch must outlive the task
54
53
  unmerged, leave the worktree and say so in the handoff. Never `--force` a removal; a
55
- refusal means look, not push harder.
54
+ refusal means look. Cleanup keeps local-only work (unpushed commits, stashes, dirty
55
+ worktrees) and records branch refs and SHAs before and after.
56
56
  - **Scan for secrets before archiving or sharing.** Before anything from `.ai-work/` is archived,
57
57
  attached or shared, run `gitleaks detect --no-git --source <dir>` (or the repository's equivalent)
58
58
  and redact every finding. See [`secrets.md`](./secrets.md).
@@ -42,6 +42,9 @@ not measured: code-shape inspection is not a benchmark, a build is not behaviora
42
42
  proof, and an unexamined surface is not verified. State `None` only when the entire
43
43
  declared scope was examined; otherwise give concrete limits and remaining checks.
44
44
 
45
+ - **[contract]** A security reviewer's NOT PASS is blocking, never advisory. Resolve it with a fix plus re-review, or an explicit, recorded decision by the person who owns the risk; never downgrade it to advisory.
46
+ - **[contract]** A review report, and any reviewer notes posted on a PR, lists only the commit ranges actually reviewed. Name unreviewed deltas as unreviewed; never imply they are covered.
47
+
45
48
  ## Verdict vocabulary
46
49
 
47
50
  | Verdict | Meaning |
@@ -118,6 +118,9 @@ on a design decision, consumer proof, or another repository out.
118
118
  After the cut, nothing joins. Late deliveries go into the next candidate.
119
119
  Corrections needed to make the frozen candidate pass are not new deliveries;
120
120
  rerun the affected required gates for that changed code state.
121
+ A security-fix train is sealed the same way, with no exception for urgency:
122
+ every correction gets its own review of the new head, including the security
123
+ lens, plus gate evidence for that head before the train merges.
121
124
 
122
125
  Record the cut in one line in the reviewer comment, not the release note:
123
126
  `Cut with A and B; C waits for consumer proof.` Keep local
@@ -63,6 +63,11 @@ reading a message: it defines the types, the file naming, the required fields
63
63
  and the token-exact matching rule that keeps one lane from reading another's
64
64
  mail. Act on a message only after checking it against git and `gh` state.
65
65
 
66
+ Re-arm the inbox watch on every wake, before anything else, so no message is
67
+ missed. A hold or stop order from the user, a coordinator or a release owner is
68
+ binding until its issuer explicitly lifts it; silence, elapsed time, a green
69
+ check or finishing the current step do not lift it.
70
+
66
71
  ## Lane brief
67
72
 
68
73
  Every lane starts from a written brief with a goal, worktree, owned files, the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.172.1",
3
+ "version": "7.172.2",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [