@boyingliu01/xp-gate 0.14.6 → 0.14.7
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/adapters/plugins/whalecloud-java/scripts/install-maven-whalecloud.sh +4 -2
- package/lib/__tests__/sprint-status.test.ts +9 -18
- package/lib/sprint-status.js +3 -4
- package/mock-policy/AGENTS.md +3 -3
- package/mutation/AGENTS.md +3 -3
- package/package.json +1 -1
- package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
- package/plugins/claude-code/skills/delphi-review/AGENTS.md +3 -3
- package/plugins/claude-code/skills/delphi-review/SKILL.md +62 -3
- package/plugins/claude-code/skills/delphi-review/hooks.md +19 -0
- package/plugins/claude-code/skills/delphi-review/scripts/verify-consensus.sh +43 -0
- package/plugins/claude-code/skills/delphi-review/tools.md +29 -0
- package/plugins/claude-code/skills/sprint-flow/AGENTS.md +3 -3
- package/plugins/claude-code/skills/sprint-flow/hooks.md +18 -0
- package/plugins/claude-code/skills/sprint-flow/scripts/verify-sprint-state.sh +38 -0
- package/plugins/claude-code/skills/sprint-flow/tools.md +29 -0
- package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +3 -3
- package/plugins/opencode/README.md +14 -0
- package/plugins/opencode/index.ts +72 -0
- package/plugins/opencode/package.json +1 -1
- package/plugins/opencode/skills/delphi-review/AGENTS.md +3 -3
- package/plugins/opencode/skills/delphi-review/SKILL.md +62 -3
- package/plugins/opencode/skills/delphi-review/hooks.md +19 -0
- package/plugins/opencode/skills/delphi-review/scripts/verify-consensus.sh +43 -0
- package/plugins/opencode/skills/delphi-review/tools.md +29 -0
- package/plugins/opencode/skills/sprint-flow/AGENTS.md +3 -3
- package/plugins/opencode/skills/sprint-flow/hooks.md +18 -0
- package/plugins/opencode/skills/sprint-flow/scripts/verify-sprint-state.sh +38 -0
- package/plugins/opencode/skills/sprint-flow/tools.md +29 -0
- package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +3 -3
- package/plugins/qoder/plugin.json +1 -1
- package/plugins/qoder/skills/delphi-review/AGENTS.md +3 -3
- package/plugins/qoder/skills/sprint-flow/AGENTS.md +3 -3
- package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +3 -3
- package/principles/AGENTS.md +3 -3
- package/skills/delphi-review/AGENTS.md +3 -3
- package/skills/delphi-review/SKILL.md +62 -3
- package/skills/delphi-review/hooks.md +19 -0
- package/skills/delphi-review/scripts/verify-consensus.sh +43 -0
- package/skills/delphi-review/tools.md +29 -0
- package/skills/sprint-flow/AGENTS.md +3 -3
- package/skills/sprint-flow/hooks.md +18 -0
- package/skills/sprint-flow/scripts/verify-sprint-state.sh +38 -0
- package/skills/sprint-flow/tools.md +29 -0
- package/skills/test-specification-alignment/AGENTS.md +3 -3
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# sprint-flow: Verify sprint state integrity
|
|
3
|
+
# Checks that sprint-state.json is valid JSON and all expected keys exist.
|
|
4
|
+
#
|
|
5
|
+
# Usage: bash verify-sprint-state.sh [sprint-state-dir]
|
|
6
|
+
|
|
7
|
+
set -euo pipefail
|
|
8
|
+
|
|
9
|
+
STATE_DIR="${1:-.sprint-state}"
|
|
10
|
+
STATE_FILE="$STATE_DIR/sprint-state.json"
|
|
11
|
+
|
|
12
|
+
if [ ! -f "$STATE_FILE" ]; then
|
|
13
|
+
echo "SKIP: No sprint-state.json found at $STATE_FILE"
|
|
14
|
+
exit 0
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
# Validate JSON
|
|
18
|
+
if ! command -v node &>/dev/null; then
|
|
19
|
+
echo "WARN: node not available, skipping JSON validation"
|
|
20
|
+
exit 0
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
node -e "
|
|
24
|
+
const fs = require('fs');
|
|
25
|
+
try {
|
|
26
|
+
const data = JSON.parse(fs.readFileSync('$STATE_FILE', 'utf8'));
|
|
27
|
+
const requiredKeys = ['sprint_id', 'status', 'current_phase', 'phases'];
|
|
28
|
+
const missing = requiredKeys.filter(k => !(k in data));
|
|
29
|
+
if (missing.length > 0) {
|
|
30
|
+
console.error('ERROR: Missing required keys in sprint-state.json:', missing.join(', '));
|
|
31
|
+
process.exit(1);
|
|
32
|
+
}
|
|
33
|
+
console.log('OK: sprint-state.json is valid with all required keys');
|
|
34
|
+
} catch (e) {
|
|
35
|
+
console.error('ERROR: sprint-state.json is not valid JSON:', e.message);
|
|
36
|
+
process.exit(1);
|
|
37
|
+
}
|
|
38
|
+
"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Tools Whitelist — Sprint Flow
|
|
2
|
+
|
|
3
|
+
Sprint Flow is an **orchestration skill** that coordinates subagents and system commands.
|
|
4
|
+
It does NOT implement code directly — it delegates implementation to subagents.
|
|
5
|
+
|
|
6
|
+
## Allowed Tools
|
|
7
|
+
|
|
8
|
+
| Tool | Usage | Rationale |
|
|
9
|
+
|------|-------|-----------|
|
|
10
|
+
| `Bash(git, gh, npm, node)` | git worktree/branch/commit, gh PR/release, npm/node CLI | Required for sprint infrastructure management |
|
|
11
|
+
| `Read` | Read project files, configs, docs | Required for context gathering |
|
|
12
|
+
| `Write` | Write sprint-state, specification.yaml, phase summaries | Required for sprint state persistence |
|
|
13
|
+
| `Edit` | Edit sprint-state, CHANGELOG, VERSION | Required for version management |
|
|
14
|
+
| `Glob` | Find project files by pattern | Required for project discovery |
|
|
15
|
+
| `Grep` | Search file contents | Required for codebase understanding |
|
|
16
|
+
| `Task` | Delegate to subagents (quick, deep, unspecified-high) | Core orchestration mechanism |
|
|
17
|
+
| `Skill` | Invoke integrated skills (brainstorming, autoplan, delphi-review, etc.) | Required for skill chain execution |
|
|
18
|
+
| `TodoWrite` | Track sprint progress | Required for progress visibility |
|
|
19
|
+
| `Question` | Ask user at decision gates | Required for user decision points |
|
|
20
|
+
|
|
21
|
+
## Denied Tools
|
|
22
|
+
|
|
23
|
+
| Tool | Rationale |
|
|
24
|
+
|------|-----------|
|
|
25
|
+
| `rm -rf (any recursive force remove)` | Destructive — sprint flow only cleans up via `git worktree remove` |
|
|
26
|
+
| `git push --force` | Destructive — never force push during sprint |
|
|
27
|
+
| `DROP TABLE or destructive DB operations` | Destructive — sprint flow orchestrates, does not manage databases |
|
|
28
|
+
| `Write(source code)` | Sprint flow NEVER writes implementation code directly — delegates to subagents via `Task` |
|
|
29
|
+
| `Edit(source code)` | Sprint flow NEVER edits implementation code — delegates to subagents via `Task` |
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/TEST-SPECIFICATION-ALIGNMENT KNOWLEDGE BASE
|
|
2
2
|
|
|
3
|
-
**Generated:** 2026-07-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-07-10
|
|
4
|
+
**Commit:** a9276f6
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.14.6.
|
|
6
|
+
**Version:** 0.14.6.2
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
|