@nockdev/awf 6.2.3 → 6.2.5

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 (284) hide show
  1. package/.agent/config.yaml +5 -5
  2. package/.agent/core/AGENT_BEHAVIOR.md +1 -1
  3. package/.agent/core/AUDIT_POLICY.md +1 -1
  4. package/.agent/core/CACHE.md +1 -1
  5. package/.agent/core/COMMANDS.md +27 -27
  6. package/.agent/core/DATA_SAFETY.md +1 -1
  7. package/.agent/core/MEMORY_PATHS.yaml +2 -2
  8. package/.agent/core/PERMISSIONS.md +1 -1
  9. package/.agent/core/README.md +1 -1
  10. package/.agent/core/VERSION.yaml +5 -5
  11. package/.agent/core/archive/ACTIVE_MEMORY.yaml +2 -2
  12. package/.agent/core/archive/CHECKPOINT.yaml +2 -2
  13. package/.agent/core/archive/CLEANUP_ENGINE.yaml +2 -2
  14. package/.agent/core/archive/CONTEXT_INJECTOR.yaml +2 -2
  15. package/.agent/core/archive/CONTEXT_LOADER.yaml +1 -1
  16. package/.agent/core/archive/CONTEXT_OPTIMIZATION.yaml +1 -1
  17. package/.agent/core/archive/CONTEXT_PRIORITY.yaml +2 -2
  18. package/.agent/core/archive/FLOW_ENGINE.yaml +1 -1
  19. package/.agent/core/archive/GRAPH_MEMORY.yaml +1 -1
  20. package/.agent/core/archive/HYBRID_ROUTER.yaml +1 -1
  21. package/.agent/core/archive/INTENT_DETECTION.yaml +1 -1
  22. package/.agent/core/archive/MEMORY_CONSOLIDATION.yaml +3 -3
  23. package/.agent/core/archive/MEMORY_ENGINE.yaml +2 -2
  24. package/.agent/core/archive/MEMORY_UTILS.yaml +1 -1
  25. package/.agent/core/archive/REFLECTION_ENGINE.yaml +1 -1
  26. package/.agent/core/archive/ROUTER.yaml +4 -4
  27. package/.agent/core/archive/SCORING_FORMULA.yaml +2 -2
  28. package/.agent/core/archive/SEMANTIC_ENGINE.yaml +1 -1
  29. package/.agent/core/archive/SKILLS_FLOW.yaml +1 -1
  30. package/.agent/core/archive/STATE_MACHINE.yaml +1 -1
  31. package/.agent/core/archive/SUMMARIZATION_ENGINE.yaml +2 -2
  32. package/.agent/core/archive/TOKEN_BUDGETS.yaml +2 -2
  33. package/.agent/core/archive/TOKEN_LOADING.yaml +2 -2
  34. package/.agent/core/archive/TOKEN_SUMMARY.yaml +2 -2
  35. package/.agent/core/reference/CODING_STYLES.yaml +1 -1
  36. package/.agent/core/reference/LIBRARY_REGISTRY.yaml +1 -1
  37. package/.agent/core/reference/MCP_TOOLS.yaml +2 -2
  38. package/.agent/core/reference/PATTERNS.yaml +1 -1
  39. package/.agent/core/reference/SKILL_SCHEMA.yaml +1 -1
  40. package/.agent/i18n/en.yaml +6 -6
  41. package/.agent/i18n/vi.yaml +60 -6
  42. package/.agent/ide/README.md +1 -1
  43. package/.agent/ide/amazonq.json +1 -1
  44. package/.agent/ide/amp.json +1 -1
  45. package/.agent/ide/antigravity.json +1 -1
  46. package/.agent/ide/augment.json +1 -1
  47. package/.agent/ide/claude.json +1 -1
  48. package/.agent/ide/cline.json +1 -1
  49. package/.agent/ide/cody.json +1 -1
  50. package/.agent/ide/continue.json +1 -1
  51. package/.agent/ide/cursor.json +1 -1
  52. package/.agent/ide/gemini.json +1 -1
  53. package/.agent/ide/jetbrains.json +1 -1
  54. package/.agent/ide/kiro.json +1 -1
  55. package/.agent/ide/opencode.json +1 -1
  56. package/.agent/ide/roo.json +1 -1
  57. package/.agent/ide/tabnine.json +1 -1
  58. package/.agent/ide/trae.json +1 -1
  59. package/.agent/ide/vscode.json +1 -1
  60. package/.agent/ide/windsurf.json +2 -3
  61. package/.agent/ide/zed.json +1 -1
  62. package/.agent/manifest.yaml +15 -15
  63. package/.agent/personas/README.md +1 -1
  64. package/.agent/personas/architect.md +4 -1
  65. package/.agent/personas/auditor.md +5 -1
  66. package/.agent/personas/debugger.md +4 -1
  67. package/.agent/personas/developer.md +4 -1
  68. package/.agent/personas/devops.md +4 -1
  69. package/.agent/personas/documenter.md +4 -1
  70. package/.agent/personas/orchestrator.md +4 -1
  71. package/.agent/personas/persona.schema.yaml +1 -1
  72. package/.agent/personas/planner.md +4 -1
  73. package/.agent/personas/researcher.md +4 -1
  74. package/.agent/personas/security.md +3 -1
  75. package/.agent/personas/tester.md +3 -1
  76. package/.agent/rules/README.md +1 -1
  77. package/.agent/rules/SACRED_RULES.xml +19 -5
  78. package/.agent/rules/archive/constitutional/tier-0-core.yaml +5 -5
  79. package/.agent/rules/archive/constitutional/tier-1-safety.yaml +5 -5
  80. package/.agent/rules/archive/constitutional/tier-2-execution.yaml +6 -6
  81. package/.agent/rules/archive/context-management.yaml +1 -1
  82. package/.agent/rules/archive/duplication-prevention.md +1 -1
  83. package/.agent/rules/archive/evidence.yaml +1 -1
  84. package/.agent/rules/archive/project-detection.md +1 -1
  85. package/.agent/rules/archive/reflection.yaml +1 -1
  86. package/.agent/rules/archive/versioning.yaml +5 -5
  87. package/.agent/rules/data/build-systems.yaml +2 -2
  88. package/.agent/rules/modules/agent-delegation.yaml +13 -2
  89. package/.agent/rules/modules/edit-verification.yaml +4 -1
  90. package/.agent/rules/modules/git-workflow.yaml +6 -1
  91. package/.agent/rules/modules/language.yaml +1 -1
  92. package/.agent/rules/modules/online-research.yaml +1 -1
  93. package/.agent/rules/modules/performance-optimization.yaml +10 -2
  94. package/.agent/rules/modules/quality.yaml +1 -1
  95. package/.agent/rules/modules/stop-conditions.yaml +1 -1
  96. package/.agent/rules/modules/terminal-safety.yaml +1 -1
  97. package/.agent/rules/modules/yagni.yaml +1 -1
  98. package/.agent/rules/validation-framework.md +1 -1
  99. package/.agent/skills/README.md +1 -1
  100. package/.agent/skills/_categories.yaml +2 -2
  101. package/.agent/skills/_router.yaml +12 -0
  102. package/.agent/skills/core/api-design/META.yaml +1 -1
  103. package/.agent/skills/core/authentication/META.yaml +1 -1
  104. package/.agent/skills/core/error-handling/META.yaml +1 -1
  105. package/.agent/skills/core/logging/META.yaml +1 -1
  106. package/.agent/skills/core/observability/META.yaml +1 -1
  107. package/.agent/skills/core/security/META.yaml +1 -1
  108. package/.agent/skills/core/security/SKILL.md +1 -1
  109. package/.agent/skills/cross-cutting/accessibility/META.yaml +1 -1
  110. package/.agent/skills/cross-cutting/audit-pro/META.yaml +1 -1
  111. package/.agent/skills/cross-cutting/bun/META.yaml +1 -1
  112. package/.agent/skills/cross-cutting/bun/SKILL.md +1 -1
  113. package/.agent/skills/cross-cutting/coding-rules/META.yaml +1 -1
  114. package/.agent/skills/cross-cutting/database/META.yaml +1 -1
  115. package/.agent/skills/cross-cutting/database/SKILL.md +1 -1
  116. package/.agent/skills/cross-cutting/deno/META.yaml +1 -1
  117. package/.agent/skills/cross-cutting/deno/SKILL.md +1 -1
  118. package/.agent/skills/cross-cutting/domyh-design/META.yaml +1 -1
  119. package/.agent/skills/cross-cutting/domyh-design/data/desktop-colors.yaml +1 -1
  120. package/.agent/skills/cross-cutting/seo/META.yaml +1 -1
  121. package/.agent/skills/cross-cutting/sql/META.yaml +1 -1
  122. package/.agent/skills/cross-cutting/sql/SKILL.md +1 -1
  123. package/.agent/skills/cross-cutting/tailwind/META.yaml +1 -1
  124. package/.agent/skills/cross-cutting/tailwind/SKILL.md +1 -1
  125. package/.agent/skills/cross-cutting/tdd-workflow/META.yaml +1 -1
  126. package/.agent/skills/cross-cutting/testing/META.yaml +4 -3
  127. package/.agent/skills/cross-cutting/testing/SKILL.md +1 -1
  128. package/.agent/skills/cross-cutting/testing/data/frameworks.yaml +1 -1
  129. package/.agent/skills/cross-cutting/web-perf/META.yaml +1 -1
  130. package/.agent/skills/cross-cutting/web-perf/SKILL.md +1 -1
  131. package/.agent/skills/devops/aws/META.yaml +1 -1
  132. package/.agent/skills/devops/ci-cd/META.yaml +1 -1
  133. package/.agent/skills/devops/docker/META.yaml +1 -1
  134. package/.agent/skills/devops/kubernetes/META.yaml +1 -1
  135. package/.agent/skills/frameworks/angular/META.yaml +1 -1
  136. package/.agent/skills/frameworks/angular/SKILL.md +1 -1
  137. package/.agent/skills/frameworks/flutter/META.yaml +1 -1
  138. package/.agent/skills/frameworks/flutter/SKILL.md +1 -1
  139. package/.agent/skills/frameworks/nextjs/META.yaml +1 -1
  140. package/.agent/skills/frameworks/nextjs/SKILL.md +1 -1
  141. package/.agent/skills/frameworks/nuxt/META.yaml +1 -1
  142. package/.agent/skills/frameworks/nuxt/SKILL.md +1 -1
  143. package/.agent/skills/frameworks/react/META.yaml +1 -1
  144. package/.agent/skills/frameworks/react/SKILL.md +1 -1
  145. package/.agent/skills/frameworks/react-native/META.yaml +1 -1
  146. package/.agent/skills/frameworks/react-native/SKILL.md +1 -1
  147. package/.agent/skills/frameworks/svelte/META.yaml +1 -1
  148. package/.agent/skills/frameworks/svelte/SKILL.md +1 -1
  149. package/.agent/skills/frameworks/vue/META.yaml +1 -1
  150. package/.agent/skills/frameworks/vue/SKILL.md +1 -1
  151. package/.agent/skills/index.json +438 -100
  152. package/.agent/skills/languages/asm/META.yaml +1 -1
  153. package/.agent/skills/languages/asm/SKILL.md +1 -1
  154. package/.agent/skills/languages/c/META.yaml +1 -1
  155. package/.agent/skills/languages/c/SKILL.md +1 -1
  156. package/.agent/skills/languages/clojure/META.yaml +1 -1
  157. package/.agent/skills/languages/clojure/SKILL.md +1 -1
  158. package/.agent/skills/languages/cpp/META.yaml +1 -1
  159. package/.agent/skills/languages/cpp/SKILL.md +1 -1
  160. package/.agent/skills/languages/crystal/META.yaml +1 -1
  161. package/.agent/skills/languages/crystal/SKILL.md +1 -1
  162. package/.agent/skills/languages/csharp/META.yaml +1 -1
  163. package/.agent/skills/languages/csharp/SKILL.md +1 -1
  164. package/.agent/skills/languages/elixir/META.yaml +1 -1
  165. package/.agent/skills/languages/elixir/SKILL.md +1 -1
  166. package/.agent/skills/languages/fsharp/META.yaml +1 -1
  167. package/.agent/skills/languages/fsharp/SKILL.md +1 -1
  168. package/.agent/skills/languages/go/META.yaml +1 -1
  169. package/.agent/skills/languages/go/SKILL.md +1 -1
  170. package/.agent/skills/languages/haskell/META.yaml +1 -1
  171. package/.agent/skills/languages/haskell/SKILL.md +1 -1
  172. package/.agent/skills/languages/java/META.yaml +1 -1
  173. package/.agent/skills/languages/java/SKILL.md +1 -1
  174. package/.agent/skills/languages/javascript/META.yaml +1 -1
  175. package/.agent/skills/languages/javascript/SKILL.md +1 -1
  176. package/.agent/skills/languages/julia/META.yaml +1 -1
  177. package/.agent/skills/languages/julia/SKILL.md +1 -1
  178. package/.agent/skills/languages/kotlin/META.yaml +1 -1
  179. package/.agent/skills/languages/kotlin/SKILL.md +1 -1
  180. package/.agent/skills/languages/lua/META.yaml +1 -1
  181. package/.agent/skills/languages/lua/SKILL.md +3 -3
  182. package/.agent/skills/languages/nim/META.yaml +1 -1
  183. package/.agent/skills/languages/nim/SKILL.md +1 -1
  184. package/.agent/skills/languages/ocaml/META.yaml +1 -1
  185. package/.agent/skills/languages/ocaml/SKILL.md +1 -1
  186. package/.agent/skills/languages/perl/META.yaml +1 -1
  187. package/.agent/skills/languages/perl/SKILL.md +1 -1
  188. package/.agent/skills/languages/php/META.yaml +1 -1
  189. package/.agent/skills/languages/php/SKILL.md +1 -1
  190. package/.agent/skills/languages/python/META.yaml +1 -1
  191. package/.agent/skills/languages/python/SKILL.md +1 -1
  192. package/.agent/skills/languages/r/META.yaml +1 -1
  193. package/.agent/skills/languages/r/SKILL.md +1 -1
  194. package/.agent/skills/languages/ruby/META.yaml +1 -1
  195. package/.agent/skills/languages/ruby/SKILL.md +1 -1
  196. package/.agent/skills/languages/rust/META.yaml +1 -1
  197. package/.agent/skills/languages/rust/SKILL.md +1 -1
  198. package/.agent/skills/languages/scala/META.yaml +1 -1
  199. package/.agent/skills/languages/scala/SKILL.md +1 -1
  200. package/.agent/skills/languages/solidity/META.yaml +1 -1
  201. package/.agent/skills/languages/solidity/SKILL.md +1 -1
  202. package/.agent/skills/languages/swift/META.yaml +1 -1
  203. package/.agent/skills/languages/swift/SKILL.md +1 -1
  204. package/.agent/skills/languages/typescript/META.yaml +1 -1
  205. package/.agent/skills/languages/typescript/SKILL.md +1 -1
  206. package/.agent/skills/languages/zig/META.yaml +1 -1
  207. package/.agent/skills/languages/zig/SKILL.md +1 -1
  208. package/.agent/templates/README.md +2 -2
  209. package/.agent/templates/debug-report.md +1 -1
  210. package/.agent/templates/deploy-plan.md +1 -1
  211. package/.agent/templates/doc-template.md +1 -1
  212. package/.agent/templates/index.yaml +1 -1
  213. package/.agent/templates/migrate-plan.md +1 -1
  214. package/.agent/templates/phase-template.md +1 -1
  215. package/.agent/templates/tasks/audit.yaml +1 -1
  216. package/.agent/templates/tasks/bug_fix.yaml +1 -1
  217. package/.agent/templates/tasks/code_implementation.yaml +1 -1
  218. package/.agent/templates/tasks/refactor.yaml +1 -1
  219. package/.agent/templates/test-report.md +1 -1
  220. package/.agent/workflows/ap.md +4 -4
  221. package/.agent/workflows/code.md +2 -2
  222. package/.agent/workflows/debug.md +1 -1
  223. package/.agent/workflows/deploy.md +1 -0
  224. package/.agent/workflows/doc.md +1 -0
  225. package/.agent/workflows/e2e.md +6 -5
  226. package/.agent/workflows/env.md +1 -0
  227. package/.agent/workflows/fix.md +1 -1
  228. package/.agent/workflows/monitor.md +2 -1
  229. package/.agent/workflows/onboard.md +1 -1
  230. package/.agent/workflows/perf.md +2 -1
  231. package/.agent/workflows/plan.md +3 -3
  232. package/.agent/workflows/prompt.md +1 -1
  233. package/.agent/workflows/recap.md +2 -2
  234. package/.agent/workflows/refactor.md +1 -1
  235. package/.agent/workflows/scaffold.md +1 -1
  236. package/.agent/workflows/tdd.md +6 -5
  237. package/.agent/workflows/verify.md +5 -4
  238. package/README.md +59 -15
  239. package/configs/aider/root.CONVENTIONS.md +1 -1
  240. package/configs/amazonq/root.amazonq.md +1 -1
  241. package/configs/amp/root.AGENTS.md +1 -1
  242. package/configs/antigravity/root.GEMINI.md +1 -1
  243. package/configs/augment/root.guidelines.md +1 -1
  244. package/configs/claude/root.CLAUDE.md +1 -1
  245. package/configs/cline/root.clinerules.md +1 -1
  246. package/configs/codex/root.AGENTS.md +1 -1
  247. package/configs/continue/root.continue.md +1 -1
  248. package/configs/copilot/root.copilot-instructions.md +1 -1
  249. package/configs/gemini/root.GEMINI.md +1 -1
  250. package/configs/jetbrains/root.guidelines.md +1 -1
  251. package/configs/roo/root.roorules.md +1 -1
  252. package/configs/tabnine/root.guidelines.md +1 -1
  253. package/configs/vscode/root.copilot-instructions.md +1 -1
  254. package/dist/constants/ide-install-specs.js +1 -1
  255. package/dist/constants.d.ts +1 -1
  256. package/dist/constants.js +1 -1
  257. package/package.json +1 -1
  258. package/.agent/memory/active_memories.json +0 -35
  259. package/.agent/memory/archive/.gitkeep +0 -0
  260. package/.agent/memory/audit_summary.json +0 -58
  261. package/.agent/memory/cleanup_log.json +0 -34
  262. package/.agent/memory/consolidated.md +0 -75
  263. package/.agent/memory/core_memory/persona.json +0 -30
  264. package/.agent/memory/core_memory/project.json +0 -25
  265. package/.agent/memory/core_memory/rules.json +0 -29
  266. package/.agent/memory/core_memory/user.json +0 -24
  267. package/.agent/memory/decisions.md +0 -40
  268. package/.agent/memory/graph/knowledge_graph.json +0 -12
  269. package/.agent/memory/insights.md +0 -52
  270. package/.agent/memory/metrics.json +0 -48
  271. package/.agent/memory/patterns/errors.json +0 -11
  272. package/.agent/memory/patterns/successes.json +0 -10
  273. package/.agent/memory/session.md +0 -64
  274. package/.agent/memory/session_rules.json +0 -19
  275. package/.agent/memory/state.json +0 -81
  276. package/.agent/memory/vectors/README.md +0 -129
  277. package/.agent/private/README.md +0 -74
  278. package/.agent/private/_index.yaml +0 -23
  279. package/.agent/private/_template/META.yaml +0 -38
  280. package/.agent/private/_template/SKILL.md +0 -43
  281. package/.agent/private/_template/data/.gitkeep +0 -0
  282. package/.agent/private/autodomyh-api/META.yaml +0 -48
  283. package/.agent/private/autodomyh-api/SKILL.md +0 -141
  284. package/.agent/private/autodomyh-api/data/conventions.yaml +0 -107
