aiwg 2026.8.4 → 2026.8.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/agentic/code/addons/line-memory/commands/line-memory.mjs +10 -9
- package/agentic/code/frameworks/media-marketing-kit/skills/theme-manager/SKILL.md +1 -1
- package/agentic/code/frameworks/research-complete/skills/research-query/SKILL.md +2 -2
- package/agentic/code/plugins/agent-loop/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/agent-loop/agents/ralph-loop.md +8 -8
- package/agentic/code/plugins/agent-loop/agents/ralph-verifier.md +1 -1
- package/agentic/code/plugins/agent-loop/docs/agent-persistence-integration.md +5 -5
- package/agentic/code/plugins/agent-loop/docs/cross-loop-learning.md +3 -3
- package/agentic/code/plugins/agent-loop/docs/executable-feedback-guide.md +5 -5
- package/agentic/code/plugins/agent-loop/docs/reflection-memory-guide.md +3 -3
- package/agentic/code/plugins/agent-loop/hooks/persistence-hooks.yaml +4 -4
- package/agentic/code/plugins/agent-loop/hooks/post-iteration-reflect.md +3 -3
- package/agentic/code/plugins/agent-loop/hooks/pre-return-execution-gate.md +1 -1
- package/agentic/code/plugins/agent-loop/manifest.json +1 -0
- package/agentic/code/plugins/agent-loop/schemas/actionable-feedback.yaml +1 -1
- package/agentic/code/plugins/agent-loop/schemas/checkpoint.yaml +3 -3
- package/agentic/code/plugins/agent-loop/schemas/debug-memory.yaml +1 -1
- package/agentic/code/plugins/agent-loop/schemas/iteration-analytics.yaml +2 -2
- package/agentic/code/plugins/agent-loop/schemas/loop-registry.yaml +2 -2
- package/agentic/code/plugins/agent-loop/schemas/loop-state.yaml +3 -3
- package/agentic/code/plugins/agent-loop/schemas/mcp-task.yaml +1 -1
- package/agentic/code/plugins/agent-loop/schemas/multi-loop-registry.yaml +2 -2
- package/agentic/code/plugins/agent-loop/schemas/persistence-extension.yaml +4 -4
- package/agentic/code/plugins/agent-loop/schemas/shared-patterns.yaml +3 -3
- package/agentic/code/plugins/agent-loop/schemas/tree-search.yaml +2 -2
- package/agentic/code/plugins/agent-loop/skills/agent-loop/SKILL.md +6 -6
- package/agentic/code/plugins/agent-loop/skills/agent-loop-ext/SKILL.md +2 -2
- package/agentic/code/plugins/agent-loop/skills/auto-test-execution/SKILL.md +2 -2
- package/agentic/code/plugins/agent-loop/skills/cross-task-learner/SKILL.md +7 -7
- package/agentic/code/plugins/agent-loop/skills/cross-task-learner/manifest.json +3 -3
- package/agentic/code/plugins/agent-loop/skills/debug-memory/SKILL.md +2 -2
- package/agentic/code/plugins/agent-loop/skills/execute-feedback/SKILL.md +2 -2
- package/agentic/code/plugins/agent-loop/skills/infer-completion-criteria/SKILL.md +4 -4
- package/agentic/code/plugins/agent-loop/skills/ralph/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/ralph-abort/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/ralph-analytics/SKILL.md +3 -3
- package/agentic/code/plugins/agent-loop/skills/ralph-attach/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/ralph-config/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/ralph-external/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/ralph-memory/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/ralph-reflect/SKILL.md +2 -2
- package/agentic/code/plugins/agent-loop/skills/ralph-resume/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/ralph-status/SKILL.md +1 -1
- package/agentic/code/plugins/agent-loop/skills/reflection-injection/SKILL.md +4 -4
- package/agentic/code/plugins/agent-loop/templates/self-reflection-prompt.md +2 -2
- package/agentic/code/plugins/agent-persistence/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/agent-persistence/docs/hitl-integration.md +11 -11
- package/agentic/code/plugins/agent-persistence/gates/index.mjs +1 -1
- package/agentic/code/plugins/agent-persistence/skills/agent-persistence/SKILL.md +1 -1
- package/agentic/code/plugins/agentic-installer/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/aiwg-dev/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/aiwg-dev/docs/overview.md +4 -4
- package/agentic/code/plugins/aiwg-dev/docs/quickstart.md +4 -4
- package/agentic/code/plugins/aiwg-dev/rules/RULES-INDEX.md +7 -7
- package/agentic/code/plugins/aiwg-dev/rules/addon-boundaries.md +1 -1
- package/agentic/code/plugins/aiwg-dev/rules/aiwg-ci-safety.md +2 -2
- package/agentic/code/plugins/aiwg-dev/rules/aiwg-dir-reference-contract.md +2 -2
- package/agentic/code/plugins/aiwg-dev/rules/component-completeness.md +2 -2
- package/agentic/code/plugins/aiwg-dev/rules/no-circular-skill-calls.md +1 -1
- package/agentic/code/plugins/aiwg-dev/rules/skill-placement.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/dev-doctor/SKILL.md +6 -6
- package/agentic/code/plugins/aiwg-dev/skills/dev-mode-init/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-create-addon/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-create-agent/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-create-command/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-create-extension/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-create-framework/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-create-skill/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-test/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/devkit-validate/SKILL.md +1 -1
- package/agentic/code/plugins/aiwg-dev/skills/link-check/SKILL.md +9 -9
- package/agentic/code/plugins/aiwg-dev/skills/validate-addon/SKILL.md +6 -6
- package/agentic/code/plugins/aiwg-dev/skills/validate-component/SKILL.md +5 -5
- package/agentic/code/plugins/aiwg-evals/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/aiwg-evals/manifest.json +5 -0
- package/agentic/code/plugins/auto-memory/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/browser-control/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/color-palette/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/color-palette/skills/{color-accessibility.md → color-accessibility/SKILL.md} +2 -0
- package/agentic/code/plugins/color-palette/skills/{color-palette.md → color-palette/SKILL.md} +2 -0
- package/agentic/code/plugins/color-palette/skills/{color-trends.md → color-trends/SKILL.md} +2 -0
- package/agentic/code/plugins/compound-memory/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/context-curator/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/daemon/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/doc-intelligence/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/droid-bridge/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/forensics/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/guided-implementation/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/guided-implementation/docs/overview.md +1 -1
- package/agentic/code/plugins/hooks/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/knowledge-base/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/line-memory/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/line-memory/commands/line-memory.mjs +10 -9
- package/agentic/code/plugins/llm-wiki/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/marketing/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/marketing/skills/theme-manager/SKILL.md +1 -1
- package/agentic/code/plugins/media-curator/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/nlp-prod/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/ops/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/prose-integration/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/research/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/research/skills/research-query/SKILL.md +2 -2
- package/agentic/code/plugins/rlm/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/sdlc/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/security-engineering/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/semantic-memory/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/skill-factory/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/star-prompt/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/star-prompt/skills/{star-prompt.md → star-prompt/SKILL.md} +8 -0
- package/agentic/code/plugins/testing-quality/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/testing-quality/README.md +1 -1
- package/agentic/code/plugins/testing-quality/docs/overview.md +3 -3
- package/agentic/code/plugins/testing-quality/docs/quickstart.md +6 -6
- package/agentic/code/plugins/testing-quality/skills/flaky-detect/SKILL.md +1 -1
- package/agentic/code/plugins/testing-quality/skills/flaky-fix/SKILL.md +1 -1
- package/agentic/code/plugins/testing-quality/skills/generate-factory/SKILL.md +1 -1
- package/agentic/code/plugins/testing-quality/skills/mutation-test/SKILL.md +1 -1
- package/agentic/code/plugins/testing-quality/skills/tdd-enforce/SKILL.md +1 -1
- package/agentic/code/plugins/testing-quality/skills/test-sync/SKILL.md +1 -1
- package/agentic/code/plugins/twelve-factor/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/twelve-factor/templates/audit-report.md +1 -1
- package/agentic/code/plugins/uat-mcp/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/uat-mcp/manifest.json +4 -1
- package/agentic/code/plugins/utils/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/validation-complete/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/verbalized-sampling/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/voice/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/writing/.claude-plugin/plugin.json +1 -1
- package/dist/src/resources/web-release.d.ts +7 -0
- package/dist/src/resources/web-release.js +149 -17
- package/docs/agents/cli-reference.md +16 -17
- package/docs/agents/providers/claude.md +5 -1
- package/docs/cockpit/bridge-api.md +19 -0
- package/docs/cockpit/daily-operator-gate.md +11 -0
- package/docs/cockpit/development.md +7 -0
- package/docs/cockpit/installation.md +7 -0
- package/docs/cockpit/recovery.md +9 -0
- package/docs/cockpit/trust-and-security.md +15 -0
- package/docs/contracts/hitl-approval-workflow.v1.md +2 -2
- package/docs/contracts/operator-decision-audit.v1.md +2 -2
- package/docs/contracts/shared-host-admission.v1.md +2 -2
- package/docs/frameworks/ops-complete/extensions-guide.md +1 -1
- package/docs/getting-started/install-connect-verify.md +19 -16
- package/docs/install/web-backed-resources.md +33 -0
- package/docs/releases/v2026.8.5-announcement.md +82 -0
- package/docs/welcome.html +2 -2
- package/package.json +1 -1
- package/prebuilt/fortemi-core/framework/aiwg-fortemi-index-v2.json +1 -1
- package/prebuilt/fortemi-core/framework/manifest.json +2 -2
|
@@ -555,19 +555,20 @@ async function touchMemory(args, cwd, config) {
|
|
|
555
555
|
return result(0, wantsJson(args) ? undefined : 'Memory moved to newest position.');
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
-
/** Touch only exact values selected by an external bounded retrieval planner. */
|
|
559
558
|
export async function touchMemoryValues(values, cwd, config) {
|
|
560
|
-
const selected = [...new Set(values.map(normalizeMemory).filter(Boolean))];
|
|
561
|
-
if (selected.length === 0) return { operationId: null, touched: [] };
|
|
562
559
|
return withLock(cwd, async () => {
|
|
560
|
+
const requested = new Set(values.map(normalizeMemory).filter(Boolean));
|
|
563
561
|
const { lines, memoryPath } = await readMemoryLines(cwd, config);
|
|
564
562
|
const { metadataPath, metadata } = await loadMetadata(cwd, config);
|
|
565
563
|
reconcileMetadata(lines, metadata);
|
|
566
|
-
const indexes =
|
|
567
|
-
.map(
|
|
568
|
-
.filter(
|
|
569
|
-
|
|
570
|
-
|
|
564
|
+
const indexes = lines
|
|
565
|
+
.map((line, index) => ({ line, index }))
|
|
566
|
+
.filter(({ line }) => requested.has(line))
|
|
567
|
+
.map(({ index }) => index);
|
|
568
|
+
if (indexes.length === 0) {
|
|
569
|
+
return { operationId: null, touched: [] };
|
|
570
|
+
}
|
|
571
|
+
const touched = indexes.map((index) => lines[index]);
|
|
571
572
|
const reordered = moveIndexesToNewest(lines, indexes);
|
|
572
573
|
const now = new Date().toISOString();
|
|
573
574
|
for (const value of touched) {
|
|
@@ -576,7 +577,7 @@ export async function touchMemoryValues(values, cwd, config) {
|
|
|
576
577
|
entry.accessCount = (entry.accessCount ?? 0) + 1;
|
|
577
578
|
}
|
|
578
579
|
const operationId = await commitMemoryState(
|
|
579
|
-
cwd, memoryPath, reordered, metadataPath, metadata, '
|
|
580
|
+
cwd, memoryPath, reordered, metadataPath, metadata, 'batch-touch',
|
|
580
581
|
);
|
|
581
582
|
return { operationId, touched };
|
|
582
583
|
});
|
|
@@ -46,7 +46,7 @@ Use this skill for requests such as:
|
|
|
46
46
|
|
|
47
47
|
1. Create or inspect `.aiwg/design/` and link any applicable `.aiwg/marketing/` campaign.
|
|
48
48
|
2. Capture brand, audience, season, channel, content, accessibility, licensing, production, and “do not repeat” constraints in a theme brief.
|
|
49
|
-
3. Read the registry and audit the most recent six uses. Call `auditThemeRotation` from
|
|
49
|
+
3. Read the registry and audit the most recent six uses. Call `auditThemeRotation` from `scripts/theme-manager.mjs` for every candidate.
|
|
50
50
|
4. Research timely and evergreen visual evidence. Every research item records URL, publication date when known, access date, evidence type, and license status. Clearly label subjective recommendations.
|
|
51
51
|
5. Produce five meaningfully different candidates by default. Keep source copy, content density, dimensions, and sample fidelity constant.
|
|
52
52
|
6. Score brand fit, audience fit, channel fit, accessibility, production feasibility, and distinctiveness. Explain trade-offs; do not select solely by numeric rank.
|
|
@@ -48,8 +48,8 @@ List matching sources without synthesizing an answer.
|
|
|
48
48
|
|
|
49
49
|
### `--include-diagnostics` (optional)
|
|
50
50
|
Include quarantine and generated integrity/artifact scan records in source
|
|
51
|
-
selection. They are excluded by default because diagnostics are not research
|
|
52
|
-
|
|
51
|
+
selection. They are excluded by default because diagnostics are not research evidence.
|
|
52
|
+
Scan severity or confidence labels never become GRADE evidence
|
|
53
53
|
quality; only an explicit GRADE declaration or grade tag is accepted.
|
|
54
54
|
|
|
55
55
|
### `--max-sources` (optional)
|
|
@@ -295,18 +295,18 @@ If the same reflection appears 3+ consecutive times, the loop is stuck. Response
|
|
|
295
295
|
|
|
296
296
|
## Schema References
|
|
297
297
|
|
|
298
|
-
- @$AIWG_ROOT/
|
|
299
|
-
- @$AIWG_ROOT/
|
|
298
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json — Episodic reflection memory schema (REF-021)
|
|
299
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/cross-task-memory.yaml — Cross-task learning patterns with Ω presets
|
|
300
300
|
- @.aiwg/ralph/reflections/index.yaml — Auto-populated reflection index
|
|
301
|
-
- @$AIWG_ROOT/
|
|
301
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/reflection-memory-guide.md — Comprehensive reflection memory guide
|
|
302
302
|
|
|
303
303
|
## References
|
|
304
304
|
|
|
305
305
|
- @.aiwg/ralph/ - Al workspace and state
|
|
306
|
-
- @$AIWG_ROOT/
|
|
307
|
-
- @$AIWG_ROOT/
|
|
308
|
-
- @$AIWG_ROOT/
|
|
309
|
-
- @$AIWG_ROOT/
|
|
310
|
-
- @$AIWG_ROOT/
|
|
306
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/ - User documentation
|
|
307
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/commands/ralph-reflect.md — View and manage reflections
|
|
308
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/reflection-injection/SKILL.md — Auto-inject past reflections
|
|
309
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/hooks/post-iteration-reflect.md — Generate reflections after iterations
|
|
310
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/templates/self-reflection-prompt.md — Prompt template for reflection injection
|
|
311
311
|
- @.aiwg/research/findings/REF-021-reflexion.md — Research foundation
|
|
312
312
|
- Original methodology: agent loop - iteration beats perfection
|
|
@@ -18,7 +18,7 @@ You verify completion criteria for agent loops - determining if a task iteration
|
|
|
18
18
|
|
|
19
19
|
## Companion skill
|
|
20
20
|
|
|
21
|
-
When the loop is started without explicit `--completion`, the criterion you verify is produced by the `infer-completion-criteria` skill (`@$AIWG_ROOT/
|
|
21
|
+
When the loop is started without explicit `--completion`, the criterion you verify is produced by the `infer-completion-criteria` skill (`@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/infer-completion-criteria/SKILL.md`). It derives a measurable criterion from project docs (CLAUDE.md / AGENTS.md / AIWG.md), package manifests, CI configuration, and `.aiwg/` artifacts.
|
|
22
22
|
|
|
23
23
|
You do not run that skill yourself — the loop orchestrator (`ralph-loop` agent or external launcher) calls it during initialization. Your job is to take whatever criterion is in the loop state and verify it. The skill writes its rationale into `.aiwg/ralph/<loop-id>/progress.md` (or `.aiwg/ralph-external/<run-id>/inferred-completion.yaml` for external loops); when reporting verification results, you may reference that rationale so the user sees the full evidence chain.
|
|
24
24
|
|
|
@@ -1017,11 +1017,11 @@ To enable persistence for existing Al installations:
|
|
|
1017
1017
|
|
|
1018
1018
|
### Schemas
|
|
1019
1019
|
|
|
1020
|
-
- `@$AIWG_ROOT/
|
|
1021
|
-
- `@$AIWG_ROOT/
|
|
1022
|
-
- `@$AIWG_ROOT/
|
|
1023
|
-
- `@$AIWG_ROOT/
|
|
1024
|
-
- `@$AIWG_ROOT/
|
|
1020
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/hooks/persistence-hooks.yaml` - Hook definitions
|
|
1021
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/persistence-extension.yaml` - State extension schema
|
|
1022
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml` - Base loop state schema
|
|
1023
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/checkpoint.yaml` - Checkpoint schema
|
|
1024
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/iteration-analytics.yaml` - Iteration analytics
|
|
1025
1025
|
|
|
1026
1026
|
### Requirements
|
|
1027
1027
|
|
|
@@ -744,9 +744,9 @@ Result: Success, 2 iterations (anti-pattern prevented scope creep)
|
|
|
744
744
|
## Related Documentation
|
|
745
745
|
|
|
746
746
|
- `/ralph` - Main agent loop command
|
|
747
|
-
- `@$AIWG_ROOT/
|
|
748
|
-
- `@$AIWG_ROOT/
|
|
749
|
-
- `@$AIWG_ROOT/
|
|
747
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/shared-patterns.yaml` - Pattern schema
|
|
748
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/cross-task-memory.yaml` - Cross-task memory
|
|
749
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/best-practices.md` - General Al best practices
|
|
750
750
|
- `.aiwg/research/paper-analysis/REF-013-aiwg-analysis.md` - MetaGPT research analysis
|
|
751
751
|
|
|
752
752
|
---
|
|
@@ -475,15 +475,15 @@ escalation_on_max: true # Human takes over
|
|
|
475
475
|
|
|
476
476
|
The executable feedback loop conforms to:
|
|
477
477
|
- `@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/flows/executable-feedback.yaml` — Workflow schema
|
|
478
|
-
- `@$AIWG_ROOT/
|
|
479
|
-
- `@$AIWG_ROOT/
|
|
480
|
-
- `@$AIWG_ROOT/
|
|
478
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml` — Debug memory schema
|
|
479
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/actionable-feedback.yaml` — Feedback schema
|
|
480
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/iteration-analytics.yaml` — Analytics schema
|
|
481
481
|
|
|
482
482
|
## References
|
|
483
483
|
|
|
484
484
|
- @.aiwg/research/findings/REF-013-metagpt.md — MetaGPT research findings
|
|
485
485
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md — Executable feedback rules
|
|
486
486
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/flows/executable-feedback.yaml — Workflow schema
|
|
487
|
-
- @$AIWG_ROOT/
|
|
488
|
-
- @$AIWG_ROOT/
|
|
487
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml — Debug memory schema
|
|
488
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/reflection-memory-guide.md — Related: Reflexion memory guide
|
|
489
489
|
- #101 — Implementation issue
|
|
@@ -615,14 +615,14 @@ function pruneReflectionsToFit(
|
|
|
615
615
|
```bash
|
|
616
616
|
# Validate reflection against schema
|
|
617
617
|
npx ajv validate \
|
|
618
|
-
-s
|
|
618
|
+
-s ${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json \
|
|
619
619
|
-d .aiwg/ralph/reflections/ralph-task-123/001.json
|
|
620
620
|
```
|
|
621
621
|
|
|
622
622
|
**Runtime Validation**:
|
|
623
623
|
```typescript
|
|
624
624
|
import Ajv from 'ajv';
|
|
625
|
-
import schema from '
|
|
625
|
+
import schema from '@/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json';
|
|
626
626
|
|
|
627
627
|
const ajv = new Ajv();
|
|
628
628
|
const validate = ajv.compile(schema);
|
|
@@ -639,7 +639,7 @@ function validateReflection(reflection: unknown): Reflection {
|
|
|
639
639
|
|
|
640
640
|
### AIWG Documentation
|
|
641
641
|
|
|
642
|
-
- **@$AIWG_ROOT/
|
|
642
|
+
- **@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json** - JSON Schema definition
|
|
643
643
|
- **@.aiwg/ralph/reflections/.gitkeep** - Directory structure documentation
|
|
644
644
|
- **@.aiwg/ralph/reflections/example/001.json** - Example reflection
|
|
645
645
|
- **@$AIWG_ROOT/docs/references/REF-021-reflexion-verbal-reinforcement.md** - Research foundation
|
|
@@ -448,7 +448,7 @@ execution:
|
|
|
448
448
|
# State Extension Schema Reference
|
|
449
449
|
# ============================================================================
|
|
450
450
|
|
|
451
|
-
state_extension_schema: "
|
|
451
|
+
state_extension_schema: "@${CLAUDE_PLUGIN_ROOT}/schemas/persistence-extension.yaml"
|
|
452
452
|
|
|
453
453
|
# ============================================================================
|
|
454
454
|
# Integration with ConversableAgent
|
|
@@ -574,9 +574,9 @@ references:
|
|
|
574
574
|
- "@.aiwg/architecture/decisions/ADR-AP-003-prompt-injection-points.md"
|
|
575
575
|
|
|
576
576
|
schemas:
|
|
577
|
-
- "
|
|
578
|
-
- "
|
|
579
|
-
- "
|
|
577
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/persistence-extension.yaml"
|
|
578
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml"
|
|
579
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/checkpoint.yaml"
|
|
580
580
|
|
|
581
581
|
research:
|
|
582
582
|
- "@.aiwg/research/findings/agentic-laziness-research.md"
|
|
@@ -29,7 +29,7 @@ When triggered:
|
|
|
29
29
|
|
|
30
30
|
3. **Store reflection**:
|
|
31
31
|
- Save to `.aiwg/ralph/reflections/loops/{loop-id}/iteration-{n}.yaml`
|
|
32
|
-
- Follow @$AIWG_ROOT/
|
|
32
|
+
- Follow @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json schema
|
|
33
33
|
- Include timestamp, trial_number, trajectory, outcome, reflection, strategy_change
|
|
34
34
|
|
|
35
35
|
4. **Check for patterns**:
|
|
@@ -71,6 +71,6 @@ hook:
|
|
|
71
71
|
|
|
72
72
|
## References
|
|
73
73
|
|
|
74
|
-
- @$AIWG_ROOT/
|
|
75
|
-
- @$AIWG_ROOT/
|
|
74
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json - Schema
|
|
75
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/reflection-memory-guide.md - Guide
|
|
76
76
|
- @.aiwg/research/findings/REF-021-reflexion.md - Research foundation
|
|
@@ -84,6 +84,6 @@ hook:
|
|
|
84
84
|
## References
|
|
85
85
|
|
|
86
86
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md - Feedback rules
|
|
87
|
-
- @$AIWG_ROOT/
|
|
87
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml - Memory schema
|
|
88
88
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/flows/executable-feedback.yaml - Workflow schema
|
|
89
89
|
- @.aiwg/research/findings/REF-013-metagpt.md - Research foundation
|
|
@@ -317,5 +317,5 @@ references:
|
|
|
317
317
|
implementation:
|
|
318
318
|
- "#95"
|
|
319
319
|
related_schemas:
|
|
320
|
-
- "
|
|
320
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json"
|
|
321
321
|
- "@agentic/code/frameworks/sdlc-complete/schemas/research/quality-assessment.yaml"
|
|
@@ -390,6 +390,6 @@ references:
|
|
|
390
390
|
- "#268" # Multi-loop support
|
|
391
391
|
related:
|
|
392
392
|
- "@agentic/code/frameworks/sdlc-complete/schemas/flows/error-handling.yaml"
|
|
393
|
-
- "
|
|
394
|
-
- "
|
|
395
|
-
- "
|
|
393
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json"
|
|
394
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-registry.yaml"
|
|
395
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml"
|
|
@@ -473,5 +473,5 @@ references:
|
|
|
473
473
|
- "@tools/ralph-external/"
|
|
474
474
|
- "@.aiwg/ralph/"
|
|
475
475
|
- "@agentic/code/frameworks/sdlc-complete/schemas/research/quality-dimensions.yaml"
|
|
476
|
-
- "
|
|
477
|
-
- "
|
|
476
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-registry.yaml"
|
|
477
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml"
|
|
@@ -285,6 +285,6 @@ references:
|
|
|
285
285
|
implementation:
|
|
286
286
|
- "#268" # Multi-loop registry schemas
|
|
287
287
|
related:
|
|
288
|
-
- "
|
|
289
|
-
- "
|
|
288
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml"
|
|
289
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/checkpoint.yaml"
|
|
290
290
|
- "@tools/ralph-external/"
|
|
@@ -391,6 +391,6 @@ references:
|
|
|
391
391
|
implementation:
|
|
392
392
|
- "#268" # Multi-loop state schemas
|
|
393
393
|
related:
|
|
394
|
-
- "
|
|
395
|
-
- "
|
|
396
|
-
- "
|
|
394
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-registry.yaml"
|
|
395
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/checkpoint.yaml"
|
|
396
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/iteration-analytics.yaml"
|
|
@@ -325,6 +325,6 @@ references:
|
|
|
325
325
|
implementation:
|
|
326
326
|
- "#123"
|
|
327
327
|
related:
|
|
328
|
-
- "
|
|
328
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/checkpoint.yaml"
|
|
329
329
|
- "@agentic/code/frameworks/sdlc-complete/schemas/flows/execution-mode.yaml"
|
|
330
330
|
- "@.claude/commands/ralph.md"
|
|
@@ -285,5 +285,5 @@ references:
|
|
|
285
285
|
implementation:
|
|
286
286
|
- "#266"
|
|
287
287
|
related:
|
|
288
|
-
- "
|
|
289
|
-
- "
|
|
288
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/checkpoint.yaml"
|
|
289
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/iteration-analytics.yaml"
|
|
@@ -770,12 +770,12 @@ examples:
|
|
|
770
770
|
|
|
771
771
|
references:
|
|
772
772
|
base_schema:
|
|
773
|
-
- "
|
|
773
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml"
|
|
774
774
|
|
|
775
775
|
related_schemas:
|
|
776
|
-
- "
|
|
777
|
-
- "
|
|
778
|
-
- "
|
|
776
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/checkpoint.yaml"
|
|
777
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/iteration-analytics.yaml"
|
|
778
|
+
- "@${CLAUDE_PLUGIN_ROOT}/hooks/persistence-hooks.yaml"
|
|
779
779
|
|
|
780
780
|
requirements:
|
|
781
781
|
- "@.aiwg/requirements/nfr-modules/agent-persistence-nfrs.md"
|
|
@@ -738,6 +738,6 @@ references:
|
|
|
738
738
|
implementation:
|
|
739
739
|
- "#269" # Cross-loop learning
|
|
740
740
|
related:
|
|
741
|
-
- "
|
|
742
|
-
- "
|
|
743
|
-
- "
|
|
741
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/cross-task-memory.yaml"
|
|
742
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml"
|
|
743
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/multi-loop-registry.yaml"
|
|
@@ -486,6 +486,6 @@ references:
|
|
|
486
486
|
implementation:
|
|
487
487
|
- "#165"
|
|
488
488
|
related:
|
|
489
|
-
- "
|
|
490
|
-
- "
|
|
489
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/iteration-analytics.yaml"
|
|
490
|
+
- "@${CLAUDE_PLUGIN_ROOT}/schemas/cross-task-memory.yaml"
|
|
491
491
|
- "@tools/ralph-external/"
|
|
@@ -138,7 +138,7 @@ Alternate expressions and non-obvious activations (primary phrases are matched a
|
|
|
138
138
|
|
|
139
139
|
### Completion Inference
|
|
140
140
|
|
|
141
|
-
When the user doesn't specify explicit verification, delegate to the **`infer-completion-criteria`** skill (`@$AIWG_ROOT/
|
|
141
|
+
When the user doesn't specify explicit verification, delegate to the **`infer-completion-criteria`** skill (`@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/infer-completion-criteria/SKILL.md`). That skill runs a deterministic 5-layer pipeline:
|
|
142
142
|
|
|
143
143
|
1. **Task verb** → criterion class (test-pass, type-clean, regression-gate, coverage, lint-clean, build-pass, implement-feature)
|
|
144
144
|
2. **Project context files** (CLAUDE.md / AGENTS.md / AIWG.md) → canonical commands from the Development section
|
|
@@ -407,8 +407,8 @@ User: "actually, abort that and just fix the login bug"
|
|
|
407
407
|
- `ralph-status` skill - check loop progress
|
|
408
408
|
- `ralph-resume` skill - continue interrupted loops
|
|
409
409
|
- `ralph-abort` skill - abort active loops
|
|
410
|
-
- `@$AIWG_ROOT/
|
|
411
|
-
- `@$AIWG_ROOT/
|
|
410
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/loop-registry.yaml` - Registry schema
|
|
411
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml` - Loop state schema
|
|
412
412
|
- `@.aiwg/research/findings/REF-086-cognitive-load-limits.md` - Concurrency research
|
|
413
413
|
|
|
414
414
|
## Version History
|
|
@@ -420,8 +420,8 @@ User: "actually, abort that and just fix the login bug"
|
|
|
420
420
|
|
|
421
421
|
## References
|
|
422
422
|
|
|
423
|
-
- @$AIWG_ROOT/
|
|
424
|
-
- @$AIWG_ROOT/
|
|
425
|
-
- @$AIWG_ROOT/
|
|
423
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Ralph addon overview and loop executor documentation
|
|
424
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/loop-registry.yaml — Registry schema for multi-loop tracking
|
|
425
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/loop-state.yaml — Loop state schema
|
|
426
426
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/vague-discretion.md — Loop termination and completion criteria rules
|
|
427
427
|
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference for ralph commands
|
|
@@ -76,7 +76,7 @@ Because `agent-loop-ext` runs externally (potentially headless / in CI), the con
|
|
|
76
76
|
- Interactive session (TTY attached): show proposal, accept `Y / n / edit` like the in-session `ralph` skill
|
|
77
77
|
- Non-interactive / `--auto-criteria` / CI environment: use the inferred criterion if confidence is `high`, otherwise fail fast and print the proposal as a diagnostic so the user can re-launch with `--completion` explicitly
|
|
78
78
|
|
|
79
|
-
Pass `--no-infer-completion` to require explicit `--completion` and fail before launch if missing. See `@$AIWG_ROOT/
|
|
79
|
+
Pass `--no-infer-completion` to require explicit `--completion` and fail before launch if missing. See `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/infer-completion-criteria/SKILL.md`.
|
|
80
80
|
|
|
81
81
|
### --max-iterations (default: 10)
|
|
82
82
|
Maximum iterations before the loop halts and saves state for manual review.
|
|
@@ -255,4 +255,4 @@ echo "Exit: $?"
|
|
|
255
255
|
- @$AIWG_ROOT/tools/ralph-external/orchestrator.mjs — Loop orchestration engine
|
|
256
256
|
- @$AIWG_ROOT/tools/ralph-external/state-manager.mjs — State persistence layer
|
|
257
257
|
- @$AIWG_ROOT/tools/ralph-external/session-launcher.mjs — AI session launcher
|
|
258
|
-
- @$AIWG_ROOT/
|
|
258
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Al documentation
|
|
@@ -77,6 +77,6 @@ This skill uses:
|
|
|
77
77
|
## References
|
|
78
78
|
|
|
79
79
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md - Feedback rules
|
|
80
|
-
- @$AIWG_ROOT/
|
|
81
|
-
- @$AIWG_ROOT/
|
|
80
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/executable-feedback-guide.md - Guide
|
|
81
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml - Memory schema
|
|
82
82
|
- @.aiwg/research/findings/REF-013-metagpt.md - Research foundation
|
|
@@ -723,9 +723,9 @@ ralph:
|
|
|
723
723
|
|
|
724
724
|
## Related
|
|
725
725
|
|
|
726
|
-
- `@$AIWG_ROOT/
|
|
727
|
-
- `@$AIWG_ROOT/
|
|
728
|
-
- `@$AIWG_ROOT/
|
|
726
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/shared-patterns.yaml` - Pattern schema
|
|
727
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/cross-task-memory.yaml` - Cross-task memory
|
|
728
|
+
- `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/cross-loop-learning.md` - Full documentation
|
|
729
729
|
- `.aiwg/research/paper-analysis/REF-013-aiwg-analysis.md` - MetaGPT research
|
|
730
730
|
- `ralph` skill - Iterative loop executor
|
|
731
731
|
- `agent-loop` skill - Detects iterative loop requests
|
|
@@ -739,8 +739,8 @@ ralph:
|
|
|
739
739
|
|
|
740
740
|
## References
|
|
741
741
|
|
|
742
|
-
- @$AIWG_ROOT/
|
|
743
|
-
- @$AIWG_ROOT/
|
|
744
|
-
- @$AIWG_ROOT/
|
|
745
|
-
- @$AIWG_ROOT/
|
|
742
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Ralph addon overview
|
|
743
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/shared-patterns.yaml — Pattern schema for cross-loop learning
|
|
744
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/cross-task-memory.yaml — Cross-task memory schema
|
|
745
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/cross-loop-learning.md — Full cross-loop learning documentation
|
|
746
746
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/subagent-scoping.md — Subagent scoping rules relevant to loop orchestration
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"schemas": [
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
29
|
+
"@${CLAUDE_PLUGIN_ROOT}/schemas/shared-patterns.yaml",
|
|
30
|
+
"@${CLAUDE_PLUGIN_ROOT}/schemas/cross-task-memory.yaml",
|
|
31
|
+
"@${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml"
|
|
32
32
|
],
|
|
33
33
|
"skills": [
|
|
34
34
|
"agent-loop"
|
|
@@ -61,6 +61,6 @@ Clear debug memory (with confirmation).
|
|
|
61
61
|
|
|
62
62
|
## References
|
|
63
63
|
|
|
64
|
-
- @$AIWG_ROOT/
|
|
64
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml - Debug memory schema
|
|
65
65
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md - Executable feedback rules
|
|
66
|
-
- @$AIWG_ROOT/
|
|
66
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/executable-feedback-guide.md - Guide
|
|
@@ -65,7 +65,7 @@ When invoked, perform the executable feedback loop per REF-013 MetaGPT:
|
|
|
65
65
|
## References
|
|
66
66
|
|
|
67
67
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md - Executable feedback rules
|
|
68
|
-
- @$AIWG_ROOT/
|
|
69
|
-
- @$AIWG_ROOT/
|
|
68
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/executable-feedback-guide.md - Implementation guide
|
|
69
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml - Debug memory schema
|
|
70
70
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/flows/executable-feedback.yaml - Workflow schema
|
|
71
71
|
- @.aiwg/research/findings/REF-013-metagpt.md - Research foundation
|
|
@@ -319,7 +319,7 @@ Or rephrase the task with a concrete intent:
|
|
|
319
319
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md — Layer-walk research pattern
|
|
320
320
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/instruction-comprehension.md — Don't override explicit user criteria
|
|
321
321
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/auto-compact-continue.md — Criterion IS what the loop continues toward
|
|
322
|
-
- @$AIWG_ROOT/
|
|
323
|
-
- @$AIWG_ROOT/
|
|
324
|
-
- @$AIWG_ROOT/
|
|
325
|
-
- @$AIWG_ROOT/
|
|
322
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/agent-loop/SKILL.md — The detection/routing skill that delegates here when `--completion` is missing
|
|
323
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/ralph/SKILL.md — The legacy executor skill that consumes this output (`ralph` is legacy for `agent-loop`'s executor)
|
|
324
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/agent-loop-ext/SKILL.md — The crash-resilient external loop, same delegation pattern
|
|
325
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/agents/ralph-verifier.md — Runs the verification command this skill proposes
|
|
@@ -75,7 +75,7 @@ Success criteria. Must be:
|
|
|
75
75
|
|
|
76
76
|
**When omitted**: the loop delegates to the `infer-completion-criteria` skill, which derives a measurable criterion from project docs (CLAUDE.md / AGENTS.md / AIWG.md), package manifests, CI configuration, and `.aiwg/` artifacts. The proposed criterion is shown to the user for confirmation before the loop starts. Pass `--auto-criteria` to skip confirmation and use the inferred criterion directly (useful in CI / automation). Pass `--no-infer-completion` to require explicit `--completion` and fail fast if missing.
|
|
77
77
|
|
|
78
|
-
See `@$AIWG_ROOT/
|
|
78
|
+
See `@$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/skills/infer-completion-criteria/SKILL.md` for the inference pipeline.
|
|
79
79
|
|
|
80
80
|
### --max-iterations (default: 10)
|
|
81
81
|
Safety limit on iterations. Prevents infinite loops.
|
|
@@ -135,7 +135,7 @@ After abort:
|
|
|
135
135
|
|
|
136
136
|
## References
|
|
137
137
|
|
|
138
|
-
- @$AIWG_ROOT/
|
|
138
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Ralph addon overview and loop executor documentation
|
|
139
139
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md — Authorization rules for irreversible actions like revert
|
|
140
140
|
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference for ralph-abort and related commands
|
|
141
141
|
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/README.md — SDLC framework context
|
|
@@ -47,6 +47,6 @@ When invoked, analyze agent loop data and present metrics:
|
|
|
47
47
|
|
|
48
48
|
## References
|
|
49
49
|
|
|
50
|
-
- @$AIWG_ROOT/
|
|
51
|
-
- @$AIWG_ROOT/
|
|
52
|
-
- @$AIWG_ROOT/
|
|
50
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json - Reflection schema
|
|
51
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/debug-memory.yaml - Debug memory schema
|
|
52
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/reflection-memory-guide.md - Guide
|
|
@@ -152,5 +152,5 @@ Press `Ctrl+C` while attached.
|
|
|
152
152
|
|
|
153
153
|
- @$AIWG_ROOT/src/cli/handlers/ralph.ts — Al handler (attachToLoopOutput)
|
|
154
154
|
- @$AIWG_ROOT/src/cli/handlers/ralph-launcher.ts — Loop launcher and state management
|
|
155
|
-
- @$AIWG_ROOT/
|
|
155
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Al documentation
|
|
156
156
|
- @$AIWG_ROOT/tools/ralph-external/README.md — External loop architecture
|
|
@@ -317,4 +317,4 @@ Check that the .aiwg/ralph/ directory is writable:
|
|
|
317
317
|
|
|
318
318
|
- @$AIWG_ROOT/src/cli/handlers/ralph.ts — Al CLI handler (config parsing)
|
|
319
319
|
- @$AIWG_ROOT/tools/ralph-external/README.md — External loop architecture
|
|
320
|
-
- @$AIWG_ROOT/
|
|
320
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Al documentation
|
|
@@ -238,4 +238,4 @@ echo "Exit: $?"
|
|
|
238
238
|
- @$AIWG_ROOT/tools/ralph-external/orchestrator.mjs — Loop orchestration engine
|
|
239
239
|
- @$AIWG_ROOT/tools/ralph-external/state-manager.mjs — State persistence layer
|
|
240
240
|
- @$AIWG_ROOT/tools/ralph-external/session-launcher.mjs — AI session launcher
|
|
241
|
-
- @$AIWG_ROOT/
|
|
241
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Al documentation
|
|
@@ -280,7 +280,7 @@ Usage:
|
|
|
280
280
|
- @$AIWG_ROOT/tools/ralph-external/lib/semantic-memory.mjs — Semantic memory layer
|
|
281
281
|
- @$AIWG_ROOT/tools/ralph-external/lib/memory-retrieval.mjs — Memory query logic
|
|
282
282
|
- @$AIWG_ROOT/tools/ralph-external/lib/memory-promotion.mjs — Cross-task memory promotion
|
|
283
|
-
- @$AIWG_ROOT/
|
|
283
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Al documentation
|
|
284
284
|
|
|
285
285
|
## Storage Routing (#934, #967)
|
|
286
286
|
|
|
@@ -54,8 +54,8 @@ Archive and clear reflection history.
|
|
|
54
54
|
|
|
55
55
|
## References
|
|
56
56
|
|
|
57
|
-
- @$AIWG_ROOT/
|
|
58
|
-
- @$AIWG_ROOT/
|
|
57
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/schemas/reflection-memory.json - Reflection schema
|
|
58
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/docs/reflection-memory-guide.md - Guide
|
|
59
59
|
- @.aiwg/research/findings/REF-021-reflexion.md - Research foundation
|
|
60
60
|
|
|
61
61
|
## Storage Routing (#934, #967)
|
|
@@ -190,7 +190,7 @@ Continues from last checkpoint with original settings.
|
|
|
190
190
|
|
|
191
191
|
## References
|
|
192
192
|
|
|
193
|
-
- @$AIWG_ROOT/
|
|
193
|
+
- @$AIWG_ROOT/${CLAUDE_PLUGIN_ROOT}/README.md — Ralph addon overview and loop executor documentation
|
|
194
194
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/vague-discretion.md — Loop termination and iteration limit rules
|
|
195
195
|
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference for ralph-resume and related commands
|
|
196
196
|
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/instruction-comprehension.md — Re-reading original task instructions on resume
|