@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.
- package/.agent/config.yaml +5 -5
- package/.agent/core/AGENT_BEHAVIOR.md +1 -1
- package/.agent/core/AUDIT_POLICY.md +1 -1
- package/.agent/core/CACHE.md +1 -1
- package/.agent/core/COMMANDS.md +27 -27
- package/.agent/core/DATA_SAFETY.md +1 -1
- package/.agent/core/MEMORY_PATHS.yaml +2 -2
- package/.agent/core/PERMISSIONS.md +1 -1
- package/.agent/core/README.md +1 -1
- package/.agent/core/VERSION.yaml +5 -5
- package/.agent/core/archive/ACTIVE_MEMORY.yaml +2 -2
- package/.agent/core/archive/CHECKPOINT.yaml +2 -2
- package/.agent/core/archive/CLEANUP_ENGINE.yaml +2 -2
- package/.agent/core/archive/CONTEXT_INJECTOR.yaml +2 -2
- package/.agent/core/archive/CONTEXT_LOADER.yaml +1 -1
- package/.agent/core/archive/CONTEXT_OPTIMIZATION.yaml +1 -1
- package/.agent/core/archive/CONTEXT_PRIORITY.yaml +2 -2
- package/.agent/core/archive/FLOW_ENGINE.yaml +1 -1
- package/.agent/core/archive/GRAPH_MEMORY.yaml +1 -1
- package/.agent/core/archive/HYBRID_ROUTER.yaml +1 -1
- package/.agent/core/archive/INTENT_DETECTION.yaml +1 -1
- package/.agent/core/archive/MEMORY_CONSOLIDATION.yaml +3 -3
- package/.agent/core/archive/MEMORY_ENGINE.yaml +2 -2
- package/.agent/core/archive/MEMORY_UTILS.yaml +1 -1
- package/.agent/core/archive/REFLECTION_ENGINE.yaml +1 -1
- package/.agent/core/archive/ROUTER.yaml +4 -4
- package/.agent/core/archive/SCORING_FORMULA.yaml +2 -2
- package/.agent/core/archive/SEMANTIC_ENGINE.yaml +1 -1
- package/.agent/core/archive/SKILLS_FLOW.yaml +1 -1
- package/.agent/core/archive/STATE_MACHINE.yaml +1 -1
- package/.agent/core/archive/SUMMARIZATION_ENGINE.yaml +2 -2
- package/.agent/core/archive/TOKEN_BUDGETS.yaml +2 -2
- package/.agent/core/archive/TOKEN_LOADING.yaml +2 -2
- package/.agent/core/archive/TOKEN_SUMMARY.yaml +2 -2
- package/.agent/core/reference/CODING_STYLES.yaml +1 -1
- package/.agent/core/reference/LIBRARY_REGISTRY.yaml +1 -1
- package/.agent/core/reference/MCP_TOOLS.yaml +2 -2
- package/.agent/core/reference/PATTERNS.yaml +1 -1
- package/.agent/core/reference/SKILL_SCHEMA.yaml +1 -1
- package/.agent/i18n/en.yaml +6 -6
- package/.agent/i18n/vi.yaml +60 -6
- package/.agent/ide/README.md +1 -1
- package/.agent/ide/amazonq.json +1 -1
- package/.agent/ide/amp.json +1 -1
- package/.agent/ide/antigravity.json +1 -1
- package/.agent/ide/augment.json +1 -1
- package/.agent/ide/claude.json +1 -1
- package/.agent/ide/cline.json +1 -1
- package/.agent/ide/cody.json +1 -1
- package/.agent/ide/continue.json +1 -1
- package/.agent/ide/cursor.json +1 -1
- package/.agent/ide/gemini.json +1 -1
- package/.agent/ide/jetbrains.json +1 -1
- package/.agent/ide/kiro.json +1 -1
- package/.agent/ide/opencode.json +1 -1
- package/.agent/ide/roo.json +1 -1
- package/.agent/ide/tabnine.json +1 -1
- package/.agent/ide/trae.json +1 -1
- package/.agent/ide/vscode.json +1 -1
- package/.agent/ide/windsurf.json +2 -3
- package/.agent/ide/zed.json +1 -1
- package/.agent/manifest.yaml +15 -15
- package/.agent/personas/README.md +1 -1
- package/.agent/personas/architect.md +4 -1
- package/.agent/personas/auditor.md +5 -1
- package/.agent/personas/debugger.md +4 -1
- package/.agent/personas/developer.md +4 -1
- package/.agent/personas/devops.md +4 -1
- package/.agent/personas/documenter.md +4 -1
- package/.agent/personas/orchestrator.md +4 -1
- package/.agent/personas/persona.schema.yaml +1 -1
- package/.agent/personas/planner.md +4 -1
- package/.agent/personas/researcher.md +4 -1
- package/.agent/personas/security.md +3 -1
- package/.agent/personas/tester.md +3 -1
- package/.agent/rules/README.md +1 -1
- package/.agent/rules/SACRED_RULES.xml +19 -5
- package/.agent/rules/archive/constitutional/tier-0-core.yaml +5 -5
- package/.agent/rules/archive/constitutional/tier-1-safety.yaml +5 -5
- package/.agent/rules/archive/constitutional/tier-2-execution.yaml +6 -6
- package/.agent/rules/archive/context-management.yaml +1 -1
- package/.agent/rules/archive/duplication-prevention.md +1 -1
- package/.agent/rules/archive/evidence.yaml +1 -1
- package/.agent/rules/archive/project-detection.md +1 -1
- package/.agent/rules/archive/reflection.yaml +1 -1
- package/.agent/rules/archive/versioning.yaml +5 -5
- package/.agent/rules/data/build-systems.yaml +2 -2
- package/.agent/rules/modules/agent-delegation.yaml +13 -2
- package/.agent/rules/modules/edit-verification.yaml +4 -1
- package/.agent/rules/modules/git-workflow.yaml +6 -1
- package/.agent/rules/modules/language.yaml +1 -1
- package/.agent/rules/modules/online-research.yaml +1 -1
- package/.agent/rules/modules/performance-optimization.yaml +10 -2
- package/.agent/rules/modules/quality.yaml +1 -1
- package/.agent/rules/modules/stop-conditions.yaml +1 -1
- package/.agent/rules/modules/terminal-safety.yaml +1 -1
- package/.agent/rules/modules/yagni.yaml +1 -1
- package/.agent/rules/validation-framework.md +1 -1
- package/.agent/skills/README.md +1 -1
- package/.agent/skills/_categories.yaml +2 -2
- package/.agent/skills/_router.yaml +12 -0
- package/.agent/skills/core/api-design/META.yaml +1 -1
- package/.agent/skills/core/authentication/META.yaml +1 -1
- package/.agent/skills/core/error-handling/META.yaml +1 -1
- package/.agent/skills/core/logging/META.yaml +1 -1
- package/.agent/skills/core/observability/META.yaml +1 -1
- package/.agent/skills/core/security/META.yaml +1 -1
- package/.agent/skills/core/security/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/accessibility/META.yaml +1 -1
- package/.agent/skills/cross-cutting/audit-pro/META.yaml +1 -1
- package/.agent/skills/cross-cutting/bun/META.yaml +1 -1
- package/.agent/skills/cross-cutting/bun/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/coding-rules/META.yaml +1 -1
- package/.agent/skills/cross-cutting/database/META.yaml +1 -1
- package/.agent/skills/cross-cutting/database/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/deno/META.yaml +1 -1
- package/.agent/skills/cross-cutting/deno/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/domyh-design/META.yaml +1 -1
- package/.agent/skills/cross-cutting/domyh-design/data/desktop-colors.yaml +1 -1
- package/.agent/skills/cross-cutting/seo/META.yaml +1 -1
- package/.agent/skills/cross-cutting/sql/META.yaml +1 -1
- package/.agent/skills/cross-cutting/sql/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/tailwind/META.yaml +1 -1
- package/.agent/skills/cross-cutting/tailwind/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/tdd-workflow/META.yaml +1 -1
- package/.agent/skills/cross-cutting/testing/META.yaml +4 -3
- package/.agent/skills/cross-cutting/testing/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/testing/data/frameworks.yaml +1 -1
- package/.agent/skills/cross-cutting/web-perf/META.yaml +1 -1
- package/.agent/skills/cross-cutting/web-perf/SKILL.md +1 -1
- package/.agent/skills/devops/aws/META.yaml +1 -1
- package/.agent/skills/devops/ci-cd/META.yaml +1 -1
- package/.agent/skills/devops/docker/META.yaml +1 -1
- package/.agent/skills/devops/kubernetes/META.yaml +1 -1
- package/.agent/skills/frameworks/angular/META.yaml +1 -1
- package/.agent/skills/frameworks/angular/SKILL.md +1 -1
- package/.agent/skills/frameworks/flutter/META.yaml +1 -1
- package/.agent/skills/frameworks/flutter/SKILL.md +1 -1
- package/.agent/skills/frameworks/nextjs/META.yaml +1 -1
- package/.agent/skills/frameworks/nextjs/SKILL.md +1 -1
- package/.agent/skills/frameworks/nuxt/META.yaml +1 -1
- package/.agent/skills/frameworks/nuxt/SKILL.md +1 -1
- package/.agent/skills/frameworks/react/META.yaml +1 -1
- package/.agent/skills/frameworks/react/SKILL.md +1 -1
- package/.agent/skills/frameworks/react-native/META.yaml +1 -1
- package/.agent/skills/frameworks/react-native/SKILL.md +1 -1
- package/.agent/skills/frameworks/svelte/META.yaml +1 -1
- package/.agent/skills/frameworks/svelte/SKILL.md +1 -1
- package/.agent/skills/frameworks/vue/META.yaml +1 -1
- package/.agent/skills/frameworks/vue/SKILL.md +1 -1
- package/.agent/skills/index.json +438 -100
- package/.agent/skills/languages/asm/META.yaml +1 -1
- package/.agent/skills/languages/asm/SKILL.md +1 -1
- package/.agent/skills/languages/c/META.yaml +1 -1
- package/.agent/skills/languages/c/SKILL.md +1 -1
- package/.agent/skills/languages/clojure/META.yaml +1 -1
- package/.agent/skills/languages/clojure/SKILL.md +1 -1
- package/.agent/skills/languages/cpp/META.yaml +1 -1
- package/.agent/skills/languages/cpp/SKILL.md +1 -1
- package/.agent/skills/languages/crystal/META.yaml +1 -1
- package/.agent/skills/languages/crystal/SKILL.md +1 -1
- package/.agent/skills/languages/csharp/META.yaml +1 -1
- package/.agent/skills/languages/csharp/SKILL.md +1 -1
- package/.agent/skills/languages/elixir/META.yaml +1 -1
- package/.agent/skills/languages/elixir/SKILL.md +1 -1
- package/.agent/skills/languages/fsharp/META.yaml +1 -1
- package/.agent/skills/languages/fsharp/SKILL.md +1 -1
- package/.agent/skills/languages/go/META.yaml +1 -1
- package/.agent/skills/languages/go/SKILL.md +1 -1
- package/.agent/skills/languages/haskell/META.yaml +1 -1
- package/.agent/skills/languages/haskell/SKILL.md +1 -1
- package/.agent/skills/languages/java/META.yaml +1 -1
- package/.agent/skills/languages/java/SKILL.md +1 -1
- package/.agent/skills/languages/javascript/META.yaml +1 -1
- package/.agent/skills/languages/javascript/SKILL.md +1 -1
- package/.agent/skills/languages/julia/META.yaml +1 -1
- package/.agent/skills/languages/julia/SKILL.md +1 -1
- package/.agent/skills/languages/kotlin/META.yaml +1 -1
- package/.agent/skills/languages/kotlin/SKILL.md +1 -1
- package/.agent/skills/languages/lua/META.yaml +1 -1
- package/.agent/skills/languages/lua/SKILL.md +3 -3
- package/.agent/skills/languages/nim/META.yaml +1 -1
- package/.agent/skills/languages/nim/SKILL.md +1 -1
- package/.agent/skills/languages/ocaml/META.yaml +1 -1
- package/.agent/skills/languages/ocaml/SKILL.md +1 -1
- package/.agent/skills/languages/perl/META.yaml +1 -1
- package/.agent/skills/languages/perl/SKILL.md +1 -1
- package/.agent/skills/languages/php/META.yaml +1 -1
- package/.agent/skills/languages/php/SKILL.md +1 -1
- package/.agent/skills/languages/python/META.yaml +1 -1
- package/.agent/skills/languages/python/SKILL.md +1 -1
- package/.agent/skills/languages/r/META.yaml +1 -1
- package/.agent/skills/languages/r/SKILL.md +1 -1
- package/.agent/skills/languages/ruby/META.yaml +1 -1
- package/.agent/skills/languages/ruby/SKILL.md +1 -1
- package/.agent/skills/languages/rust/META.yaml +1 -1
- package/.agent/skills/languages/rust/SKILL.md +1 -1
- package/.agent/skills/languages/scala/META.yaml +1 -1
- package/.agent/skills/languages/scala/SKILL.md +1 -1
- package/.agent/skills/languages/solidity/META.yaml +1 -1
- package/.agent/skills/languages/solidity/SKILL.md +1 -1
- package/.agent/skills/languages/swift/META.yaml +1 -1
- package/.agent/skills/languages/swift/SKILL.md +1 -1
- package/.agent/skills/languages/typescript/META.yaml +1 -1
- package/.agent/skills/languages/typescript/SKILL.md +1 -1
- package/.agent/skills/languages/zig/META.yaml +1 -1
- package/.agent/skills/languages/zig/SKILL.md +1 -1
- package/.agent/templates/README.md +2 -2
- package/.agent/templates/debug-report.md +1 -1
- package/.agent/templates/deploy-plan.md +1 -1
- package/.agent/templates/doc-template.md +1 -1
- package/.agent/templates/index.yaml +1 -1
- package/.agent/templates/migrate-plan.md +1 -1
- package/.agent/templates/phase-template.md +1 -1
- package/.agent/templates/tasks/audit.yaml +1 -1
- package/.agent/templates/tasks/bug_fix.yaml +1 -1
- package/.agent/templates/tasks/code_implementation.yaml +1 -1
- package/.agent/templates/tasks/refactor.yaml +1 -1
- package/.agent/templates/test-report.md +1 -1
- package/.agent/workflows/ap.md +4 -4
- package/.agent/workflows/code.md +2 -2
- package/.agent/workflows/debug.md +1 -1
- package/.agent/workflows/deploy.md +1 -0
- package/.agent/workflows/doc.md +1 -0
- package/.agent/workflows/e2e.md +6 -5
- package/.agent/workflows/env.md +1 -0
- package/.agent/workflows/fix.md +1 -1
- package/.agent/workflows/monitor.md +2 -1
- package/.agent/workflows/onboard.md +1 -1
- package/.agent/workflows/perf.md +2 -1
- package/.agent/workflows/plan.md +3 -3
- package/.agent/workflows/prompt.md +1 -1
- package/.agent/workflows/recap.md +2 -2
- package/.agent/workflows/refactor.md +1 -1
- package/.agent/workflows/scaffold.md +1 -1
- package/.agent/workflows/tdd.md +6 -5
- package/.agent/workflows/verify.md +5 -4
- package/README.md +59 -15
- package/configs/aider/root.CONVENTIONS.md +1 -1
- package/configs/amazonq/root.amazonq.md +1 -1
- package/configs/amp/root.AGENTS.md +1 -1
- package/configs/antigravity/root.GEMINI.md +1 -1
- package/configs/augment/root.guidelines.md +1 -1
- package/configs/claude/root.CLAUDE.md +1 -1
- package/configs/cline/root.clinerules.md +1 -1
- package/configs/codex/root.AGENTS.md +1 -1
- package/configs/continue/root.continue.md +1 -1
- package/configs/copilot/root.copilot-instructions.md +1 -1
- package/configs/gemini/root.GEMINI.md +1 -1
- package/configs/jetbrains/root.guidelines.md +1 -1
- package/configs/roo/root.roorules.md +1 -1
- package/configs/tabnine/root.guidelines.md +1 -1
- package/configs/vscode/root.copilot-instructions.md +1 -1
- package/dist/constants/ide-install-specs.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
- package/.agent/memory/active_memories.json +0 -35
- package/.agent/memory/archive/.gitkeep +0 -0
- package/.agent/memory/audit_summary.json +0 -58
- package/.agent/memory/cleanup_log.json +0 -34
- package/.agent/memory/consolidated.md +0 -75
- package/.agent/memory/core_memory/persona.json +0 -30
- package/.agent/memory/core_memory/project.json +0 -25
- package/.agent/memory/core_memory/rules.json +0 -29
- package/.agent/memory/core_memory/user.json +0 -24
- package/.agent/memory/decisions.md +0 -40
- package/.agent/memory/graph/knowledge_graph.json +0 -12
- package/.agent/memory/insights.md +0 -52
- package/.agent/memory/metrics.json +0 -48
- package/.agent/memory/patterns/errors.json +0 -11
- package/.agent/memory/patterns/successes.json +0 -10
- package/.agent/memory/session.md +0 -64
- package/.agent/memory/session_rules.json +0 -19
- package/.agent/memory/state.json +0 -81
- package/.agent/memory/vectors/README.md +0 -129
- package/.agent/private/README.md +0 -74
- package/.agent/private/_index.yaml +0 -23
- package/.agent/private/_template/META.yaml +0 -38
- package/.agent/private/_template/SKILL.md +0 -43
- package/.agent/private/_template/data/.gitkeep +0 -0
- package/.agent/private/autodomyh-api/META.yaml +0 -48
- package/.agent/private/autodomyh-api/SKILL.md +0 -141
- 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
|
-
}
|
package/.agent/memory/session.md
DELETED
|
@@ -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
|
-
}
|
package/.agent/memory/state.json
DELETED
|
@@ -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)_
|