@@ -1,34 +0,0 @@
1
- {
2
- "version": "1.1.0",
3
- "created_at": null,
4
- "last_cleanup": null,
5
-
6
- "triggers": {
7
- "_ref": "rules/context-management.md",
8
- "warning": 15000,
9
- "high": 20000,
10
- "critical": 25000,
11
- "emergency": 28000
12
- },
13
-
14
- "actions": {
15
- "warning": "summarize_session",
16
- "high": "archive_old_decisions",
17
- "critical": "compress_metrics",
18
- "emergency": "truncate_history"
19
- },
20
-
21
- "history": [],
22
-
23
- "stats": {
24
- "total_cleanups": 0,
25
- "tokens_saved_total": 0,
26
- "average_compression_ratio": 0,
27
- "emergency_cleanups": 0
28
- },
29
-
30
- "settings": {
31
- "max_history_entries": 100,
32
- "retention_days": 7
33
- }
34
- }
@@ -1,75 +0,0 @@
1
- # DOMYH Awesome Code — Consolidated Memory View
2
-
3
- > Auto-generated consolidated view of all active memories
4
- > Optimized for minimal token usage while preserving key information
5
-
6
- ---
7
-
8
- ## Project Context
9
-
10
- **Project**: _(auto-filled)_
11
- **Phase**: _(auto-filled)_
12
- **Status**: _(auto-filled)_
13
-
14
- ---
15
-
16
- ## Key Decisions (Consolidated)
17
-
18
- <!-- Top 5 most relevant decisions -->
19
-
20
- _No consolidated decisions yet_
21
-
22
- ---
23
-
24
- ## Active Patterns
25
-
26
- <!-- Extracted and merged patterns -->
27
-
28
- _No patterns consolidated yet_
29
-
30
- ---
31
-
32
- ## User Preferences
33
-
34
- <!-- Merged from corrections and explicit preferences -->
35
-
36
- _No preferences recorded yet_
37
-
38
- ---
39
-
40
- ## Error Resolution Patterns
41
-
42
- <!-- Consolidated error-solution pairs -->
43
-
44
- _No error patterns yet_
45
-
46
- ---
47
-
48
- ## Quick Reference
49
-
50
- ### Last Audit
51
-
52
- - **Score**: N/A
53
- - **Issues**: N/A
54
- - **Trend**: N/A
55
-
56
- ### Active Tasks
57
-
58
- - None
59
-
60
- ### Blockers
61
-
62
- - None
63
-
64
- ---
65
-
66
- ## Consolidation Log
67
-
68
- | Date | Items Merged | Tokens Saved | Strategy |
69
- | ---- | ------------ | ------------ | -------- |
70
- | - | - | - | - |
71
-
72
- ---
73
-
74
- _Last consolidated: Never_
75
- _Token count: ~200_
@@ -1,30 +0,0 @@
1
- {
2
- "block_id": "persona",
3
- "description": "Agent's self-description and capabilities",
4
- "version": "6.2.3",
5
- "editable_by_agent": true,
6
- "content": {
7
- "name": "DOMYH Awesome Code Agent",
8
- "version": "6.2.3",
9
- "description": "AI-powered development assistant with advanced memory, reflection, and self-improvement capabilities.",
10
- "capabilities": [
11
- "Code generation in 51+ languages",
12
- "Multi-expert audit and review",
13
- "Semantic skill routing",
14
- "Self-improving through reflection",
15
- "Persistent memory across sessions"
16
- ],
17
- "personality": {
18
- "communication_style": "Professional yet friendly",
19
- "language": "Vietnamese (Tiếng Việt)",
20
- "proactivity": "High - anticipates needs",
21
- "error_handling": "Transparent and solution-focused"
22
- },
23
- "constraints": [
24
- "Never execute destructive operations without confirmation",
25
- "Always provide evidence for findings",
26
- "Stop when information is ambiguous"
27
- ]
28
- },
29
- "last_updated": "2026-02-03T15:12:00+07:00"
30
- }
@@ -1,25 +0,0 @@
1
- {
2
- "block_id": "project",
3
- "description": "Current project context",
4
- "version": "6.2.3",
5
- "editable_by_agent": true,
6
- "content": {
7
- "current_project": {
8
- "name": null,
9
- "type": null,
10
- "language": null,
11
- "framework": null,
12
- "build_system": null
13
- },
14
- "context": {
15
- "current_task": null,
16
- "current_file": null,
17
- "recent_files": [],
18
- "environment": {}
19
- },
20
- "decisions": [],
21
- "todos": [],
22
- "blockers": []
23
- },
24
- "last_updated": "2026-02-03T15:12:00+07:00"
25
- }
@@ -1,29 +0,0 @@
1
- {
2
- "block_id": "rules",
3
- "description": "Learned rules and patterns from experience",
4
- "version": "6.2.3",
5
- "editable_by_agent": true,
6
- "content": {
7
- "do_rules": [
8
- "Always validate user input before processing",
9
- "Provide file:line evidence for findings",
10
- "Use language-specific best practices",
11
- "Test changes before committing",
12
- "Ask for clarification when ambiguous"
13
- ],
14
- "dont_rules": [
15
- "Never hardcode secrets or credentials",
16
- "Never delete files without confirmation",
17
- "Never skip error handling",
18
- "Never assume without evidence",
19
- "Never ignore user corrections"
20
- ],
21
- "patterns": {
22
- "error_patterns": [],
23
- "success_patterns": [],
24
- "user_preferences": []
25
- },
26
- "exceptions": []
27
- },
28
- "last_updated": "2026-02-03T15:12:00+07:00"
29
- }
@@ -1,24 +0,0 @@
1
- {
2
- "block_id": "user",
3
- "description": "User preferences and information learned over time",
4
- "version": "6.2.3",
5
- "editable_by_agent": true,
6
- "content": {
7
- "preferences": {
8
- "language": "vi",
9
- "communication_style": "concise",
10
- "code_style": {
11
- "prefer_types": true,
12
- "prefer_documentation": true,
13
- "prefer_tests": true
14
- },
15
- "frameworks": [],
16
- "avoided_patterns": []
17
- },
18
- "skills_used": {},
19
- "project_history": [],
20
- "corrections": [],
21
- "positive_feedback": []
22
- },
23
- "last_updated": "2026-02-03T15:12:00+07:00"
24
- }
@@ -1,40 +0,0 @@
1
- # DOMYH Awesome Code — Architectural Decisions Log
2
-
3
- > Records key decisions made during development sessions.
4
- > Auto-updated when agent makes architectural or significant technical choices.
5
-
6
- ---
7
-
8
- ## Decision Template
9
-
10
- <!--
11
- Each decision follows this format:
12
-
13
- ### [DATE] Decision Title
14
- - **Context**: What situation led to this decision
15
- - **Options Considered**: What alternatives were evaluated
16
- - **Decision**: What was chosen
17
- - **Rationale**: Why this choice was made
18
- - **Consequences**: Expected outcomes or trade-offs
19
- -->
20
-
21
- ---
22
-
23
- ## Decisions
24
-
25
- <!-- Auto-appended below this line -->
26
-
27
- ### [Template] Example Decision
28
-
29
- - **Context**: Need to choose database for user data
30
- - **Options Considered**:
31
- 1. PostgreSQL - full relational
32
- 2. MongoDB - flexible schema
33
- 3. SQLite - embedded, simple
34
- - **Decision**: PostgreSQL
35
- - **Rationale**: Strong consistency needed, complex queries expected
36
- - **Consequences**: Requires more setup, but better long-term scalability
37
-
38
- ---
39
-
40
- _This file is auto-managed by DOMYH Awesome Code. Manual edits are preserved._
@@ -1,12 +0,0 @@
1
- {
2
- "version": "6.2.3",
3
- "description": "Knowledge graph entities and relationships",
4
- "entities": {},
5
- "relationships": [],
6
- "statistics": {
7
- "entity_count": 0,
8
- "relationship_count": 0,
9
- "by_type": {}
10
- },
11
- "last_updated": "2026-02-03T15:12:00+07:00"
12
- }
@@ -1,52 +0,0 @@
1
- # DOMYH Awesome Code — Memory Insights
2
-
3
- > Auto-generated insights from memory reflection and analysis
4
- > Updated periodically through self-reflection process
5
-
6
- ---
7
-
8
- ## Current Session Insights
9
-
10
- <!-- Generated by ACTIVE_MEMORY reflection process -->
11
-
12
- ### Patterns Detected
13
-
14
- _No patterns detected yet_
15
-
16
- ### Recommendations
17
-
18
- _No recommendations yet_
19
-
20
- ---
21
-
22
- ## Historical Insights
23
-
24
- <!-- Accumulated insights from past sessions -->
25
-
26
- ### Top Recurring Themes
27
-
28
- _None identified yet_
29
-
30
- ### Successful Patterns
31
-
32
- _None identified yet_
33
-
34
- ### Areas for Improvement
35
-
36
- _None identified yet_
37
-
38
- ---
39
-
40
- ## Memory Statistics
41
-
42
- | Metric | Value |
43
- | ----------------- | ----- |
44
- | Total Memories | 0 |
45
- | Active Memories | 0 |
46
- | Archived Memories | 0 |
47
- | Consolidations | 0 |
48
- | Last Reflection | Never |
49
-
50
- ---
51
-
52
- _Auto-updated by DOMYH Memory System_
@@ -1,48 +0,0 @@
1
- {
2
- "version": "1.1.0",
3
- "created_at": null,
4
- "last_updated": null,
5
-
6
- "retention": {
7
- "max_sessions": 100,
8
- "max_score_trend": 50,
9
- "archive_path": "archive/"
10
- },
11
-
12
- "sessions": {
13
- "total": 0,
14
- "average_duration_minutes": 0,
15
- "average_tokens_used": 0
16
- },
17
-
18
- "memory": {
19
- "total_saves": 0,
20
- "total_loads": 0,
21
- "compression_events": 0,
22
- "archive_events": 0
23
- },
24
-
25
- "workflows": {
26
- "total_executed": 0,
27
- "by_type": {},
28
- "most_used": null
29
- },
30
-
31
- "decisions": {
32
- "total_logged": 0,
33
- "by_category": {}
34
- },
35
-
36
- "audits": {
37
- "total_completed": 0,
38
- "average_score": 0,
39
- "score_trend": []
40
- },
41
-
42
- "cleanup": {
43
- "light_triggers": 0,
44
- "medium_triggers": 0,
45
- "aggressive_triggers": 0,
46
- "emergency_triggers": 0
47
- }
48
- }
@@ -1,11 +0,0 @@
1
- {
2
- "version": "6.2.3",
3
- "description": "Learned error patterns for prevention",
4
- "patterns": [],
5
- "statistics": {
6
- "total_errors": 0,
7
- "prevented": 0,
8
- "by_type": {}
9
- },
10
- "last_updated": "2026-02-03T15:12:00+07:00"
11
- }
@@ -1,10 +0,0 @@
1
- {
2
- "version": "6.2.3",
3
- "description": "Successful patterns for reinforcement",
4
- "patterns": [],
5
- "statistics": {
6
- "total_successes": 0,
7
- "by_category": {}
8
- },
9
- "last_updated": "2026-02-03T15:12:00+07:00"
10
- }
@@ -1,64 +0,0 @@
1
- # DOMYH Awesome Code — Session Notes
2
-
3
- > Auto-generated session context file. Updated during workflow execution.
4
-
5
- ---
6
-
7
- ## Current Session
8
-
9
- - **Started**: (auto-filled)
10
- - **Project**: (auto-filled)
11
- - **Mode**: (auto-filled)
12
-
13
- ---
14
-
15
- ## Key Context (Always Loaded)
16
-
17
- <!--
18
- This section contains critical context that should always be in memory.
19
- Max ~500 tokens. Auto-summarized if exceeds limit.
20
- -->
21
-
22
- ### Active Task
23
-
24
- > (Current task description)
25
-
26
- ### Recent Errors
27
-
28
- > (Last 3 errors and resolutions)
29
-
30
- ### Blocking Issues
31
-
32
- > (Any blocking issues requiring attention)
33
-
34
- ---
35
-
36
- ## Session History
37
-
38
- <!--
39
- Auto-appended during session. Summarized when workflow completes.
40
- -->
41
-
42
- ### Workflows Executed
43
-
44
- | Time | Workflow | Status | Duration |
45
- | ---- | -------- | ------ | -------- |
46
- | - | - | - | - |
47
-
48
- ### Decisions Made
49
-
50
- | Time | Decision | Rationale |
51
- | ---- | -------- | --------- |
52
- | - | - | - |
53
-
54
- ---
55
-
56
- ## Notes
57
-
58
- <!--
59
- Agent-written notes during work. Human-editable.
60
- -->
61
-
62
- ---
63
-
64
- _Last updated: (auto-filled)_
@@ -1,19 +0,0 @@
1
- {
2
- "version": "1.0.0",
3
- "description": "Session-scoped rules that persist across context truncation. Auto-saved by agent.",
4
- "last_updated": null,
5
- "security": {
6
- "gitignore_added": false,
7
- "sensitive_patterns": [
8
- "password",
9
- "mật khẩu",
10
- "api[_-]?key",
11
- "secret",
12
- "token",
13
- "-----BEGIN",
14
- "sk-",
15
- "ghp_"
16
- ]
17
- },
18
- "rules": []
19
- }
@@ -1,81 +0,0 @@
1
- {
2
- "version": "1.0.0",
3
- "last_updated": "2026-02-03T00:50:00+07:00",
4
-
5
- "system": {
6
- "name": "DOMYH Awesome Code",
7
- "version": "v6.2.3",
8
- "version_short": "v6.2.3",
9
- "_note": "Sync from core/VERSION.yaml"
10
- },
11
-
12
- "project": {
13
- "name": "DOMYH Awesome Code",
14
- "path": ".",
15
- "type": "ai-agent-library",
16
- "stack": ["yaml", "markdown", "python", "json"],
17
- "initialized_at": "2026-02-01T11:17:00+07:00"
18
- },
19
-
20
- "skills": {
21
- "frequently_used": [],
22
- "last_active": [],
23
- "preferences": {}
24
- },
25
-
26
- "workflows": {
27
- "last_executed": "/ap",
28
- "execution_count": {
29
- "ap": 1
30
- },
31
- "favorites": []
32
- },
33
-
34
- "audit": {
35
- "last_score": 9.2,
36
- "last_date": "2026-02-04",
37
- "_note": "Full history in audit_summary.json"
38
- },
39
-
40
- "context": {
41
- "current_branch": null,
42
- "current_phase": "audit_complete",
43
- "pending_tasks": [],
44
- "blockers": []
45
- },
46
-
47
-
48
- "preferences": {
49
- "language": "vi",
50
- "verbosity": "normal",
51
- "auto_fix": false,
52
- "confirm_destructive": true,
53
- "auto_test": {
54
- "mvp": false,
55
- "production": true,
56
- "enterprise": true
57
- }
58
- },
59
-
60
- "phase_progress": {
61
- "active_plan": null,
62
- "current_phase": null,
63
- "total_phases": 0,
64
- "completed_phases": 0,
65
- "tasks": {
66
- "total": 0,
67
- "completed": 0
68
- }
69
- },
70
-
71
- "flags": {
72
- "has_unfinished_work": true,
73
- "needs_review": false,
74
- "has_critical_issues": false
75
- },
76
-
77
- "memory": {
78
- "last_sync": "2026-02-01T11:25:00+07:00",
79
- "metrics_ref": "metrics.json"
80
- }
81
- }
@@ -1,129 +0,0 @@
1
- # 🔍 DOMYH Awesome Code — Semantic Memory
2
-
3
- > Vector-based semantic search using LanceDB
4
- > **Status**: Optional (Disabled by default)
5
-
6
- ---
7
-
8
- ## Overview
9
-
10
- This directory contains the LanceDB vector database for semantic memory.
11
- When enabled, it provides:
12
-
13
- - **Semantic search** across audit history
14
- - **Similar decision** lookup
15
- - **Error pattern** matching
16
- - **Code review** insights
17
-
18
- ---
19
-
20
- ## Enabling Semantic Memory
21
-
22
- ### Option 1: Edit Configuration
23
-
24
- Edit `.agent/core/SEMANTIC_ENGINE.yaml`:
25
-
26
- ```yaml
27
- config:
28
- enabled: true # Change from false
29
- ```
30
-
31
- ### Option 2: Use Command (Future)
32
-
33
- ```
34
- /mem enable-semantic
35
- ```
36
-
37
- ---
38
-
39
- ## Requirements
40
-
41
- ### LanceDB (Embedded)
42
-
43
- ```bash
44
- # Python
45
- pip install lancedb
46
-
47
- # Node.js
48
- npm install @lancedb/lancedb
49
- ```
50
-
51
- ### Embeddings (Choose one)
52
-
53
- **OpenAI (Recommended)**:
54
-
55
- ```bash
56
- export OPENAI_API_KEY=your_key
57
- ```
58
-
59
- **Local Fallback (No API needed)**:
60
-
61
- ```bash
62
- pip install sentence-transformers
63
- ```
64
-
65
- ---
66
-
67
- ## Collections
68
-
69
- | Collection | Content | Index Trigger |
70
- | ---------------- | ----------------------- | ------------------ |
71
- | `audits` | Full audit reports | `/ap` complete |
72
- | `decisions` | Architectural decisions | Decision made |
73
- | `code_reviews` | Review findings | `/review` complete |
74
- | `error_patterns` | Error solutions | Error resolved |
75
-
76
- ---
77
-
78
- ## Search Commands
79
-
80
- | Command | Description | Example |
81
- | --------------- | --------------------- | -------------------------- |
82
- | `/search` | Semantic search all | `/search authentication` |
83
- | `/find-similar` | Find similar content | `/find-similar this error` |
84
- | `/recall` | Recall past decisions | `/recall database choice` |
85
-
86
- ---
87
-
88
- ## Token Budget
89
-
90
- | Setting | Value |
91
- | ----------------- | --------- |
92
- | Max results | 5 |
93
- | Tokens per result | 500 |
94
- | **Total budget** | **2,500** |
95
-
96
- ---
97
-
98
- ## Directory Structure
99
-
100
- ```
101
- vectors/
102
- ├── README.md # This file
103
- ├── domyh_memory.lance/ # LanceDB database (when created)
104
- └── .gitignore # Ignore database files
105
- ```
106
-
107
- ---
108
-
109
- ## Data Retention
110
-
111
- | Collection | Max Age | Minimum Keep |
112
- | ---------- | -------- | ------------ |
113
- | Audits | 1 year | 10 entries |
114
- | Decisions | 2 years | 50 entries |
115
- | Errors | 6 months | 20 entries |
116
-
117
- ---
118
-
119
- ## Fallback Behavior
120
-
121
- When semantic search is disabled or unavailable:
122
-
123
- - Falls back to **keyword search**
124
- - Uses **file-based memory** (session.md, decisions.md)
125
- - No warning shown to user
126
-
127
- ---
128
-
129
- _DOMYH Awesome Code • Semantic Memory (Optional)_