@windyroad/retrospective 0.13.0 → 0.14.0
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/.claude-plugin/plugin.json +1 -1
- package/bin/wr-retrospective-check-skill-md-budgets +2 -0
- package/package.json +1 -1
- package/skills/run-retro/SKILL.md +3 -3
- package/skills/run-retro/test/run-retro-pipeline-instability-scan.bats +9 -2
- package/skills/run-retro/test/run-retro-verification-close-housekeeping.bats +9 -4
package/package.json
CHANGED
|
@@ -163,7 +163,7 @@ The shape mirrors P068's Step 4a Verification-close housekeeping: glob / evidenc
|
|
|
163
163
|
|
|
164
164
|
- **Step 4a (Verification-close housekeeping, P068)** — same evidence-scan shape applied to a different surface. Both share the glob / scan / categorise / specific-citation / interactive-or-AFK pattern. Step 4a scans for successful exercise of `.verifying.md` fixes; Step 2b scans for tool-level friction. They fire independently and produce independent retro-summary sections.
|
|
165
165
|
- **Step 4 (problem-ticket creation)** — Step 2b feeds Step 4. A detection surfaced in Step 2b that the user accepts becomes a Step 4 creation or update via the manage-problem delegation. Step 4b's Stage 1 two-stage codification flow (P075) applies to pipeline-instability tickets the same way it applies to Step 2 reflection tickets — the detection IS the codify-worthy observation.
|
|
166
|
-
- **ADR-027 compatibility note
|
|
166
|
+
- **ADR-032 supersession note** (was: ADR-027 compatibility note): ADR-027's Step-0 subagent auto-delegation has been superseded by **ADR-032** (Governance skill invocation patterns). No Step-0 subagent migration applies to run-retro under ADR-032's foreground-synchronous pattern — Step 2b's evidence scan executes directly in main-agent context, where the session's tool-call history is natively visible. The hypothetical session-activity-summary marshalling this note previously discussed is obviated by the supersession; preserved here as audit-trail continuity for prior cross-references.
|
|
167
167
|
|
|
168
168
|
### 2c. Context-usage measurement (cheap layer, P101)
|
|
169
169
|
|
|
@@ -209,7 +209,7 @@ Per **ADR-043** (Progressive context-usage measurement and reporting for retrosp
|
|
|
209
209
|
- **`P105` signal-vs-noise pass** (Step 1.5 of this skill) — measures **per-entry** signal scores on briefing entries. The cheap layer's `briefing` bucket is upstream of the per-entry signal scores; deep layer cites both as evidence sources.
|
|
210
210
|
- **Step 4 / 4b — codification flow**: when the cheap layer surfaces a delta-from-prior anomaly that the user wants to investigate, the deep layer (`/wr-retrospective:analyze-context`) is the correct routing target — it produces a `docs/retros/<date>-context-analysis.md` report with per-turn attribution and suggestion generation. The cheap layer never auto-routes.
|
|
211
211
|
- **`/wr-retrospective:analyze-context` (deep layer)** — invoked only by explicit user direction. Never auto-fires from this step. Deep-layer report writes the HTML-comment-trailer snapshot that subsequent runs of this step read.
|
|
212
|
-
- **ADR-027 compatibility note
|
|
212
|
+
- **ADR-032 supersession note** (was: ADR-027 compatibility note): no Step-0 subagent migration applies — under ADR-032's foreground-synchronous pattern the script invocation runs in main-agent context as written. The migration shape this note previously discussed is obviated by the supersession.
|
|
213
213
|
|
|
214
214
|
### 2d. Ask Hygiene Pass (P135 Phase 5 / ADR-044)
|
|
215
215
|
|
|
@@ -374,7 +374,7 @@ Problems whose fix shipped but whose closure is still pending (`docs/problems/*.
|
|
|
374
374
|
|
|
375
375
|
8. **Same-session verifyings excluded** (unchanged from P068 design): `.verifying.md` tickets for fixes that ship in the currently-running session (e.g. P127, P065, P126, P101 just transitioned this session) are NOT close-candidates — a session cannot verify its own fix beyond "bats passed at commit time"; subsequent-session exercise is the meaningful signal. Same-session verifyings are skipped in step 4 categorisation.
|
|
376
376
|
|
|
377
|
-
**ADR-027 compatibility note
|
|
377
|
+
**ADR-032 supersession note** (was: ADR-027 compatibility note): ADR-027's Step-0 subagent auto-delegation was superseded by **ADR-032** (Governance skill invocation patterns). No Step-0 subagent migration applies to run-retro — Step 4a's evidence scan runs directly in main-agent context, where session-activity citations are natively grounded per ADR-026. The hypothetical session-activity-summary marshalling this note previously discussed is obviated by the supersession; preserved here as audit-trail continuity for prior cross-references.
|
|
378
378
|
|
|
379
379
|
**Interaction with other surfaces**:
|
|
380
380
|
- **manage-problem Step 9d** (baseline user-initiated verification review per P048) still fires on `/wr-itil:manage-problem review` — it is the age-based heuristic path. Step 4a here is the evidence-based session-wrap path. The two compose: a ticket that is both "≥ 14 days old" (Step 9d highlight) AND "exercised successfully this session" (Step 4a candidate) should be surfaced in both paths independently; closing via either path moves the ticket to `.closed.md` and de-lists it from both queues.
|
|
@@ -80,8 +80,15 @@ setup() {
|
|
|
80
80
|
[ "$status" -eq 0 ]
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
@test "run-retro: Step 2b ADR-
|
|
84
|
-
|
|
83
|
+
@test "run-retro: Step 2b ADR-032 supersession note documents post-supersession context handling" {
|
|
84
|
+
# ADR-027 was superseded by ADR-032 (2026-04-21). The former
|
|
85
|
+
# "ADR-027 compatibility note" was rewritten to an ADR-032 supersession
|
|
86
|
+
# note that records the obviation of any Step-0 subagent migration.
|
|
87
|
+
# Structural grep retained for now (P081 anti-pattern; convert to
|
|
88
|
+
# behavioural fixture in a follow-up — tracked separately).
|
|
89
|
+
run grep -F 'ADR-032 supersession note' "$SKILL_MD"
|
|
90
|
+
[ "$status" -eq 0 ]
|
|
91
|
+
run grep -F 'No Step-0 subagent migration applies' "$SKILL_MD"
|
|
85
92
|
[ "$status" -eq 0 ]
|
|
86
93
|
}
|
|
87
94
|
|
|
@@ -90,10 +90,15 @@ setup() {
|
|
|
90
90
|
[[ "$output" != *"Close P<NNN>\` — description"* ]]
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
@test "run-retro: Step 4a ADR-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
@test "run-retro: Step 4a ADR-032 supersession note documents post-supersession context handling" {
|
|
94
|
+
# ADR-027 was superseded by ADR-032 (2026-04-21). The former
|
|
95
|
+
# "ADR-027 compatibility note" was rewritten to an ADR-032 supersession
|
|
96
|
+
# note that records the obviation of any Step-0 subagent migration.
|
|
97
|
+
# Structural grep retained for now (P081 anti-pattern; convert to
|
|
98
|
+
# behavioural fixture in a follow-up — tracked separately).
|
|
99
|
+
run grep -F 'ADR-032 supersession note' "$SKILL_MD"
|
|
100
|
+
[ "$status" -eq 0 ]
|
|
101
|
+
run grep -F 'No Step-0 subagent migration applies' "$SKILL_MD"
|
|
97
102
|
[ "$status" -eq 0 ]
|
|
98
103
|
}
|
|
99
104
|
|