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,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
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
phase: BOOTSTRAP
|
|
2
|
+
do:
|
|
3
|
+
- resolve home from SKILL.md; if unwritable, record that and use repo state only
|
|
4
|
+
- read task-relevant project memory, then global memory; do not bulk-load
|
|
5
|
+
- inspect root, status, branch, remotes, worktrees, languages, manifests, lockfiles, test, CI
|
|
6
|
+
- do not assume main, a remote, or a package manager
|
|
7
|
+
- create .rdapq/state files on first write; do not preload every template
|
|
8
|
+
inspect:
|
|
9
|
+
- git status --short
|
|
10
|
+
- git branch --show-current
|
|
11
|
+
- git remote -v
|
|
12
|
+
- git branch -a
|
|
13
|
+
- git worktree list
|
|
14
|
+
git_mutation: playbooks/07-git-worktree.md # worktree, commit, push, or audit cleanup only
|
|
15
|
+
out: [scope, assumptions, evidence, risks, iteration-log]
|
|
16
|
+
next: DISCOVERY
|
|
17
|
+
forbid: [imagined_repo, destroying_unrelated_work]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
phase: DISCOVERY
|
|
2
|
+
sources: [local_source, project_config, upstream_docs, upstream_source, experiment, secondary]
|
|
3
|
+
per_assumption: [record, materiality, needed_evidence, investigate, status]
|
|
4
|
+
block_exit:
|
|
5
|
+
critical_unknown: true
|
|
6
|
+
high_unresolved_if: [architecture, interfaces, security, persistence, compatibility, destructive]
|
|
7
|
+
memory: may suggest questions; never replaces evidence; candidates stay unpromoted
|
|
8
|
+
out: [questions, repo, architecture, external, experiments, resolved, unresolved, implications, evidence_ids]
|
|
9
|
+
next: PLAN
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
phase: PLAN
|
|
2
|
+
shape: [phases, milestones, tasks]
|
|
3
|
+
task: [id, milestone, objective, files_if_known, evidence, action, commands_or_TBD-EVIDENCE, verification, observable, dependencies]
|
|
4
|
+
plan_weights: {coverage: 15, grounding: 15, architecture: 15, completeness: 10, order: 10, verification: 15, risk: 10, repro: 5, git_safety: 5}
|
|
5
|
+
block_execute_if: [ambiguous_success, critical_assumption_open, imagined_paths, task_without_verification, destructive_without_safeguard, bad_order]
|
|
6
|
+
out: .rdapq/state/plan.md
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
phase: ARCHITECTURE
|
|
2
|
+
when: [interfaces, boundaries, persistence, security, concurrency, integration]
|
|
3
|
+
record: [components, responsibilities, interfaces, data_flow, persistence, compatibility, failures, security, runtime, rejected]
|
|
4
|
+
decision: [decision, evidence, alternatives, why, risks, verification]
|
|
5
|
+
rules: [fit_current_system, no_unrelated_refactor, promote_only_if_durable_and_verified]
|
|
6
|
+
out: decisions.md
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
phase: IMPLEMENT
|
|
2
|
+
loop: [observe, implement, verify, review]
|
|
3
|
+
observe: [affected_code, interfaces, versions, nearby_tests, memory_if_it_affects_the_edit]
|
|
4
|
+
implement: [smallest_change, no_driveby_refactor, preserve_behavior_unless_intended, no_secrets, no_speculative_abstraction]
|
|
5
|
+
verify: planned checks only; an unrun test is not a pass
|
|
6
|
+
review: [status, diff, whitespace, generated, debug, secrets, unrelated, todos]
|
|
7
|
+
close_when: [tasks_done, definition_of_done, verification, diff_reviewed, state_updated, gates]
|
|
8
|
+
vcs: commit only a coherent milestone
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
phase: VERIFY
|
|
2
|
+
use_real_stack_only: [unit, integration, e2e, build, lint, format, types, static_analysis, security, race, migration, perf, manual]
|
|
3
|
+
on_fail: [record, severity, cause, return_to_IMPLEMENT, rerun]
|
|
4
|
+
if_cannot_run: "NOT VERIFIED — ENVIRONMENTAL CONSTRAINT"
|
|
5
|
+
forbid: [invented_commands, averaging_a_failure_into_the_score]
|
|
6
|
+
each_result: evidence_id
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
phase: AUDIT
|
|
2
|
+
stance: disprove completion
|
|
3
|
+
ask: [misread_requirement, unexercised_path, untested_failure, inferred_claim, stale_memory, false_dependency, regression, malformed_input, dependency_down, observable_errors, secrets, races, unintended_interface_change, extra_dependency, debug_or_unused, docs_match, diff_matches_scope]
|
|
4
|
+
memory: [candidates, promotion_test, write_approved_only, invalidate_stale, no_secrets]
|
|
5
|
+
report: [quality, confidence, coverage, gates, defects, unknowns, history, best_remaining, aqc]
|
|
6
|
+
complete_only_if: all_applicable_gates_pass
|
|
7
|
+
say: "Vibe Code Build complete."
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
phase: GIT
|
|
2
|
+
when: [worktree_requested, commit_requested, push_requested, audit_cleanup]
|
|
3
|
+
inspect_already_in: playbooks/00-bootstrap.md
|
|
4
|
+
never_without_explicit_authorization: ["git reset --hard", "git clean -fd", "git push --force"]
|
|
5
|
+
forbid: destroying_unrelated_work
|
|
6
|
+
worktree_when_requested:
|
|
7
|
+
- use the inspected default branch and remote; do not assume main
|
|
8
|
+
- "git checkout <default> && git pull --ff-only <remote> <default>"
|
|
9
|
+
- "git worktree add -b gb/<slug> ../gb-<slug>-wt"
|
|
10
|
+
commit_when_milestone: ["git diff --check", "git add -A", "git diff --cached", "git commit -m 'Milestone X.Y: <summary>'"]
|
|
11
|
+
empty_commits: false
|
|
12
|
+
push: "git push -u <remote> <branch>"
|
|
13
|
+
cleanup_after_merge: ["git worktree remove <path>", "git branch -d <branch>"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
rounds: [] # from, to, reason, gates, unknowns, evidence, memory, quality, confidence, coverage, defects, dQ, effort, decision
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# weights and anchors: SKILL.md. gate names: core/gates.md
|
|
2
|
+
risk:
|
|
3
|
+
target:
|
|
4
|
+
quality:
|
|
5
|
+
confidence:
|
|
6
|
+
coverage:
|
|
7
|
+
gates:
|
|
8
|
+
critical:
|
|
9
|
+
high:
|
|
10
|
+
unknowns:
|
|
11
|
+
previous:
|
|
12
|
+
delta:
|
|
13
|
+
aqc:
|
|
14
|
+
rows: [] # dimension, score, evidence_ids, gap
|
|
15
|
+
improvements: [] # severity, dQ, risk, effort, confidence, decision
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# fields already defined in SKILL.md and core/exit-logic.md
|
|
2
|
+
result:
|
|
3
|
+
risk:
|
|
4
|
+
target:
|
|
5
|
+
quality:
|
|
6
|
+
confidence:
|
|
7
|
+
coverage:
|
|
8
|
+
gates:
|
|
9
|
+
critical:
|
|
10
|
+
high:
|
|
11
|
+
unknowns:
|
|
12
|
+
aqc:
|
|
13
|
+
history: []
|
|
14
|
+
exit:
|
|
15
|
+
verification: []
|
|
16
|
+
memory:
|
|
17
|
+
loaded: []
|
|
18
|
+
added: []
|
|
19
|
+
superseded: []
|
|
20
|
+
invalidated: []
|
|
21
|
+
secrets: NO
|
|
22
|
+
residual: []
|
|
23
|
+
git:
|
|
24
|
+
branch:
|
|
25
|
+
commits:
|
|
26
|
+
pr:
|
|
27
|
+
default:
|
|
28
|
+
worktree:
|
|
29
|
+
status:
|
|
30
|
+
terminal: "COMPLETE|BLOCKED|STALLED|CONSTRAINT_LIMITED|FAILED_VERIFICATION"
|
|
31
|
+
say_if_complete: "Vibe Code Build complete."
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
id:
|
|
2
|
+
goal:
|
|
3
|
+
done: []
|
|
4
|
+
tasks: []
|
|
5
|
+
verification: []
|
|
6
|
+
state: [assumptions, evidence, risks, scorecard, iteration-log]
|
|
7
|
+
memory: [candidates_only, no_transient, no_secrets, revalidate_conflicts]
|
|
8
|
+
close: [tasks_done, definition_of_done, verification, diff_reviewed, gates, commit_if_coherent]
|