@cratis/pi 7.178.1 → 7.178.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.
@@ -5,13 +5,14 @@ applyTo: "**/*"
5
5
 
6
6
  # How to Do Pull Requests
7
7
 
8
- **Before writing any commit message, committing, pushing, or creating/editing a PR, read the `cratis-commits-and-pull-requests` skill.** It holds the allowed description shape, the forbidden list, worked examples, label procedure, grouping and release-action windows. This rule keeps the contract that must hold even before the skill is read. Commit rules are in [git-commits.md](./git-commits.instructions.md).
8
+ **Before writing any commit message, committing, pushing, or creating/editing a PR, read the `cratis-commits-and-pull-requests` skill.** It holds the description shape, forbidden list, examples, labels, grouping and release-action windows. Commit rules: [git-commits.md](./git-commits.instructions.md).
9
9
 
10
10
  ## The description is the release note
11
11
 
12
12
  **The PR description is published verbatim as the GitHub release. In repositories released by `cratis/release-action`, it also closes every issue written as `(#n)`; elsewhere, follow the repository's own release and issue-closing process.** Write the note the person upgrading should read, not a development write-up.
13
13
 
14
14
  - Follow the repository's pull request template within this contract: an optional summary first, then only `## Added`, `## Changed`, `## Fixed`, `## Removed`, `## Security`, `## Deprecated`, each with short, user-facing bullets and none empty.
15
+ - No author-first-person narration, even in summaries or bullets; quoted UI text is allowed.
15
16
  - Never put review, verification, test or CI results, provenance, merge or deploy instructions, internal state, relative links or placeholders in the description. **Reviewer-facing information goes in a PR comment** posted right after creating the PR (`gh pr comment <n> --body-file .ai-work/pr-notes.md`), even when the PR is labelled `no-release`.
16
17
  - A change to a hook script or its wiring (`.cratis/ai/hooks/**`) needs a release-note line that tells consumers to run `cratis ai update`; a hook fix does not reach a repository until they do.
17
18
 
@@ -4,13 +4,14 @@ applyTo: "**/*"
4
4
 
5
5
  # How to Do Pull Requests
6
6
 
7
- **Before writing any commit message, committing, pushing, or creating/editing a PR, read the `cratis-commits-and-pull-requests` skill.** It holds the allowed description shape, the forbidden list, worked examples, label procedure, grouping and release-action windows. This rule keeps the contract that must hold even before the skill is read. Commit rules are in [git-commits.md](./git-commits.md).
7
+ **Before writing any commit message, committing, pushing, or creating/editing a PR, read the `cratis-commits-and-pull-requests` skill.** It holds the description shape, forbidden list, examples, labels, grouping and release-action windows. Commit rules: [git-commits.md](./git-commits.md).
8
8
 
9
9
  ## The description is the release note
10
10
 
11
11
  **The PR description is published verbatim as the GitHub release. In repositories released by `cratis/release-action`, it also closes every issue written as `(#n)`; elsewhere, follow the repository's own release and issue-closing process.** Write the note the person upgrading should read, not a development write-up.
12
12
 
13
13
  - Follow the repository's pull request template within this contract: an optional summary first, then only `## Added`, `## Changed`, `## Fixed`, `## Removed`, `## Security`, `## Deprecated`, each with short, user-facing bullets and none empty.
14
+ - No author-first-person narration, even in summaries or bullets; quoted UI text is allowed.
14
15
  - Never put review, verification, test or CI results, provenance, merge or deploy instructions, internal state, relative links or placeholders in the description. **Reviewer-facing information goes in a PR comment** posted right after creating the PR (`gh pr comment <n> --body-file .ai-work/pr-notes.md`), even when the PR is labelled `no-release`.
15
16
  - A change to a hook script or its wiring (`.cratis/ai/hooks/**`) needs a release-note line that tells consumers to run `cratis ai update`; a hook fix does not reach a repository until they do.
16
17
 
@@ -20,8 +20,9 @@ Loading this skill grants no permission to push, publish, merge or mutate issues
20
20
  when staging, writing a message or deciding when to commit. Stage specific
