@jaggerxtrm/specialists 3.16.0 → 3.17.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.
Files changed (53) hide show
  1. package/README.md +3 -1
  2. package/config/mandatory-rules/research-tool-routing.md +4 -0
  3. package/config/mandatory-rules/test-runner-execution-scope.md +1 -1
  4. package/config/skills/specialists-creator/SKILL.md +28 -1
  5. package/config/skills/using-specialists-auto/SKILL.md +1 -1
  6. package/config/skills/using-specialists-v2/SKILL.md +7 -7
  7. package/config/skills/using-specialists-v3/SKILL.md +223 -147
  8. package/config/specialists/changelog-drafter.specialist.json +4 -2
  9. package/config/specialists/changelog-keeper.specialist.json +4 -2
  10. package/config/specialists/debugger.specialist.json +6 -4
  11. package/config/specialists/executor.specialist.json +7 -5
  12. package/config/specialists/explorer.specialist.json +4 -2
  13. package/config/specialists/memory-processor.specialist.json +4 -2
  14. package/config/specialists/node-coordinator.specialist.json +4 -2
  15. package/config/specialists/obligations-scanner.specialist.json +99 -0
  16. package/config/specialists/overthinker.specialist.json +4 -2
  17. package/config/specialists/planner.specialist.json +4 -2
  18. package/config/specialists/researcher.specialist.json +12 -7
  19. package/config/specialists/reviewer.specialist.json +10 -8
  20. package/config/specialists/seconder.specialist.json +170 -0
  21. package/config/specialists/security-auditor.specialist.json +4 -2
  22. package/config/specialists/service-skills-sync.specialist.json +78 -0
  23. package/config/specialists/specialists-creator.specialist.json +6 -4
  24. package/config/specialists/sync-docs.specialist.json +5 -3
  25. package/config/specialists/test-engineer.specialist.json +134 -0
  26. package/config/specialists/test-runner.specialist.json +8 -6
  27. package/config/specialists/transcriber.specialist.json +59 -0
  28. package/config/specialists/xt-merge.specialist.json +4 -2
  29. package/dist/asset-contract.json +20 -8
  30. package/dist/index.js +1136 -293
  31. package/dist/lib.js +1 -0
  32. package/dist/types/cli/format-helpers.d.ts.map +1 -1
  33. package/dist/types/cli/help.d.ts.map +1 -1
  34. package/dist/types/cli/log.d.ts +2 -0
  35. package/dist/types/cli/log.d.ts.map +1 -0
  36. package/dist/types/cli/result.d.ts.map +1 -1
  37. package/dist/types/cli/resume.d.ts.map +1 -1
  38. package/dist/types/cli/steer.d.ts.map +1 -1
  39. package/dist/types/index.d.ts +1 -1
  40. package/dist/types/specialist/control.d.ts.map +1 -1
  41. package/dist/types/specialist/job-file-output.d.ts +2 -0
  42. package/dist/types/specialist/job-file-output.d.ts.map +1 -1
  43. package/dist/types/specialist/launch.d.ts.map +1 -1
  44. package/dist/types/specialist/runner.d.ts +3 -0
  45. package/dist/types/specialist/runner.d.ts.map +1 -1
  46. package/dist/types/specialist/schema.d.ts +18 -9
  47. package/dist/types/specialist/schema.d.ts.map +1 -1
  48. package/dist/types/specialist/supervisor.d.ts +25 -2
  49. package/dist/types/specialist/supervisor.d.ts.map +1 -1
  50. package/dist/types/specialist/timeline-events.d.ts +20 -1
  51. package/dist/types/specialist/timeline-events.d.ts.map +1 -1
  52. package/package.json +13 -11
  53. package/config/specialists/code-sanity.specialist.json +0 -108
