self-evolve-framework 1.1.0 → 1.1.1

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 (121) hide show
  1. package/package.json +1 -1
  2. package/template/rules/CodeGraph.mdc +0 -23
  3. package/template/rules/Svelte_5.mdc +0 -167
  4. package/template/rules/Svelte_Flow.mdc +0 -176
  5. package/template/rules/Tailwind_CSS_v4.mdc +0 -187
  6. package/template/rules/Tauri.mdc +0 -145
  7. package/template/rules/app-error-pattern.mdc +0 -65
  8. package/template/rules/invoke-safe-pattern.mdc +0 -53
  9. package/template/rules/js.mdc +0 -10
  10. package/template/rules/powershell.mdc +0 -9
  11. package/template/rules//346/227/245/345/277/227.mdc +0 -15
  12. package/template/rules//350/257/267/346/261/202.mdc +0 -49
  13. package/template/skills/caveman/SKILL.md +0 -49
  14. package/template/skills/check/SKILL.md +0 -393
  15. package/template/skills/check/agents/reviewer-architecture.md +0 -39
  16. package/template/skills/check/agents/reviewer-security.md +0 -39
  17. package/template/skills/check/references/persona-catalog.md +0 -56
  18. package/template/skills/check/references/project-context.md +0 -120
  19. package/template/skills/check/references/public-reply.md +0 -14
  20. package/template/skills/check/scripts/audit_signals.py +0 -666
  21. package/template/skills/check/scripts/run-tests.sh +0 -19
  22. package/template/skills/design/SKILL.md +0 -173
  23. package/template/skills/design/references/design-aesthetic-quality.md +0 -67
  24. package/template/skills/design/references/design-data-viz.md +0 -34
  25. package/template/skills/design/references/design-reference.md +0 -295
  26. package/template/skills/design/references/design-tokens.md +0 -45
  27. package/template/skills/design/references/design-traps.md +0 -43
  28. package/template/skills/design-an-interface/SKILL.md +0 -94
  29. package/template/skills/diagnose/SKILL.md +0 -117
  30. package/template/skills/diagnose/scripts/hitl-loop.template.sh +0 -41
  31. package/template/skills/edit-article/SKILL.md +0 -14
  32. package/template/skills/git-guardrails-claude-code/SKILL.md +0 -95
  33. package/template/skills/git-guardrails-claude-code/scripts/block-dangerous-git.sh +0 -25
  34. package/template/skills/grill-me/SKILL.md +0 -10
  35. package/template/skills/grill-with-docs/ADR-FORMAT.md +0 -47
  36. package/template/skills/grill-with-docs/CONTEXT-FORMAT.md +0 -60
  37. package/template/skills/grill-with-docs/SKILL.md +0 -88
  38. package/template/skills/handoff/SKILL.md +0 -15
  39. package/template/skills/health/SKILL.md +0 -260
  40. package/template/skills/health/agents/inspector-context.md +0 -119
  41. package/template/skills/health/agents/inspector-control.md +0 -84
  42. package/template/skills/health/agents/inspector-maintainability.md +0 -55
  43. package/template/skills/health/scripts/check-agent-context.sh +0 -5
  44. package/template/skills/health/scripts/check-doc-refs.sh +0 -8
  45. package/template/skills/health/scripts/check-maintainability.sh +0 -8
  46. package/template/skills/health/scripts/check-verifier-output.sh +0 -5
  47. package/template/skills/health/scripts/check_agent_context.py +0 -444
  48. package/template/skills/health/scripts/check_doc_refs.py +0 -110
  49. package/template/skills/health/scripts/check_maintainability.py +0 -635
  50. package/template/skills/health/scripts/check_verifier_output.py +0 -116
  51. package/template/skills/health/scripts/collect-data.sh +0 -751
  52. package/template/skills/hunt/SKILL.md +0 -232
  53. package/template/skills/hunt/references/failure-patterns.md +0 -138
  54. package/template/skills/hunt/references/ime-unicode.md +0 -58
  55. package/template/skills/hunt/references/logging-techniques.md +0 -72
  56. package/template/skills/hunt/references/rendering-debug.md +0 -34
  57. package/template/skills/improve-codebase-architecture/DEEPENING.md +0 -37
  58. package/template/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
  59. package/template/skills/improve-codebase-architecture/INTERFACE-DESIGN.md +0 -44
  60. package/template/skills/improve-codebase-architecture/LANGUAGE.md +0 -53
  61. package/template/skills/improve-codebase-architecture/SKILL.md +0 -81
  62. package/template/skills/learn/SKILL.md +0 -140
  63. package/template/skills/migrate-to-shoehorn/SKILL.md +0 -118
  64. package/template/skills/obsidian-vault/SKILL.md +0 -59
  65. package/template/skills/prototype/LOGIC.md +0 -79
  66. package/template/skills/prototype/SKILL.md +0 -30
  67. package/template/skills/prototype/UI.md +0 -112
  68. package/template/skills/qa/SKILL.md +0 -130
  69. package/template/skills/read/SKILL.md +0 -141
  70. package/template/skills/read/references/read-methods.md +0 -129
  71. package/template/skills/read/scripts/fetch.sh +0 -106
  72. package/template/skills/read/scripts/fetch_feishu.py +0 -251
  73. package/template/skills/read/scripts/fetch_local.py +0 -218
  74. package/template/skills/read/scripts/fetch_weixin.py +0 -107
  75. package/template/skills/request-refactor-plan/SKILL.md +0 -68
  76. package/template/skills/review/SKILL.md +0 -78
  77. package/template/skills/rust-auto-fix/SKILL.md +0 -94
  78. package/template/skills/scaffold-exercises/SKILL.md +0 -106
  79. package/template/skills/sdd-dev/SKILL.md +0 -114
  80. package/template/skills/setup-matt-pocock-skills/SKILL.md +0 -121
  81. package/template/skills/setup-matt-pocock-skills/domain.md +0 -51
  82. package/template/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -22
  83. package/template/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -23
  84. package/template/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -19
  85. package/template/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
  86. package/template/skills/setup-pre-commit/SKILL.md +0 -91
  87. package/template/skills/svelte-warnings-fix/SKILL.md +0 -94
  88. package/template/skills/tauri-nsis-installer-icon/SKILL.md +0 -92
  89. package/template/skills/tauri-nsis-installer-icon/references/tauri-nsis-schema.md +0 -71
  90. package/template/skills/tb/SKILL.md +0 -62
  91. package/template/skills/tdd/SKILL.md +0 -109
  92. package/template/skills/tdd/deep-modules.md +0 -33
  93. package/template/skills/tdd/interface-design.md +0 -31
  94. package/template/skills/tdd/mocking.md +0 -59
  95. package/template/skills/tdd/refactoring.md +0 -10
  96. package/template/skills/tdd/tests.md +0 -61
  97. package/template/skills/teach/GLOSSARY-FORMAT.md +0 -35
  98. package/template/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  99. package/template/skills/teach/MISSION-FORMAT.md +0 -31
  100. package/template/skills/teach/RESOURCES-FORMAT.md +0 -32
  101. package/template/skills/teach/SKILL.md +0 -91
  102. package/template/skills/think/SKILL.md +0 -184
  103. package/template/skills/to-issues/SKILL.md +0 -83
  104. package/template/skills/to-prd/SKILL.md +0 -74
  105. package/template/skills/triage/AGENT-BRIEF.md +0 -168
  106. package/template/skills/triage/OUT-OF-SCOPE.md +0 -101
  107. package/template/skills/triage/SKILL.md +0 -103
  108. package/template/skills/ubiquitous-language/SKILL.md +0 -93
  109. package/template/skills/ver/SKILL.md +0 -62
  110. package/template/skills/write/SKILL.md +0 -209
  111. package/template/skills/write/references/write-en.md +0 -199
  112. package/template/skills/write/references/write-product-localization.md +0 -43
  113. package/template/skills/write/references/write-zh-bilingual.md +0 -59
  114. package/template/skills/write/references/write-zh-prose.md +0 -50
  115. package/template/skills/write/references/write-zh-release-notes.md +0 -40
  116. package/template/skills/write/references/write-zh.md +0 -721
  117. package/template/skills/write-a-skill/SKILL.md +0 -117
  118. package/template/skills/writing-beats/SKILL.md +0 -52
  119. package/template/skills/writing-fragments/SKILL.md +0 -75
  120. package/template/skills/writing-shape/SKILL.md +0 -64
  121. package/template/skills/zoom-out/SKILL.md +0 -7
