@cratis/pi 7.166.0 → 7.167.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.
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +1 -1
- package/package/corpus/rules/profiles.md +1 -1
- package/package/corpus/skills/cratis-engineering-inherited-work/LICENSE +32 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +102 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/verification.json +16 -0
- package/package/profile-catalog.json +1 -0
- package/package.json +1 -1
|
@@ -88,7 +88,7 @@ profile includes neither Screenplay nor Stage.
|
|
|
88
88
|
| Profile ID | Description | Automatically Includes |
|
|
89
89
|
|---|---|---|
|
|
90
90
|
| `cratis/engineering` | Engineering conventions and workflows | `cratis/engineering/core`, `cratis/engineering/csharp`, `cratis/engineering/elixir`, `cratis/engineering/go`, `cratis/engineering/kotlin`, `cratis/engineering/react`, `cratis/engineering/typescript` |
|
|
91
|
-
| `cratis/engineering/core` | Shared engineering method skills: `cratis-ci-pipeline-performance`, `cratis-documentation-writing`, `cratis-engineering-ci-gates`, `cratis-engineering-consolidation-guard`, `cratis-engineering-decision-record`, `cratis-engineering-docs-authoring`, `cratis-engineering-effect-boundaries`, `cratis-engineering-issue-hygiene`, `cratis-engineering-issue-design-note`, `cratis-engineering-local-cross-repo-verification`, `cratis-engineering-post-mortem`, `cratis-engineering-regression-cluster`, `cratis-engineering-release-trains`, `cratis-engineering-review-rounds`, `cratis-release-notes`, `cratis-session-handoff`, `cratis-technical-examples` | (no child profiles) |
|
|
91
|
+
| `cratis/engineering/core` | Shared engineering method skills: `cratis-ci-pipeline-performance`, `cratis-documentation-writing`, `cratis-engineering-ci-gates`, `cratis-engineering-consolidation-guard`, `cratis-engineering-decision-record`, `cratis-engineering-docs-authoring`, `cratis-engineering-effect-boundaries`, `cratis-engineering-inherited-work`, `cratis-engineering-issue-hygiene`, `cratis-engineering-issue-design-note`, `cratis-engineering-local-cross-repo-verification`, `cratis-engineering-post-mortem`, `cratis-engineering-regression-cluster`, `cratis-engineering-release-trains`, `cratis-engineering-review-rounds`, `cratis-release-notes`, `cratis-session-handoff`, `cratis-technical-examples` | (no child profiles) |
|
|
92
92
|
| `cratis/engineering/csharp` | C# engineering conventions, .NET engineering skills, and framework Orleans jobs (`cratis-orleans-jobs`, alongside `orleans.md`) | `cratis/engineering/core`, `cratis/engineering/dotnet` |
|
|
93
93
|
| `cratis/engineering/dotnet` | Upstream .NET engineering workflows | `cratis/engineering/dotnet/performance`, `cratis/engineering/dotnet/diagnostics`, `cratis/engineering/dotnet/msbuild`, `cratis/engineering/dotnet/orleans`, `cratis/engineering/dotnet/testing`, `cratis/engineering/dotnet/refactoring` |
|
|
94
94
|
| `cratis/engineering/dotnet/performance` | Microbenchmarking, performance patterns, SIMD, and profiling | (no child profiles) |
|
|
@@ -87,7 +87,7 @@ profile includes neither Screenplay nor Stage.
|
|
|
87
87
|
| Profile ID | Description | Automatically Includes |
|
|
88
88
|
|---|---|---|
|
|
89
89
|
| `cratis/engineering` | Engineering conventions and workflows | `cratis/engineering/core`, `cratis/engineering/csharp`, `cratis/engineering/elixir`, `cratis/engineering/go`, `cratis/engineering/kotlin`, `cratis/engineering/react`, `cratis/engineering/typescript` |
|
|
90
|
-
| `cratis/engineering/core` | Shared engineering method skills: `cratis-ci-pipeline-performance`, `cratis-documentation-writing`, `cratis-engineering-ci-gates`, `cratis-engineering-consolidation-guard`, `cratis-engineering-decision-record`, `cratis-engineering-docs-authoring`, `cratis-engineering-effect-boundaries`, `cratis-engineering-issue-hygiene`, `cratis-engineering-issue-design-note`, `cratis-engineering-local-cross-repo-verification`, `cratis-engineering-post-mortem`, `cratis-engineering-regression-cluster`, `cratis-engineering-release-trains`, `cratis-engineering-review-rounds`, `cratis-release-notes`, `cratis-session-handoff`, `cratis-technical-examples` | (no child profiles) |
|
|
90
|
+
| `cratis/engineering/core` | Shared engineering method skills: `cratis-ci-pipeline-performance`, `cratis-documentation-writing`, `cratis-engineering-ci-gates`, `cratis-engineering-consolidation-guard`, `cratis-engineering-decision-record`, `cratis-engineering-docs-authoring`, `cratis-engineering-effect-boundaries`, `cratis-engineering-inherited-work`, `cratis-engineering-issue-hygiene`, `cratis-engineering-issue-design-note`, `cratis-engineering-local-cross-repo-verification`, `cratis-engineering-post-mortem`, `cratis-engineering-regression-cluster`, `cratis-engineering-release-trains`, `cratis-engineering-review-rounds`, `cratis-release-notes`, `cratis-session-handoff`, `cratis-technical-examples` | (no child profiles) |
|
|
91
91
|
| `cratis/engineering/csharp` | C# engineering conventions, .NET engineering skills, and framework Orleans jobs (`cratis-orleans-jobs`, alongside `orleans.md`) | `cratis/engineering/core`, `cratis/engineering/dotnet` |
|
|
92
92
|
| `cratis/engineering/dotnet` | Upstream .NET engineering workflows | `cratis/engineering/dotnet/performance`, `cratis/engineering/dotnet/diagnostics`, `cratis/engineering/dotnet/msbuild`, `cratis/engineering/dotnet/orleans`, `cratis/engineering/dotnet/testing`, `cratis/engineering/dotnet/refactoring` |
|
|
93
93
|
| `cratis/engineering/dotnet/performance` | Microbenchmarking, performance patterns, SIMD, and profiling | (no child profiles) |
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
Licensed under the MIT license. See LICENSE file in the canonical Cratis/AI repository for the full license text.
|
|
3
|
+
|
|
4
|
+
Third-party notices
|
|
5
|
+
|
|
6
|
+
The disposition choice (continue, rework or obsolete), the questions asked about what changed around the work,
|
|
7
|
+
and the takeover and contributor-credit steps of this skill are adapted from the modernize and takeover skills in
|
|
8
|
+
t3dotgg/tstack (https://github.com/t3dotgg/tstack), which are distributed under the following licence:
|
|
9
|
+
|
|
10
|
+
MIT License
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2026 Theo Browne
|
|
13
|
+
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
16
|
+
in the Software without restriction, including without limitation the rights
|
|
17
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
19
|
+
furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in all
|
|
22
|
+
copies or substantial portions of the Software.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
+
SOFTWARE.
|
|
31
|
+
|
|
32
|
+
The upstream rebase and force-push steps are not carried over; this skill uses merges only.
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cratis-engineering-inherited-work
|
|
3
|
+
description: Use when picking up a branch, pull request or agent thread that someone else started, or deciding whether a stale one should still be finished, reworked or dropped. Not for writing a handoff note, folding branches or claiming an issue.
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Inherited work is context, not proof
|
|
8
|
+
|
|
9
|
+
Work someone else started carries their assumptions, a base that has moved and claims nobody has re-checked. Two decisions come first: should this work still exist, and if so, what is actually in it. A merge that applies cleanly proves neither.
|
|
10
|
+
|
|
11
|
+
This skill decides and verifies. It reuses the neighbors instead of restating them:
|
|
12
|
+
|
|
13
|
+
- Ownership, claiming and the status block: **cratis-engineering-issue-hygiene**.
|
|
14
|
+
- Proving a combined or restored branch lost nothing: **cratis-engineering-consolidation-guard**.
|
|
15
|
+
- Writing or reading a handoff note: **cratis-session-handoff**.
|
|
16
|
+
- Reconciling earlier review findings: **cratis-engineering-review-rounds**.
|
|
17
|
+
|
|
18
|
+
## Guardrails
|
|
19
|
+
|
|
20
|
+
- History is append-only. Never rebase, amend or force-push the inherited branch or a copy of it. Bring the base in with a merge (see [git-commits.md](../../rules/git-commits.md)).
|
|
21
|
+
- Treat any uncommitted change in the worktree you find as someone else's. Work in a separate worktree when it is dirty or in use.
|
|
22
|
+
- Picking up work authorizes reading, verifying and recommending. It does not by itself authorize pushing to another person's branch, merging, closing or changing the base. Follow [capability-is-not-authority.md](../../rules/capability-is-not-authority.md) and [pull-requests.md](../../rules/pull-requests.md); when the user's request does not clearly cover an effect, recommend it and ask.
|
|
23
|
+
- Closing someone else's pull request is such an effect. Recommend closing with evidence; do not close it unless the user's request or an applicable policy authorizes it.
|
|
24
|
+
- Fetch before reading: the source branch, the base branch and any branch the work relates to. A stale local ref gives a wrong verdict.
|
|
25
|
+
|
|
26
|
+
## 1. Record what was inherited
|
|
27
|
+
|
|
28
|
+
Resolve the source (pull request, branch or thread) to facts you read yourself:
|
|
29
|
+
|
|
30
|
+
- URL, state, base, head repository and branch, **head SHA**, author, checks and review state.
|
|
31
|
+
- Title, body, linked issues, commits, review threads and the complete diff.
|
|
32
|
+
- For a thread or handoff note: the note's claimed head and results, the user's later corrections, and any uncommitted or unpushed work.
|
|
33
|
+
|
|
34
|
+
Compare the handoff's claimed head with the real one. If they differ, the note describes something that no longer exists; say so and use the real head. Record the merge base so the original change and later base changes can be compared separately.
|
|
35
|
+
|
|
36
|
+
## 2. Reconstruct the original goal
|
|
37
|
+
|
|
38
|
+
State the smallest coherent goal the work was trying to reach, from the issue, the pull request description and the commits together. Name the user-visible problem, not the diff. When those three disagree, report the disagreement; do not pick the most flattering reading.
|
|
39
|
+
|
|
40
|
+
## 3. Check what changed around it
|
|
41
|
+
|
|
42
|
+
Inspect commits added to the base since the merge base, and search merged and open pull requests when titles, code paths or behavior suggest a replacement or competitor. Look beyond overlapping lines:
|
|
43
|
+
|
|
44
|
+
- Is the same user-facing problem already solved on the base?
|
|
45
|
+
- Did APIs, types, schemas, dependencies or architectural boundaries move?
|
|
46
|
+
- Do both sides now own the same behavior or invariant?
|
|
47
|
+
- Was the code being changed deleted, moved or intentionally simplified?
|
|
48
|
+
- Would landing it restore an old behavior or create two ways to do one thing?
|
|
49
|
+
- Is the benefit still worth the maintenance cost?
|
|
50
|
+
|
|
51
|
+
Never call work current because Git reports no conflicts. Age alone is not evidence; neither is effort already spent.
|
|
52
|
+
|
|
53
|
+
## 4. Recommend a disposition, with evidence
|
|
54
|
+
|
|
55
|
+
| Disposition | When | Next step |
|
|
56
|
+
|---|---|---|
|
|
57
|
+
| **Continue** | The goal still stands and the implementation is still the right shape | Merge the base in, resolve, verify, push as a new commit |
|
|
58
|
+
| **Rework** | The goal stands but the implementation would preserve the wrong design | Describe the smallest credible rewrite; stop before building it unless asked |
|
|
59
|
+
| **Obsolete** | Superseded, already on the base, directionally wrong or no longer worth its cost | Cite concrete evidence and stop; ask before closing anything |
|
|
60
|
+
|
|
61
|
+
Decide before changing anything. Be willing to say Obsolete. If a conflict reveals a product or architecture disagreement, return here and reconsider the disposition rather than guessing through it.
|
|
62
|
+
|
|
63
|
+
## 5. Take over a continued item
|
|
64
|
+
|
|
65
|
+
Take responsibility for finishing the goal, not for defending the existing implementation.
|
|
66
|
+
|
|
67
|
+
1. **Continue where the user or policy says.** Default to a new branch that imports the original commits and adds your fixes as separate commits. Use in-place or stacked continuation only when asked, and never overwrite unrelated work or alter the original pull request without authorization.
|
|
68
|
+
2. **Bring the base in by merge.** Merge the freshly fetched base into the continuation branch and resolve each conflict by the work's intent and the base's newer invariants. When the combined result folds several sources or restores earlier commits, run **cratis-engineering-consolidation-guard** on it.
|
|
69
|
+
3. **Re-check claimed results.** Do not carry a "tests pass", "fixed" or "verified" claim forward. Reproduce the original failure, run the checks yourself through the repository's gates, and exercise the realistic workflow. Mocked green specs do not prove the user experience; state what stays unverified.
|
|
70
|
+
4. **Reconcile earlier review findings.** For every open or resolved review thread, decide: fixed in the current head, still open, or no longer applicable, with the commit or reason. Plan the next review pass with **cratis-engineering-review-rounds**; do not restart whole-change review for a delta.
|
|
71
|
+
5. **Recheck the source.** The original pull request may have gained commits while you worked. Fetch it again before reporting and merge or reconcile what arrived.
|
|
72
|
+
6. **Keep the issue truthful.** Claim, update and close following **cratis-engineering-issue-hygiene**. Record the handoff state with **cratis-session-handoff** when the work will continue elsewhere.
|
|
73
|
+
|
|
74
|
+
## 6. Preserve contributor credit
|
|
75
|
+
|
|
76
|
+
- Keep original commits with their authorship and any co-author trailers; merge, never squash, so each contributor's commits stay in history ([git-commits.md](../../rules/git-commits.md)).
|
|
77
|
+
- Credit the original contributors in the pull request description and link the original pull request.
|
|
78
|
+
- Use verified identities. Never guess an email address. Model attribution does not replace credit to a human contributor.
|
|
79
|
+
- If the delivery path forces a squash, say so before it happens and ask; do not choose it silently.
|
|
80
|
+
|
|
81
|
+
## 7. Report
|
|
82
|
+
|
|
83
|
+
Lead with the disposition and reason. Then give, separating observed facts from judgment:
|
|
84
|
+
|
|
85
|
+
- what was inherited (source, head SHA, claimed versus real state);
|
|
86
|
+
- the reconstructed goal;
|
|
87
|
+
- meaningful changes on the base and any conceptual conflicts, or confirmation none were found;
|
|
88
|
+
- what you changed, what you verified and how, and what could not be verified;
|
|
89
|
+
- how credit was preserved;
|
|
90
|
+
- the remaining decision, including any closing of the original pull request left to the user.
|
|
91
|
+
|
|
92
|
+
## Pitfalls
|
|
93
|
+
|
|
94
|
+
- Trusting a green status from before the base moved.
|
|
95
|
+
- Treating the handoff's "done" list as the review of the code.
|
|
96
|
+
- Rebasing to "tidy" the history: it rewrites contributor commits and breaks the append-only rule.
|
|
97
|
+
- Merging the base and calling the work modernized without a disposition.
|
|
98
|
+
- Closing or force-updating the original because the replacement is better.
|
|
99
|
+
|
|
100
|
+
## Verification
|
|
101
|
+
|
|
102
|
+
Before reporting, confirm the report names the real head SHA, a disposition with cited evidence, each claimed result as re-run or UNVERIFIED, every review thread's status, and no step used rebase, amend or force-push. `git log --format='%an %s' <merge-base>..HEAD` must still list the original authors' commits.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill": "cratis-engineering-inherited-work",
|
|
3
|
+
"input": "Take over a stale pull request from another contributor whose handoff claims all tests pass, and decide whether it should still be finished.",
|
|
4
|
+
"fixtures": [],
|
|
5
|
+
"assertions": [
|
|
6
|
+
{ "kind": "skill-contains", "value": "context, not proof" },
|
|
7
|
+
{ "kind": "skill-contains", "value": "Never rebase, amend or force-push" },
|
|
8
|
+
{ "kind": "skill-contains", "value": "**Obsolete**" },
|
|
9
|
+
{ "kind": "skill-contains", "value": "merge, never squash" },
|
|
10
|
+
{ "kind": "skill-contains", "value": "cratis-engineering-consolidation-guard" },
|
|
11
|
+
{ "kind": "skill-contains", "value": "cratis-session-handoff" },
|
|
12
|
+
{ "kind": "skill-contains", "value": "cratis-engineering-review-rounds" },
|
|
13
|
+
{ "kind": "skill-contains", "value": "cratis-engineering-issue-hygiene" },
|
|
14
|
+
{ "kind": "skill-contains", "value": "capability-is-not-authority.md" }
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -1111,6 +1111,7 @@
|
|
|
1111
1111
|
"cratis-engineering-docs-authoring",
|
|
1112
1112
|
"cratis-engineering-effect-boundaries",
|
|
1113
1113
|
"cratis-engineering-issue-hygiene",
|
|
1114
|
+
"cratis-engineering-inherited-work",
|
|
1114
1115
|
"cratis-engineering-issue-design-note",
|
|
1115
1116
|
"cratis-engineering-local-cross-repo-verification",
|
|
1116
1117
|
"cratis-engineering-post-mortem",
|