Repository navigation
Reuse the weekly retro evidence across decisions #1973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,49 +11,40 @@ two days running or independent incidents repeat. | |
|
|
||
| ## Evidence | ||
|
|
||
| - Run [retro_metrics.py](../../../scripts/retro_metrics.py) with the commissioned | ||
| `--repo`, fixed UTC `--window-end`, outcome, order and p0 labels, and configured | ||
| receipts and host inputs where available. Pass the agreed `--stall-hours` | ||
| threshold to include stalled p0s. Compare the last seven days with the | ||
| previous seven and use the four-week trend for context. Lead with outcomes | ||
| closed and order-to-acceptance time. | ||
| - Take all numbers from the script. Save JSON stdout to a scratch file (`mktemp`). | ||
| Use the stderr table and query needed fields. Read selected issues, PRs and | ||
| change records directly. Keep missing data as `UNKNOWN` and name its source. | ||
| - Use `weekly_sample.items`. The script reserves two seeded merged controls, | ||
| two slowest orders accepted that week and the longest stalled p0 when | ||
| available, then takes up to four oldest open orders from the order input | ||
| up to eight distinct cases total. The seed derives from the repository and | ||
| report end. Replay with the same end and frozen inputs. Use the pool sizes | ||
| and shortfall to explain when the category limits or available cases leave | ||
| fewer than six. | ||
| - For each case, identify where it waited, who could move it and the first | ||
| real consumer use or its missing proof. Test the apparent constraint | ||
| against a contrary case. Route defects to the owning issue through | ||
| - Run [retro_metrics.py](../../../scripts/retro_metrics.py) once with the | ||
| commissioned repo, fixed UTC window end, outcome, order and p0 labels, | ||
| agreed stall threshold, and available receipt and host inputs. Save JSON | ||
| stdout to scratch. Take numbers only from the script and query fields needed for decisions. | ||
| Compare the last seven days with the prior seven and the four-week trend. | ||
| Lead with outcomes closed and order-to-acceptance time. Name the source of | ||
| each `UNKNOWN`. Replay with the same end and frozen inputs. | ||
| - Use `weekly_sample.items` directly. Explain any shortfall below six from the | ||
| report. Read each sampled case once for its wait, who could move it and first | ||
| real consumer use or missing proof. Use a sampled contrary case to test the | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: The contrary-case test is now optional The old text required "Test the apparent constraint against a contrary case." The new text says "Use a sampled contrary case … when available". If the sample has no contrary case, the analyst may skip the test, even though the next sentence allows extra reads to test the constraint. This weakens an evidence requirement the task says to keep. Suggested fix: "Test the apparent constraint against a contrary case, preferring a sampled one." |
||
| apparent constraint when available. Read additional records only to settle | ||
| a verdict or test that constraint. Route defects to the owning issue via | ||
| [diagnose](../diagnose/SKILL.md) in the same turn. | ||
|
|
||
| ## Two decisions | ||
|
|
||
| 1. Give each recent change **keep**, **revert** or **still-open** using its | ||
| 1. Give each recent change **keep**, **revert** or **still-open** against its | ||
| recorded rule and review date. Separate installation, first real consumer | ||
| use and measured effect. Keep when comparable evidence meets the target | ||
| with both guards intact. Revert if a protection was lost, a material | ||
| regression appears under comparable load, or adequate exposure shows no | ||
| benefit. Mark still-open when evidence is insufficient and name the next | ||
| observation and date. Extend once and surface any unresolved verdict to Lean. | ||
| use and measured effect. Keep if comparable evidence meets the target | ||
| with both guards intact. Revert for a lost protection, material regression | ||
| under comparable load or no benefit after adequate exposure. For insufficient | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Insufficient evidence is no longer tied to the still-open verdict The old text said "Mark still-open when evidence is insufficient and name the next observation and date." The new text says "For insufficient evidence, name the next observation and date" and no longer names the verdict to give. The three verdicts are still listed, so the meaning can be inferred, but the per-change verdict rule is now less explicit. Suggested fix: "Mark still-open for insufficient evidence, naming the next observation and date." |
||
| evidence, name the next observation and date. Extend once, then escalate | ||
| unresolved verdicts to Lean. | ||
| 2. Name a deletion candidate first or explain why none qualifies. Choose at | ||
| most one next change aimed at the evidenced constraint, including zero | ||
| when the case is weak. Record any chosen change on a `workflow-change` | ||
| issue with a script metric as the target, two script metrics as guards, | ||
| a review date, a revert action and an install marker. Record direct owner | ||
| and OD workflow orders the same way, without delaying the work. | ||
|
|
||
| Lean commissions a short read-only cross-family check for structural changes, | ||
| reverts or safeguard removals. Follow [model resolution](../../../docs/DELEGATION.md#resolve-the-model-before-delegation) | ||
| to select a configured `deep` route from a different family than the analyst's. | ||
| For the default OpenAI analyst, explicitly select the Anthropic alternative. | ||
| Adopt when both agree or defer with the disputed fact. | ||
|
|
||
| Send one screen to Marcin in “Since you were away” using Warsaw dates and | ||
| plain language. Put any owner decisions first under a visible heading, with | ||
| a recommendation and default for each. Include up to two owner decisions. | ||
| most one change for the evidenced constraint, or none when the case is weak. | ||
| Record it and direct owner or OD orders on `workflow-change` issues with a script target, two script guards, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Re-wrapped line overflows the file's ~78-column wrap After the edit, line 39 ("Record it and direct owner or OD orders on |
||
| review date, revert action and install marker. Recording must not delay orders. | ||
|
|
||
| For structural changes, reverts or safeguard removals, Lean commissions a | ||
| short read-only check using the same evidence and a different family's | ||
| configured [deep route](../../../docs/DELEGATION.md#resolve-the-model-before-delegation). | ||
| Select Anthropic for the default OpenAI analyst. Adopt on agreement or defer | ||
| with the disputed fact. | ||
|
|
||
| Send Marcin one “Since you were away” screen in plain language with Warsaw | ||
| dates. Put up to two owner decisions first under a heading, each with a | ||
| recommendation and default. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Line 17 breaks the file's ~80-column wrapping
"stdout to scratch. Take numbers only from the script and query fields needed for decisions." is about 92 characters. Every other prose line in the file wraps near 80. Lines 22, 34 and 40 also go slightly past it. Rewrap for consistency.