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.
Files changed (178) hide show
  1. package/.agents/plugins/rdap-q/plugin.json +11 -0
  2. package/.agents/skills/rdap-q/README.md +171 -0
  3. package/.agents/skills/rdap-q/SKILL.md +55 -0
  4. package/.agents/skills/rdap-q/core/capabilities.md +9 -0
  5. package/.agents/skills/rdap-q/core/controller.md +14 -0
  6. package/.agents/skills/rdap-q/core/exit-logic.md +9 -0
  7. package/.agents/skills/rdap-q/core/gates.md +12 -0
  8. package/.agents/skills/rdap-q/core/memory.md +11 -0
  9. package/.agents/skills/rdap-q/core/scoring.md +7 -0
  10. package/.agents/skills/rdap-q/diagrams/rdapq-command-flow.mmd +9 -0
  11. package/.agents/skills/rdap-q/diagrams/rdapq-control-loop.mmd +31 -0
  12. package/.agents/skills/rdap-q/diagrams/rdapq-evidence-flow.mmd +31 -0
  13. package/.agents/skills/rdap-q/diagrams/rdapq-memory-model.mmd +26 -0
  14. package/.agents/skills/rdap-q/diagrams/rdapq-score-decision.mmd +24 -0
  15. package/.agents/skills/rdap-q/diagrams/rdapq-selective-loading.mmd +40 -0
  16. package/.agents/skills/rdap-q/install/install-unix.sh +48 -0
  17. package/.agents/skills/rdap-q/install/install-windows.ps1 +65 -0
  18. package/.agents/skills/rdap-q/manifest.json +87 -0
  19. package/.agents/skills/rdap-q/memory/README.md +4 -0
  20. package/.agents/skills/rdap-q/memory/constraints.md +3 -0
  21. package/.agents/skills/rdap-q/memory/engineering-preferences.md +3 -0
  22. package/.agents/skills/rdap-q/memory/lessons.md +3 -0
  23. package/.agents/skills/rdap-q/memory/patterns.md +3 -0
  24. package/.agents/skills/rdap-q/memory/tooling.md +3 -0
  25. package/.agents/skills/rdap-q/playbooks/00-bootstrap.md +17 -0
  26. package/.agents/skills/rdap-q/playbooks/01-discovery.md +9 -0
  27. package/.agents/skills/rdap-q/playbooks/02-planning.md +6 -0
  28. package/.agents/skills/rdap-q/playbooks/03-architecture.md +6 -0
  29. package/.agents/skills/rdap-q/playbooks/04-implementation.md +8 -0
  30. package/.agents/skills/rdap-q/playbooks/05-verification.md +6 -0
  31. package/.agents/skills/rdap-q/playbooks/06-final-audit.md +7 -0
  32. package/.agents/skills/rdap-q/playbooks/07-git-worktree.md +13 -0
  33. package/.agents/skills/rdap-q/projects/architecture.md +3 -0
  34. package/.agents/skills/rdap-q/projects/decisions.md +3 -0
  35. package/.agents/skills/rdap-q/projects/lessons.md +3 -0
  36. package/.agents/skills/rdap-q/projects/project.md +3 -0
  37. package/.agents/skills/rdap-q/state/README.md +4 -0
  38. package/.agents/skills/rdap-q/state/assumptions.md +3 -0
  39. package/.agents/skills/rdap-q/state/decisions.md +2 -0
  40. package/.agents/skills/rdap-q/state/evidence.md +3 -0
  41. package/.agents/skills/rdap-q/state/iteration-log.md +1 -0
  42. package/.agents/skills/rdap-q/state/plan.md +4 -0
  43. package/.agents/skills/rdap-q/state/research.md +13 -0
  44. package/.agents/skills/rdap-q/state/risks.md +2 -0
  45. package/.agents/skills/rdap-q/state/scope.md +9 -0
  46. package/.agents/skills/rdap-q/state/scorecard.md +15 -0
  47. package/.agents/skills/rdap-q/templates/final-report.md +31 -0
  48. package/.agents/skills/rdap-q/templates/milestone.md +8 -0
  49. package/.agents/skills/rdap-q/templates/task.md +12 -0
  50. package/.claude/commands/rdapq.md +8 -0
  51. package/.claude-plugin/marketplace.json +40 -0
  52. package/.claude-plugin/plugin-index.json +16 -0
  53. package/.claude-plugin/plugin.json +25 -0
  54. package/.clinerules +8 -0
  55. package/.codex/skill.json +9 -0
  56. package/.github/copilot-instructions.md +8 -0
  57. package/.github/workflows/ci.yml +25 -0
  58. package/.github/workflows/release.yml +34 -0
  59. package/.goosehints +8 -0
  60. package/.grok/rules.md +8 -0
  61. package/.grok/skill.json +9 -0
  62. package/.grok-plugin/marketplace.json +40 -0
  63. package/.grok-plugin/plugin-index.json +16 -0
  64. package/AGENTS.md +8 -0
  65. package/CLAUDE.md +8 -0
  66. package/GEMINI.md +8 -0
  67. package/LICENSE +674 -0
  68. package/README.md +657 -0
  69. package/agentskills.json +20 -0
  70. package/bin/rdapq.js +14 -0
  71. package/install.ps1 +65 -0
  72. package/install.sh +41 -0
  73. package/lib/installer.js +479 -0
  74. package/manifest.json +87 -0
  75. package/marketplace.json +112 -0
  76. package/package.json +102 -0
  77. package/plugin.json +12 -0
  78. package/plugins/rdap-q/plugin.json +21 -0
  79. package/plugins/rdap-q/skills/rdap-q/README.md +171 -0
  80. package/plugins/rdap-q/skills/rdap-q/SKILL.md +55 -0
  81. package/plugins/rdap-q/skills/rdap-q/core/capabilities.md +9 -0
  82. package/plugins/rdap-q/skills/rdap-q/core/controller.md +14 -0
  83. package/plugins/rdap-q/skills/rdap-q/core/exit-logic.md +9 -0
  84. package/plugins/rdap-q/skills/rdap-q/core/gates.md +12 -0
  85. package/plugins/rdap-q/skills/rdap-q/core/memory.md +11 -0
  86. package/plugins/rdap-q/skills/rdap-q/core/scoring.md +7 -0
  87. package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-command-flow.mmd +9 -0
  88. package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-control-loop.mmd +31 -0
  89. package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-evidence-flow.mmd +31 -0
  90. package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-memory-model.mmd +26 -0
  91. package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-score-decision.mmd +24 -0
  92. package/plugins/rdap-q/skills/rdap-q/diagrams/rdapq-selective-loading.mmd +40 -0
  93. package/plugins/rdap-q/skills/rdap-q/install/install-unix.sh +48 -0
  94. package/plugins/rdap-q/skills/rdap-q/install/install-windows.ps1 +65 -0
  95. package/plugins/rdap-q/skills/rdap-q/manifest.json +87 -0
  96. package/plugins/rdap-q/skills/rdap-q/memory/README.md +4 -0
  97. package/plugins/rdap-q/skills/rdap-q/memory/constraints.md +3 -0
  98. package/plugins/rdap-q/skills/rdap-q/memory/engineering-preferences.md +3 -0
  99. package/plugins/rdap-q/skills/rdap-q/memory/lessons.md +3 -0
  100. package/plugins/rdap-q/skills/rdap-q/memory/patterns.md +3 -0
  101. package/plugins/rdap-q/skills/rdap-q/memory/tooling.md +3 -0
  102. package/plugins/rdap-q/skills/rdap-q/playbooks/00-bootstrap.md +17 -0
  103. package/plugins/rdap-q/skills/rdap-q/playbooks/01-discovery.md +9 -0
  104. package/plugins/rdap-q/skills/rdap-q/playbooks/02-planning.md +6 -0
  105. package/plugins/rdap-q/skills/rdap-q/playbooks/03-architecture.md +6 -0
  106. package/plugins/rdap-q/skills/rdap-q/playbooks/04-implementation.md +8 -0
  107. package/plugins/rdap-q/skills/rdap-q/playbooks/05-verification.md +6 -0
  108. package/plugins/rdap-q/skills/rdap-q/playbooks/06-final-audit.md +7 -0
  109. package/plugins/rdap-q/skills/rdap-q/playbooks/07-git-worktree.md +13 -0
  110. package/plugins/rdap-q/skills/rdap-q/projects/architecture.md +3 -0
  111. package/plugins/rdap-q/skills/rdap-q/projects/decisions.md +3 -0
  112. package/plugins/rdap-q/skills/rdap-q/projects/lessons.md +3 -0
  113. package/plugins/rdap-q/skills/rdap-q/projects/project.md +3 -0
  114. package/plugins/rdap-q/skills/rdap-q/state/README.md +4 -0
  115. package/plugins/rdap-q/skills/rdap-q/state/assumptions.md +3 -0
  116. package/plugins/rdap-q/skills/rdap-q/state/decisions.md +2 -0
  117. package/plugins/rdap-q/skills/rdap-q/state/evidence.md +3 -0
  118. package/plugins/rdap-q/skills/rdap-q/state/iteration-log.md +1 -0
  119. package/plugins/rdap-q/skills/rdap-q/state/plan.md +4 -0
  120. package/plugins/rdap-q/skills/rdap-q/state/research.md +13 -0
  121. package/plugins/rdap-q/skills/rdap-q/state/risks.md +2 -0
  122. package/plugins/rdap-q/skills/rdap-q/state/scope.md +9 -0
  123. package/plugins/rdap-q/skills/rdap-q/state/scorecard.md +15 -0
  124. package/plugins/rdap-q/skills/rdap-q/templates/final-report.md +31 -0
  125. package/plugins/rdap-q/skills/rdap-q/templates/milestone.md +8 -0
  126. package/plugins/rdap-q/skills/rdap-q/templates/task.md +12 -0
  127. package/rdap-q-skill/README.md +171 -0
  128. package/rdap-q-skill/SKILL.md +55 -0
  129. package/rdap-q-skill/core/capabilities.md +9 -0
  130. package/rdap-q-skill/core/controller.md +14 -0
  131. package/rdap-q-skill/core/exit-logic.md +9 -0
  132. package/rdap-q-skill/core/gates.md +12 -0
  133. package/rdap-q-skill/core/memory.md +11 -0
  134. package/rdap-q-skill/core/scoring.md +7 -0
  135. package/rdap-q-skill/diagrams/rdapq-command-flow.mmd +9 -0
  136. package/rdap-q-skill/diagrams/rdapq-control-loop.mmd +31 -0
  137. package/rdap-q-skill/diagrams/rdapq-evidence-flow.mmd +31 -0
  138. package/rdap-q-skill/diagrams/rdapq-memory-model.mmd +26 -0
  139. package/rdap-q-skill/diagrams/rdapq-score-decision.mmd +24 -0
  140. package/rdap-q-skill/diagrams/rdapq-selective-loading.mmd +40 -0
  141. package/rdap-q-skill/install/install-unix.sh +48 -0
  142. package/rdap-q-skill/install/install-windows.ps1 +65 -0
  143. package/rdap-q-skill/manifest.json +87 -0
  144. package/rdap-q-skill/memory/README.md +4 -0
  145. package/rdap-q-skill/memory/constraints.md +3 -0
  146. package/rdap-q-skill/memory/engineering-preferences.md +3 -0
  147. package/rdap-q-skill/memory/lessons.md +3 -0
  148. package/rdap-q-skill/memory/patterns.md +3 -0
  149. package/rdap-q-skill/memory/tooling.md +3 -0
  150. package/rdap-q-skill/playbooks/00-bootstrap.md +17 -0
  151. package/rdap-q-skill/playbooks/01-discovery.md +9 -0
  152. package/rdap-q-skill/playbooks/02-planning.md +6 -0
  153. package/rdap-q-skill/playbooks/03-architecture.md +6 -0
  154. package/rdap-q-skill/playbooks/04-implementation.md +8 -0
  155. package/rdap-q-skill/playbooks/05-verification.md +6 -0
  156. package/rdap-q-skill/playbooks/06-final-audit.md +7 -0
  157. package/rdap-q-skill/playbooks/07-git-worktree.md +13 -0
  158. package/rdap-q-skill/projects/architecture.md +3 -0
  159. package/rdap-q-skill/projects/decisions.md +3 -0
  160. package/rdap-q-skill/projects/lessons.md +3 -0
  161. package/rdap-q-skill/projects/project.md +3 -0
  162. package/rdap-q-skill/state/README.md +4 -0
  163. package/rdap-q-skill/state/assumptions.md +3 -0
  164. package/rdap-q-skill/state/decisions.md +2 -0
  165. package/rdap-q-skill/state/evidence.md +3 -0
  166. package/rdap-q-skill/state/iteration-log.md +1 -0
  167. package/rdap-q-skill/state/plan.md +4 -0
  168. package/rdap-q-skill/state/research.md +13 -0
  169. package/rdap-q-skill/state/risks.md +2 -0
  170. package/rdap-q-skill/state/scope.md +9 -0
  171. package/rdap-q-skill/state/scorecard.md +15 -0
  172. package/rdap-q-skill/templates/final-report.md +31 -0
  173. package/rdap-q-skill/templates/milestone.md +8 -0
  174. package/rdap-q-skill/templates/task.md +12 -0
  175. package/scripts/check-static.js +86 -0
  176. package/scripts/check-versions.js +86 -0
  177. package/scripts/materialize-skill-links.js +83 -0
  178. package/skills.json +15 -0
