调试记忆查询与管理
debug-memory
查询和管理可执行的反馈调试记忆。
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-14
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- debug-memory
- namespace
- aiwg
- platforms
- [ "all" ]
- commandHint
- { "category": "code-quality" }
- description
- Query and manage the executable feedback debug memory
03 SKILL.md 正文
Debug Memory Command
Query, analyze, and manage the debug memory from executable feedback loops.
HITL authorization checkpoints
Before any confirmation below, read and apply
agent-loop authorization checkpoints.
Call aiwg config authorization check --action-file "$ACTION_FILE" --target "$TARGET_REPO"
for host-classified effects. Only auto-authorized with a signed receipt skips
that workflow prompt; retain existing prompts/refusals otherwise. Platform
prompts are never bypassed. Limits, regression and threat overrides still require review.
Instructions
Manage the debug memory stored in .aiwg/ralph/debug-memory/:
Subcommand: query
Search debug memory for relevant past execution sessions.
- Search
.aiwg/ralph/debug-memory/sessions/for matching entries - Match by file path, error type, test name, or keyword
- Display relevant sessions with fix attempts and outcomes
- Highlight reusable patterns
Subcommand: patterns
Display learned patterns from past debug sessions.
- Load
.aiwg/ralph/debug-memory/patterns/learned-patterns.yaml - Show pattern frequency, success rate, and applicability
- Suggest patterns applicable to current context
Subcommand: stats
Show aggregate statistics from debug memory.
- Total sessions, pass rate, average attempts
- Most common error types
- Most effective fix patterns
- Files with highest failure frequency
Subcommand: clear
Clear debug memory (with confirmation).
- Prompt for confirmation
- Archive current memory to
.aiwg/ralph/debug-memory/archive/ - Reset sessions and patterns
Arguments
query [keyword]- Search debug memorypatterns- Show learned patternsstats- Show aggregate statisticsclear- Clear and archive debug memory--file [path]- Filter by source file--error [type]- Filter by error type--since [date]- Filter by date
References
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/debug-memory.yaml - Debug memory schema
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md - Executable feedback rules
- @$AIWG_ROOT/agentic/code/addons/agent-loop/docs/executable-feedback-guide.md - Guide
04 同仓库更多 Skills
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.