@ai-dev-methodologies/rlp-desk 0.7.0 → 0.7.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-dev-methodologies/rlp-desk",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Fresh-context iterative loops for Claude Code — autonomous task completion with independent verification",
5
5
  "scripts": {
6
6
  "postinstall": "node scripts/postinstall.js",
@@ -69,13 +69,13 @@ Ask about these items one by one (or in small groups):
69
69
 
70
70
  | Complexity | Worker | per-US Verifier | Final Verifier | Consensus |
71
71
  |------------|--------|-----------------|----------------|-----------|
72
- | LOW | gpt-5.4:high | sonnet | opus | final-only |
73
- | MEDIUM | gpt-5.4:high | opus | opus | final-only |
72
+ | LOW | gpt-5.4:medium | sonnet | opus | final-only |
73
+ | MEDIUM | gpt-5.4:medium | opus | opus | final-only |
74
74
  | HIGH | gpt-5.4:high | opus | opus | all |
75
75
  | CRITICAL | gpt-5.4:high | opus | opus + human | all |
76
76
 
77
77
  **Worker model selection** (cross-engine):
78
- - **gpt-5.4:high** — default recommendation (full context window, reliable for all US sizes)
78
+ - **gpt-5.4:medium** — default recommendation (full context window, progressive upgrade handles harder US)
79
79
  - **spark:high** — only when US is small enough for spark's 100k context (single-file, AC count <= 4, simple logic). Do NOT use as primary recommendation — spark context window is too small for most tasks
80
80
 
81
81
  Present complexity score with evidence to the user, e.g.: "I rate this MEDIUM because: US count=4 (MEDIUM), file scope=2 (MEDIUM), logic=conditionals (MEDIUM), deps=none (LOW), impact=modify (MEDIUM). Highest=MEDIUM."
@@ -145,7 +145,7 @@ Tell the user:
145
145
  Available run commands (copy the one you want):
146
146
 
147
147
  # ★ Recommended: cross-engine + final-consensus (full context + blind-spot coverage):
148
- /rlp-desk run <actual-slug> --mode tmux --worker-model gpt-5.4:high --consensus final-only --debug
148
+ /rlp-desk run <actual-slug> --mode tmux --worker-model gpt-5.4:medium --consensus final-only --debug
149
149
 
150
150
  # Small tasks only (single-file, AC <= 4, simple logic — spark 100k context limit):
151
151
  /rlp-desk run <actual-slug> --mode tmux --worker-model spark:high --consensus final-only --debug
@@ -204,7 +204,7 @@ print_run_presets() {
204
204
  echo ""
205
205
  if [[ $codex_available -eq 1 ]]; then
206
206
  echo "# Recommended: cross-engine + final-consensus (full context + blind-spot coverage):"
207
- echo "/rlp-desk run $slug --worker-model gpt-5.4:high --final-consensus --debug"
207
+ echo "/rlp-desk run $slug --worker-model gpt-5.4:medium --final-consensus --debug"
208
208
  echo ""
209
209
  echo "# Small tasks only (single-file, AC <= 4, simple logic — spark 100k context limit):"
210
210
  echo "/rlp-desk run $slug --worker-model gpt-5.3-codex-spark:high --debug"
@@ -100,6 +100,7 @@ if [[ "${VERIFY_CONSENSUS:-0}" = "1" ]]; then
100
100
  elif [[ "${FINAL_CONSENSUS:-0}" = "1" ]]; then
101
101
  CONSENSUS_MODE="final-only"
102
102
  fi
103
+ CONSENSUS_SCOPE="${CONSENSUS_SCOPE:-${CONSENSUS_MODE}}"
103
104
  CB_THRESHOLD="${CB_THRESHOLD:-6}" # consecutive failures before BLOCKED (default: 6)
104
105
  # Effective CB threshold: doubled when consensus mode active
105
106
  if [[ "$CONSENSUS_MODE" != "off" ]]; then