aiwg 2026.9.7 → 2026.9.10
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/README.md +16 -16
- package/agentic/code/addons/agent-loop/README.md +4 -4
- package/agentic/code/addons/agent-loop/agents/ralph-loop.md +8 -8
- package/agentic/code/addons/agent-loop/docs/agent-persistence-integration.md +5 -5
- package/agentic/code/addons/agent-loop/docs/cross-loop-learning.md +3 -3
- package/agentic/code/addons/agent-loop/docs/executable-feedback-guide.md +5 -5
- package/agentic/code/addons/agent-loop/docs/quickstart.md +2 -2
- package/agentic/code/addons/agent-loop/docs/reflection-memory-guide.md +3 -3
- package/agentic/code/addons/agent-loop/hooks/persistence-hooks.yaml +4 -4
- package/agentic/code/addons/agent-loop/hooks/post-iteration-reflect.md +3 -3
- package/agentic/code/addons/agent-loop/hooks/pre-return-execution-gate.md +1 -1
- package/agentic/code/addons/agent-loop/schemas/actionable-feedback.yaml +1 -1
- package/agentic/code/addons/agent-loop/schemas/checkpoint.yaml +3 -3
- package/agentic/code/addons/agent-loop/schemas/debug-memory.yaml +1 -1
- package/agentic/code/addons/agent-loop/schemas/iteration-analytics.yaml +2 -2
- package/agentic/code/addons/agent-loop/schemas/loop-registry.yaml +2 -2
- package/agentic/code/addons/agent-loop/schemas/loop-state.yaml +3 -3
- package/agentic/code/addons/agent-loop/schemas/mcp-task.yaml +1 -1
- package/agentic/code/addons/agent-loop/schemas/multi-loop-registry.yaml +2 -2
- package/agentic/code/addons/agent-loop/schemas/persistence-extension.yaml +4 -4
- package/agentic/code/addons/agent-loop/schemas/shared-patterns.yaml +3 -3
- package/agentic/code/addons/agent-loop/schemas/tree-search.yaml +2 -2
- package/agentic/code/addons/agent-loop/skills/agent-loop-ext/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/auto-test-execution/SKILL.md +2 -2
- package/agentic/code/addons/agent-loop/skills/cross-task-learner/SKILL.md +7 -7
- package/agentic/code/addons/agent-loop/skills/cross-task-learner/manifest.json +3 -3
- package/agentic/code/addons/agent-loop/skills/debug-memory/SKILL.md +2 -2
- package/agentic/code/addons/agent-loop/skills/execute-feedback/SKILL.md +2 -2
- package/agentic/code/addons/agent-loop/skills/ralph-abort/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/ralph-analytics/SKILL.md +3 -3
- package/agentic/code/addons/agent-loop/skills/ralph-attach/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/ralph-config/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/ralph-external/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/ralph-memory/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/ralph-reflect/SKILL.md +2 -2
- package/agentic/code/addons/agent-loop/skills/ralph-resume/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/ralph-status/SKILL.md +1 -1
- package/agentic/code/addons/agent-loop/skills/reflection-injection/SKILL.md +4 -4
- package/agentic/code/addons/agent-loop/templates/self-reflection-prompt.md +2 -2
- package/agentic/code/addons/aiwg-hooks/hooks/aiwg-session.cjs +22 -3
- package/agentic/code/addons/aiwg-utils/rules/auto-compact-continue.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/delivery-policy.md +6 -0
- package/agentic/code/addons/aiwg-utils/rules/escalation-discipline.md +4 -0
- package/agentic/code/addons/aiwg-utils/rules/human-authorization.md +7 -0
- package/agentic/code/addons/aiwg-utils/rules/instruction-comprehension.md +5 -0
- package/agentic/code/addons/aiwg-utils/rules/research-before-decision.md +5 -0
- package/agentic/code/addons/aiwg-utils/rules/respect-repo-access-manifest.md +27 -2
- package/agentic/code/addons/aiwg-utils/rules/skill-discovery.md +5 -0
- package/agentic/code/addons/aiwg-utils/rules/subagent-scoping.md +5 -0
- package/agentic/code/addons/aiwg-utils/rules/tool-quota.md +4 -0
- package/agentic/code/addons/aiwg-utils/skills/sdlc-accelerate/SKILL.md +1 -1
- package/agentic/code/addons/aiwg-utils/skills/steward/SKILL.md +18 -2
- package/agentic/code/addons/auto-memory/README.md +1 -1
- package/agentic/code/addons/auto-memory/docs/overview.md +1 -1
- package/agentic/code/addons/dataset-intelligence/docs/fortemi-boundaries.md +9 -0
- package/agentic/code/addons/rlm/README.md +1 -1
- package/agentic/code/addons/rlm/agents/rlm-agent.md +1 -1
- package/agentic/code/addons/rlm/docs/ralph-integration.md +1 -1
- package/agentic/code/addons/rlm/docs/taskstore-persistence.md +1 -1
- package/agentic/code/addons/rlm/schemas/rlm-task-tree.yaml +1 -1
- package/agentic/code/addons/rlm/schemas/rlm-trajectory.yaml +1 -1
- package/agentic/code/addons/rlm/skills/rlm-status/SKILL.md +2 -2
- package/agentic/code/extensions/corpus-templates/templates/TEMPLATE-citations.md +58 -10
- package/agentic/code/extensions/corpus-templates/templates/TEMPLATES-README.md +2 -0
- package/agentic/code/frameworks/media-curator/agents/llm-model-archivist.md +121 -0
- package/agentic/code/frameworks/media-curator/agents/manifest.json +2 -1
- package/agentic/code/frameworks/media-curator/docs/llm-model-archive-templates.md +99 -0
- package/agentic/code/frameworks/media-curator/manifest.json +4 -0
- package/agentic/code/frameworks/media-curator/skills/media-curator-quickref/SKILL.md +9 -0
- package/agentic/code/frameworks/ops-complete/rules/ops-safety.md +6 -0
- package/agentic/code/frameworks/research-complete/docs/bibliographic-services.md +76 -0
- package/agentic/code/frameworks/research-complete/lint/citation-resolves.yaml +8 -1
- package/agentic/code/frameworks/research-complete/lint/uncertainty-registered.yaml +37 -0
- package/agentic/code/frameworks/research-complete/skills/induct-research/SKILL.md +238 -5
- package/agentic/code/frameworks/research-complete/skills/research-lint/SKILL.md +2 -1
- package/agentic/code/frameworks/research-complete/templates/citation-sidecar.md +58 -10
- package/agentic/code/frameworks/research-complete/templates/literature-note.md +1 -1
- package/agentic/code/frameworks/research-complete/templates/reference-templates-guide.md +2 -0
- package/agentic/code/frameworks/research-complete/templates/summary.md +2 -2
- package/agentic/code/frameworks/sdlc-complete/agents/architecture-designer.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/code-reviewer.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/debugger.md +3 -3
- package/agentic/code/frameworks/sdlc-complete/agents/laziness-detector.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/metrics-analyst.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/progress-tracker.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/prompt-reinforcement.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/recovery-orchestrator.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/reliability-engineer.md +2 -2
- package/agentic/code/frameworks/sdlc-complete/agents/security-auditor.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/software-implementer.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/test-architect.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/agents/test-engineer.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/config/models.json +9 -9
- package/agentic/code/frameworks/sdlc-complete/flows/flow-release.playbook.yaml +1 -0
- package/agentic/code/frameworks/sdlc-complete/rules/anti-laziness.md +6 -0
- package/agentic/code/frameworks/sdlc-complete/rules/no-attribution.md +4 -0
- package/agentic/code/frameworks/sdlc-complete/rules/token-security.md +6 -0
- package/agentic/code/frameworks/sdlc-complete/schemas/flows/error-handling.yaml +1 -1
- package/agentic/code/frameworks/sdlc-complete/schemas/flows/examples/aiwg.release.config.yaml +1 -0
- package/agentic/code/frameworks/sdlc-complete/schemas/flows/executable-feedback.yaml +3 -3
- package/agentic/code/frameworks/sdlc-complete/schemas/flows/execution-mode.yaml +1 -1
- package/agentic/code/frameworks/sdlc-complete/schemas/flows/execution-snapshot.yaml +2 -2
- package/agentic/code/frameworks/sdlc-complete/schemas/flows/release-config.yaml +8 -0
- package/agentic/code/frameworks/sdlc-complete/schemas/flows/token-efficiency.yaml +1 -1
- package/agentic/code/frameworks/sdlc-complete/schemas/mcp/discovery.yaml +1 -1
- package/agentic/code/frameworks/sdlc-complete/schemas/research/lats-evaluation.yaml +1 -1
- package/agentic/code/frameworks/sdlc-complete/schemas/testing/regression-automation.yaml +2 -2
- package/agentic/code/frameworks/sdlc-complete/schemas/testing/regression-dashboard.yaml +1 -1
- package/agentic/code/frameworks/sdlc-complete/schemas/testing/regression-learning.yaml +3 -3
- package/agentic/code/frameworks/sdlc-complete/schemas/testing/regression.yaml +2 -2
- package/agentic/code/frameworks/sdlc-complete/skills/address-issues/SKILL.md +7 -2
- package/agentic/code/frameworks/sdlc-complete/skills/address-issues/scripts/cycle-comment.mjs +3 -1
- package/agentic/code/frameworks/sdlc-complete/skills/address-issues-threat-assess/SKILL.md +41 -1
- package/agentic/code/frameworks/sdlc-complete/skills/address-issues-threat-assess/scripts/assess.mjs +88 -11
- package/agentic/code/frameworks/sdlc-complete/skills/flow-release/SKILL.md +44 -10
- package/agentic/code/frameworks/sdlc-complete/skills/issue-driven-al/SKILL.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/skills/regression-learning/SKILL.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/skills/sdlc-accelerate/SKILL.md +1 -1
- package/agentic/code/frameworks/sdlc-complete/templates/ralph/self-reflection-prompt.md +2 -2
- package/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md +4 -0
- package/agentic/code/frameworks/security-engineering/rules/dependency-source-policy.md +4 -0
- package/agentic/code/plugins/agent-loop/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/agent-loop/README.md +4 -4
- package/agentic/code/plugins/agent-loop/docs/quickstart.md +2 -2
- package/agentic/code/plugins/agent-persistence/.claude-plugin/plugin.json +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-evals/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/auto-memory/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/auto-memory/README.md +1 -1
- package/agentic/code/plugins/auto-memory/docs/overview.md +1 -1
- package/agentic/code/plugins/browser-control/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/codex-sdlc/skills/address-issues/SKILL.md +7 -2
- package/agentic/code/plugins/codex-sdlc/skills/address-issues/scripts/cycle-comment.mjs +3 -1
- package/agentic/code/plugins/codex-sdlc/skills/address-issues-threat-assess/SKILL.md +41 -1
- package/agentic/code/plugins/codex-sdlc/skills/flow-release/SKILL.md +44 -10
- package/agentic/code/plugins/codex-sdlc/skills/issue-driven-al/SKILL.md +1 -1
- package/agentic/code/plugins/codex-sdlc/skills/regression-learning/SKILL.md +1 -1
- package/agentic/code/plugins/codex-sdlc/skills/sdlc-accelerate/SKILL.md +1 -1
- package/agentic/code/plugins/color-palette/.claude-plugin/plugin.json +1 -1
- 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/hooks/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/hooks/hooks/aiwg-session.cjs +22 -3
- 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/llm-wiki/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/marketing/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/media-curator/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/media-curator/agents/llm-model-archivist.md +121 -0
- package/agentic/code/plugins/media-curator/agents/manifest.json +2 -1
- package/agentic/code/plugins/media-curator/skills/media-curator-quickref/SKILL.md +9 -0
- 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/induct-research/SKILL.md +237 -5
- package/agentic/code/plugins/research/skills/research-lint/SKILL.md +2 -1
- package/agentic/code/plugins/rlm/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/rlm/README.md +1 -1
- package/agentic/code/plugins/rlm/agents/rlm-agent.md +1 -1
- package/agentic/code/plugins/rlm/docs/ralph-integration.md +1 -1
- package/agentic/code/plugins/rlm/docs/taskstore-persistence.md +1 -1
- package/agentic/code/plugins/rlm/schemas/rlm-task-tree.yaml +1 -1
- package/agentic/code/plugins/rlm/schemas/rlm-trajectory.yaml +1 -1
- package/agentic/code/plugins/rlm/skills/rlm-status/SKILL.md +2 -2
- package/agentic/code/plugins/sdlc/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/sdlc/agents/architecture-designer.md +1 -1
- package/agentic/code/plugins/sdlc/agents/code-reviewer.md +1 -1
- package/agentic/code/plugins/sdlc/agents/debugger.md +3 -3
- package/agentic/code/plugins/sdlc/agents/laziness-detector.md +1 -1
- package/agentic/code/plugins/sdlc/agents/metrics-analyst.md +1 -1
- package/agentic/code/plugins/sdlc/agents/progress-tracker.md +1 -1
- package/agentic/code/plugins/sdlc/agents/prompt-reinforcement.md +1 -1
- package/agentic/code/plugins/sdlc/agents/recovery-orchestrator.md +1 -1
- package/agentic/code/plugins/sdlc/agents/reliability-engineer.md +2 -2
- package/agentic/code/plugins/sdlc/agents/security-auditor.md +1 -1
- package/agentic/code/plugins/sdlc/agents/software-implementer.md +1 -1
- package/agentic/code/plugins/sdlc/agents/test-architect.md +1 -1
- package/agentic/code/plugins/sdlc/agents/test-engineer.md +1 -1
- package/agentic/code/plugins/sdlc/skills/address-issues/SKILL.md +7 -2
- package/agentic/code/plugins/sdlc/skills/address-issues/scripts/cycle-comment.mjs +3 -1
- package/agentic/code/plugins/sdlc/skills/address-issues-threat-assess/SKILL.md +41 -1
- package/agentic/code/plugins/sdlc/skills/address-issues-threat-assess/scripts/assess.mjs +88 -11
- package/agentic/code/plugins/sdlc/skills/flow-release/SKILL.md +44 -10
- package/agentic/code/plugins/sdlc/skills/issue-driven-al/SKILL.md +1 -1
- package/agentic/code/plugins/sdlc/skills/regression-learning/SKILL.md +1 -1
- package/agentic/code/plugins/sdlc/skills/sdlc-accelerate/SKILL.md +1 -1
- package/agentic/code/plugins/sdlc/tools/security/threat-assessment.mjs +104 -9
- 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/testing-quality/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/twelve-factor/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/uat-mcp/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/utils/.claude-plugin/plugin.json +1 -1
- package/agentic/code/plugins/utils/skills/sdlc-accelerate/SKILL.md +1 -1
- package/agentic/code/plugins/utils/skills/steward/SKILL.md +18 -2
- 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/bin/aiwg.mjs +55 -10
- package/dist/src/artifacts/cli.js +20 -8
- package/dist/src/artifacts/corpus-views/taxonomies.js +1 -1
- package/dist/src/artifacts/index-builder.js +43 -1
- package/dist/src/artifacts/query-engine.js +7 -0
- package/dist/src/cli/handlers/help.js +6 -5
- package/dist/src/cli/handlers/init.js +7 -2
- package/dist/src/cli/handlers/installation.js +102 -2
- package/dist/src/cli/handlers/mc.js +87 -17
- package/dist/src/cli/handlers/ralph.js +8 -8
- package/dist/src/cli/handlers/refresh.js +67 -7
- package/dist/src/cli/handlers/repo-access.js +155 -4
- package/dist/src/cli/handlers/setup.js +5 -5
- package/dist/src/cli/handlers/steward.js +39 -2
- package/dist/src/cli/handlers/use.js +13 -4
- package/dist/src/cli/handlers/version.js +49 -14
- package/dist/src/cli/handlers/workspace-context.js +8 -0
- package/dist/src/cli/services/deployment-verification.js +71 -10
- package/dist/src/cli/watch-service.js +43 -3
- package/dist/src/config/aiwg-config.js +95 -3
- package/dist/src/config/cli.js +16 -1
- package/dist/src/config/gitignore.js +5 -0
- package/dist/src/dataset/fortemi-capability.d.ts +70 -0
- package/dist/src/dataset/fortemi-capability.js +211 -0
- package/dist/src/dataset/fortemi-dataset-execution.d.ts +9 -0
- package/dist/src/dataset/fortemi-dataset-execution.js +49 -8
- package/dist/src/dataset/fortemi-run-receipt.d.ts +1 -0
- package/dist/src/dataset/fortemi-run-receipt.js +2 -19
- package/dist/src/dataset/fortemi-schema-path.d.ts +7 -0
- package/dist/src/dataset/fortemi-schema-path.js +24 -0
- package/dist/src/dataset/index.d.ts +1 -0
- package/dist/src/dataset/index.js +1 -0
- package/dist/src/extensions/claude-hooks-installer.js +22 -6
- package/dist/src/extensions/project-local-doctor.js +15 -1
- package/dist/src/lint/cli.js +5 -1
- package/dist/src/lint/reporters.js +17 -0
- package/dist/src/lint/runner.js +297 -4
- package/dist/src/policy/authorization.js +1 -1
- package/dist/src/smiths/context-pipeline/workspace-context.js +138 -49
- package/dist/src/writing/writing-receipt.d.ts +16 -16
- package/docs/_manifest.json +22 -0
- package/docs/addons/dataset-intelligence/fortemi-boundaries.md +9 -0
- package/docs/agent-loop/manual-provider-testing.md +23 -9
- package/docs/agents/providers/codex.md +15 -3
- package/docs/agents/providers/pi.md +12 -2
- package/docs/cli/install-and-repair.md +9 -0
- package/docs/cli/reference.md +23 -1
- package/docs/cli/regenerate.md +4 -2
- package/docs/configuration/aiwg-config.md +67 -0
- package/docs/configuration/model-configuration.md +22 -12
- package/docs/configuration/workspace-context.md +5 -2
- package/docs/contributing/release-plan-sidecars.md +12 -0
- package/docs/development/cli-help-routing-audit.md +22 -15
- package/docs/development/rule-creation-guide.md +95 -0
- package/docs/frameworks/media-curator/overview.md +1 -0
- package/docs/frameworks/media-curator/user-guide.md +26 -0
- package/docs/integrations/codex-quickstart.md +6 -3
- package/docs/integrations/cross-platform-overview.md +1 -1
- package/docs/integrations/deepseek-harness-quickstart.md +8 -0
- package/docs/migration/workspace-context.md +38 -2
- package/docs/planning/flow-graph/release-gates.md +1 -1
- package/docs/planning/flow-graph/traceability-matrix.md +19 -3
- package/docs/providers/claude-context-budget.md +30 -9
- package/docs/providers/deepseek-harness.md +26 -0
- package/docs/providers/pi-sessions.md +3 -1
- package/docs/releases/v2026.9.10-announcement.md +161 -0
- package/docs/releases/v2026.9.9-announcement.md +144 -0
- package/docs/skills-budget-guide.md +29 -2
- package/docs/testing/model-provider-conformance.md +13 -2
- package/docs/testing/uat/fortemi-live-dataset-uat-plan.md +13 -0
- package/docs/verification-contracts.md +2 -0
- package/package.json +2 -1
- package/prebuilt/fortemi-core/framework/aiwg-fortemi-index-v2.json +1 -1
- package/prebuilt/fortemi-core/framework/manifest.json +2 -2
- package/schemas/catalog/domains/dataset.json +52 -0
- package/schemas/dataset/fortemi-capability-validation/1.0.1/authority.json +61 -0
- package/schemas/dataset/fortemi-capability-validation/1.0.1/capability.schema.json +469 -0
- package/schemas/security/threat-assessment-report.v1.schema.json +2 -1
- package/tools/agents/deploy-agents.mjs +8 -0
- package/tools/agents/providers/base.mjs +261 -16
- package/tools/agents/providers/claude.mjs +61 -4
- package/tools/agents/providers/codex.mjs +9 -0
- package/tools/cli/doctor.mjs +148 -13
- package/tools/lint/claude-context-inventory.mjs +70 -0
- package/tools/media-curator/llm-model-archive.mjs +248 -0
- package/tools/media-curator/llm-model-report.mjs +203 -0
- package/tools/providers/pi-live-smoke.mjs +3 -1
- package/tools/qualification/dataset-fortemi-execute.ts +15 -1
- package/tools/ralph-external/index.mjs +20 -0
- package/tools/ralph-external/lib/pi-adapter.mjs +28 -3
- package/tools/ralph-external/session-launcher.mjs +20 -2
- package/tools/research/bibliography-resolver.mjs +435 -0
- package/tools/security/threat-assessment.mjs +104 -9
- package/tools/skills/deploy-skills-codex.mjs +121 -7
- package/vscode-extension/schemas/aiwg.config.v1.json +27 -2
- package/docs/addons/ralph/agent-persistence-integration.md +0 -1060
- package/docs/addons/ralph/best-practices.md +0 -313
- package/docs/addons/ralph/cross-loop-learning.md +0 -768
- package/docs/addons/ralph/examples/coverage.md +0 -113
- package/docs/addons/ralph/examples/migration.md +0 -102
- package/docs/addons/ralph/examples/test-fix-loop.md +0 -95
- package/docs/addons/ralph/executable-feedback-guide.md +0 -489
- package/docs/addons/ralph/quickstart.md +0 -233
- package/docs/addons/ralph/reflection-memory-guide.md +0 -673
- package/docs/addons/ralph/troubleshooting.md +0 -326
- package/docs/addons/ralph/when-to-use-ralph.md +0 -348
- /package/agentic/code/addons/agent-loop/docs/{when-to-use-ralph.md → when-to-use-agent-loop.md} +0 -0
- /package/agentic/code/plugins/agent-loop/docs/{when-to-use-ralph.md → when-to-use-agent-loop.md} +0 -0
- /package/docs/addons/agent-loop/{when-to-use-ralph.md → when-to-use-agent-loop.md} +0 -0
- /package/docs/{ralph-guide.md → agent-loop-guide.md} +0 -0
package/README.md
CHANGED
|
@@ -374,13 +374,13 @@ Each reviewer receives a defined responsibility and relevant context. The synthe
|
|
|
374
374
|
conflicting findings, preserve uncertainty, and identify which conclusions were checked against sources or tests.
|
|
375
375
|
Parallel reviews require the corresponding provider capability and available task budget.
|
|
376
376
|
|
|
377
|
-
### 3. Learning — Closed-Loop Self-Correction (
|
|
377
|
+
### 3. Learning — Closed-Loop Self-Correction (Agent Loop)
|
|
378
378
|
|
|
379
|
-
|
|
379
|
+
The agent loop executes tasks iteratively and uses verification results to guide the next attempt. Its task record can preserve
|
|
380
380
|
failure analysis and revised strategies for subsequent iterations.
|
|
381
381
|
|
|
382
382
|
```
|
|
383
|
-
|
|
383
|
+
Agent Loop Iteration:
|
|
384
384
|
1. Execute task with current strategy
|
|
385
385
|
2. Verify results (tests pass, lint clean, types check)
|
|
386
386
|
3. If failure: analyze root cause → extract structured learning → adapt strategy
|
|
@@ -388,7 +388,7 @@ Ralph Iteration:
|
|
|
388
388
|
5. Repeat within configured limits; stop or escalate when required
|
|
389
389
|
```
|
|
390
390
|
|
|
391
|
-
|
|
391
|
+
The external agent loop (`agent-loop-ext`) adds process tracking, session persistence, and recovery controls. For long-running work, define a time
|
|
392
392
|
or iteration budget and inspect the provider-specific recovery behavior; surviving a particular failure depends on how
|
|
393
393
|
the runner and host are configured.
|
|
394
394
|
|
|
@@ -462,7 +462,7 @@ that fits their current state rather than repeating the entire lifecycle.
|
|
|
462
462
|
|
|
463
463
|
**Memory**: Architecture doc, ADRs, threat model, test strategy accumulate in `.aiwg/`
|
|
464
464
|
**Reasoning**: Multi-agent review panel — Architecture Designer drafts, Security Auditor + Performance Engineer + Test Architect critique in parallel, Documentation Synthesizer merges
|
|
465
|
-
**Learning**:
|
|
465
|
+
**Learning**: The agent loop iterates on ADRs (generate options, evaluate against constraints, refine)
|
|
466
466
|
**Style**: Technical documents use `technical-authority`, stakeholder summaries use `executive-brief`
|
|
467
467
|
**Human Gate**: Architect reviews SAD, security team approves threat model
|
|
468
468
|
|
|
@@ -471,7 +471,7 @@ that fits their current state rather than repeating the entire lifecycle.
|
|
|
471
471
|
> Turn the reviewed design into an implementation plan. Implement authentication, verify its acceptance criteria,
|
|
472
472
|
> and run the relevant tests.
|
|
473
473
|
|
|
474
|
-
**Learning**:
|
|
474
|
+
**Learning**: The agent loop handles implementation iterations — execute, verify (run tests), learn ("async race condition in token refresh"), adapt (add synchronization), retry
|
|
475
475
|
**Verification**: Code references requirements (`@implements UC-001`), tests reference code
|
|
476
476
|
**Memory**: Test plans, implementation, deployment scripts accumulate across iterations
|
|
477
477
|
**Human Gate**: Code review approves merges, QA approves test results
|
|
@@ -1298,7 +1298,7 @@ has a stable local MCP config format; other providers use the same server comman
|
|
|
1298
1298
|
|
|
1299
1299
|
MCP integration does not make every AIWG operation model-backed. Catalog reads, status checks, link resolution, and
|
|
1300
1300
|
local evidence inspection are ordinary local operations. Workflows that ask an assistant to reason, draft, call
|
|
1301
|
-
another provider, or continue
|
|
1301
|
+
another provider, or continue an agent loop may use model calls depending on the connected host and selected provider.
|
|
1302
1302
|
|
|
1303
1303
|
See also: [MCP server documentation](docs/mcp/README.md), [MCP capability
|
|
1304
1304
|
audit](docs/integrations/mcp-capability-audit.md), and [cross-platform
|
|
@@ -1515,7 +1515,7 @@ AIWG’s automation layer is for long-running coordination, not for hiding work
|
|
|
1515
1515
|
explicit execution with visible status and evidence. Daemon, messaging, and mission-control setups should declare
|
|
1516
1516
|
their trigger source, operator identity, workspace, budget limits, and completion criteria.
|
|
1517
1517
|
|
|
1518
|
-
The base CLI exposes current orchestration commands through
|
|
1518
|
+
The base CLI exposes current orchestration commands through the agent loop and mission control. Messaging bridges and chat bots
|
|
1519
1519
|
are advanced deployments described in the daemon and messaging docs; they require external service configuration and
|
|
1520
1520
|
should not be assumed to exist in a fresh checkout.
|
|
1521
1521
|
|
|
@@ -1526,7 +1526,7 @@ For provider messaging, document the concrete external channel and approval boun
|
|
|
1526
1526
|
webhook bridge should make it clear who can enqueue work, where logs are stored, and which operations require human
|
|
1527
1527
|
approval before writing to external systems.
|
|
1528
1528
|
|
|
1529
|
-
See [daemon guide](docs/daemon-guide.md), [messaging guide](docs/messaging-guide.md), and [Mission Control](docs/addons/
|
|
1529
|
+
See [daemon guide](docs/daemon-guide.md), [messaging guide](docs/messaging-guide.md), and [Mission Control](docs/addons/agent-loop/quickstart.md).
|
|
1530
1530
|
|
|
1531
1531
|
## See It In Action
|
|
1532
1532
|
|
|
@@ -1543,7 +1543,7 @@ check. The assistant discovers the relevant skill or provider surface and handle
|
|
|
1543
1543
|
> Fix the failing authentication tests in a bounded loop. Stop after five iterations or forty-five minutes, and
|
|
1544
1544
|
> report whether the relevant tests pass and what remains unresolved.
|
|
1545
1545
|
|
|
1546
|
-
|
|
1546
|
+
The agent loop is useful for bounded repair loops where the success condition is objective. It is not a guarantee that the
|
|
1547
1547
|
model will solve the task. Set wall-clock, token, tool-call, or cost limits for expensive providers.
|
|
1548
1548
|
|
|
1549
1549
|
### Recursive search over large code or docs
|
|
@@ -1602,7 +1602,7 @@ See [cross-platform overview](docs/integrations/cross-platform-overview.md) for
|
|
|
1602
1602
|
| Devin | `aiwg use all --provider devin` | Devin-compatible context | Compatibility packaging | Uses compatibility paths where Devin can read project instructions. |
|
|
1603
1603
|
| Factory | `aiwg use all --provider factory` | Factory context | Agents and commands where supported | Provider behavior depends on the installed Factory environment. |
|
|
1604
1604
|
| Oh My Pi | `aiwg use all --provider omp` | `.omp/AGENTS.md` | Agents, prompts, rules, skills | Dedicated OMP quickstart: [Oh My Pi quickstart](docs/providers/omp.md). |
|
|
1605
|
-
| Pi Coding Agent | `aiwg use all --provider pi` |
|
|
1605
|
+
| Pi Coding Agent | `aiwg use all --provider pi` | `AGENTS.md` | Agent Skills, prompt templates, trust-gated extension bridge | Experimental; see [Pi quickstart](docs/integrations/pi-quickstart.md). |
|
|
1606
1606
|
| Antigravity | `aiwg use all --provider antigravity` | `AGENTS.md` and `.agents/` | Agents, skills, indexed commands, MCP config when enabled | See [Antigravity provider docs](docs/providers/antigravity.md). |
|
|
1607
1607
|
| Generic Markdown | `aiwg use all --provider generic` | `AIWG.md` / `WORKSPACE.md` | Markdown instructions | Use when a provider reads repo docs but has no dedicated integration. |
|
|
1608
1608
|
|
|
@@ -1741,14 +1741,14 @@ aids with links back to the original files.
|
|
|
1741
1741
|
|
|
1742
1742
|
## Agent Loop — Autonomous Long-Running Agent Orchestration
|
|
1743
1743
|
|
|
1744
|
-
|
|
1744
|
+
The agent loop is AIWG’s bounded iterative execution mode. It is intended for tasks where the objective and completion criterion
|
|
1745
1745
|
can be checked: fixing tests, applying a migration, updating docs to match a report, or carrying a refactor through
|
|
1746
1746
|
verification.
|
|
1747
1747
|
|
|
1748
1748
|
> Update the provider quickstarts from the approved marketing audit. Verify Markdown links and keep changes
|
|
1749
1749
|
> within scope. Stop after six iterations, sixty minutes, or 120 tool calls.
|
|
1750
1750
|
|
|
1751
|
-
|
|
1751
|
+
The agent loop records loop state so work can be inspected and resumed when supported by the selected provider and local environment.
|
|
1752
1752
|
|
|
1753
1753
|
> Show the current loop’s progress and evidence. Resume its saved work if interrupted, or stop it when I ask.
|
|
1754
1754
|
|
|
@@ -1758,7 +1758,7 @@ Use budgets for any loop that may call a remote model or external provider:
|
|
|
1758
1758
|
> runs, with a limit of 200,000 tokens and $10. Stop when either budget is exhausted.
|
|
1759
1759
|
|
|
1760
1760
|
Long-running automation should still produce reviewable outputs: changed files, reports, evidence, status logs, and
|
|
1761
|
-
the exact checks run.
|
|
1761
|
+
the exact checks run. The agent loop can continue work within configured limits, but it cannot guarantee a solution, fixed
|
|
1762
1762
|
runtime, or provider availability.
|
|
1763
1763
|
|
|
1764
1764
|
Mission Control builds on the same principle for multiple bounded work items:
|
|
@@ -2093,7 +2093,7 @@ attestation, or substitute for domain-specific review.
|
|
|
2093
2093
|
**Practitioners:**
|
|
2094
2094
|
|
|
2095
2095
|
- [Quick Start Guide](docs/quickstart.md) — Hands-on first workflow
|
|
2096
|
-
- [Agent Loop Guide](docs/
|
|
2096
|
+
- [Agent Loop Guide](docs/agent-loop-guide.md) — Iterative execution with explicit completion checks
|
|
2097
2097
|
- [Platform Guides](docs/integrations/) — Provider-specific setup and handoff details
|
|
2098
2098
|
|
|
2099
2099
|
**Technical Leaders:**
|
|
@@ -2143,7 +2143,7 @@ cross-platform deployment for project-local and packaged capabilities:
|
|
|
2143
2143
|
|
|
2144
2144
|
### Advanced Topics
|
|
2145
2145
|
|
|
2146
|
-
- **[Agent Loop](docs/
|
|
2146
|
+
- **[Agent Loop](docs/agent-loop-guide.md)** — Iterative task execution with crash recovery
|
|
2147
2147
|
- **[RLM Addon](agentic/code/addons/rlm/README.md)** — Recursive context decomposition
|
|
2148
2148
|
- **[External Automation](docs/getting-started/daemon-and-automation.md)** — Current automation boundaries and
|
|
2149
2149
|
external-job contracts
|
|
@@ -169,7 +169,7 @@ Al inverts traditional AI optimization from "unpredictable success" to "predicta
|
|
|
169
169
|
|
|
170
170
|
**The key insight**: Al excels at HOW to build, but thrashes on WHAT to build. Define your requirements first, then let Al implement.
|
|
171
171
|
|
|
172
|
-
See [When to Use Al](docs/when-to-use-
|
|
172
|
+
See [When to Use Al](docs/when-to-use-agent-loop.md) for detailed guidance on avoiding the token-burning trap.
|
|
173
173
|
|
|
174
174
|
## External Al
|
|
175
175
|
|
|
@@ -188,12 +188,12 @@ External Al provides:
|
|
|
188
188
|
- Two-phase state assessment
|
|
189
189
|
- Crash recovery and resume
|
|
190
190
|
|
|
191
|
-
See [Al Guide](../../../../docs/
|
|
191
|
+
See [Al Guide](../../../../docs/agent-loop-guide.md) for full documentation on both internal and external Al.
|
|
192
192
|
|
|
193
193
|
## Related
|
|
194
194
|
|
|
195
|
-
- [Al Guide](../../../../docs/
|
|
196
|
-
- [When to Use Al](docs/when-to-use-
|
|
195
|
+
- [Al Guide](../../../../docs/agent-loop-guide.md) - **Complete documentation** for both internal and external Al
|
|
196
|
+
- [When to Use Al](docs/when-to-use-agent-loop.md) - Understanding Al's sweet spot
|
|
197
197
|
- [Quickstart Guide](docs/quickstart.md) - Getting started
|
|
198
198
|
- [Best Practices](docs/best-practices.md) - Writing effective tasks
|
|
199
199
|
- [Troubleshooting](docs/troubleshooting.md) - Common issues
|
|
@@ -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/agentic/code/addons/
|
|
299
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
298
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/reflection-memory.json — Episodic reflection memory schema (REF-021)
|
|
299
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
301
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
307
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
308
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
309
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
310
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
306
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/docs/ - User documentation
|
|
307
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/commands/ralph-reflect.md — View and manage reflections
|
|
308
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/skills/reflection-injection/SKILL.md — Auto-inject past reflections
|
|
309
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/hooks/post-iteration-reflect.md — Generate reflections after iterations
|
|
310
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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
|
|
@@ -1017,11 +1017,11 @@ To enable persistence for existing Al installations:
|
|
|
1017
1017
|
|
|
1018
1018
|
### Schemas
|
|
1019
1019
|
|
|
1020
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
1021
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
1022
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
1023
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
1024
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
1020
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/hooks/persistence-hooks.yaml` - Hook definitions
|
|
1021
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/persistence-extension.yaml` - State extension schema
|
|
1022
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/loop-state.yaml` - Base loop state schema
|
|
1023
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/checkpoint.yaml` - Checkpoint schema
|
|
1024
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
748
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
749
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
747
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/shared-patterns.yaml` - Pattern schema
|
|
748
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/cross-task-memory.yaml` - Cross-task memory
|
|
749
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
479
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
480
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
478
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/debug-memory.yaml` — Debug memory schema
|
|
479
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/actionable-feedback.yaml` — Feedback schema
|
|
480
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
488
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
487
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/debug-memory.yaml — Debug memory schema
|
|
488
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/docs/reflection-memory-guide.md — Related: Reflexion memory guide
|
|
489
489
|
- #101 — Implementation issue
|
|
@@ -20,7 +20,7 @@ Use an iterative loop for one bounded task with a measurable completion check.
|
|
|
20
20
|
Al works best when the "what" is already clear. If requirements are still open,
|
|
21
21
|
start with intake, discovery, or a short planning pass before launching a loop.
|
|
22
22
|
|
|
23
|
-
**Safe to proceed?** Read on. **Unsure?** See [When to Use Al](when-to-use-
|
|
23
|
+
**Safe to proceed?** Read on. **Unsure?** See [When to Use Al](when-to-use-agent-loop.md) first.
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
@@ -204,7 +204,7 @@ Al stores state and reports in `.aiwg/ralph/`:
|
|
|
204
204
|
|
|
205
205
|
## Next Steps
|
|
206
206
|
|
|
207
|
-
- Read [When to Use Al](when-to-use-
|
|
207
|
+
- Read [When to Use Al](when-to-use-agent-loop.md) to understand Al's sweet spot
|
|
208
208
|
- Read [Best Practices](best-practices.md) for effective prompt engineering
|
|
209
209
|
- See [Examples](examples/) for common patterns
|
|
210
210
|
- Check [Troubleshooting](troubleshooting.md) if you get stuck
|
|
@@ -615,14 +615,14 @@ function pruneReflectionsToFit(
|
|
|
615
615
|
```bash
|
|
616
616
|
# Validate reflection against schema
|
|
617
617
|
npx ajv validate \
|
|
618
|
-
-s agentic/code/addons/
|
|
618
|
+
-s agentic/code/addons/agent-loop/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 '@/agentic/code/addons/
|
|
625
|
+
import schema from '@/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
642
|
+
- **@$AIWG_ROOT/agentic/code/addons/agent-loop/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: "@agentic/code/addons/
|
|
451
|
+
state_extension_schema: "@agentic/code/addons/agent-loop/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
|
-
- "@agentic/code/addons/
|
|
578
|
-
- "@agentic/code/addons/
|
|
579
|
-
- "@agentic/code/addons/
|
|
577
|
+
- "@agentic/code/addons/agent-loop/schemas/persistence-extension.yaml"
|
|
578
|
+
- "@agentic/code/addons/agent-loop/schemas/loop-state.yaml"
|
|
579
|
+
- "@agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
32
|
+
- Follow @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
75
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
74
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/reflection-memory.json - Schema
|
|
75
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
87
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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
|
-
- "@agentic/code/addons/
|
|
320
|
+
- "@agentic/code/addons/agent-loop/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
|
-
- "@agentic/code/addons/
|
|
394
|
-
- "@agentic/code/addons/
|
|
395
|
-
- "@agentic/code/addons/
|
|
393
|
+
- "@agentic/code/addons/agent-loop/schemas/reflection-memory.json"
|
|
394
|
+
- "@agentic/code/addons/agent-loop/schemas/loop-registry.yaml"
|
|
395
|
+
- "@agentic/code/addons/agent-loop/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
|
-
- "@agentic/code/addons/
|
|
477
|
-
- "@agentic/code/addons/
|
|
476
|
+
- "@agentic/code/addons/agent-loop/schemas/loop-registry.yaml"
|
|
477
|
+
- "@agentic/code/addons/agent-loop/schemas/loop-state.yaml"
|
|
@@ -285,6 +285,6 @@ references:
|
|
|
285
285
|
implementation:
|
|
286
286
|
- "#268" # Multi-loop registry schemas
|
|
287
287
|
related:
|
|
288
|
-
- "@agentic/code/addons/
|
|
289
|
-
- "@agentic/code/addons/
|
|
288
|
+
- "@agentic/code/addons/agent-loop/schemas/loop-state.yaml"
|
|
289
|
+
- "@agentic/code/addons/agent-loop/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
|
-
- "@agentic/code/addons/
|
|
395
|
-
- "@agentic/code/addons/
|
|
396
|
-
- "@agentic/code/addons/
|
|
394
|
+
- "@agentic/code/addons/agent-loop/schemas/loop-registry.yaml"
|
|
395
|
+
- "@agentic/code/addons/agent-loop/schemas/checkpoint.yaml"
|
|
396
|
+
- "@agentic/code/addons/agent-loop/schemas/iteration-analytics.yaml"
|
|
@@ -325,6 +325,6 @@ references:
|
|
|
325
325
|
implementation:
|
|
326
326
|
- "#123"
|
|
327
327
|
related:
|
|
328
|
-
- "@agentic/code/addons/
|
|
328
|
+
- "@agentic/code/addons/agent-loop/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
|
-
- "@agentic/code/addons/
|
|
289
|
-
- "@agentic/code/addons/
|
|
288
|
+
- "@agentic/code/addons/agent-loop/schemas/checkpoint.yaml"
|
|
289
|
+
- "@agentic/code/addons/agent-loop/schemas/iteration-analytics.yaml"
|
|
@@ -770,12 +770,12 @@ examples:
|
|
|
770
770
|
|
|
771
771
|
references:
|
|
772
772
|
base_schema:
|
|
773
|
-
- "@agentic/code/addons/
|
|
773
|
+
- "@agentic/code/addons/agent-loop/schemas/loop-state.yaml"
|
|
774
774
|
|
|
775
775
|
related_schemas:
|
|
776
|
-
- "@agentic/code/addons/
|
|
777
|
-
- "@agentic/code/addons/
|
|
778
|
-
- "@agentic/code/addons/
|
|
776
|
+
- "@agentic/code/addons/agent-loop/schemas/checkpoint.yaml"
|
|
777
|
+
- "@agentic/code/addons/agent-loop/schemas/iteration-analytics.yaml"
|
|
778
|
+
- "@agentic/code/addons/agent-loop/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
|
-
- "@agentic/code/addons/
|
|
742
|
-
- "@agentic/code/addons/
|
|
743
|
-
- "@agentic/code/addons/
|
|
741
|
+
- "@agentic/code/addons/agent-loop/schemas/cross-task-memory.yaml"
|
|
742
|
+
- "@agentic/code/addons/agent-loop/schemas/debug-memory.yaml"
|
|
743
|
+
- "@agentic/code/addons/agent-loop/schemas/multi-loop-registry.yaml"
|
|
@@ -486,6 +486,6 @@ references:
|
|
|
486
486
|
implementation:
|
|
487
487
|
- "#165"
|
|
488
488
|
related:
|
|
489
|
-
- "@agentic/code/addons/
|
|
490
|
-
- "@agentic/code/addons/
|
|
489
|
+
- "@agentic/code/addons/agent-loop/schemas/iteration-analytics.yaml"
|
|
490
|
+
- "@agentic/code/addons/agent-loop/schemas/cross-task-memory.yaml"
|
|
491
491
|
- "@tools/ralph-external/"
|
|
@@ -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/agentic/code/addons/
|
|
258
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
81
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
80
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/docs/executable-feedback-guide.md - Guide
|
|
81
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
727
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
728
|
-
- `@$AIWG_ROOT/agentic/code/addons/
|
|
726
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/shared-patterns.yaml` - Pattern schema
|
|
727
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/cross-task-memory.yaml` - Cross-task memory
|
|
728
|
+
- `@$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
743
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
744
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
745
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
742
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/README.md — Ralph addon overview
|
|
743
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/shared-patterns.yaml — Pattern schema for cross-loop learning
|
|
744
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/cross-task-memory.yaml — Cross-task memory schema
|
|
745
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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
|
-
"@agentic/code/addons/
|
|
30
|
-
"@agentic/code/addons/
|
|
31
|
-
"@agentic/code/addons/
|
|
29
|
+
"@agentic/code/addons/agent-loop/schemas/shared-patterns.yaml",
|
|
30
|
+
"@agentic/code/addons/agent-loop/schemas/cross-task-memory.yaml",
|
|
31
|
+
"@agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
64
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
66
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
69
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
68
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/docs/executable-feedback-guide.md - Implementation guide
|
|
69
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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
|
|
@@ -135,7 +135,7 @@ After abort:
|
|
|
135
135
|
|
|
136
136
|
## References
|
|
137
137
|
|
|
138
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
138
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
51
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
52
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
50
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/reflection-memory.json - Reflection schema
|
|
51
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/debug-memory.yaml - Debug memory schema
|
|
52
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
155
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
320
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
241
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
283
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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/agentic/code/addons/
|
|
58
|
-
- @$AIWG_ROOT/agentic/code/addons/
|
|
57
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/reflection-memory.json - Reflection schema
|
|
58
|
+
- @$AIWG_ROOT/agentic/code/addons/agent-loop/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)
|