21
21
  files and inspect `git diff --cached`; never commit an unbuildable unit.
22
22
  2. Read [references/pr-description.md](references/pr-description.md) when writing
23
- or editing a PR or manual release note. Write consumer-facing bullets, not a
24
- work report. Only fully delivered issues get a closing delivery reference.
23
+ or editing a PR or manual release note. Write product-focused summaries and
24
+ bullets, not author narration or a work report. Only fully delivered issues
25
+ get a closing delivery reference.
25
26
  3. Read [references/pr-labels-and-release.md](references/pr-labels-and-release.md)
26
27
  when choosing or swapping a label, grouping related work, checking gates or
27
28
  handling a release-action window. Confirm publication effects before applying
@@ -3,6 +3,16 @@
3
3
 
4
4
  # The pull request description
5
5
 
6
+ ## Contents
7
+
8
+ - Allowed shape
9
+ - Describe the product, not the author
10
+ - Issue references
11
+ - Forbidden anywhere outside code
12
+ - Keep the note true to the diff
13
+ - Bad to good
14
+ - Before you create or edit a PR
15
+
6
16
  The contract (the description is the release note, the issue-reference rules, the reviewer-note rule) stays always-on in [pull-requests.md](../../../rules/pull-requests.md). This reference holds the detailed shape, the forbidden list and a worked example.
7
17
 
8
18
  **The PR description is published verbatim as the GitHub release. In repositories released by `cratis/release-action`, it also closes every issue written as `(#n)`; elsewhere, follow the repository's own release and issue-closing process.** Write the note the person upgrading should read, not a development write-up. The same contract applies to release notes typed into a manual workflow run or written straight into a release. Where it is installed, the `policy / verify` check enforces it on release-bound PRs into the default branch carrying `major`/`minor`/`patch` (it re-runs when the label is added); its release-note step warns on `no-release` and unlabelled PRs, which must still be written this way because any of them may become releasable. `release-action` does not run for a `no-release` PR, so `(#n)` closes nothing there. Editing the description re-runs the check. HTML comments are not shown on the release page and the check ignores them for headings, keywords and placeholders, and `release-action` removes them before publishing, so a `(#n)` only inside a comment closes nothing; the check fails it, so never put an issue reference in a comment. The template's own comment can stay: its example issue references are inline code, and the comment is not published.
@@ -19,6 +29,19 @@ The contract (the description is the release note, the issue-reference rules, th
19
29
  - Breaking changes and upgrade actions are bullets in `## Changed` or `## Removed` that state the action. A longer migration story goes in the docs, linked by absolute URL.
20
30
  - Do not list internal plumbing (storage, converters, gRPC internals, specs, file lists, refactor narration).
21
31
 
32
+ ## Describe the product, not the author
33
+
34
+ Flag and rewrite author-as-subject narration throughout the description, including an unheaded lead, `## Summary` and allowed-section bullets. Use product-focused imperative or declarative wording, not "I added", "we chose not to", "I deliberately" or a third-person work log such as "the author added". The subject is the feature or behavior, not the person or agent who produced it.
35
+
36
+ | Location | Wrong | Right |
37
+ | --- | --- | --- |
38
+ | Lead paragraph | I added resumable uploads. | Uploads resume after a connection interruption. |
39
+ | `## Summary` | We chose not to retry invalid commands because retries hide input errors; configurable retry delays are deferred. | Invalid commands fail without retries. |
40
+ | `## Fixed` bullet | - I deliberately kept failed uploads out of the history. | - Exclude failed uploads from history. |
41
+ | `## Added` bullet | - I added an "I agree" button to the consent dialog. | - Add an "I agree" button to the consent dialog. |
42
+
43
+ Quoted UI language such as a button labeled "I agree" is not author narration; preserve the actual UI text. Reviewer rationale, rejected alternatives and deferred implementation discussion go in the **PR comment**, not the description. For the Summary example, put why retries were rejected and the deferred delay work in that comment; publish only the delivered behavior.
44
+
22
45
  ## Issue references
23
46
 
24
47
  | Write | Meaning |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.178.1",
3
+ "version": "7.178.2",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [