@mengde1231/rudder 0.6.11 → 0.6.21

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.
Files changed (41) hide show
  1. package/README.md +12 -0
  2. package/dist/migrations/manifests/0.4.0-beta.1.json +5 -5
  3. package/dist/migrations/manifests/0.5.14.json +9 -0
  4. package/dist/migrations/manifests/0.5.15.json +9 -0
  5. package/dist/migrations/manifests/0.5.16.json +9 -0
  6. package/dist/migrations/manifests/0.5.17.json +9 -0
  7. package/dist/migrations/manifests/0.5.19.json +9 -0
  8. package/dist/migrations/manifests/0.5.20.json +9 -0
  9. package/dist/migrations/manifests/0.5.21.json +9 -0
  10. package/dist/migrations/manifests/0.5.22.json +9 -0
  11. package/dist/migrations/manifests/0.5.23.json +9 -0
  12. package/dist/migrations/manifests/0.5.30.json +9 -0
  13. package/dist/migrations/manifests/0.6.1.json +9 -0
  14. package/dist/migrations/manifests/0.6.11.json +9 -0
  15. package/dist/migrations/manifests/0.6.20.json +9 -0
  16. package/dist/migrations/manifests/0.6.21.json +9 -0
  17. package/dist/templates/claude/agents/rudder-check.md +170 -143
  18. package/dist/templates/codex/agents/rudder-check.toml +95 -91
  19. package/dist/templates/codex/skills/update-spec/SKILL.md +14 -1
  20. package/dist/templates/common/skills/check.md +8 -1
  21. package/dist/templates/common/skills/update-spec.md +10 -3
  22. package/dist/templates/opencode/plugins/inject-workflow-state.js +17 -0
  23. package/dist/templates/rudder/config.yaml +35 -2
  24. package/dist/templates/rudder/index.d.ts +1 -0
  25. package/dist/templates/rudder/index.d.ts.map +1 -1
  26. package/dist/templates/rudder/index.js +2 -0
  27. package/dist/templates/rudder/index.js.map +1 -1
  28. package/dist/templates/rudder/scripts/common/config.py +42 -1
  29. package/dist/templates/rudder/scripts/common/task_context.py +42 -1
  30. package/dist/templates/rudder/scripts/common/task_readiness.py +169 -0
  31. package/dist/templates/rudder/scripts/common/task_store.py +10 -2
  32. package/dist/templates/rudder/scripts/common/types.py +1 -0
  33. package/dist/templates/rudder/scripts/task.py +28 -0
  34. package/dist/templates/rudder/workflow.md +52 -45
  35. package/dist/templates/shared-hooks/inject-subagent-context.py +116 -9
  36. package/dist/templates/shared-hooks/inject-workflow-state.py +33 -1
  37. package/dist/utils/task-json.d.ts +6 -0
  38. package/dist/utils/task-json.d.ts.map +1 -1
  39. package/dist/utils/task-json.js +6 -0
  40. package/dist/utils/task-json.js.map +1 -1
  41. package/package.json +2 -2
@@ -62,6 +62,10 @@ AGENTS_REQUIRE_TASK = (AGENT_IMPLEMENT, AGENT_CHECK)
62
62
  # All supported agents
63
63
  AGENTS_ALL = (AGENT_IMPLEMENT, AGENT_CHECK, AGENT_RESEARCH)
64
64
 
65
+ DEFAULT_MAX_FILE_BYTES = 32768
66
+ DEFAULT_MAX_ARTIFACT_BYTES = 65536
67
+ DEFAULT_MAX_TOTAL_BYTES = 131072
68
+
65
69
 
66
70
  def find_repo_root(start_path: str) -> str | None:
67
71
  """
@@ -136,7 +140,10 @@ def read_file_content(base_path: str, file_path: str) -> str | None:
136
140
  if os.path.exists(full_path) and os.path.isfile(full_path):
137
141
  try:
138
142
  with open(full_path, "r", encoding="utf-8") as f:
139
- return f.read()
143
+ content = f.read()
144
+ # Binary files are not useful prompt context and can explode the
145
+ # payload after replacement decoding.
146
+ return None if "\x00" in content else content
140
147
  except Exception:
141
148
  return None
142
149
  return None
@@ -186,6 +193,71 @@ def read_directory_contents(
186
193
  return results
187
194
 
188
195
 
196
+ def _get_context_limits(repo_root: str) -> dict[str, int]:
197
+ """Read configured limits without making the hook depend on YAML libs."""
198
+ scripts_dir = Path(repo_root) / DIR_WORKFLOW / "scripts"
199
+ if str(scripts_dir) not in sys.path:
200
+ sys.path.insert(0, str(scripts_dir))
201
+ try:
202
+ from common.config import get_context_injection_limits # type: ignore[import-not-found]
203
+
204
+ return get_context_injection_limits(Path(repo_root))
205
+ except Exception:
206
+ return {
207
+ "max_file_bytes": DEFAULT_MAX_FILE_BYTES,
208
+ "max_artifact_bytes": DEFAULT_MAX_ARTIFACT_BYTES,
209
+ "max_total_bytes": DEFAULT_MAX_TOTAL_BYTES,
210
+ }
211
+
212
+
213
+ class _ContextBudget:
214
+ """Track the total UTF-8 bytes emitted into one agent prompt."""
215
+
216
+ def __init__(self, max_total_bytes: int) -> None:
217
+ self.max_total_bytes = max_total_bytes
218
+ self.used = 0
219
+ self.seen: set[str] = set()
220
+
221
+ def add(self, size: int) -> None:
222
+ self.used += size
223
+
224
+ def has_room(self, size: int) -> bool:
225
+ return self.max_total_bytes <= 0 or self.used + size <= self.max_total_bytes
226
+
227
+
228
+ def _truncate_utf8(content: str, max_bytes: int) -> tuple[str, bool]:
229
+ """Truncate text without splitting a UTF-8 sequence."""
230
+ if max_bytes <= 0:
231
+ return content, False
232
+ raw = content.encode("utf-8")
233
+ if len(raw) <= max_bytes:
234
+ return content, False
235
+ return raw[:max_bytes].decode("utf-8", errors="ignore"), True
236
+
237
+
238
+ def _format_context_entry(
239
+ path: str,
240
+ content: str,
241
+ budget: _ContextBudget,
242
+ max_bytes: int,
243
+ ) -> str:
244
+ """Format one entry, degrading to an index line when the budget is full."""
245
+ normalized = str(Path(path).as_posix())
246
+ if normalized in budget.seen:
247
+ return ""
248
+ budget.seen.add(normalized)
249
+ original_size = len(content.encode("utf-8"))
250
+ content, truncated = _truncate_utf8(content, max_bytes)
251
+ if truncated:
252
+ content += f"\n[Rudder: truncated at {max_bytes} bytes; read {path} for full content]"
253
+ block = f"=== {path} ===\n{content}"
254
+ block_size = len(block.encode("utf-8"))
255
+ if not budget.has_room(block_size):
256
+ return f"=== {path} ({original_size} bytes; read on demand) ==="
257
+ budget.add(block_size)
258
+ return block
259
+
260
+
189
261
  def read_jsonl_entries(base_path: str, jsonl_path: str) -> list[tuple[str, str]]:
190
262
  """
191
263
  Read all file/directory contents referenced in jsonl file
@@ -257,7 +329,13 @@ def read_jsonl_entries(base_path: str, jsonl_path: str) -> list[tuple[str, str]]
257
329
 
258
330
 
259
331
 
260
- def get_agent_context(repo_root: str, task_dir: str, agent_type: str) -> str:
332
+ def get_agent_context(
333
+ repo_root: str,
334
+ task_dir: str,
335
+ agent_type: str,
336
+ budget: _ContextBudget,
337
+ max_file_bytes: int,
338
+ ) -> str:
261
339
  """
262
340
  Get context from {agent_type}.jsonl for the specified agent.
263
341
  Only reads implement.jsonl or check.jsonl (the two JSONL files the task system creates).
@@ -266,7 +344,9 @@ def get_agent_context(repo_root: str, task_dir: str, agent_type: str) -> str:
266
344
 
267
345
  agent_jsonl = f"{task_dir}/{agent_type}.jsonl"
268
346
  for file_path, content in read_jsonl_entries(repo_root, agent_jsonl):
269
- context_parts.append(f"=== {file_path} ===\n{content}")
347
+ formatted = _format_context_entry(file_path, content, budget, max_file_bytes)
348
+ if formatted:
349
+ context_parts.append(formatted)
270
350
 
271
351
  return "\n\n".join(context_parts)
272
352
 
@@ -281,23 +361,39 @@ def get_implement_context(repo_root: str, task_dir: str) -> str:
281
361
  3. info.md (technical design)
282
362
  """
283
363
  context_parts = []
364
+ limits = _get_context_limits(repo_root)
365
+ budget = _ContextBudget(limits["max_total_bytes"])
284
366
 
285
367
  # 1. Read implement.jsonl
286
- base_context = get_agent_context(repo_root, task_dir, "implement")
368
+ base_context = get_agent_context(
369
+ repo_root, task_dir, "implement", budget, limits["max_file_bytes"]
370
+ )
287
371
  if base_context:
288
372
  context_parts.append(base_context)
289
373
 
290
374
  # 2. Requirements document
291
375
  prd_content = read_file_content(repo_root, f"{task_dir}/prd.md")
292
376
  if prd_content:
293
- context_parts.append(f"=== {task_dir}/prd.md (Requirements) ===\n{prd_content}")
377
+ formatted = _format_context_entry(
378
+ f"{task_dir}/prd.md (Requirements)",
379
+ prd_content,
380
+ budget,
381
+ limits["max_artifact_bytes"],
382
+ )
383
+ if formatted:
384
+ context_parts.append(formatted)
294
385
 
295
386
  # 3. Technical design
296
387
  info_content = read_file_content(repo_root, f"{task_dir}/info.md")
297
388
  if info_content:
298
- context_parts.append(
299
- f"=== {task_dir}/info.md (Technical Design) ===\n{info_content}"
389
+ formatted = _format_context_entry(
390
+ f"{task_dir}/info.md (Technical Design)",
391
+ info_content,
392
+ budget,
393
+ limits["max_artifact_bytes"],
300
394
  )
395
+ if formatted:
396
+ context_parts.append(formatted)
301
397
 
302
398
  return "\n\n".join(context_parts)
303
399
 
@@ -307,13 +403,24 @@ def get_check_context(repo_root: str, task_dir: str) -> str:
307
403
  Context for Check Agent: check.jsonl + prd.md
308
404
  """
309
405
  context_parts = []
406
+ limits = _get_context_limits(repo_root)
407
+ budget = _ContextBudget(limits["max_total_bytes"])
310
408
 
311
409
  for file_path, content in read_jsonl_entries(repo_root, f"{task_dir}/check.jsonl"):
312
- context_parts.append(f"=== {file_path} ===\n{content}")
410
+ formatted = _format_context_entry(file_path, content, budget, limits["max_file_bytes"])
411
+ if formatted:
412
+ context_parts.append(formatted)
313
413
 
314
414
  prd_content = read_file_content(repo_root, f"{task_dir}/prd.md")
315
415
  if prd_content:
316
- context_parts.append(f"=== {task_dir}/prd.md (Requirements) ===\n{prd_content}")
416
+ formatted = _format_context_entry(
417
+ f"{task_dir}/prd.md (Requirements)",
418
+ prd_content,
419
+ budget,
420
+ limits["max_artifact_bytes"],
421
+ )
422
+ if formatted:
423
+ context_parts.append(formatted)
317
424
 
318
425
  return "\n\n".join(context_parts)
319
426
 
@@ -229,12 +229,41 @@ def _read_rudder_config(root: Path) -> dict:
229
229
  from common.rudder_config import read_rudder_config # type: ignore[import-not-found]
230
230
  except Exception:
231
231
  return {}
232
+
232
233
  try:
233
234
  return read_rudder_config(root)
234
235
  except Exception:
235
236
  return {}
236
237
 
237
238
 
239
+ def _prompt_requests_skip(prompt: object, config: dict) -> bool:
240
+ """Return whether this turn explicitly opts out of Rudder breadcrumbs."""
241
+ if not isinstance(prompt, str):
242
+ return False
243
+ configured = ""
244
+ section = config.get("prompt_injection") if isinstance(config, dict) else None
245
+ if isinstance(section, dict) and isinstance(section.get("skip_keyword"), str):
246
+ configured = section["skip_keyword"].strip()
247
+ keywords = {
248
+ "skip rudder",
249
+ "no task",
250
+ "just do it",
251
+ "don't create a task",
252
+ "do not create a task",
253
+ "跳过 rudder",
254
+ "别走流程",
255
+ "小修一下",
256
+ "直接改",
257
+ "先别建任务",
258
+ }
259
+ if configured:
260
+ keywords.add(configured)
261
+ return any(
262
+ re.search(r"(?<![\w-])" + re.escape(keyword) + r"(?![\w-])", prompt, re.IGNORECASE)
263
+ for keyword in keywords
264
+ )
265
+
266
+
238
267
  def _build_tool_paths_block(root: Path) -> str:
239
268
  """Build <tool-paths> block for per-turn breadcrumb."""
240
269
  try:
@@ -353,9 +382,12 @@ def main() -> int:
353
382
  if root is None:
354
383
  return 0 # not a Rudder project
355
384
 
385
+ config = _read_rudder_config(root)
386
+ if _prompt_requests_skip(data.get("prompt", ""), config):
387
+ return 0
388
+
356
389
  templates = load_breadcrumbs(root)
357
390
  platform = _detect_platform(data)
358
- config = _read_rudder_config(root)
359
391
  task = get_active_task(root, data)
360
392
  if task is None:
361
393
  # No active task — still emit a breadcrumb nudging AI toward
@@ -33,6 +33,12 @@ export interface TaskJson {
33
33
  relatedFiles: string[];
34
34
  notes: string;
35
35
  meta: Record<string, unknown>;
36
+ requirements?: {
37
+ status: string;
38
+ confirmed_by: string | null;
39
+ confirmed_at: string | null;
40
+ prd_hash: string | null;
41
+ };
36
42
  }
37
43
  /**
38
44
  * Produce a fully-populated canonical-shape TaskJson.
@@ -1 +1 @@
1
- {"version":3,"file":"task-json.d.ts","sourceRoot":"","sources":["../../src/utils/task-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,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AE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,YAAY,CAAC,EAAE;QACb,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,SAAS,GAAE,OAAO,CAAC,QAAQ,CAAM,GAAG,QAAQ,CAmCzE"}
@@ -43,6 +43,12 @@ export function emptyTaskJson(overrides = {}) {
43
43
  relatedFiles: [],
44
44
  notes: "",
45
45
  meta: {},
46
+ requirements: {
47
+ status: "pending",
48
+ confirmed_by: null,
49
+ confirmed_at: null,
50
+ prd_hash: null,
51
+ },
46
52
  };
47
53
  return { ...base, ...overrides };
48
54
  }
@@ -1 +1 @@
1
- {"version":3,"file":"task-json.js","sourceRoot":"","sources":["../../src/utils/task-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA6BH;;;;;;;GAOG;AACH,MAAM,UAAU,aA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,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,KAAK;QAChB,WAAW,EAAE,IAAI;QACjB,MAAM,EAAE,IAAI;QACZ,WAAW,EAAE,IAAI;QACjB,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,EAAE;QAChB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,EAAE;QACR,YAAY,EAAE;YACZ,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf;KACF,CAAC;IACF,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,SAAS,EAAE,CAAC;AACnC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mengde1231/rudder",
3
- "version": "0.6.11",
3
+ "version": "0.6.21",
4
4
  "description": "AI capabilities grow like ivy — Rudder provides the structure to guide them along a disciplined path",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "typecheck": "tsc --noEmit",
29
29
  "lint:py": "basedpyright",
30
30
  "lint:all": "pnpm lint && pnpm lint:py",
31
- "prepublishOnly": "pnpm test && pnpm run build && cp ../../README.md ../../LICENSE .",
31
+ "prepublishOnly": "pnpm test && pnpm run build && node -e \"const fs=require('node:fs'); fs.copyFileSync('../../README.md','README.md'); fs.copyFileSync('../../LICENSE','LICENSE')\"",
32
32
  "release": "node scripts/check-manifest-continuity.js && pnpm test && git add -A -- ':!docs-site' && (git diff-index --quiet HEAD || git commit -m 'chore: pre-release updates') && pnpm version --no-git-tag-version patch && V=$(node -p \"require('./package.json').version\") && git add package.json && git commit -m \"$V\" && git tag \"v$V\" && git push origin main --tags",
33
33
  "release:minor": "node scripts/check-manifest-continuity.js && pnpm test && git add -A -- ':!docs-site' && (git diff-index --quiet HEAD || git commit -m 'chore: pre-release updates') && pnpm version --no-git-tag-version minor && V=$(node -p \"require('./package.json').version\") && git add package.json && git commit -m \"$V\" && git tag \"v$V\" && git push origin main --tags",
34
34
  "release:major": "node scripts/check-manifest-continuity.js && pnpm test && git add -A -- ':!docs-site' && (git diff-index --quiet HEAD || git commit -m 'chore: pre-release updates') && pnpm version --no-git-tag-version major && V=$(node -p \"require('./package.json').version\") && git add package.json && git commit -m \"$V\" && git tag \"v$V\" && git push origin main --tags",