package/README.md ADDED
@@ -0,0 +1,657 @@
1
+ # RDAP-Q: Research-Driven Adaptive Planning with Quality Gates
2
+ ### Universal Autonomous AI Agent Engineering Protocol & Marketplace Skill
3
+
4
+ [![CI](https://github.com/coldcanuk/rdapq/actions/workflows/ci.yml/badge.svg)](https://github.com/coldcanuk/rdapq/actions/workflows/ci.yml)
5
+ [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
6
+ [![Protocol Version](https://img.shields.io/badge/Protocol-v1.2.1-emerald.svg)](https://github.com/coldcanuk/rdapq)
7
+ [![Command](https://img.shields.io/badge/Command-%2Frdapq-purple.svg)](https://github.com/coldcanuk/rdapq)
8
+ [![Marketplace: Universal](https://img.shields.io/badge/Marketplace-Ready-orange.svg)](https://github.com/coldcanuk/rdapq/blob/main/marketplace.json)
9
+ [![Codex](https://img.shields.io/badge/OpenAI%20Codex-Supported-green.svg)](#openai-codex)
10
+ [![Grok](https://img.shields.io/badge/xAI%20Grok-Supported-blue.svg)](#xai-grok)
11
+ [![Copilot](https://img.shields.io/badge/GitHub%20Copilot-Supported-darkviolet.svg)](#github-copilot)
12
+ [![Antigravity](https://img.shields.io/badge/Google%20Antigravity-Supported-red.svg)](#google-antigravity)
13
+ [![Goose](https://img.shields.io/badge/Block%20Goose-Supported-teal.svg)](#block-goose)
14
+ [![Claude](https://img.shields.io/badge/Anthropic%20Claude-Supported-coral.svg)](#anthropic-claude--claude-code)
15
+ [![Cline](https://img.shields.io/badge/Cline%20%26%20Roo-Supported-yellow.svg)](#cline--roo-code)
16
+ [![Cursor](https://img.shields.io/badge/Cursor-Supported-black.svg)](#cursor)
17
+
18
+ ---
19
+
20
+ ## <a id="description"></a> 📌 Description
21
+
22
+ > **Short Description (SEO & Registries):**
23
+ > **RDAP-Q: Research-Driven Adaptive Planning with Quality Gates** — Vendor-neutral AI agent engineering protocol & marketplace skill for **Codex, Grok, Copilot, Antigravity, Goose, Claude, Cline, and Cursor**. Delivers evidence-first software engineering, calibrated quality scoring (0–10), persistent project state, and diminishing-return exit gates.
24
+
25
+ <!-- Machine-Readable Structured Metadata (Schema.org / JSON-LD for Crawlers & Robots) -->
26
+ ```json
27
+ {
28
+ "@context": "https://schema.org",
29
+ "@type": "SoftwareSourceCode",
30
+ "name": "RDAP-Q",
31
+ "alternateName": "Research-Driven Adaptive Planning with Quality Gates",
32
+ "version": "1.2.1",
33
+ "description": "Universal AI agent engineering protocol for evidence-first software development, calibrated scoring, and diminishing-return exit gates across OpenAI Codex, xAI Grok, GitHub Copilot, Google Antigravity, Block Goose, Anthropic Claude, Cline, and Cursor.",
34
+ "codeRepository": "https://github.com/coldcanuk/rdapq",
35
+ "license": "https://www.gnu.org/licenses/gpl-3.0",
36
+ "programmingLanguage": ["JavaScript", "YAML", "Markdown", "Shell", "PowerShell", "JSON"],
37
+ "applicationCategory": "DeveloperApplication",
38
+ "operatingSystem": "Linux, macOS, Windows",
39
+ "keywords": "ai-agent, agent-skills, openai-codex, xai-grok, github-copilot, google-antigravity, block-goose, anthropic-claude, claude-code, cline, roo-code, cursor, quality-gates, adaptive-planning, software-engineering, autonomous-agent, sdlc-automation, slash-command, evidence-first, calibrated-scoring"
40
+ }
41
+ ```
42
+
43
+ ---
44
+
45
+ ## <a id="overview"></a> 🚀 Overview
46
+
47
+ **RDAP-Q** (Research-Driven Adaptive Planning with Quality Gates) is an open, vendor-neutral engineering methodology designed for autonomous coding agents, LLMs, and AI coding harnesses.
48
+
49
+ Standard AI assistants often suffer from hallucinated dependencies, ungrounded assumptions, premature completion declarations, and infinite optimization loops. RDAP-Q replaces guesswork with a disciplined, evidence-backed loop:
50
+
51
+ $$\text{Evidence} \longrightarrow \text{Correctness} \longrightarrow \text{Measured Quality} \longrightarrow \text{Worthwhile Improvement} \longrightarrow \text{Deterministic Stop}$$
52
+
53
+ ### Why Autonomous Agents Need RDAP-Q
54
+
55
+ | Pain Point in Typical Agents | How RDAP-Q Solves It |
56
+ | :--- | :--- |
57
+ | **Hallucinated Implementation Facts** | **Fact Tracking**: Enforces strict categorization (`OBSERVED`, `USER_SPECIFIED`, `VERIFIED_EXTERNAL`, `INFERRED`, `UNKNOWN`). Decisions cannot rely on `INFERRED` facts when verification is possible. |
58
+ | **Premature "Task Complete" Claims** | **Hard Quality Gates**: Objective gate failures (failing tests, broken integrations, unverified behavior) categorically override numerical scores. |
59
+ | **Vague Quality Metrics** | **Calibrated 8-Dimension Scoring**: Evaluates Functional Correctness (25%), Requirements Coverage (15%), Verification Strength (15%), and more on an anchored 0–10 scale. |
60
+ | **Context Window Amnesia** | **Dual Persistence Model**: Separates ephemeral repository state (`.rdapq/state/`) from durable, secret-free cross-session memory (`$RDAPQ_HOME/memory/`). |
61
+ | **Runaway Agent Costs** | **Diminishing-Return Exit Logic**: Mathematically halts iterations when marginal quality improvement drops below threshold ($< 0.15$), saving tokens and compute. |
62
+ | **Vendor Lock-in** | **Universal Harness Support**: Native plug-and-play configuration for **Codex, Grok, Copilot, Antigravity, Goose, Claude, Cline, and Cursor**. |
63
+
64
+ ---
65
+
66
+ ## <a id="table-of-contents"></a> 📑 Table of Contents
67
+
68
+ - [📌 Description](#description)
69
+ - [🚀 Overview](#overview)
70
+ - [🧭 System Architecture & Control Loop](#system-architecture)
71
+ - [📦 In-Harness Marketplace Installation (Recommended)](#in-harness-marketplace-installation)
72
+ - [xAI Grok (TUI Menu GUI & CLI)](#xai-grok-marketplace)
73
+ - [Anthropic Claude Code (TUI Menu GUI & CLI)](#anthropic-claude-marketplace)
74
+ - [Google Antigravity (Skills Palette & CLI)](#google-antigravity-marketplace)
75
+ - [OpenAI Codex & Agents](#openai-codex-marketplace)
76
+ - [Block Goose](#block-goose-marketplace)
77
+ - [GitHub Copilot](#github-copilot-marketplace)
78
+ - [Cline & Roo Code](#cline--roo-code-marketplace)
79
+ - [Cursor](#cursor)
80
+ - [⚡ Install](#npm-npx-installation)
81
+ - [📜 Local clone](#universal-install-scripts)
82
+ - [🔄 Update](#update)
83
+ - [⚡ Canonical Commands (`/rdapq`)](#canonical-commands)
84
+ - [🎯 Calibrated Quality Scale (0–10)](#calibrated-quality-scale)
85
+ - [Default Implementation Dimensions](#default-implementation-dimensions)
86
+ - [Evidence Caps & Hard Gates](#evidence-caps--hard-gates)
87
+ - [💾 Storage & Persistence Model](#storage-and-persistence-model)
88
+ - [Strict Memory Safety Rules](#strict-memory-safety-rules)
89
+ - [🛑 Exit Criteria & Diminishing Returns](#exit-criteria)
90
+ - [🧩 Directory Structure](#directory-structure)
91
+ - [❓ Frequently Asked Questions (FAQ)](#faq)
92
+ - [📄 License](#license)
93
+ - [🤝 Contributing & Community](#contributing)
94
+
95
+ ---
96
+
97
+ ## <a id="system-architecture"></a> 🧭 System Architecture & Control Loop
98
+
99
+ The host model is the control plane. RDAP-Q does not run a server. `bin/rdapq.js` is the only installer implementation; `install.sh` and `install.ps1` refuse a piped launch and then exec that CLI. Personal harness files are created when missing and are not replaced unless you pass `--force` (the previous file is kept as `*.rdapq-backup`). Skill trees are staged and renamed into place, so a failed copy cannot delete a working install.
100
+
101
+ ```mermaid
102
+ flowchart TD
103
+ A["/rdapq &lt;task&gt;"] --> B["Phase 00: Bootstrap<br/>(Load persistent memory &amp; state)"]
104
+ B --> C["Phase 01: Discovery &amp; Research<br/>(Gather OBSERVED facts)"]
105
+ C --> D{"Evidence Complete?"}
106
+ D -- No --> C
107
+ D -- Yes --> E["Phase 02 &amp; 03: Plan &amp; Architecture<br/>(Set quality targets)"]
108
+ E --> F["Phase 04: Implementation<br/>(Small verified milestones)"]
109
+ F --> G["Phase 05: Verification<br/>(Automated tests &amp; runtime checks)"]
110
+ G --> H["Phase 06: Final Audit &amp; Scoring<br/>(Calculate 8-dimension scorecard)"]
111
+ H --> I{"Hard Gates Pass?"}
112
+ I -- FAIL --> F
113
+ I -- PASS --> J{"Marginal Gain &ge; 0.15?"}
114
+ J -- Yes --> F
115
+ J -- No --> K["COMPLETE<br/>('Vibe Code Build complete.')"]
116
+ ```
117
+
118
+ ---
119
+
120
+ ## <a id="in-harness-marketplace-installation"></a> 📦 In-Harness Marketplace Installation (Recommended)
121
+
122
+ RDAP-Q is packaged natively as a marketplace plugin across major AI coding harnesses. You can install it directly inside your harness via its **text-based TUI menu** (e.g. `/skills` or `/plugins`), or via the harness CLI by pointing to the GitHub marketplace repository `coldcanuk/rdapq`.
123
+
124
+ ### Supported AI Harnesses at a Glance
125
+
126
+ | AI Harness | In-Harness TUI Menu GUI | CLI Marketplace Command | Primary Config | Invocation |
127
+ | :--- | :--- | :--- | :--- | :--- |
128
+ | **[xAI Grok](#xai-grok-marketplace)** | `/skills` or `/plugins` → Marketplace | `grok plugin marketplace add coldcanuk/rdapq` | `.grok/rules.md` | `/rdapq <task>` |
129
+ | **[Anthropic Claude Code](#anthropic-claude-marketplace)** | `/plugins` → Marketplace | `claude plugin marketplace add coldcanuk/rdapq` | `CLAUDE.md` | `/rdapq <task>` |
130
+ | **[Google Antigravity](#google-antigravity-marketplace)** | `/skills` menu palette | `agy plugin marketplace add coldcanuk/rdapq` | `GEMINI.md` | `/rdapq <task>` |
131
+ | **[OpenAI Codex](#openai-codex-marketplace)** | `/skills` → Marketplace | `codex skill add https://github.com/coldcanuk/rdapq` | `AGENTS.md` | `/rdapq <task>` |
132
+ | **[Block Goose](#block-goose-marketplace)** | Interactive Toolkit Selector | `goose toolkit add coldcanuk/rdapq` | `.goosehints` | `goose run` / `/rdapq` |
133
+ | **[GitHub Copilot](#github-copilot-marketplace)** | VS Code Extensions Market | `gh extension install coldcanuk/rdapq` | `.github/copilot-instructions.md` | `/rdapq <task>` |
134
+ | **[Cline & Roo Code](#cline--roo-code-marketplace)** | Modes & Rules GUI | `npx --yes github:coldcanuk/rdapq install --cline` | `.clinerules` | `/rdapq <task>` |
135
+ | **[Cursor](#cursor)** | Agent chat `/` menu | `npx --yes github:coldcanuk/rdapq install --cursor` | `~/.cursor/skills/rdap-q` | `/rdap-q` or `/rdapq` |
136
+
137
+ ---
138
+
139
+ ### <a id="xai-grok"></a><a id="xai-grok-marketplace"></a> 🤖 xAI Grok (TUI Menu GUI & CLI)
140
+
141
+ #### Step 1: Add marketplace and install plugin
142
+ ```bash
143
+ grok plugin marketplace add coldcanuk/rdapq
144
+ grok plugin install rdap-q --trust
145
+ ```
146
+
147
+ #### Step 2: Enable the plugin
148
+ ```bash
149
+ grok plugin enable rdap-q
150
+ ```
151
+
152
+ #### Step 3: Or install via the in-harness Text-Based Menu GUI (TUI):
153
+ 1. In your Grok session, type `/skills` or `/plugins` to open the text-based interactive menu.
154
+ 2. Use arrow keys or `Tab` to navigate to the **Marketplace** / **Plugins** tab.
155
+ 3. Select **rdap-q**.
156
+ 4. Press `Space` to enable/install.
157
+ 5. Press `r` to reload (or start a new session).
158
+
159
+ #### One-shot install from plugin path:
160
+ ```bash
161
+ grok plugin install coldcanuk/rdapq#plugins/rdap-q --trust
162
+ ```
163
+
164
+ #### Local clone:
165
+ ```bash
166
+ git clone https://github.com/coldcanuk/rdapq.git
167
+ grok plugin marketplace add ./rdapq
168
+ grok plugin install rdap-q --trust
169
+ ```
170
+
171
+ #### How to use in Grok:
172
+ - Slash command: `/rdapq <task>`
173
+ - The installed bridge loads `rdap-q-skill/SKILL.md` only when you invoke `/rdapq`. It does not turn the protocol on for every engineering task.
174
+
175
+ ---
176
+
177
+ ### <a id="anthropic-claude--claude-code"></a><a id="anthropic-claude-marketplace"></a> 🎭 Anthropic Claude Code (TUI Menu GUI & CLI)
178
+
179
+ #### CLI Install:
180
+ ```bash
181
+ claude plugin marketplace add coldcanuk/rdapq
182
+ claude plugin install rdap-q
183
+ ```
184
+
185
+ #### In-Harness TUI Menu:
186
+ 1. In Claude Code, run `/plugins` or `/skills` to display the interactive plugins menu.
187
+ 2. Select **Marketplace** and choose **rdap-q**.
188
+ 3. Hit `Enter` to install and enable.
189
+ 4. Run `/rdapq <task>` in your project.
190
+
191
+ ---
192
+
193
+ ### <a id="google-antigravity"></a><a id="google-antigravity-marketplace"></a> 🛸 Google Antigravity (Skills Palette & CLI)
194
+
195
+ #### CLI Install:
196
+ ```bash
197
+ # Register marketplace repository and install plugin:
198
+ agy plugin marketplace add coldcanuk/rdapq
199
+ agy plugin install rdap-q
200
+
201
+ # Or install skill directly:
202
+ agy skill add https://github.com/coldcanuk/rdapq
203
+ ```
204
+
205
+ #### In-Harness Skills Palette:
206
+ 1. Open Antigravity and type `/skills`.
207
+ 2. Browse installed or discovered workspace skills.
208
+ 3. Select **rdap-q** to activate the engineering protocol.
209
+
210
+ ---
211
+
212
+ ### <a id="openai-codex"></a><a id="openai-codex-marketplace"></a> 🧠 OpenAI Codex & Agents
213
+
214
+ #### CLI Install:
215
+ ```bash
216
+ codex skill add https://github.com/coldcanuk/rdapq
217
+ ```
218
+
219
+ #### In-Harness GUI:
220
+ 1. Open Codex / ChatGPT Developer Assistant.
221
+ 2. Open `/skills` or the Agent Skills catalog.
222
+ 3. Search for **RDAP-Q** (or paste repository URL `https://github.com/coldcanuk/rdapq`).
223
+ 4. Toggle on **rdap-q** to enable evidence-first quality gating.
224
+
225
+ ---
226
+
227
+ ### <a id="block-goose"></a><a id="block-goose-marketplace"></a> 🪿 Block Goose
228
+
229
+ #### CLI Install:
230
+ ```bash
231
+ goose toolkit add coldcanuk/rdapq
232
+ ```
233
+
234
+ #### Interactive Session:
235
+ 1. Run `goose session`.
236
+ 2. Inspect toolkits via the session prompt.
237
+ 3. Invoke `/rdapq <task>` or `goose run "/rdapq <task>"`.
238
+
239
+ ---
240
+
241
+ ### <a id="github-copilot"></a><a id="github-copilot-marketplace"></a> 🐙 GitHub Copilot
242
+
243
+ #### CLI / Extension Install:
244
+ ```bash
245
+ gh extension install coldcanuk/rdapq
246
+ ```
247
+
248
+ #### VS Code In-App Marketplace:
249
+ 1. Press `Ctrl+Shift+X` (or `Cmd+Shift+X` on macOS) in VS Code.
250
+ 2. Search for Copilot Extension: **RDAP-Q**.
251
+ 3. In Copilot Chat, use `@workspace /rdapq <task>`.
252
+
253
+ ---
254
+
255
+ ### <a id="cline--roo-code"></a><a id="cline--roo-code-marketplace"></a> 💻 Cline & Roo Code
256
+
257
+ #### First-party install:
258
+ ```bash
259
+ npx --yes github:coldcanuk/rdapq install --cline
260
+ ```
261
+
262
+ #### Optional third-party installer:
263
+ ```bash
264
+ # Smithery can auto-approve a remote install. Prefer the first-party command above.
265
+ npx -y @smithery/cli install coldcanuk/rdapq
266
+ ```
267
+
268
+ #### In-App Settings GUI:
269
+ 1. Open the Cline panel in VS Code.
270
+ 2. Click on **Settings** (⚙️) → **Prompts / Rules**.
271
+ 3. Import from URL: `https://github.com/coldcanuk/rdapq`.
272
+ 4. In chat, type `/rdapq <task>`.
273
+
274
+ ---
275
+
276
+ ### <a id="cursor"></a> 🖱️ Cursor
277
+
278
+ Cursor has no marketplace flag in this repo. It reads `AGENTS.md` and skills in `.agents/skills/` or `~/.cursor/skills/`. The skill id is `rdap-q`, so the slash command is `/rdap-q`. `/rdapq` also works when `AGENTS.md` is in the project, because that file tells the agent to load the same skill.
279
+
280
+ The skill does not auto-run on every task. Cursor loads it when you invoke `/rdap-q`.
281
+
282
+ #### This project
283
+ ```bash
284
+ npx --yes github:coldcanuk/rdapq init
285
+ ```
286
+
287
+ Then open the folder in Cursor and start a new Agent chat. `init` writes `AGENTS.md` and `.agents/skills/rdap-q/`. Type `/rdap-q` or `/rdapq <task>`.
288
+
289
+ #### Every project on this machine
290
+ ```bash
291
+ npx --yes github:coldcanuk/rdapq install --cursor
292
+ ```
293
+
294
+ That installs the skill at `~/.cursor/skills/rdap-q/` (`CURSOR_HOME` overrides the directory). Restart Cursor, then type `/rdap-q` in Agent chat. This does not write `AGENTS.md` into other repositories. Run `init` in a repo when you also want `/rdapq` from the project bridge.
295
+
296
+ From a checkout:
297
+
298
+ ```bash
299
+ ./install.sh --cursor
300
+ ```
301
+
302
+ ```powershell
303
+ .\install.ps1 -Cursor
304
+ ```
305
+
306
+ ---
307
+
308
+ ## <a id="npm-npx-installation"></a> ⚡ Install
309
+
310
+ Node.js 18 or newer is required. Do not pipe the installer (`curl | bash`, `irm | iex`). A piped script cannot see the skill tree and is refused.
311
+
312
+ `rdap-q` is not on the npm registry yet. Use a checkout or the GitHub package. After a Trusted Publisher release, `npx rdap-q` will be the same CLI.
313
+
314
+ `SKILL.md` is the instruction source the agent loads. This README is the human guide.
315
+
316
+ With no harness flag, `install` configures all eight. Name a harness to leave the others alone. `init` and `install` are separate commands. Do not pass harness flags to `init`.
317
+
318
+ Edited harness files are kept. Pass `--force` to replace one. The previous file is saved as `<file>.rdapq-backup`. A file that is kept also gets the new copy beside it as `<file>.rdapq`. Skill trees are copied to a staging directory and renamed into place only after `SKILL.md` is present, so a failed update does not delete a working install.
319
+
320
+ ### One harness, or several:
321
+ ```bash
322
+ # Core skill plus Claude only.
323
+ npx --yes github:coldcanuk/rdapq install --claude
324
+
325
+ # Cursor only. The skill lands in ~/.cursor/skills/rdap-q.
326
+ npx --yes github:coldcanuk/rdapq install --cursor
327
+
328
+ # Codex and Grok together:
329
+ npx --yes github:coldcanuk/rdapq install --codex --grok
330
+
331
+ # Pin the 1.2.1 tag instead of the default branch:
332
+ npx --yes github:coldcanuk/rdapq#v1.2.1 install --claude
333
+ ```
334
+
335
+ ### All 8 harnesses:
336
+ ```bash
337
+ npx --yes github:coldcanuk/rdapq install --all
338
+ ```
339
+
340
+ ### This repository only, no harness files:
341
+ ```bash
342
+ npx --yes github:coldcanuk/rdapq install --global-only
343
+ ```
344
+
345
+ That writes `$RDAPQ_HOME` (default `~/.rdapq`): `skills/rdap-q/`, plus empty `memory/`, `projects/`, and `registry/` directories. It does not create harness bridges.
346
+
347
+ ### Initialize the current project:
348
+ ```bash
349
+ # Missing bridges and .rdapq/state. Does not clobber a file you already edited.
350
+ npx --yes github:coldcanuk/rdapq init
351
+
352
+ # Replace existing bridges, keeping backups:
353
+ npx --yes github:coldcanuk/rdapq init --force
354
+
355
+ # Or target a specific workspace:
356
+ npx --yes github:coldcanuk/rdapq --repo /path/to/my-project
357
+ ```
358
+
359
+ `init` writes `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `.clinerules`, `.goosehints`, `.grok/rules.md`, `.github/copilot-instructions.md`, `.claude/commands/rdapq.md`, and the skill tree at `.agents/skills/rdap-q/`. Cursor reads that skill tree and `AGENTS.md` without a separate `--cursor` install.
360
+
361
+ ### Check installation status:
362
+ ```bash
363
+ npx --yes github:coldcanuk/rdapq status
364
+ ```
365
+
366
+ ### Install the command globally:
367
+ ```bash
368
+ npm install -g github:coldcanuk/rdapq
369
+ rdapq install --claude
370
+ rdapq status
371
+ rdapq init
372
+ ```
373
+
374
+ Harness homes can be redirected without touching the real user profile. `RDAPQ_HOME`, `GEMINI_HOME`, `GOOSE_HOME`, `CLAUDE_HOME`, `CLINE_HOME`, `CODEX_HOME`, `GROK_HOME`, and `COPILOT_HOME` are all honored.
375
+
376
+ ---
377
+
378
+ ## <a id="universal-install-scripts"></a> 📜 Local clone
379
+
380
+ Do not pipe the installer from the network. A piped script cannot see this repository and is refused on purpose.
381
+
382
+ ### Linux / macOS / WSL:
383
+ ```bash
384
+ git clone https://github.com/coldcanuk/rdapq.git
385
+ cd rdapq
386
+ ./install.sh --all # every harness
387
+ ./install.sh --claude # one harness
388
+ ./install.sh --cursor # Cursor skill only
389
+ npm test # installer, packaging, and version checks
390
+ ```
391
+
392
+ ### Windows (PowerShell):
393
+ ```powershell
394
+ git clone https://github.com/coldcanuk/rdapq.git
395
+ cd rdapq
396
+ .\install.ps1 -All
397
+ .\install.ps1 -Claude -Force
398
+ ```
399
+
400
+ `install.sh` and `install.ps1` are wrappers around `node bin/rdapq.js`. With no harness flag they install all eight. `.\install.ps1` has no `status` switch. Use `node .\bin\rdapq.js status`.
401
+
402
+ ---
403
+
404
+ ## <a id="update"></a> 🔄 Update
405
+
406
+ There is no `update` command. Install again with the same flags. A newer skill tree is staged and swapped in only after its `SKILL.md` verifies. The previous tree is removed only after that rename. If the copy fails, the previous tree is put back.
407
+
408
+ These are not inside the skill tree and are kept:
409
+
410
+ - `$RDAPQ_HOME/memory/`
411
+ - `$RDAPQ_HOME/projects/`
412
+ - repository task state in `<repo>/.rdapq/state/`
413
+ - a harness file you have edited, unless you pass `--force`
414
+
415
+ ### Checkout you already have
416
+ ```bash
417
+ cd rdapq
418
+ git fetch origin --tags
419
+ git checkout v1.2.1 # or: git pull origin main
420
+ ./install.sh --claude # same flags as the first install
421
+ ./install.sh status
422
+ ```
423
+
424
+ ```powershell
425
+ cd rdapq
426
+ git fetch origin --tags
427
+ git checkout v1.2.1
428
+ .\install.ps1 -Claude
429
+ node .\bin\rdapq.js status
430
+ ```
431
+
432
+ ### Global npm install from GitHub
433
+ ```bash
434
+ npm install -g github:coldcanuk/rdapq
435
+ rdapq install --claude
436
+ rdapq status
437
+ ```
438
+
439
+ Pin a tag with `npm install -g github:coldcanuk/rdapq#v1.2.1`. Re-run that install to move later. Then run `rdapq install` again so the files on disk match the new package. `npm install -g` alone does not refresh `~/.rdapq` or the harness files.
440
+
441
+ ### Take the new harness text
442
+ A re-install that sees a different `AGENTS.md`, `CLAUDE.md`, or other bridge leaves your file in place and writes the packaged copy next to it as `<file>.rdapq`. Diff that sidecar. When you want the packaged text:
443
+
444
+ ```bash
445
+ ./install.sh --claude --force
446
+ ```
447
+
448
+ `--force` copies the current file to `<file>.rdapq-backup`, then writes the new one. It does not delete `$RDAPQ_HOME/memory`.
449
+
450
+ ### Workspace already initialized
451
+ ```bash
452
+ ./install.sh init
453
+ ```
454
+
455
+ That refreshes `.agents/skills/rdap-q/` and creates any bridge that is missing. Add `--force` only when you want the bridges replaced. Start a new harness session afterward so it does not keep the previous `SKILL.md` in context.
456
+
457
+ ---
458
+
459
+ ## <a id="canonical-commands"></a> ⚡ Canonical Commands
460
+
461
+ Every harness adheres to the standardized `/rdapq` command suite:
462
+
463
+ | Command | Action / Semantic Meaning |
464
+ | :--- | :--- |
465
+ | `/rdapq <task>` | Execute task using RDAP-Q protocol: load memory, gather evidence, plan, execute adaptive quality loop, and stop cleanly. |
466
+ | `/rdapq status` | Show current lifecycle phase, scorecard, confidence levels, active gates, blockers, and iteration history. |
467
+ | `/rdapq score` | Calculate or display the current evidence-weighted 8-dimension scorecard. |
468
+ | `/rdapq audit` | Run the adversarial final-audit verification checklist. |
469
+ | `/rdapq resume` | Reload persistent memory/state, check for file/git drift, and safely resume. |
470
+ | `/rdapq memory` | Query active persistent memories, lessons, patterns, and constraints. |
471
+ | `/rdapq research`| Trigger structured discovery and evidence collection before planning. |
472
+ | `/rdapq explain` | Output transparent rationale for the current quality score or state transition. |
473
+
474
+ ---
475
+
476
+ ## <a id="calibrated-quality-scale"></a> 🎯 Calibrated Quality Scale (0–10)
477
+
478
+ RDAP-Q rejects arbitrary scores. All scores must be backed by verifiable evidence:
479
+
480
+ | Score | Calibration | Meaning & Criteria |
481
+ | :---: | :--- | :--- |
482
+ | **0** | Absent | Non-existent implementation; missing required components. |
483
+ | **1–2**| Fundamentally Broken | Severe runtime crashes, syntax errors, or critical security vulnerabilities. |
484
+ | **3–4**| Materially Deficient | Significant known defects, missing core requirements, or non-functional logic. |
485
+ | **5** | Plausible Unverified | Appears correct on inspection, but lacks empirical verification or unit tests. |
486
+ | **6** | Functional with Gaps | Executes successfully, but lacks edge case handling or thorough coverage. |
487
+ | **7** | Solid | Standard acceptable quality; passes automated test suite with clean architecture. |
488
+ | **8** | Strong Production | **Standard target.** Verified with comprehensive tests, failure handling, and documentation. |
489
+ | **9** | Exceptional | Very low residual uncertainty; exhaustive edge case testing, fuzzing, and benchmarking. |
490
+ | **10**| Reference Quality | Benchmark gold standard; mathematically proven or reference implementation. Rare. |
491
+
492
+ > [!NOTE]
493
+ > `8.x` is an excellent, production-ready stopping point. Do not burn unnecessary tokens chasing a theoretical 10.0 when marginal value has saturated.
494
+
495
+ ### <a id="default-implementation-dimensions"></a> Default Implementation Dimensions
496
+
497
+ ```
498
+ Functional Correctness [25%] █████████████████████████
499
+ Requirements Coverage [15%] ███████████████
500
+ Verification Strength [15%] ███████████████
501
+ Integration & Compatibility [10%] ██████████
502
+ Security & Failure Handling [10%] ██████████
503
+ Maintainability [10%] ██████████
504
+ Architectural Fit [8%] ████████
505
+ Operability & Documentation [7%] ███████
506
+ ```
507
+
508
+ ### <a id="evidence-caps--hard-gates"></a> Evidence Caps & Hard Gates
509
+
510
+ - **Unverified Behavior:** Dimension score capped at $\le 5.0$.
511
+ - **Inferred Implementation Dependency:** Dimension score capped at $\le 5.0$.
512
+ - **Known Material Defect:** Dimension score capped at $\le 4.0$.
513
+ - **Failing Required Test:** Hard Gate **`FAIL`** (Overrides numerical score).
514
+ - **Unexercised Integration:** Hard Gate **`FAIL`**.
515
+
516
+ ---
517
+
518
+ ## <a id="storage-and-persistence-model"></a> 💾 Storage & Persistence Model
519
+
520
+ RDAP-Q strictly decouples working project state from reusable cross-project memory:
521
+
522
+ ```
523
+ ├── Global Memory ($RDAPQ_HOME/ or ~/.rdapq/)
524
+ │ ├── config.md # Global environment & harness settings
525
+ │ ├── memory/ # Durable cross-project lessons & patterns
526
+ │ │ ├── engineering-preferences.md
527
+ │ │ ├── tooling.md
528
+ │ │ ├── lessons.md
529
+ │ │ ├── patterns.md
530
+ │ │ └── constraints.md
531
+ │ ├── projects/ # Cross-session project architecture records
532
+ │ ├── registry/ # Tool & harness capability registry
533
+ │ └── skills/ # Installed agent skills
534
+ │
535
+ └── Repository State (<repo>/.rdapq/state/)
536
+ ├── scope.md # Task boundary & success criteria
537
+ ├── assumptions.md # Tracked assumptions & validation status
538
+ ├── evidence.md # Empirical observations (test runs, inspects)
539
+ ├── research.md # Discovery findings & API contracts
540
+ ├── plan.md # Milestone roadmap & phase checklist
541
+ ├── scorecard.md # Current calibrated 8-dimension scores
542
+ ├── risks.md # Identified risks & mitigations
543
+ ├── decisions.md # Architectural Decision Records (ADRs)
544
+ └── iteration-log.md # Round-by-round quality deltas
545
+ ```
546
+
547
+ ### <a id="strict-memory-safety-rules"></a> Strict Memory Safety Rules
548
+ 1. **Never Persist Secrets:** No API keys, passwords, bearer tokens, private keys, or credentials may ever be saved to memory or state. Store secret references (e.g. `Secret source: pass | identifier: api/key`), never raw values.
549
+ 2. **Evidence Overrides Memory:** Fresh observations in the current repository always take precedence over historical memories.
550
+
551
+ ---
552
+
553
+ ## <a id="exit-criteria"></a> 🛑 Exit Criteria & Diminishing Returns
554
+
555
+ Agents using RDAP-Q stop automatically according to clear mathematical criteria:
556
+
557
+ - **CONTINUE / ITERATE**:
558
+ - Any resolvable hard gate is failing.
559
+ - An in-scope `HIGH` or `CRITICAL` defect remains.
560
+ - Expected weighted quality improvement is $\ge 0.20$.
561
+ - **DIMINISHING RETURNS (Stop Work)**:
562
+ - All completion gates pass, AND:
563
+ - The last two completed rounds each yielded $< 0.15$ improvement; OR
564
+ - Best remaining credible improvement is $< 0.20$ with no material risk remaining.
565
+ - **TERMINAL SUCCESS**:
566
+ - The agent declares: **`Vibe Code Build complete.`**
567
+
568
+ ---
569
+
570
+ ## <a id="directory-structure"></a> 🧩 Directory Structure
571
+
572
+ ```text
573
+ rdapq/
574
+ ├── .gitignore # Complete exclusions for state, caches, secrets
575
+ ├── AGENTS.md # OpenAI Codex & Universal Agent Bridge
576
+ ├── CLAUDE.md # Anthropic Claude Code Workspace Bridge
577
+ ├── GEMINI.md # Google Antigravity & Gemini Bridge
578
+ ├── LICENSE # GNU General Public License v3.0
579
+ ├── README.md # High-density technical documentation
580
+ ├── marketplace.json # Agent Skills Marketplace catalog entry
581
+ ├── package.json # NPM / VS Code registry metadata & keywords
582
+ ├── manifest.json # RDAP-Q protocol entrypoint definition
583
+ ├── install.sh # Thin Unix wrapper around bin/rdapq.js
584
+ ├── install.ps1 # Thin Windows wrapper around bin/rdapq.js
585
+ ├── bin/rdapq.js # CLI entrypoint
586
+ ├── lib/installer.js # Installer implementation
587
+ ├── test/ # node:test coverage for install/init/status/pack
588
+ ├── scripts/ # Version, static, and npm pack checks
589
+ ├── .clinerules # Cline & Roo Code custom rules
590
+ ├── .goosehints # Block Goose agent hints
591
+ ├── .claude-plugin/ # Claude Code marketplace definition
592
+ ├── .grok-plugin/ # xAI Grok marketplace definition
593
+ ├── plugins/ # Grok / Antigravity plugin catalog
594
+ ├── .claude/
595
+ │ └── commands/rdapq.md # Claude Code /rdapq slash command
596
+ ├── .github/
597
+ │ └── copilot-instructions.md # GitHub Copilot workspace instructions
598
+ ├── .grok/
599
+ │ └── rules.md # xAI Grok developer rules
600
+ └── rdap-q-skill/ # Core protocol package
601
+ ├── SKILL.md # Primary protocol specification
602
+ ├── manifest.json # Protocol manifest
603
+ ├── core/ # Governance, scoring, gates, exit logic
604
+ ├── playbooks/ # Deterministic phase playbooks (00–07)
605
+ ├── state/ # State templates
606
+ ├── memory/ # Durable memory templates
607
+ ├── templates/ # Task & milestone templates
608
+ └── diagrams/ # Mermaid architecture diagrams
609
+ ```
610
+
611
+ ---
612
+
613
+ ## <a id="faq"></a> ❓ Frequently Asked Questions (FAQ)
614
+
615
+ <details>
616
+ <summary><strong>How does RDAP-Q differ from standard system prompts?</strong></summary>
617
+ Standard system prompts are static and easily forgotten as the agent's context fills up. RDAP-Q is an active, deterministic protocol that uses phased playbook loading, persistent file-based state (<code>.rdapq/state/</code>), evidence caps, and rigorous mathematical exit gates.
618
+ </details>
619
+
620
+ <details>
621
+ <summary><strong>Can I use RDAP-Q in existing CI/CD pipelines?</strong></summary>
622
+ Yes. Because state and scorecards are saved as YAML in <code>.rdapq/state/</code> (the files keep a <code>.md</code> name), CI/CD runners can verify gate compliance, inspect scorecards, or audit the evidence log before approving pull requests.
623
+ </details>
624
+
625
+ <details>
626
+ <summary><strong>Does RDAP-Q slow down small tasks?</strong></summary>
627
+ No. RDAP-Q scales adaptively. For simple bug fixes or localized edits, the agent moves rapidly through Bootstrap and Discovery, runs verification, confirms a passing score (&ge; 7.2 for low risk), and terminates in a single round.
628
+ </details>
629
+
630
+ <details>
631
+ <summary><strong>How do I override the default storage directory?</strong></summary>
632
+ Set the <code>RDAPQ_HOME</code> environment variable:
633
+ <pre><code>export RDAPQ_HOME=/custom/path/.rdapq</code></pre>
634
+ Per-harness homes use <code>CODEX_HOME</code>, <code>GROK_HOME</code>, <code>COPILOT_HOME</code>, <code>CLAUDE_HOME</code>, <code>CLINE_HOME</code>, <code>GEMINI_HOME</code>, and <code>GOOSE_HOME</code>.
635
+ This is particularly useful in containerized environments, sandboxed CI jobs, and bubblewrap runtimes.
636
+ </details>
637
+
638
+ ---
639
+
640
+ ## <a id="license"></a> 📄 License
641
+
642
+ This project is licensed under the **GNU General Public License v3.0** (GPL-3.0-or-later). See [LICENSE](LICENSE) for full details.
643
+
644
+ ---
645
+
646
+ ## <a id="contributing"></a> 🤝 Contributing & Community
647
+
648
+ Contributions are welcome! If you want to add support for a new AI harness, optimize scoring rubrics, or improve phase playbooks:
649
+
650
+ 1. Fork the repository: [https://github.com/coldcanuk/rdapq](https://github.com/coldcanuk/rdapq)
651
+ 2. Create a feature branch: `git checkout -b feature/new-harness-support`
652
+ 3. Run `npm test` (Node.js 18+). It checks installer behavior, the npm tarball, and version consistency.
653
+ 4. Tag a release `vX.Y.Z` only after the version in `package.json` matches every manifest. Publishing runs in `.github/workflows/release.yml` once the `NPM_PUBLISH` repository variable is `true` and npm Trusted Publisher is configured for this repo.
654
+ 5. Submit a Pull Request.
655
+
656
+ **Maintained by:** [@coldcanuk](https://github.com/coldcanuk)
657
+ **Issues & Discussions:** [https://github.com/coldcanuk/rdapq/issues](https://github.com/coldcanuk/rdapq/issues)
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/agent-skills/spec/main/agentskills.schema.json",
3
+ "name": "rdap-q",
4
+ "version": "1.2.1",
5
+ "type": "skill",
6
+ "entrypoint": "rdap-q-skill/SKILL.md",
7
+ "invocation": "/rdapq",
8
+ "commands": [
9
+ "/rdapq",
10
+ "/rdapq status",
11
+ "/rdapq score",
12
+ "/rdapq audit",
13
+ "/rdapq resume",
14
+ "/rdapq memory",
15
+ "/rdapq research",
16
+ "/rdapq explain"
17
+ ],
18
+ "author": "coldcanuk",
19
+ "repository": "https://github.com/coldcanuk/rdapq"
20
+ }