@@ -1,108 +0,0 @@
1
- {
2
- "specialist": {
3
- "metadata": {
4
- "name": "code-sanity",
5
- "version": "1.0.0",
6
- "description": "READ_ONLY smell pass after executor and before reviewer. Checks simplicity, type safety, dead code, async/error handling, maintainability.",
7
- "category": "quality",
8
- "tags": [
9
- "code-quality",
10
- "clean-code",
11
- "type-safety",
12
- "simplicity",
13
- "review",
14
- "read-only"
15
- ],
16
- "updated": "2026-05-04"
17
- },
18
- "execution": {
19
- "mode": "tool",
20
- "model": "openai-codex/gpt-5.4-mini",
21
- "fallback_model": "zai/glm-5-turbo",
22
- "timeout_ms": 0,
23
- "stall_timeout_ms": 120000,
24
- "response_format": "markdown",
25
- "output_type": "review",
26
- "permission_required": "READ_ONLY",
27
- "interactive": true,
28
- "thinking_level": "low",
29
- "max_retries": 0,
30
- "extensions": {
31
- "serena": false
32
- }
33
- },
34
- "mandatory_rules": {
35
- "template_sets": [
36
- "explorer-readonly",
37
- "gitnexus-required",
38
- "code-quality-defaults",
39
- "per-turn-handoff-schema",
40
- "bead-id-verbatim"
41
- ]
42
- },
43
- "permissions": {
44
- "READ_ONLY": {
45
- "denied_natives_when_extension": [
46
- "grep",
47
- "find",
48
- "ls"
49
- ],
50
- "denied_natives_mode": "hard"
51
- }
52
- },
53
- "prompt": {
54
- "system": "You are a READ_ONLY code-sanity specialist. Your job is a cheap, focused implementation-quality smell pass after executor and before final reviewer. You do not decide whether requirements are met; the reviewer owns that merge gate. You do not edit files.\n\n## Scope\n\nInspect an executor job, diff, or explicitly scoped files for implementation sanity only:\n- unnecessary complexity\n- over-abstraction or premature generalization\n- type unsafety (`any`, unsafe casts, non-null assertions, untyped boundaries, ignored unknowns)\n- brittle async/error handling\n- duplicated logic that should be trivially consolidated\n- dead code, unreachable branches, unused exports introduced by the change\n- unclear names or control flow that make the implementation harder than necessary\n- violations of the clean-code guidance that are concrete enough to fix\n\n## Non-goals\n\nDo not validate product requirements, release readiness, security posture, broad architecture, or test coverage. Do not request preference-only rewrites. Do not broaden into a full code review. Do not run broad test suites.\n\n## Tooling approach\n\nUse GitNexus and Serena for precise inspection when available. Prefer symbol/diff-aware navigation over raw file reading. If inspecting changed symbols, use impact/context evidence when useful, but keep the pass bounded. Stop after at most 8 tool calls unless the prompt explicitly asks for deeper analysis.\n\n## Output discipline\n\nDefault to OK when the implementation is simple enough. If findings exist, return at most 5. Each finding must be concrete, actionable, and suitable to paste into `specialists resume <executor-job>`. Cite file/symbol/line evidence where possible. Avoid taste-only comments.\n\n## Required output format\n\n## Code Sanity Verdict\n- Verdict: OK | FINDINGS | BLOCKED\n- Scope reviewed:\n- Confidence: high | medium | low\n\n## Findings\nAt most 5. For each:\n- Location:\n- Issue:\n- Why it matters:\n- Suggested executor instruction:\n\n## Non-findings\nBriefly note any tempting but intentionally ignored concerns because they belong to reviewer/test-runner/security-auditor.\n\n## Handoff\nOne short paragraph for the orchestrator: proceed to reviewer, resume executor with findings, or rerun with clearer scope.\n\n## Machine-readable block\nReturn exactly one JSON object in a single fenced ```json block matching the output_schema.\n\nAfter delivering the report, enter waiting state for follow-up or re-check.",
55
- "task_template": "Run a code-sanity pass for the following implementation context:\n\n$prompt\n\nWorking directory: $cwd\n\nIf an executor job id is provided, inspect that job's output/diff if available. If only files are provided, inspect only those files. Stay READ_ONLY and return the required bounded report.",
56
- "output_schema": {
57
- "type": "object",
58
- "properties": {
59
- "verdict": {
60
- "enum": [
61
- "OK",
62
- "FINDINGS",
63
- "BLOCKED"
64
- ]
65
- },
66
- "findings_count": {
67
- "type": "number"
68
- },
69
- "locations": {
70
- "type": "array",
71
- "items": {
72
- "type": "string"
73
- }
74
- },
75
- "executor_instructions": {
76
- "type": "array",
77
- "items": {
78
- "type": "string"
79
- }
80
- },
81
- "handoff": {
82
- "type": "string"
83
- }
84
- }
85
- }
86
- },
87
- "skills": {
88
- "paths": [],
89
- "scripts": []
90
- },
91
- "validation": {
92
- "files_to_watch": [
93
- "src/specialist/schema.ts",
94
- "src/specialist/runner.ts",
95
- ".xtrm/skills/active/clean-code/SKILL.md",
96
- ".xtrm/skills/active/gitnexus-impact-analysis/SKILL.md"
97
- ],
98
- "stale_threshold_days": 30
99
- },
100
- "capabilities": {
101
- "required_tools": [],
102
- "external_commands": []
103
- },
104
- "stall_detection": {},
105
- "beads_integration": "auto",
106
- "beads_write_notes": true
107
- }
108
- }