@jesdi/skills 0.0.67 → 0.0.68

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jesdi/skills",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "jesdi's agent skills (content package consumed by @jesdi/skills-cli)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -113,6 +113,8 @@ def parse(path) -> tuple[list[Ticket], list[str]]:
113
113
  return [], [f"{path}: no ticket files (NN-name.md)"]
114
114
  tickets = [_read(p) for p in files]
115
115
  errors = [e for t in tickets for e in _missing(t, alone=len(tickets) == 1)]
116
+ if len(tickets) > 5:
117
+ errors.append(f"{path}: split into increments (maximum 5 tickets; found {len(tickets)})")
116
118
  errors += _link(tickets)
117
119
  errors += _cycles(tickets)
118
120
  return ([], errors) if errors else (tickets, [])
@@ -160,6 +160,30 @@ def test_blocked_by_unknown_number_names_file_and_number(env, tmp_path):
160
160
  assert any("02-quote-fields.md" in l and "07" in l for l in proc.stdout.splitlines())
161
161
 
162
162
 
163
+ def test_six_tickets_are_refused_before_any_work_starts(env, tmp_path):
164
+ files = {f"{n:02d}-ticket-{n}.md": ticket(f"{n:02d}", f"Ticket {n}") for n in range(1, 7)}
165
+ repo = make_repo(tmp_path / "demo", files)
166
+ before = snapshot(repo)
167
+
168
+ proc = drive(env, repo)
169
+
170
+ assert proc.returncode == 3, proc.stdout + proc.stderr
171
+ assert "split into increments" in proc.stdout
172
+ assert_untouched(proc, repo, before, tmp_path)
173
+
174
+
175
+ def test_five_tickets_remain_valid_input(env, tmp_path):
176
+ files = {f"{n:02d}-ticket-{n}.md": ticket(f"{n:02d}", f"Ticket {n}") for n in range(1, 6)}
177
+ repo = make_repo(tmp_path / "demo", files)
178
+ before = snapshot(repo)
179
+
180
+ proc = drive(env, repo)
181
+
182
+ assert proc.returncode == 0, proc.stdout + proc.stderr
183
+ assert "max frontier width: 5" in proc.stdout
184
+ assert_untouched(proc, repo, before, tmp_path)
185
+
186
+
163
187
  @pytest.mark.parametrize("files, code", [
164
188
  (three(**{"02-quote-fields.md": ticket("02", "Quote fields", "07")}), 3),
165
189
  (three(), 0),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-10-27T14:34:07.257Z",
3
+ "generatedAt": "2026-10-27T16:50:39.730Z",
4
4
  "skills": [
5
5
  {
6
6
  "name": "agents-wayfinder",
@@ -58,8 +58,8 @@
58
58
  },
59
59
  {
60
60
  "name": "implement-spec",
61
- "version": "0.1.41",
62
- "hash": "sha256-f3752a9867215a59270a63d59d62922d7b312fd1f3a3c63c09c256fa84ce31a8",
61
+ "version": "0.1.42",
62
+ "hash": "sha256-4fca049cc52ea1acf4ae57a262cb334eb4fec9104c9cdf25e24b5bc29574d945",
63
63
  "description": "Implement a specification in code."
64
64
  },
65
65
  {