rdap-q 1.2.1
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/.agents/plugins/rdap-q/plugin.json +11 -0
- package/.agents/skills/rdap-q/README.md +171 -0
- package/.agents/skills/rdap-q/SKILL.md +55 -0
- package/.agents/skills/rdap-q/core/capabilities.md +9 -0
- package/.agents/skills/rdap-q/core/controller.md +14 -0
- package/.agents/skills/rdap-q/core/exit-logic.md +9 -0
- package/.agents/skills/rdap-q/core/gates.md +12 -0
- package/.agents/skills/rdap-q/core/memory.md +11 -0
- package/.agents/skills/rdap-q/core/scoring.md +7 -0
- package/.agents/skills/rdap-q/diagrams/rdapq-command-flow.mmd +9 -0
- package/.agents/skills/rdap-q/diagrams/rdapq-control-loop.mmd +31 -0
- package/.agents/skills/rdap-q/diagrams/rdapq-evidence-flow.mmd +31 -0
- package/.agents/skills/rdap-q/diagrams/rdapq-memory-model.mmd +26 -0
- package/.agents/skills/rdap-q/diagrams/rdapq-score-decision.mmd +24 -0
- package/.agents/skills/rdap-q/diagrams/rdapq-selective-loading.mmd +40 -0
- package/.agents/skills/rdap-q/install/install-unix.sh +48 -0
- package/.agents/skills/rdap-q/install/install-windows.ps1 +65 -0
- package/.agents/skills/rdap-q/manifest.json +87 -0
- package/.agents/skills/rdap-q/memory/README.md +4 -0
- package/.agents/skills/rdap-q/memory/constraints.md +3 -0
- package/.agents/skills/rdap-q/memory/engineering-preferences.md +3 -0
- package/.agents/skills/rdap-q/memory/lessons.md +3 -0
- package/.agents/skills/rdap-q/memory/patterns.md +3 -0
- package/.agents/skills/rdap-q/memory/tooling.md +3 -0
- package/.agents/skills/rdap-q/playbooks/00-bootstrap.md +17 -0
- package/.agents/skills/rdap-q/playbooks/01-discovery.md +9 -0
- package/.agents/skills/rdap-q/playbooks/02-planning.md +6 -0
- package/.agents/skills/rdap-q/playbooks/03-architecture.md +6 -0
- package/.agents/skills/rdap-q/playbooks/04-implementation.md +8 -0
- package/.agents/skills/rdap-q/playbooks/05-verification.md +6 -0
- package/.agents/skills/rdap-q/playbooks/06-final-audit.md +7 -0
- package/.agents/skills/rdap-q/playbooks/07-git-worktree.md +13 -0
- package/.agents/skills/rdap-q/projects/architecture.md +3 -0
- package/.agents/skills/rdap-q/projects/decisions.md +3 -0
- package/.agents/skills/rdap-q/projects/lessons.md +3 -0
- package/.agents/skills/rdap-q/projects/project.md +3 -0
- package/.agents/skills/rdap-q/state/README.md +4 -0
- package/.agents/skills/rdap-q/state/assumptions.md +3 -0
- package/.agents/skills/rdap-q/state/decisions.md +2 -0
- package/.agents/skills/rdap-q/state/evidence.md +3 -0
- package/.agents/skills/rdap-q/state/iteration-log.md +1 -0
- package/.agents/skills/rdap-q/state/plan.md +4 -0
- package/.agents/skills/rdap-q/state/research.md +13 -0
- package/.agents/skills/rdap-q/state/risks.md +2 -0
- package/.agents/skills/rdap-q/state/scope.md +9 -0
- package/.agents/skills/rdap-q/state/scorecard.md +15 -0
- package/.agents/skills/rdap-q/templates/final-report.md +31 -0
- package/.agents/skills/rdap-q/templates/milestone.md +8 -0
- package/.agents/skills/rdap-q/templates/task.md +12 -0
- package/.claude/commands/rdapq.md +8 -0
- package/.claude-plugin/marketplace.json +40 -0
- package/.claude-plugin/plugin-index.json +16 -0
- package/.claude-plugin/plugin.json +25 -0
- package/.clinerules +8 -0
- package/.codex/skill.json +9 -0
- package/.github/copilot-instructions.md +8 -0
- package/.github/workflows/ci.yml +25 -0
- package/.github/workflows/release.yml +34 -0
- package/.goosehints +8 -0
- package/.grok/rules.md +8 -0
- package/.grok/skill.json +9 -0
- package/.grok-plugin/marketplace.json +40 -0
- package/.grok-plugin/plugin-index.json +16 -0
- package/AGENTS.md +8 -0
- package/CLAUDE.md +8 -0
- package/GEMINI.md +8 -0
- package/LICENSE +674 -0
- package/README.md +657 -0
- package/agentskills.json +20 -0
- package/bin/rdapq.js +14 -0
- package/install.ps1 +65 -0
- package/install.sh +41 -0
- package/lib/installer.js +479 -0
- package/manifest.json +87 -0
- package/marketplace.json +112 -0
- package/package.json +102 -0
- package/plugin.json +12 -0
- package/plugins/rdap-q/plugin.json +21 -0
- package/plugins/rdap-q/skills/rdap-q/README.md +171 -0
- package/plugins/rdap-q/skills/rdap-q/SKILL.md +55 -0
- package/plugins/rdap-q/skills/rdap-q/core/capabilities.md +9 -0
- package/plugins/rdap-q/skills/rdap-q/core/controller.md +14 -0
- package/plugins/rdap-q/skills/rdap-q/core/exit-logic.md +9 -0
- package/plugins/rdap-q/skills/rdap-q/core/gates.md +12 -0
- package/plugins/rdap-q/skills/rdap-q/core/memory.md +11 -0
- package/plugins/rdap-q/skills/rdap-q/core/scoring.md +7 -0
- package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-command-flow.mmd +9 -0
- package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-control-loop.mmd +31 -0
- package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-evidence-flow.mmd +31 -0
- package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-memory-model.mmd +26 -0
- package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-score-decision.mmd +24 -0
- package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-selective-loading.mmd +40 -0
- package/plugins/rdap-q/skills/rdap-q/install/install-unix.sh +48 -0
- package/plugins/rdap-q/skills/rdap-q/install/install-windows.ps1 +65 -0
- package/plugins/rdap-q/skills/rdap-q/manifest.json +87 -0
- package/plugins/rdap-q/skills/rdap-q/memory/README.md +4 -0
- package/plugins/rdap-q/skills/rdap-q/memory/constraints.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/memory/engineering-preferences.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/memory/lessons.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/memory/patterns.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/memory/tooling.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/00-bootstrap.md +17 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/01-discovery.md +9 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/02-planning.md +6 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/03-architecture.md +6 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/04-implementation.md +8 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/05-verification.md +6 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/06-final-audit.md +7 -0
- package/plugins/rdap-q/skills/rdap-q/playbooks/07-git-worktree.md +13 -0
- package/plugins/rdap-q/skills/rdap-q/projects/architecture.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/projects/decisions.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/projects/lessons.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/projects/project.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/state/README.md +4 -0
- package/plugins/rdap-q/skills/rdap-q/state/assumptions.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/state/decisions.md +2 -0
- package/plugins/rdap-q/skills/rdap-q/state/evidence.md +3 -0
- package/plugins/rdap-q/skills/rdap-q/state/iteration-log.md +1 -0
- package/plugins/rdap-q/skills/rdap-q/state/plan.md +4 -0
- package/plugins/rdap-q/skills/rdap-q/state/research.md +13 -0
- package/plugins/rdap-q/skills/rdap-q/state/risks.md +2 -0
- package/plugins/rdap-q/skills/rdap-q/state/scope.md +9 -0
- package/plugins/rdap-q/skills/rdap-q/state/scorecard.md +15 -0
- package/plugins/rdap-q/skills/rdap-q/templates/final-report.md +31 -0
- package/plugins/rdap-q/skills/rdap-q/templates/milestone.md +8 -0
- package/plugins/rdap-q/skills/rdap-q/templates/task.md +12 -0
- package/rdap-q-skill/README.md +171 -0
- package/rdap-q-skill/SKILL.md +55 -0
- package/rdap-q-skill/core/capabilities.md +9 -0
- package/rdap-q-skill/core/controller.md +14 -0
- package/rdap-q-skill/core/exit-logic.md +9 -0
- package/rdap-q-skill/core/gates.md +12 -0
- package/rdap-q-skill/core/memory.md +11 -0
- package/rdap-q-skill/core/scoring.md +7 -0
- package/rdap-q-skill/diagrams/rdapq-command-flow.mmd +9 -0
- package/rdap-q-skill/diagrams/rdapq-control-loop.mmd +31 -0
- package/rdap-q-skill/diagrams/rdapq-evidence-flow.mmd +31 -0
- package/rdap-q-skill/diagrams/rdapq-memory-model.mmd +26 -0
- package/rdap-q-skill/diagrams/rdapq-score-decision.mmd +24 -0
- package/rdap-q-skill/diagrams/rdapq-selective-loading.mmd +40 -0
- package/rdap-q-skill/install/install-unix.sh +48 -0
- package/rdap-q-skill/install/install-windows.ps1 +65 -0
- package/rdap-q-skill/manifest.json +87 -0
- package/rdap-q-skill/memory/README.md +4 -0
- package/rdap-q-skill/memory/constraints.md +3 -0
- package/rdap-q-skill/memory/engineering-preferences.md +3 -0
- package/rdap-q-skill/memory/lessons.md +3 -0
- package/rdap-q-skill/memory/patterns.md +3 -0
- package/rdap-q-skill/memory/tooling.md +3 -0
- package/rdap-q-skill/playbooks/00-bootstrap.md +17 -0
- package/rdap-q-skill/playbooks/01-discovery.md +9 -0
- package/rdap-q-skill/playbooks/02-planning.md +6 -0
- package/rdap-q-skill/playbooks/03-architecture.md +6 -0
- package/rdap-q-skill/playbooks/04-implementation.md +8 -0
- package/rdap-q-skill/playbooks/05-verification.md +6 -0
- package/rdap-q-skill/playbooks/06-final-audit.md +7 -0
- package/rdap-q-skill/playbooks/07-git-worktree.md +13 -0
- package/rdap-q-skill/projects/architecture.md +3 -0
- package/rdap-q-skill/projects/decisions.md +3 -0
- package/rdap-q-skill/projects/lessons.md +3 -0
- package/rdap-q-skill/projects/project.md +3 -0
- package/rdap-q-skill/state/README.md +4 -0
- package/rdap-q-skill/state/assumptions.md +3 -0
- package/rdap-q-skill/state/decisions.md +2 -0
- package/rdap-q-skill/state/evidence.md +3 -0
- package/rdap-q-skill/state/iteration-log.md +1 -0
- package/rdap-q-skill/state/plan.md +4 -0
- package/rdap-q-skill/state/research.md +13 -0
- package/rdap-q-skill/state/risks.md +2 -0
- package/rdap-q-skill/state/scope.md +9 -0
- package/rdap-q-skill/state/scorecard.md +15 -0
- package/rdap-q-skill/templates/final-report.md +31 -0
- package/rdap-q-skill/templates/milestone.md +8 -0
- package/rdap-q-skill/templates/task.md +12 -0
- package/scripts/check-static.js +86 -0
- package/scripts/check-versions.js +86 -0
- package/scripts/materialize-skill-links.js +83 -0
- package/skills.json +15 -0
package/marketplace.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/agent-skills/spec/main/marketplace.schema.json",
|
|
3
|
+
"name": "rdap-q",
|
|
4
|
+
"displayName": "RDAP-Q: Adaptive Planning with Quality Gates",
|
|
5
|
+
"version": "1.2.1",
|
|
6
|
+
"protocol": "RDAP-Q Agent Engineering Protocol",
|
|
7
|
+
"summary": "Universal AI agent engineering protocol for evidence-first software development, calibrated scoring, and quality gates across Codex, Grok, Copilot, Antigravity, Goose, Claude, Cline, and Cursor.",
|
|
8
|
+
"description": "Vendor-neutral Research-Driven Adaptive Planning with Quality Gates (RDAP-Q) enables autonomous AI coding agents to execute non-trivial software tasks with disciplined evidence collection, deterministic phase execution, persistent project state, calibrated quality scoring (0-10 scale), and diminishing-return exit logic. Native support for OpenAI Codex, xAI Grok, GitHub Copilot, Google Antigravity, Block Goose, Anthropic Claude, Cline, and Cursor.",
|
|
9
|
+
"author": {
|
|
10
|
+
"name": "coldcanuk",
|
|
11
|
+
"url": "https://github.com/coldcanuk"
|
|
12
|
+
},
|
|
13
|
+
"license": "GPL-3.0-or-later",
|
|
14
|
+
"repository": "https://github.com/coldcanuk/rdapq",
|
|
15
|
+
"categories": [
|
|
16
|
+
"Software Engineering",
|
|
17
|
+
"Agent Protocols",
|
|
18
|
+
"Quality Assurance",
|
|
19
|
+
"Productivity",
|
|
20
|
+
"Developer Tools"
|
|
21
|
+
],
|
|
22
|
+
"tags": [
|
|
23
|
+
"rdap-q",
|
|
24
|
+
"agent-skill",
|
|
25
|
+
"quality-gates",
|
|
26
|
+
"adaptive-planning",
|
|
27
|
+
"codex",
|
|
28
|
+
"grok",
|
|
29
|
+
"copilot",
|
|
30
|
+
"antigravity",
|
|
31
|
+
"goose",
|
|
32
|
+
"claude",
|
|
33
|
+
"cline",
|
|
34
|
+
"cursor",
|
|
35
|
+
"evidence-first"
|
|
36
|
+
],
|
|
37
|
+
"entrypoint": "rdap-q-skill/SKILL.md",
|
|
38
|
+
"invocation": "/rdapq",
|
|
39
|
+
"supported_harnesses": [
|
|
40
|
+
{
|
|
41
|
+
"id": "codex",
|
|
42
|
+
"name": "OpenAI Codex / Agents",
|
|
43
|
+
"status": "supported",
|
|
44
|
+
"configuration": "AGENTS.md",
|
|
45
|
+
"marketplace_identifier": "rdapq-codex-skill"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "grok",
|
|
49
|
+
"name": "xAI Grok",
|
|
50
|
+
"status": "supported",
|
|
51
|
+
"configuration": ".grok/rules.md",
|
|
52
|
+
"marketplace_identifier": "rdapq-grok-skill"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "copilot",
|
|
56
|
+
"name": "GitHub Copilot",
|
|
57
|
+
"status": "supported",
|
|
58
|
+
"configuration": ".github/copilot-instructions.md",
|
|
59
|
+
"marketplace_identifier": "coldcanuk.rdapq-copilot"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "antigravity",
|
|
63
|
+
"name": "Google Antigravity",
|
|
64
|
+
"status": "supported",
|
|
65
|
+
"configuration": "GEMINI.md",
|
|
66
|
+
"marketplace_identifier": "rdap-q"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "goose",
|
|
70
|
+
"name": "Block Goose",
|
|
71
|
+
"status": "supported",
|
|
72
|
+
"configuration": ".goosehints",
|
|
73
|
+
"marketplace_identifier": "rdapq-goose-toolkit"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "claude",
|
|
77
|
+
"name": "Anthropic Claude / Claude Code",
|
|
78
|
+
"status": "supported",
|
|
79
|
+
"configuration": "CLAUDE.md",
|
|
80
|
+
"marketplace_identifier": "rdapq-claude-plugin"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "cline",
|
|
84
|
+
"name": "Cline & Roo Code",
|
|
85
|
+
"status": "supported",
|
|
86
|
+
"configuration": ".clinerules",
|
|
87
|
+
"marketplace_identifier": "coldcanuk.rdapq-cline"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "cursor",
|
|
91
|
+
"name": "Cursor",
|
|
92
|
+
"status": "supported",
|
|
93
|
+
"configuration": ".agents/skills/rdap-q/SKILL.md",
|
|
94
|
+
"marketplace_identifier": "rdap-q"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"commands": {
|
|
98
|
+
"/rdapq": "Execute task using RDAP-Q protocol with evidence gathering and adaptive quality gates.",
|
|
99
|
+
"/rdapq status": "Inspect current lifecycle phase, quality scorecard, confidence levels, and active gates.",
|
|
100
|
+
"/rdapq score": "Calculate or display the current calibrated 8-dimension scorecard.",
|
|
101
|
+
"/rdapq audit": "Trigger the adversarial final-audit verification checklist.",
|
|
102
|
+
"/rdapq resume": "Safely reload persistent project state and verify environment drift before continuing.",
|
|
103
|
+
"/rdapq memory": "Query durable cross-session patterns, lessons, and constraints.",
|
|
104
|
+
"/rdapq research": "Initiate structured evidence gathering and discovery for the current task.",
|
|
105
|
+
"/rdapq explain": "Provide transparent rationale for the current quality decision or state transition."
|
|
106
|
+
},
|
|
107
|
+
"links": {
|
|
108
|
+
"documentation": "https://github.com/coldcanuk/rdapq/blob/main/rdap-q-skill/README.md",
|
|
109
|
+
"specification": "https://github.com/coldcanuk/rdapq/blob/main/rdap-q-skill/SKILL.md",
|
|
110
|
+
"issues": "https://github.com/coldcanuk/rdapq/issues"
|
|
111
|
+
}
|
|
112
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rdap-q",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "Research-Driven Adaptive Planning with Quality Gates (RDAP-Q) — Vendor-neutral AI agent engineering protocol & skill for Codex, Grok, Copilot, Antigravity, Goose, Claude, Cline, and Cursor. Evidence-first software engineering, persistent memory, and calibrated quality gates.",
|
|
5
|
+
"main": "rdap-q-skill/SKILL.md",
|
|
6
|
+
"bin": {
|
|
7
|
+
"rdapq": "./bin/rdapq.js",
|
|
8
|
+
"rdap-q": "./bin/rdapq.js",
|
|
9
|
+
"rdapq-install": "./bin/rdapq.js"
|
|
10
|
+
},
|
|
11
|
+
"author": "coldcanuk",
|
|
12
|
+
"license": "GPL-3.0-or-later",
|
|
13
|
+
"homepage": "https://github.com/coldcanuk/rdapq#readme",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/coldcanuk/rdapq.git"
|
|
17
|
+
},
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/coldcanuk/rdapq/issues"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"rdap-q",
|
|
23
|
+
"rdapq",
|
|
24
|
+
"ai-agent",
|
|
25
|
+
"agent-skills",
|
|
26
|
+
"copilot-extension",
|
|
27
|
+
"github-copilot",
|
|
28
|
+
"claude-code",
|
|
29
|
+
"claude-skill",
|
|
30
|
+
"claude-plugin",
|
|
31
|
+
"anthropic-claude",
|
|
32
|
+
"openai-codex",
|
|
33
|
+
"codex-skill",
|
|
34
|
+
"xai-grok",
|
|
35
|
+
"grok-skill",
|
|
36
|
+
"google-antigravity",
|
|
37
|
+
"antigravity-skill",
|
|
38
|
+
"block-goose",
|
|
39
|
+
"goose-toolkit",
|
|
40
|
+
"cursor",
|
|
41
|
+
"cursor-skill",
|
|
42
|
+
"cline",
|
|
43
|
+
"cline-rules",
|
|
44
|
+
"roo-code",
|
|
45
|
+
"quality-gates",
|
|
46
|
+
"adaptive-planning",
|
|
47
|
+
"software-engineering-protocol",
|
|
48
|
+
"evidence-first",
|
|
49
|
+
"autonomous-agent",
|
|
50
|
+
"sdlc-automation",
|
|
51
|
+
"slash-commands",
|
|
52
|
+
"llm-code-quality",
|
|
53
|
+
"marketplace"
|
|
54
|
+
],
|
|
55
|
+
"scripts": {
|
|
56
|
+
"start": "node bin/rdapq.js",
|
|
57
|
+
"init": "node bin/rdapq.js init",
|
|
58
|
+
"status": "node bin/rdapq.js status",
|
|
59
|
+
"test": "node scripts/check-versions.js && node scripts/check-static.js && node --test --test-concurrency=1 test/*.js",
|
|
60
|
+
"check": "node scripts/check-versions.js && node scripts/check-static.js",
|
|
61
|
+
"prepack": "node scripts/materialize-skill-links.js materialize",
|
|
62
|
+
"postpack": "node scripts/materialize-skill-links.js restore",
|
|
63
|
+
"install:all": "node bin/rdapq.js install --all",
|
|
64
|
+
"install:claude": "node bin/rdapq.js install --claude",
|
|
65
|
+
"install:cline": "node bin/rdapq.js install --cline",
|
|
66
|
+
"install:copilot": "node bin/rdapq.js install --copilot",
|
|
67
|
+
"install:antigravity": "node bin/rdapq.js install --antigravity",
|
|
68
|
+
"install:codex": "node bin/rdapq.js install --codex",
|
|
69
|
+
"install:grok": "node bin/rdapq.js install --grok",
|
|
70
|
+
"install:goose": "node bin/rdapq.js install --goose",
|
|
71
|
+
"install:cursor": "node bin/rdapq.js install --cursor"
|
|
72
|
+
},
|
|
73
|
+
"engines": {
|
|
74
|
+
"node": ">=18.0.0"
|
|
75
|
+
},
|
|
76
|
+
"files": [
|
|
77
|
+
"bin",
|
|
78
|
+
"rdap-q-skill",
|
|
79
|
+
"marketplace.json",
|
|
80
|
+
"manifest.json",
|
|
81
|
+
"skills.json",
|
|
82
|
+
"agentskills.json",
|
|
83
|
+
"plugin.json",
|
|
84
|
+
"install.sh",
|
|
85
|
+
"install.ps1",
|
|
86
|
+
"lib",
|
|
87
|
+
"scripts",
|
|
88
|
+
"AGENTS.md",
|
|
89
|
+
"CLAUDE.md",
|
|
90
|
+
"GEMINI.md",
|
|
91
|
+
".clinerules",
|
|
92
|
+
".goosehints",
|
|
93
|
+
".claude-plugin",
|
|
94
|
+
".claude",
|
|
95
|
+
".grok-plugin",
|
|
96
|
+
".github",
|
|
97
|
+
".grok",
|
|
98
|
+
".codex",
|
|
99
|
+
".agents",
|
|
100
|
+
"plugins"
|
|
101
|
+
]
|
|
102
|
+
}
|
package/plugin.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rdap-q",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "Research-Driven Adaptive Planning with Quality Gates protocol plugin for Google Antigravity & AI agents.",
|
|
5
|
+
"rules": [
|
|
6
|
+
"GEMINI.md",
|
|
7
|
+
"AGENTS.md"
|
|
8
|
+
],
|
|
9
|
+
"skills": [
|
|
10
|
+
"rdap-q-skill"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rdap-q",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "Research-Driven Adaptive Planning with Quality Gates protocol for evidence-first software engineering and diminishing-return exit gates.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "coldcanuk"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://github.com/coldcanuk/rdapq",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"rdap-q",
|
|
11
|
+
"adaptive-planning",
|
|
12
|
+
"quality-gates",
|
|
13
|
+
"evidence-first",
|
|
14
|
+
"scoring",
|
|
15
|
+
"sdlc"
|
|
16
|
+
],
|
|
17
|
+
"license": "GPL-3.0-or-later",
|
|
18
|
+
"skills": [
|
|
19
|
+
"skills/rdap-q"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# RDAP-Q Skill v1.2.1
|
|
2
|
+
|
|
3
|
+
`SKILL.md` is the instruction source. This README is not a second copy of the protocol.
|
|
4
|
+
|
|
5
|
+
**Research-Driven Adaptive Planning with Quality Gates**
|
|
6
|
+
|
|
7
|
+
RDAP-Q is a portable agent-engineering protocol for evidence-first software
|
|
8
|
+
development.
|
|
9
|
+
|
|
10
|
+
It uses:
|
|
11
|
+
|
|
12
|
+
- deterministic phase loading;
|
|
13
|
+
- persistent repository state;
|
|
14
|
+
- durable Markdown memory;
|
|
15
|
+
- evidence-linked scoring;
|
|
16
|
+
- hard quality gates;
|
|
17
|
+
- diminishing-return exit logic;
|
|
18
|
+
- vendor-neutral capability names;
|
|
19
|
+
- a collision-resistant `/rdapq` command namespace.
|
|
20
|
+
|
|
21
|
+
## Canonical namespace
|
|
22
|
+
|
|
23
|
+
```text
|
|
24
|
+
Protocol: RDAP-Q Agent Engineering Protocol
|
|
25
|
+
Skill: RDAP-Q Skill
|
|
26
|
+
Slash command: /rdapq
|
|
27
|
+
Environment: RDAPQ_HOME
|
|
28
|
+
Unix home: ~/.rdapq
|
|
29
|
+
Windows home: %USERPROFILE%\.rdapq
|
|
30
|
+
Repository state: <repo>/.rdapq/state/
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## RDAPQ_HOME
|
|
34
|
+
|
|
35
|
+
Resolution order:
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
1. Explicit RDAPQ_HOME
|
|
39
|
+
2. Windows: %USERPROFILE%\.rdapq
|
|
40
|
+
3. Unix-like: ${HOME}/.rdapq
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
This works cleanly with normal hosts, containers, CI, and bubblewrap sandboxes
|
|
44
|
+
because `RDAPQ_HOME` may be redirected explicitly.
|
|
45
|
+
|
|
46
|
+
## Storage model
|
|
47
|
+
|
|
48
|
+
Global:
|
|
49
|
+
|
|
50
|
+
```text
|
|
51
|
+
$RDAPQ_HOME/
|
|
52
|
+
├── config.md
|
|
53
|
+
├── memory/
|
|
54
|
+
├── projects/
|
|
55
|
+
├── registry/
|
|
56
|
+
└── skills/
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Repository-local:
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
<repo>/.rdapq/state/
|
|
63
|
+
├── scope.md
|
|
64
|
+
├── assumptions.md
|
|
65
|
+
├── evidence.md
|
|
66
|
+
├── research.md
|
|
67
|
+
├── plan.md
|
|
68
|
+
├── scorecard.md
|
|
69
|
+
├── risks.md
|
|
70
|
+
├── decisions.md
|
|
71
|
+
└── iteration-log.md
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Memory versus state
|
|
75
|
+
|
|
76
|
+
**State** is transient project/build working memory.
|
|
77
|
+
|
|
78
|
+
**Memory** is durable reusable knowledge.
|
|
79
|
+
|
|
80
|
+
Do not promote something to durable memory unless it is:
|
|
81
|
+
|
|
82
|
+
- durable;
|
|
83
|
+
- reusable;
|
|
84
|
+
- material;
|
|
85
|
+
- safe;
|
|
86
|
+
- grounded.
|
|
87
|
+
|
|
88
|
+
Never persist secret values.
|
|
89
|
+
|
|
90
|
+
## Slash commands
|
|
91
|
+
|
|
92
|
+
```text
|
|
93
|
+
/rdapq <task>
|
|
94
|
+
/rdapq status
|
|
95
|
+
/rdapq score
|
|
96
|
+
/rdapq audit
|
|
97
|
+
/rdapq resume
|
|
98
|
+
/rdapq memory
|
|
99
|
+
/rdapq research
|
|
100
|
+
/rdapq explain
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Package layout
|
|
104
|
+
|
|
105
|
+
```text
|
|
106
|
+
rdap-q-skill/
|
|
107
|
+
├── SKILL.md
|
|
108
|
+
├── README.md
|
|
109
|
+
├── manifest.json
|
|
110
|
+
├── core/
|
|
111
|
+
│ ├── controller.md
|
|
112
|
+
│ ├── capabilities.md
|
|
113
|
+
│ ├── memory.md
|
|
114
|
+
│ ├── scoring.md
|
|
115
|
+
│ ├── gates.md
|
|
116
|
+
│ └── exit-logic.md
|
|
117
|
+
├── playbooks/
|
|
118
|
+
│ ├── 00-bootstrap.md
|
|
119
|
+
│ ├── 01-discovery.md
|
|
120
|
+
│ ├── 02-planning.md
|
|
121
|
+
│ ├── 03-architecture.md
|
|
122
|
+
│ ├── 04-implementation.md
|
|
123
|
+
│ ├── 05-verification.md
|
|
124
|
+
│ ├── 06-final-audit.md
|
|
125
|
+
│ └── 07-git-worktree.md
|
|
126
|
+
├── state/
|
|
127
|
+
│ ├── README.md
|
|
128
|
+
│ ├── scope.md
|
|
129
|
+
│ ├── assumptions.md
|
|
130
|
+
│ ├── evidence.md
|
|
131
|
+
│ ├── research.md
|
|
132
|
+
│ ├── plan.md
|
|
133
|
+
│ ├── scorecard.md
|
|
134
|
+
│ ├── risks.md
|
|
135
|
+
│ ├── decisions.md
|
|
136
|
+
│ └── iteration-log.md
|
|
137
|
+
├── memory/
|
|
138
|
+
│ ├── README.md
|
|
139
|
+
│ ├── engineering-preferences.md
|
|
140
|
+
│ ├── tooling.md
|
|
141
|
+
│ ├── lessons.md
|
|
142
|
+
│ ├── patterns.md
|
|
143
|
+
│ └── constraints.md
|
|
144
|
+
├── projects/
|
|
145
|
+
│ ├── project.md
|
|
146
|
+
│ ├── architecture.md
|
|
147
|
+
│ ├── lessons.md
|
|
148
|
+
│ └── decisions.md
|
|
149
|
+
├── templates/
|
|
150
|
+
│ ├── task.md
|
|
151
|
+
│ ├── milestone.md
|
|
152
|
+
│ └── final-report.md
|
|
153
|
+
└── diagrams/
|
|
154
|
+
├── rdapq-control-loop.mmd
|
|
155
|
+
├── rdapq-selective-loading.mmd
|
|
156
|
+
├── rdapq-score-decision.mmd
|
|
157
|
+
├── rdapq-evidence-flow.mmd
|
|
158
|
+
├── rdapq-memory-model.mmd
|
|
159
|
+
└── rdapq-command-flow.mmd
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Loader recommendation
|
|
163
|
+
|
|
164
|
+
Always load only `SKILL.md`.
|
|
165
|
+
|
|
166
|
+
Load phase playbooks and event references deterministically as needed.
|
|
167
|
+
|
|
168
|
+
Do not use embeddings as the primary retrieval mechanism for governance rules.
|
|
169
|
+
|
|
170
|
+
Embeddings remain useful for source code, docs, issues, logs, and semantic
|
|
171
|
+
repository knowledge.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rdap-q
|
|
3
|
+
description: Run the RDAP-Q evidence-first engineering protocol. Invoke with /rdap-q or /rdapq. Load this file, then the current phase playbook only.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
name: rdap-q
|
|
7
|
+
version: "1.2.1"
|
|
8
|
+
description: Evidence-first engineering protocol. Load this file, then the current phase playbook only.
|
|
9
|
+
invocation: /rdapq
|
|
10
|
+
home_env: RDAPQ_HOME
|
|
11
|
+
home: RDAPQ_HOME else ~/.rdapq (Windows %USERPROFILE%\.rdapq)
|
|
12
|
+
state: .rdapq/state
|
|
13
|
+
memory: $RDAPQ_HOME/memory
|
|
14
|
+
facts: [OBSERVED, USER_SPECIFIED, VERIFIED_EXTERNAL, INFERRED, UNKNOWN]
|
|
15
|
+
rules:
|
|
16
|
+
- evidence before inference; never invent paths, APIs, versions, flags, tests, env, or architecture
|
|
17
|
+
- INFERRED or UNKNOWN cannot decide implementation when verification is possible
|
|
18
|
+
- hard gates override scores; a score never means COMPLETE
|
|
19
|
+
- scores need evidence ids; steps of 0.5; 8.x is a valid stop
|
|
20
|
+
- small reversible milestones; verify before claiming success
|
|
21
|
+
- task state stays in .rdapq/state; memory is reusable only; current evidence beats memory
|
|
22
|
+
- never store secret values; a source plus an identifier is allowed
|
|
23
|
+
- do not load manifest.json, other playbooks, diagrams, or bulk memory
|
|
24
|
+
commands:
|
|
25
|
+
status: phase, quality, confidence, gates, blockers, iteration
|
|
26
|
+
score: evidence-linked scorecard
|
|
27
|
+
audit: adversarial final audit
|
|
28
|
+
resume: reload memory and state, then check drift
|
|
29
|
+
memory: relevant memories and status; never print secrets
|
|
30
|
+
research: discovery
|
|
31
|
+
explain: why this phase or exit
|
|
32
|
+
weights: {correctness: 25, coverage: 15, verification: 15, integration: 10, security: 10, maintainability: 10, architecture: 8, operability: 7}
|
|
33
|
+
anchors: {0: absent, "1-2": broken, "3-4": deficient, 5: unverified, 6: gaps, 7: solid, 8: production, 9: exceptional, 10: reference}
|
|
34
|
+
caps: {unverified: 5, inferred_dependency: 5, known_defect: 4}
|
|
35
|
+
hard_fail: [required_test_fail, unexercised_integration]
|
|
36
|
+
risk_target: {LOW: 7.2, MODERATE: 7.6, HIGH: 8.0, CRITICAL: 8.3}
|
|
37
|
+
exit: {iterate_dQ: ">=0.20", diminish_dQ: "<0.15", stall_dQ: "<0.10", done: "Vibe Code Build complete."}
|
|
38
|
+
terminal: [COMPLETE, BLOCKED, STALLED, CONSTRAINT_LIMITED, FAILED_VERIFICATION]
|
|
39
|
+
tools: [SEARCH, FETCH, INSPECT, EXECUTE, EDIT, TEST, VCS]
|
|
40
|
+
phases:
|
|
41
|
+
BOOTSTRAP: [playbooks/00-bootstrap.md]
|
|
42
|
+
DISCOVERY: [playbooks/01-discovery.md]
|
|
43
|
+
PLAN: [playbooks/02-planning.md]
|
|
44
|
+
ARCHITECTURE: [playbooks/03-architecture.md]
|
|
45
|
+
IMPLEMENT: [playbooks/04-implementation.md]
|
|
46
|
+
VERIFY: [playbooks/05-verification.md]
|
|
47
|
+
AUDIT: [playbooks/06-final-audit.md, playbooks/07-git-worktree.md]
|
|
48
|
+
on:
|
|
49
|
+
memory: core/memory.md
|
|
50
|
+
gates: core/gates.md
|
|
51
|
+
score: core/scoring.md
|
|
52
|
+
milestone_or_exit: [core/scoring.md, core/gates.md, core/exit-logic.md]
|
|
53
|
+
git_mutation: playbooks/07-git-worktree.md
|
|
54
|
+
controller_ambiguity: core/controller.md
|
|
55
|
+
tool_mapping: core/capabilities.md
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
map:
|
|
2
|
+
SEARCH: discover external information
|
|
3
|
+
FETCH: authoritative docs, specs, source
|
|
4
|
+
INSPECT: repo, env, logs, history, config
|
|
5
|
+
EXECUTE: commands, code, experiments
|
|
6
|
+
EDIT: modify files
|
|
7
|
+
TEST: verification
|
|
8
|
+
VCS: version control
|
|
9
|
+
if_missing: [record constraint, check whether a gate is affected, use a real alternative, never fabricate evidence]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
when: whole_loop_or_ambiguous_next_state
|
|
2
|
+
order:
|
|
3
|
+
- resolve home; if unwritable, record it and use repo state
|
|
4
|
+
- load SKILL.md, repo root, relevant memory, then .rdapq/state if present
|
|
5
|
+
- load the current playbook only; observe before acting
|
|
6
|
+
- update facts, assumptions, evidence, risks, decisions
|
|
7
|
+
- milestone: verify, review, score, gate, decide, persist
|
|
8
|
+
- invalid plan -> PLAN; worthwhile fix -> iterate
|
|
9
|
+
- gates pass and diminishing -> audit, then COMPLETE
|
|
10
|
+
- else emit the accurate non-complete terminal state
|
|
11
|
+
- promote only durable lessons
|
|
12
|
+
precedence: [user_intent, direct_evidence, repo_state, project_memory, global_memory, external_for_this_version, inference]
|
|
13
|
+
replan_if_changes: [scope, architecture, dependencies, sequencing, risk, verification, success_criteria]
|
|
14
|
+
context: targeted reads; do not replay chat or load the whole skill tree
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# numeric thresholds: SKILL.md exit
|
|
2
|
+
effort: {1: trivial, 2: small, 3: moderate, 5: substantial, 8: major}
|
|
3
|
+
candidate: [severity, dQ, risk, effort, confidence, blocker]
|
|
4
|
+
iterate_if: [gate_fail_with_fix, high_or_critical_defect, "dQ>=0.20", material_risk_reduction]
|
|
5
|
+
diminish_if: gates_pass AND (last_two_dQ<0.15 OR best_remaining_dQ<0.20_and_no_risk_reduction)
|
|
6
|
+
stall_if: [deficiency_remains, two_tries_dQ<0.10, no_new_action]
|
|
7
|
+
blocked_if_missing: [user_decision, credentials, environment, external_system, spec, permission, hardware]
|
|
8
|
+
constraint_limited: external_cap; not automatically complete
|
|
9
|
+
aqc: late ceiling estimate; never excuses a failed gate
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
complete: all_applicable_pass
|
|
2
|
+
score_never_completes: true
|
|
3
|
+
gates:
|
|
4
|
+
scope: [goal, success_criteria, non_goals, no_silent_drop]
|
|
5
|
+
evidence: [no_unsupported_inference, critical_assumptions_resolved, high_assumptions_resolved_or_accepted]
|
|
6
|
+
correctness: [no_open_critical_or_high, required_verification_pass]
|
|
7
|
+
integration: [material_paths_exercised, compatibility_checked]
|
|
8
|
+
regression: [existing_tests_pass, no_known_material_regression]
|
|
9
|
+
security: [no_new_material_issue, no_secrets_stored, destructive_safeguards, risk_proportional_checks]
|
|
10
|
+
repository: [diff_reviewed, no_unintended_files, no_conflicts, state_understood, unrelated_work_kept]
|
|
11
|
+
memory: [no_secrets, promotion_test, stale_handled, state_not_promoted_as_global]
|
|
12
|
+
quality: target_met_or_diminishing_returns_and_other_gates_pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
scopes:
|
|
2
|
+
global: "$RDAPQ_HOME/memory/{engineering-preferences,tooling,lessons,patterns,constraints}.md"
|
|
3
|
+
project: "$RDAPQ_HOME/projects/<id>/{project,architecture,lessons,decisions}.md"
|
|
4
|
+
task: .rdapq/state
|
|
5
|
+
promote_if_all: [durable, reusable, material, safe, grounded]
|
|
6
|
+
record: {id: M-<id>, scope: "global|project:<id>", status: [ACTIVE, STALE, SUPERSEDED, INVALID], class: [USER_SPECIFIED, OBSERVED, VERIFIED_EXTERNAL, INFERRED], confidence: "0-10", verified: YYYY-MM-DD, supersedes: "id|none", superseded_by: "id|none", fact: str, evidence: str}
|
|
7
|
+
secrets: never values; source plus identifier only
|
|
8
|
+
on_conflict: trust direct evidence; mark STALE, SUPERSEDED, or INVALID; link ids; do not silent-delete
|
|
9
|
+
load: relevant project, then relevant global
|
|
10
|
+
memory_cmd: relevant entries, status, conflicts; never print secrets
|
|
11
|
+
resume: home, project memory, repo state, last phase, inspect drift, continue at first unverified step
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# weights, anchors, caps, risk_target: SKILL.md
|
|
2
|
+
formula: sum(score_i * weight_i) / 100
|
|
3
|
+
confidence_weights: {runtime: 35, repo: 25, external: 15, claims: 15, repro: 10}
|
|
4
|
+
coverage: verified_material_claims / total_material_claims
|
|
5
|
+
report: [quality, confidence, coverage, gates, critical, high, unknowns, previous, delta, target, remaining, aqc]
|
|
6
|
+
row: [dimension, weight, score, weighted, evidence_ids, gap]
|
|
7
|
+
forbid: looks_good
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
flowchart LR
|
|
2
|
+
C[/rdapq/] --> T[Execute Task]
|
|
3
|
+
S[/rdapq status/] --> ST[Show Phase / Gates / Scores / Blockers]
|
|
4
|
+
Q[/rdapq score/] --> SC[Calculate / Show Scorecard]
|
|
5
|
+
A[/rdapq audit/] --> AU[Run Adversarial Audit]
|
|
6
|
+
R[/rdapq resume/] --> RE[Reload Memory + State + Detect Drift]
|
|
7
|
+
M[/rdapq memory/] --> ME[Show Relevant Memory / Status]
|
|
8
|
+
D[/rdapq research/] --> DI[Enter or Re-enter Discovery]
|
|
9
|
+
E[/rdapq explain/] --> EX[Explain Current RDAP-Q Decision]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
flowchart TD
|
|
2
|
+
A[/rdapq task or resume/] --> B[Resolve RDAPQ_HOME]
|
|
3
|
+
B --> C[Load Relevant Memory]
|
|
4
|
+
C --> D[Load Repository State]
|
|
5
|
+
D --> E[Bootstrap / Observe]
|
|
6
|
+
E --> F[Establish Facts]
|
|
7
|
+
F --> G[Identify Unknowns]
|
|
8
|
+
G --> H[Research / Verify]
|
|
9
|
+
H --> I[Define Scope]
|
|
10
|
+
I --> J[Plan]
|
|
11
|
+
J --> K[Score Plan]
|
|
12
|
+
K --> L{Plan Gates Pass?}
|
|
13
|
+
L -- No --> M[Improve / Research]
|
|
14
|
+
M --> J
|
|
15
|
+
L -- Yes --> N[Implement Milestone]
|
|
16
|
+
N --> O[Verify]
|
|
17
|
+
O --> P[Audit]
|
|
18
|
+
P --> Q[Score Quality + Confidence]
|
|
19
|
+
Q --> R{Hard Gates Pass?}
|
|
20
|
+
R -- No, resolvable --> S[Fix]
|
|
21
|
+
S --> O
|
|
22
|
+
R -- No, blocked --> T[BLOCKED / STALLED]
|
|
23
|
+
R -- Yes --> U{Material Value Remaining?}
|
|
24
|
+
U -- Yes --> N
|
|
25
|
+
U -- No --> V[Diminishing Return Exit]
|
|
26
|
+
V --> W[Adversarial Final Audit]
|
|
27
|
+
W --> X[Memory Promotion / Invalidation]
|
|
28
|
+
X --> Y{Completion Gates Pass?}
|
|
29
|
+
Y -- No --> N
|
|
30
|
+
Y -- Yes --> Z[Merge / Cleanup]
|
|
31
|
+
Z --> AA[COMPLETE]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
flowchart LR
|
|
2
|
+
U[User-Specified Facts] --> L[Fact / Assumption Ledger]
|
|
3
|
+
RM[Relevant RDAP-Q Memory] --> L
|
|
4
|
+
R[Repository Inspection] --> E[Evidence Register]
|
|
5
|
+
X[External Primary Sources] --> E
|
|
6
|
+
T[Tests / Runtime / Experiments] --> E
|
|
7
|
+
|
|
8
|
+
L --> Q{Material Fact Status}
|
|
9
|
+
E --> Q
|
|
10
|
+
|
|
11
|
+
Q --> O[OBSERVED]
|
|
12
|
+
Q --> V[VERIFIED_EXTERNAL]
|
|
13
|
+
Q --> I[INFERRED]
|
|
14
|
+
Q --> N[UNKNOWN]
|
|
15
|
+
|
|
16
|
+
O --> D[Implementation Decision]
|
|
17
|
+
V --> D
|
|
18
|
+
I --> C{Can It Be Verified?}
|
|
19
|
+
N --> C
|
|
20
|
+
|
|
21
|
+
C -- Yes --> R2[Research / Inspect / Test]
|
|
22
|
+
R2 --> E
|
|
23
|
+
C -- No --> B[Record Constraint / Blocker]
|
|
24
|
+
|
|
25
|
+
D --> S[Scorecard]
|
|
26
|
+
E --> S
|
|
27
|
+
S --> G[Hard Gates + Exit Decision]
|
|
28
|
+
|
|
29
|
+
E --> MC{Durable + Reusable + Material + Safe?}
|
|
30
|
+
MC -- Yes --> MEM[Promote to RDAP-Q Memory]
|
|
31
|
+
MC -- No --> ST[Keep in Project State Only]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
flowchart TD
|
|
2
|
+
ENV[RDAPQ_HOME set?] -->|Yes| H[Use RDAPQ_HOME]
|
|
3
|
+
ENV -->|No| OS{Platform}
|
|
4
|
+
OS -->|Windows| W[%USERPROFILE%/.rdapq]
|
|
5
|
+
OS -->|Unix-like| U[${HOME}/.rdapq]
|
|
6
|
+
|
|
7
|
+
H --> GH[Global RDAP-Q Home]
|
|
8
|
+
W --> GH
|
|
9
|
+
U --> GH
|
|
10
|
+
|
|
11
|
+
GH --> GM[memory/]
|
|
12
|
+
GH --> PM[projects/project-id/]
|
|
13
|
+
GH --> REG[registry/]
|
|
14
|
+
GH --> SK[skills/]
|
|
15
|
+
|
|
16
|
+
REPO[Repository] --> LS[.rdapq/state/]
|
|
17
|
+
|
|
18
|
+
GM --> A[Agent]
|
|
19
|
+
PM --> A
|
|
20
|
+
LS --> A
|
|
21
|
+
|
|
22
|
+
A --> C{New Information}
|
|
23
|
+
C -->|Transient build state| LS
|
|
24
|
+
C -->|Durable reusable material fact| P[Memory Promotion Test]
|
|
25
|
+
P -->|Pass| GM2[Global or Project Memory]
|
|
26
|
+
P -->|Fail| LS2[Remain Local State]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
flowchart TD
|
|
2
|
+
A[Collect Evidence] --> B[Apply Evidence Caps]
|
|
3
|
+
B --> C[Score Quality Dimensions]
|
|
4
|
+
C --> D[Compute Weighted Quality]
|
|
5
|
+
D --> E[Score Confidence]
|
|
6
|
+
E --> F[Calculate Evidence Coverage]
|
|
7
|
+
F --> G[Evaluate Hard Gates]
|
|
8
|
+
|
|
9
|
+
G --> H{Any Gate Fails?}
|
|
10
|
+
H -- Yes --> I{Credible Fix?}
|
|
11
|
+
I -- Yes --> J[ITERATE]
|
|
12
|
+
I -- No --> K[BLOCKED / STALLED / FAILED]
|
|
13
|
+
|
|
14
|
+
H -- No --> L[Rank Improvements]
|
|
15
|
+
L --> M{HIGH/CRITICAL Defect?}
|
|
16
|
+
M -- Yes --> J
|
|
17
|
+
M -- No --> N{Expected ΔQ >= 0.20?}
|
|
18
|
+
N -- Yes --> J
|
|
19
|
+
N -- No --> O{Material Risk Reduction?}
|
|
20
|
+
O -- Yes --> J
|
|
21
|
+
O -- No --> P{Diminishing Return Reached?}
|
|
22
|
+
P -- No --> J
|
|
23
|
+
P -- Yes --> Q[Memory Finalization]
|
|
24
|
+
Q --> R[COMPLETE]
|