@jesdi/skills 0.0.100 → 0.0.102
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.json +1 -1
- package/skills/babysit-pr/SKILL.md +9 -2
- package/skills/babysit-pr/babysit.py +98 -36
- package/skills/babysit-pr/exam.py +156 -0
- package/skills/babysit-pr/fixtures/exam_host.py +47 -0
- package/skills/babysit-pr/fixtures/gh +107 -11
- package/skills/babysit-pr/test_babysit.py +8 -2
- package/skills/babysit-pr/test_e2e_setup.py +1 -1
- package/skills/babysit-pr/test_exam_merge_gate.py +189 -0
- package/skills/babysit-pr/test_exam_request.py +337 -0
- package/skills/babysit-pr/test_exam_required_check.py +145 -0
- package/skills/babysit-pr/test_exam_wait.py +353 -0
- package/skills/babysit-pr/test_merge_and_handoff.py +12 -6
- package/skills/babysit-pr/test_trusted_merge_risk.py +2 -2
- package/skills/implement-spec/ARCHITECTURE.md +1 -1
- package/skills/implement-spec/README.md +6 -6
- package/skills/implement-spec/driver_final.py +24 -21
- package/skills/implement-spec/driver_final_gate.py +152 -17
- package/skills/implement-spec/driver_gate.py +12 -0
- package/skills/implement-spec/driver_pr.py +16 -7
- package/skills/implement-spec/driver_slots.py +28 -11
- package/skills/implement-spec/driver_state.py +3 -2
- package/skills/implement-spec/prompts/pr-body.md +1 -0
- package/skills/implement-spec/tests/test_final_gate.py +144 -0
- package/skills/implement-spec/tests/test_overturn.py +2 -2
- package/skills/implement-spec/tests/test_walk.py +1 -0
- package/skills/pr-exam/SKILL.md +131 -0
- package/skills/pr-exam/fixtures/README.md +20 -0
- package/skills/pr-exam/fixtures/delta-new-concept/body.md +9 -0
- package/skills/pr-exam/fixtures/delta-new-concept/diff.patch +82 -0
- package/skills/pr-exam/fixtures/delta-new-concept/exam.json +46 -0
- package/skills/pr-exam/fixtures/delta-new-concept/passed.diff +66 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0001-single-sync-leader.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0002-stale-leader-writes.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0003-fencing-token.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0004-lease-expiry.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0005-injected-monotonic-clock.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0006-leader-lifecycle.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0007-lease-rollback.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/records/0008-sync-blast-radius.md +10 -0
- package/skills/pr-exam/fixtures/delta-new-concept/request.json +43 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/body.md +9 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/diff.patch +66 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/exam.json +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/passed.diff +66 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0001-single-sync-leader.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0002-stale-leader-writes.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0003-fencing-token.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0004-lease-expiry.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0005-injected-monotonic-clock.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0006-leader-lifecycle.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0007-lease-rollback.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/records/0008-sync-blast-radius.md +10 -0
- package/skills/pr-exam/fixtures/delta-nothing-new/request.json +43 -0
- package/skills/pr-exam/fixtures/followup/body.md +9 -0
- package/skills/pr-exam/fixtures/followup/diff.patch +66 -0
- package/skills/pr-exam/fixtures/followup/exam.json +61 -0
- package/skills/pr-exam/fixtures/followup/records/0001-single-sync-leader.md +10 -0
- package/skills/pr-exam/fixtures/followup/records/0002-stale-leader-writes.md +10 -0
- package/skills/pr-exam/fixtures/followup/records/0003-fencing-token.md +10 -0
- package/skills/pr-exam/fixtures/followup/records/0004-lease-expiry.md +10 -0
- package/skills/pr-exam/fixtures/followup/records/0005-injected-monotonic-clock.md +10 -0
- package/skills/pr-exam/fixtures/followup/records/0006-lease-rollback.md +10 -0
- package/skills/pr-exam/fixtures/followup/records/0007-sync-blast-radius.md +10 -0
- package/skills/pr-exam/fixtures/followup/request.json +41 -0
- package/skills/pr-exam/fixtures/grading/answers.json +5 -0
- package/skills/pr-exam/fixtures/grading/attempt.json +10 -0
- package/skills/pr-exam/fixtures/grading/grades.json +14 -0
- package/skills/pr-exam/fixtures/grading/questions.json +26 -0
- package/skills/pr-exam/fixtures/grading/request.json +10 -0
- package/skills/pr-exam/fixtures/twelve-concepts/body.md +9 -0
- package/skills/pr-exam/fixtures/twelve-concepts/diff.patch +66 -0
- package/skills/pr-exam/fixtures/twelve-concepts/exam.json +195 -0
- package/skills/pr-exam/fixtures/twelve-concepts/request.json +15 -0
- package/skills/pr-exam/fixtures/typo-readme/body.md +1 -0
- package/skills/pr-exam/fixtures/typo-readme/diff.patch +7 -0
- package/skills/pr-exam/fixtures/typo-readme/exam.json +30 -0
- package/skills/pr-exam/fixtures/typo-readme/request.json +15 -0
- package/skills/pr-exam/pr_exam.py +705 -0
- package/skills/pr-exam/test_config.py +83 -0
- package/skills/pr-exam/test_exam_format.py +252 -0
- package/skills/pr-exam/test_followup_delta.py +90 -0
- package/skills/pr-exam/test_learning_records.py +267 -0
- package/skills/pr-exam/test_record_publication.py +45 -0
- package/skills/pr-exam/test_scoring.py +121 -0
- package/skills/pr-exam/test_served_shapes.py +38 -0
- package/skills/pr-exam/test_setup.py +349 -0
- package/skills/pr-exam/test_skill_fixtures.py +88 -0
- package/skills-manifest.json +11 -5
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Adds a lease so that only one worker runs the nightly sync at a time. Before this, two workers sometimes ran it at once and overwrote each other's results.
|
|
2
|
+
|
|
3
|
+
Why: a worker that stalls past its TTL must not keep writing after another worker took over, so every write carries a fencing token and the store refuses a stale one.
|
|
4
|
+
|
|
5
|
+
```merge-risk v1
|
|
6
|
+
risk: medium
|
|
7
|
+
rollback: revert; leases expire after the TTL
|
|
8
|
+
blast-radius: the nightly sync only
|
|
9
|
+
```
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
diff --git a/lease.py b/lease.py
|
|
2
|
+
new file mode 100644
|
|
3
|
+
--- /dev/null
|
|
4
|
+
+++ b/lease.py
|
|
5
|
+
@@ -0,0 +1,61 @@
|
|
6
|
+
+import time
|
|
7
|
+
+
|
|
8
|
+
+
|
|
9
|
+
+class LeaseLost(Exception):
|
|
10
|
+
+ """The caller no longer owns the lease it tried to write under."""
|
|
11
|
+
+
|
|
12
|
+
+
|
|
13
|
+
+class LeaseStore:
|
|
14
|
+
+ """Single-writer lease over a key-value store.
|
|
15
|
+
+
|
|
16
|
+
+ Two workers can both believe they lead after a pause (GC, network). A
|
|
17
|
+
+ fencing token lets the store reject the older leader's late writes.
|
|
18
|
+
+ """
|
|
19
|
+
+
|
|
20
|
+
+ def __init__(self, backend, ttl=30, clock=time.monotonic):
|
|
21
|
+
+ self.backend = backend
|
|
22
|
+
+ self.ttl = ttl
|
|
23
|
+
+ self.clock = clock
|
|
24
|
+
+
|
|
25
|
+
+ def acquire(self, name, owner):
|
|
26
|
+
+ now = self.clock()
|
|
27
|
+
+ held = self.backend.get(name)
|
|
28
|
+
+ if held and held["expires"] > now and held["owner"] != owner:
|
|
29
|
+
+ return None
|
|
30
|
+
+ token = (held["token"] + 1) if held else 1
|
|
31
|
+
+ self.backend.put(name, {"owner": owner, "token": token, "expires": now + self.ttl})
|
|
32
|
+
+ return token
|
|
33
|
+
+
|
|
34
|
+
+ def renew(self, name, owner, token):
|
|
35
|
+
+ held = self.backend.get(name)
|
|
36
|
+
+ if not held or held["owner"] != owner or held["token"] != token:
|
|
37
|
+
+ raise LeaseLost(name)
|
|
38
|
+
+ held["expires"] = self.clock() + self.ttl
|
|
39
|
+
+ self.backend.put(name, held)
|
|
40
|
+
+
|
|
41
|
+
+ def write(self, name, token, key, value):
|
|
42
|
+
+ held = self.backend.get(name)
|
|
43
|
+
+ if not held or held["token"] != token:
|
|
44
|
+
+ raise LeaseLost(name)
|
|
45
|
+
+ self.backend.put(key, value)
|
|
46
|
+
+
|
|
47
|
+
+ def release(self, name, owner, token):
|
|
48
|
+
+ held = self.backend.get(name)
|
|
49
|
+
+ if held and held["owner"] == owner and held["token"] == token:
|
|
50
|
+
+ held["expires"] = 0
|
|
51
|
+
+ self.backend.put(name, held)
|
|
52
|
+
+
|
|
53
|
+
+
|
|
54
|
+
+def run_leader(store, name, owner, work, interval=10):
|
|
55
|
+
+ token = store.acquire(name, owner)
|
|
56
|
+
+ if token is None:
|
|
57
|
+
+ return False
|
|
58
|
+
+ try:
|
|
59
|
+
+ while work(token):
|
|
60
|
+
+ store.renew(name, owner, token)
|
|
61
|
+
+ time.sleep(interval)
|
|
62
|
+
+ except LeaseLost:
|
|
63
|
+
+ return False
|
|
64
|
+
+ finally:
|
|
65
|
+
+ store.release(name, owner, token)
|
|
66
|
+
+ return True
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"mode": "first",
|
|
4
|
+
"repo": "jesdi/general-skills",
|
|
5
|
+
"pr": 240,
|
|
6
|
+
"head_sha": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
7
|
+
"concepts": [
|
|
8
|
+
{
|
|
9
|
+
"id": "single-sync-leader",
|
|
10
|
+
"title": "One worker runs the nightly sync",
|
|
11
|
+
"kind": "why"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "stale-leader-writes",
|
|
15
|
+
"title": "A stalled leader must stop writing",
|
|
16
|
+
"kind": "why"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "fencing-token",
|
|
20
|
+
"title": "Fencing token",
|
|
21
|
+
"kind": "concept"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "lease-expiry",
|
|
25
|
+
"title": "Lease expiry after the TTL",
|
|
26
|
+
"kind": "concept"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "injected-monotonic-clock",
|
|
30
|
+
"title": "Injected monotonic clock",
|
|
31
|
+
"kind": "architecture"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "leader-lifecycle",
|
|
35
|
+
"title": "Acquire, renew and release around the work",
|
|
36
|
+
"kind": "architecture"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "lease-rollback",
|
|
40
|
+
"title": "Rolling the lease back",
|
|
41
|
+
"kind": "risk"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "sync-blast-radius",
|
|
45
|
+
"title": "Blast radius of the lease",
|
|
46
|
+
"kind": "risk"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "renew-checks-ownership",
|
|
50
|
+
"title": "Renew checks owner and token",
|
|
51
|
+
"kind": "behaviour"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "write-checks-token",
|
|
55
|
+
"title": "Write checks the current token",
|
|
56
|
+
"kind": "behaviour"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "release-by-owner",
|
|
60
|
+
"title": "Only the owner releases",
|
|
61
|
+
"kind": "behaviour"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "owner-reacquire",
|
|
65
|
+
"title": "The owner can re-acquire a held lease",
|
|
66
|
+
"kind": "behaviour"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"questions": [
|
|
70
|
+
{
|
|
71
|
+
"id": "q1",
|
|
72
|
+
"concept": "single-sync-leader",
|
|
73
|
+
"type": "text",
|
|
74
|
+
"prompt": "Why does the nightly sync need a lease at all? Say what went wrong without one."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "q2",
|
|
78
|
+
"concept": "stale-leader-writes",
|
|
79
|
+
"type": "text",
|
|
80
|
+
"prompt": "A worker holding the lease pauses longer than its TTL, and another worker takes over. Why is the lease alone not enough here, and what stops the first worker's late writes?"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "q3",
|
|
84
|
+
"concept": "fencing-token",
|
|
85
|
+
"type": "choice",
|
|
86
|
+
"prompt": "What makes a write under an old fencing token fail?",
|
|
87
|
+
"options": [
|
|
88
|
+
"The token encodes the owner's process identifier",
|
|
89
|
+
"Every new acquisition increments the stored token",
|
|
90
|
+
"Each token carries its own signed expiry"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "q4",
|
|
95
|
+
"concept": "lease-expiry",
|
|
96
|
+
"type": "choice",
|
|
97
|
+
"prompt": "When can a second worker take a lease that another worker holds?",
|
|
98
|
+
"options": [
|
|
99
|
+
"Whenever it asks with a higher worker priority value",
|
|
100
|
+
"Only after the holder explicitly calls release on it",
|
|
101
|
+
"Once the holder has stopped renewing past the TTL"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "q5",
|
|
106
|
+
"concept": "injected-monotonic-clock",
|
|
107
|
+
"type": "choice",
|
|
108
|
+
"prompt": "Why does the lease store take its clock as a parameter that defaults to a monotonic clock?",
|
|
109
|
+
"options": [
|
|
110
|
+
"Wall-clock jumps cannot shorten leases, and tests control time",
|
|
111
|
+
"Leases persist across restarts because monotonic time is stored",
|
|
112
|
+
"Workers on different hosts then share one synchronised time"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "q6",
|
|
117
|
+
"concept": "leader-lifecycle",
|
|
118
|
+
"type": "text",
|
|
119
|
+
"prompt": "How does the leader loop keep the lease while work runs, and what happens to the lease when the work fails or the lease is lost?"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "q7",
|
|
123
|
+
"concept": "lease-rollback",
|
|
124
|
+
"type": "choice",
|
|
125
|
+
"prompt": "If this change is reverted while a worker holds a lease, what happens to that lease?",
|
|
126
|
+
"options": [
|
|
127
|
+
"It blocks the sync until manually deleted",
|
|
128
|
+
"It expires by itself after the TTL",
|
|
129
|
+
"It passes to the next worker immediately"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "q8",
|
|
134
|
+
"concept": "sync-blast-radius",
|
|
135
|
+
"type": "choice",
|
|
136
|
+
"prompt": "Which part of the system can a bug in the lease store break?",
|
|
137
|
+
"options": [
|
|
138
|
+
"Every write to the store",
|
|
139
|
+
"All scheduled jobs on workers",
|
|
140
|
+
"Only the nightly sync job"
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"key": {
|
|
145
|
+
"q1": {
|
|
146
|
+
"explanation": "Before the lease, two workers sometimes ran the nightly sync at the same time and overwrote each other's results; the lease makes one worker the single writer.",
|
|
147
|
+
"hunk": "+def run_leader(store, name, owner, work, interval=10):\n+ token = store.acquire(name, owner)\n+ if token is None:\n+ return False",
|
|
148
|
+
"rubric": {
|
|
149
|
+
"pass": "Says two workers could run the sync concurrently and overwrite each other's results, and that the lease lets only one worker run it at a time.",
|
|
150
|
+
"partial": "Says the lease gives a single worker, or names concurrent runs, without saying that results were overwritten."
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"q2": {
|
|
154
|
+
"explanation": "After a pause (GC, network) both workers can believe they lead. Every write carries the fencing token from acquire, and write raises LeaseLost when the stored token differs, so the stale leader's late writes are refused.",
|
|
155
|
+
"hunk": "+ def write(self, name, token, key, value):\n+ held = self.backend.get(name)\n+ if not held or held[\"token\"] != token:\n+ raise LeaseLost(name)",
|
|
156
|
+
"rubric": {
|
|
157
|
+
"pass": "Says the paused worker still believes it leads, and that each write carries a fencing token the store compares with the current one, refusing the stale token.",
|
|
158
|
+
"partial": "Mentions the fencing token or the stale leader, but not how the store uses the token to refuse the late write."
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"q3": {
|
|
162
|
+
"explanation": "acquire stores the previous token plus one, so the newest holder always has the highest token and any older token no longer matches.",
|
|
163
|
+
"hunk": "+ token = (held[\"token\"] + 1) if held else 1",
|
|
164
|
+
"answer": 1
|
|
165
|
+
},
|
|
166
|
+
"q4": {
|
|
167
|
+
"explanation": "acquire refuses only while the lease has not expired and belongs to someone else; renew pushes expires forward, so a holder that stops renewing loses the lease after the TTL.",
|
|
168
|
+
"hunk": "+ if held and held[\"expires\"] > now and held[\"owner\"] != owner:\n+ return None",
|
|
169
|
+
"answer": 2
|
|
170
|
+
},
|
|
171
|
+
"q5": {
|
|
172
|
+
"explanation": "The clock defaults to time.monotonic, which never jumps with wall-clock changes, and injecting it lets tests advance time without sleeping.",
|
|
173
|
+
"hunk": "+ def __init__(self, backend, ttl=30, clock=time.monotonic):",
|
|
174
|
+
"answer": 0
|
|
175
|
+
},
|
|
176
|
+
"q6": {
|
|
177
|
+
"explanation": "run_leader renews the lease after every unit of work, stops with False when renew raises LeaseLost, and releases the lease in a finally block so it is freed whatever happens.",
|
|
178
|
+
"hunk": "+ try:\n+ while work(token):\n+ store.renew(name, owner, token)\n+ time.sleep(interval)\n+ except LeaseLost:\n+ return False\n+ finally:\n+ store.release(name, owner, token)",
|
|
179
|
+
"rubric": {
|
|
180
|
+
"pass": "Says the loop renews the lease between units of work, stops when the lease is lost, and always releases the lease in a finally block.",
|
|
181
|
+
"partial": "Names renewing or releasing, but not both, or does not say the release happens on failure too."
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"q7": {
|
|
185
|
+
"explanation": "The merge-risk block gives the rollback as a revert, safe because leases expire after the TTL: no lease outlives the code that renews it.",
|
|
186
|
+
"hunk": "+ self.backend.put(name, {\"owner\": owner, \"token\": token, \"expires\": now + self.ttl})",
|
|
187
|
+
"answer": 1
|
|
188
|
+
},
|
|
189
|
+
"q8": {
|
|
190
|
+
"explanation": "The merge-risk block limits the blast radius to the nightly sync: only it runs under run_leader.",
|
|
191
|
+
"hunk": "+def run_leader(store, name, owner, work, interval=10):",
|
|
192
|
+
"answer": 2
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mode": "first",
|
|
3
|
+
"repo": "jesdi/general-skills",
|
|
4
|
+
"pr": 240,
|
|
5
|
+
"head_sha": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
6
|
+
"diff": "diff.patch",
|
|
7
|
+
"body": "body.md",
|
|
8
|
+
"glossary": null,
|
|
9
|
+
"records": "records",
|
|
10
|
+
"today": "2026-11-18",
|
|
11
|
+
"only_concepts": [],
|
|
12
|
+
"prior_concepts": [],
|
|
13
|
+
"prior_prompts": [],
|
|
14
|
+
"out": "exam.json"
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Fixes a typo in the README: "skils" becomes "skills".
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"mode": "first",
|
|
4
|
+
"repo": "jesdi/general-skills",
|
|
5
|
+
"pr": 240,
|
|
6
|
+
"head_sha": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
7
|
+
"concepts": [
|
|
8
|
+
{"id": "readme-spelling-fix", "title": "README spelling fix", "kind": "why"}
|
|
9
|
+
],
|
|
10
|
+
"questions": [
|
|
11
|
+
{
|
|
12
|
+
"id": "q1",
|
|
13
|
+
"concept": "readme-spelling-fix",
|
|
14
|
+
"type": "choice",
|
|
15
|
+
"prompt": "Why does this PR change the README?",
|
|
16
|
+
"options": [
|
|
17
|
+
"To document a new skill",
|
|
18
|
+
"To rename the whole project",
|
|
19
|
+
"To fix a misspelt word"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"key": {
|
|
24
|
+
"q1": {
|
|
25
|
+
"explanation": "The PR corrects one misspelt word in the README, \"skils\" to \"skills\"; no code or behaviour changes.",
|
|
26
|
+
"hunk": "-Personal agent skils, installable into Claude Code.\n+Personal agent skills, installable into Claude Code.",
|
|
27
|
+
"answer": 2
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mode": "first",
|
|
3
|
+
"repo": "jesdi/general-skills",
|
|
4
|
+
"pr": 240,
|
|
5
|
+
"head_sha": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
6
|
+
"diff": "diff.patch",
|
|
7
|
+
"body": "body.md",
|
|
8
|
+
"glossary": null,
|
|
9
|
+
"records": "records",
|
|
10
|
+
"today": "2026-11-18",
|
|
11
|
+
"only_concepts": [],
|
|
12
|
+
"prior_concepts": [],
|
|
13
|
+
"prior_prompts": [],
|
|
14
|
+
"out": "exam.json"
|
|
15
|
+
}
|