@@ -1,116 +0,0 @@
1
- #!/usr/bin/env python3
2
- """Scan a verifier log for stale external paths and suggest cache-clean commands.
3
-
4
- Detects /tmp/ and /private/tmp/ file references that no longer exist; these are
5
- the signature of stale worktrees pointed at by a verifier (golangci-lint cache,
6
- go build cache, npm cache, etc.).
7
-
8
- Run as: python3 check_verifier_output.py ROOT LOG_FILE
9
- """
10
-
11
- from __future__ import annotations
12
-
13
- import argparse
14
- import re
15
- import sys
16
- from pathlib import Path
17
-
18
-
19
- TOKEN_RE = re.compile(
20
- r"(?P<path>(?:/|\.\./)(?:[^\s:'\"(),]+/)*[^\s:'\"(),]+\.[A-Za-z0-9_+-]+)"
21
- )
22
- TMP_RE = re.compile(r"(^|/)(private/)?tmp/")
23
-
24
-
25
- def main() -> int:
26
- parser = argparse.ArgumentParser(description=__doc__)
27
- parser.add_argument("root", help="Repo root")
28
- parser.add_argument("log_file", help="Verifier log to scan")
29
- args = parser.parse_args()
30
-
31
- root = Path(args.root).resolve()
32
- log_file = Path(args.log_file).resolve()
33
- if not root.is_dir():
34
- print(f"Repo root not found: {root}", file=sys.stderr)
35
- return 2
36
- if not log_file.is_file():
37
- print(f"Log file not found: {log_file}", file=sys.stderr)
38
- return 2
39
-
40
- text = log_file.read_text(encoding="utf-8", errors="replace")
41
-
42
- def normalize(token: str) -> Path:
43
- if token.startswith("/"):
44
- return Path(token)
45
- return (root / token).resolve()
46
-
47
- paths: list[Path] = []
48
- for match in TOKEN_RE.finditer(text):
49
- token = match.group("path").rstrip(".")
50
- if "/.git/" in token:
51
- continue
52
- path = normalize(token)
53
- if TMP_RE.search(path.as_posix()):
54
- paths.append(path)
55
-
56
- unique_paths = []
57
- seen = set()
58
- for path in paths:
59
- value = path.as_posix()
60
- if value in seen:
61
- continue
62
- seen.add(value)
63
- unique_paths.append(path)
64
-
65
- stale_paths = [path for path in unique_paths if not path.exists()]
66
- existing_paths = [path for path in unique_paths if path.exists()]
67
- lower = text.lower()
68
-
69
- actions: list[str] = []
70
- if stale_paths:
71
- if "golangci-lint" in lower or "errcheck" in lower:
72
- actions.append("golangci-lint cache clean")
73
- if re.search(r"\bgo (test|vet|build)\b", lower) or "go-build" in lower:
74
- actions.append("go clean -cache -testcache")
75
- if "npm" in lower or "node_modules" in lower:
76
- actions.append("npm cache verify")
77
- if not actions:
78
- actions.append("rerun the verifier after removing stale temporary worktrees")
79
-
80
- status = "WARN" if stale_paths else "PASS"
81
-
82
- print("=== VERIFIER OUTPUT SURFACE ===")
83
- print(f"verifier_output_status: {status}")
84
- print(f"log_file: {log_file}")
85
- print("stale_paths:")
86
- if stale_paths:
87
- for path in stale_paths[:20]:
88
- print(f" {path}")
89
- if len(stale_paths) > 20:
90
- print(f" ... {len(stale_paths) - 20} more")
91
- else:
92
- print(" (none)")
93
- print("existing_tmp_paths:")
94
- if existing_paths:
95
- for path in existing_paths[:10]:
96
- print(f" {path}")
97
- if len(existing_paths) > 10:
98
- print(f" ... {len(existing_paths) - 10} more")
99
- else:
100
- print(" (none)")
101
- print("recommended_actions:")
102
- if actions:
103
- for action in dict.fromkeys(actions):
104
- print(f" {action}")
105
- else:
106
- print(" (none)")
107
- print("verifier_findings:")
108
- if stale_paths:
109
- print(" stale external verifier paths detected")
110
- else:
111
- print(" (none)")
112
- return 0
113
-
114
-
115
- if __name__ == "__main__":
116
- sys.exit(main())