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
|
@@ -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]
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
flowchart LR
|
|
2
|
+
CMD[/rdapq/] --> S[SKILL.md]
|
|
3
|
+
S --> P{Current Phase}
|
|
4
|
+
|
|
5
|
+
P --> B[Bootstrap]
|
|
6
|
+
P --> D[Discovery]
|
|
7
|
+
P --> PL[Planning]
|
|
8
|
+
P --> A[Architecture]
|
|
9
|
+
P --> I[Implementation]
|
|
10
|
+
P --> V[Verification]
|
|
11
|
+
P --> F[Final Audit]
|
|
12
|
+
|
|
13
|
+
EVT{Event} --> C[Constitution]
|
|
14
|
+
EVT --> SC[Scoring]
|
|
15
|
+
EVT --> G[Gates]
|
|
16
|
+
EVT --> E[Exit Logic]
|
|
17
|
+
EVT --> M[Memory Protocol]
|
|
18
|
+
EVT --> CTRL[Controller]
|
|
19
|
+
|
|
20
|
+
H[RDAPQ_HOME] --> GM[(Global / Project Memory)]
|
|
21
|
+
R[Repository] --> RS[(.rdapq/state)]
|
|
22
|
+
|
|
23
|
+
GM --> AG[Agent]
|
|
24
|
+
RS --> AG
|
|
25
|
+
S --> AG
|
|
26
|
+
B --> AG
|
|
27
|
+
D --> AG
|
|
28
|
+
PL --> AG
|
|
29
|
+
A --> AG
|
|
30
|
+
I --> AG
|
|
31
|
+
V --> AG
|
|
32
|
+
F --> AG
|
|
33
|
+
C --> AG
|
|
34
|
+
SC --> AG
|
|
35
|
+
G --> AG
|
|
36
|
+
E --> AG
|
|
37
|
+
M --> AG
|
|
38
|
+
CTRL --> AG
|
|
39
|
+
|
|
40
|
+
AG --> X[Repository / Runtime / Tools]
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
# Install the skill tree into $RDAPQ_HOME. Stage first, swap only after SKILL.md
|
|
3
|
+
# is present, so a failed copy cannot delete a working install.
|
|
4
|
+
# Prefer the repo installer (./install.sh or npx --yes github:coldcanuk/rdapq) when you have the full checkout.
|
|
5
|
+
set -eu
|
|
6
|
+
|
|
7
|
+
SOURCE_DIR="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
|
|
8
|
+
if [ ! -f "$SOURCE_DIR/SKILL.md" ]; then
|
|
9
|
+
echo "error: SKILL.md not found next to this installer ($SOURCE_DIR)" >&2
|
|
10
|
+
exit 1
|
|
11
|
+
fi
|
|
12
|
+
|
|
13
|
+
TARGET="${RDAPQ_HOME:-${HOME}/.rdapq}"
|
|
14
|
+
SKILLS="$TARGET/skills"
|
|
15
|
+
DEST="$SKILLS/rdap-q"
|
|
16
|
+
STAGE="$SKILLS/.rdap-q.staging.$$"
|
|
17
|
+
BACKUP="$SKILLS/.rdap-q.backup.$$"
|
|
18
|
+
|
|
19
|
+
mkdir -p "$SKILLS" "$TARGET/memory" "$TARGET/projects" "$TARGET/registry"
|
|
20
|
+
rm -rf "$STAGE"
|
|
21
|
+
cp -R "$SOURCE_DIR" "$STAGE"
|
|
22
|
+
|
|
23
|
+
if [ ! -f "$STAGE/SKILL.md" ]; then
|
|
24
|
+
rm -rf "$STAGE"
|
|
25
|
+
echo "error: staged copy is missing SKILL.md; existing install left untouched" >&2
|
|
26
|
+
exit 1
|
|
27
|
+
fi
|
|
28
|
+
|
|
29
|
+
moved=0
|
|
30
|
+
if [ -e "$DEST" ]; then
|
|
31
|
+
rm -rf "$BACKUP"
|
|
32
|
+
mv "$DEST" "$BACKUP"
|
|
33
|
+
moved=1
|
|
34
|
+
fi
|
|
35
|
+
|
|
36
|
+
if ! mv "$STAGE" "$DEST"; then
|
|
37
|
+
if [ "$moved" -eq 1 ]; then
|
|
38
|
+
mv "$BACKUP" "$DEST"
|
|
39
|
+
fi
|
|
40
|
+
echo "error: failed to publish staged skill; previous install restored if it existed" >&2
|
|
41
|
+
exit 1
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
if [ "$moved" -eq 1 ]; then
|
|
45
|
+
rm -rf "$BACKUP"
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
printf 'Installed RDAP-Q to %s\n' "$DEST"
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Install the skill tree into $env:RDAPQ_HOME. Stage first, swap only after SKILL.md
|
|
2
|
+
# is present, so a failed copy cannot delete a working install.
|
|
3
|
+
$ErrorActionPreference = "Stop"
|
|
4
|
+
|
|
5
|
+
if (-not $PSCommandPath) {
|
|
6
|
+
Write-Error "refusing a piped install. Run this script from the skill directory."
|
|
7
|
+
exit 1
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
$SourceDir = Split-Path -Parent (Split-Path -Parent $PSCommandPath)
|
|
11
|
+
$SkillFile = Join-Path $SourceDir "SKILL.md"
|
|
12
|
+
if (-not (Test-Path -LiteralPath $SkillFile)) {
|
|
13
|
+
throw "SKILL.md not found in $SourceDir"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
if ($env:RDAPQ_HOME) {
|
|
17
|
+
$Target = $env:RDAPQ_HOME
|
|
18
|
+
} else {
|
|
19
|
+
$Target = Join-Path $env:USERPROFILE ".rdapq"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
$SkillsDir = Join-Path $Target "skills"
|
|
23
|
+
$Dest = Join-Path $SkillsDir "rdap-q"
|
|
24
|
+
$Stage = Join-Path $SkillsDir ".rdap-q.staging-$PID"
|
|
25
|
+
$Backup = Join-Path $SkillsDir ".rdap-q.backup-$PID"
|
|
26
|
+
|
|
27
|
+
New-Item -ItemType Directory -Force -Path $SkillsDir | Out-Null
|
|
28
|
+
New-Item -ItemType Directory -Force -Path (Join-Path $Target "memory") | Out-Null
|
|
29
|
+
New-Item -ItemType Directory -Force -Path (Join-Path $Target "projects") | Out-Null
|
|
30
|
+
New-Item -ItemType Directory -Force -Path (Join-Path $Target "registry") | Out-Null
|
|
31
|
+
|
|
32
|
+
if (Test-Path -LiteralPath $Stage) {
|
|
33
|
+
Remove-Item -LiteralPath $Stage -Recurse -Force
|
|
34
|
+
}
|
|
35
|
+
Copy-Item -LiteralPath $SourceDir -Destination $Stage -Recurse -Force
|
|
36
|
+
|
|
37
|
+
$StagedSkill = Join-Path $Stage "SKILL.md"
|
|
38
|
+
if (-not (Test-Path -LiteralPath $StagedSkill)) {
|
|
39
|
+
Remove-Item -LiteralPath $Stage -Recurse -Force
|
|
40
|
+
throw "Staged copy is missing SKILL.md; existing install left untouched."
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
$moved = $false
|
|
44
|
+
if (Test-Path -LiteralPath $Dest) {
|
|
45
|
+
if (Test-Path -LiteralPath $Backup) {
|
|
46
|
+
Remove-Item -LiteralPath $Backup -Recurse -Force
|
|
47
|
+
}
|
|
48
|
+
Move-Item -LiteralPath $Dest -Destination $Backup
|
|
49
|
+
$moved = $true
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
try {
|
|
53
|
+
Move-Item -LiteralPath $Stage -Destination $Dest
|
|
54
|
+
} catch {
|
|
55
|
+
if ($moved -and -not (Test-Path -LiteralPath $Dest) -and (Test-Path -LiteralPath $Backup)) {
|
|
56
|
+
Move-Item -LiteralPath $Backup -Destination $Dest
|
|
57
|
+
}
|
|
58
|
+
throw
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if ($moved -and (Test-Path -LiteralPath $Backup)) {
|
|
62
|
+
Remove-Item -LiteralPath $Backup -Recurse -Force
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
Write-Output "Installed RDAP-Q to $Dest"
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rdap-q",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"protocol_name": "RDAP-Q Agent Engineering Protocol",
|
|
5
|
+
"entrypoint": "SKILL.md",
|
|
6
|
+
"invocation": "/rdapq",
|
|
7
|
+
"home_env": "RDAPQ_HOME",
|
|
8
|
+
"home_defaults": {
|
|
9
|
+
"windows": "%USERPROFILE%\\.rdapq",
|
|
10
|
+
"unix": "${HOME}/.rdapq"
|
|
11
|
+
},
|
|
12
|
+
"repository_state": ".rdapq/state",
|
|
13
|
+
"always_load": [
|
|
14
|
+
"SKILL.md"
|
|
15
|
+
],
|
|
16
|
+
"phase_load": {
|
|
17
|
+
"BOOTSTRAP": [
|
|
18
|
+
"playbooks/00-bootstrap.md"
|
|
19
|
+
],
|
|
20
|
+
"DISCOVERY": [
|
|
21
|
+
"playbooks/01-discovery.md"
|
|
22
|
+
],
|
|
23
|
+
"PLAN": [
|
|
24
|
+
"playbooks/02-planning.md"
|
|
25
|
+
],
|
|
26
|
+
"ARCHITECTURE": [
|
|
27
|
+
"playbooks/03-architecture.md"
|
|
28
|
+
],
|
|
29
|
+
"IMPLEMENT": [
|
|
30
|
+
"playbooks/04-implementation.md"
|
|
31
|
+
],
|
|
32
|
+
"VERIFY": [
|
|
33
|
+
"playbooks/05-verification.md"
|
|
34
|
+
],
|
|
35
|
+
"AUDIT": [
|
|
36
|
+
"playbooks/06-final-audit.md",
|
|
37
|
+
"playbooks/07-git-worktree.md"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"event_load": {
|
|
41
|
+
"controller_ambiguity": [
|
|
42
|
+
"core/controller.md"
|
|
43
|
+
],
|
|
44
|
+
"tool_mapping": [
|
|
45
|
+
"core/capabilities.md"
|
|
46
|
+
],
|
|
47
|
+
"memory_read_write_invalidate": [
|
|
48
|
+
"core/memory.md"
|
|
49
|
+
],
|
|
50
|
+
"gate_evaluation": [
|
|
51
|
+
"core/gates.md"
|
|
52
|
+
],
|
|
53
|
+
"score_calculation": [
|
|
54
|
+
"core/scoring.md"
|
|
55
|
+
],
|
|
56
|
+
"milestone_quality_decision": [
|
|
57
|
+
"core/scoring.md",
|
|
58
|
+
"core/gates.md",
|
|
59
|
+
"core/exit-logic.md"
|
|
60
|
+
],
|
|
61
|
+
"terminal_decision": [
|
|
62
|
+
"core/scoring.md",
|
|
63
|
+
"core/gates.md",
|
|
64
|
+
"core/exit-logic.md"
|
|
65
|
+
],
|
|
66
|
+
"git_mutation": [
|
|
67
|
+
"playbooks/07-git-worktree.md"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"commands": {
|
|
71
|
+
"/rdapq": "Start or continue RDAP-Q execution on the supplied task.",
|
|
72
|
+
"/rdapq status": "Show phase, quality, confidence, gates, blockers, and iteration state.",
|
|
73
|
+
"/rdapq score": "Calculate or display the current evidence-linked scorecard.",
|
|
74
|
+
"/rdapq audit": "Run the adversarial final-audit procedure.",
|
|
75
|
+
"/rdapq resume": "Reload persistent memory/state, inspect drift, and resume safely.",
|
|
76
|
+
"/rdapq memory": "Show relevant RDAP-Q memory and its validity status.",
|
|
77
|
+
"/rdapq research": "Enter or re-enter discovery/research.",
|
|
78
|
+
"/rdapq explain": "Explain the current RDAP-Q phase/decision."
|
|
79
|
+
},
|
|
80
|
+
"terminal_states": [
|
|
81
|
+
"COMPLETE",
|
|
82
|
+
"BLOCKED",
|
|
83
|
+
"STALLED",
|
|
84
|
+
"CONSTRAINT_LIMITED",
|
|
85
|
+
"FAILED_VERIFICATION"
|
|
86
|
+
]
|
|
87
|
+
}
|