Commit 6f41dd5
committed
fix(goals/flywheel-compounding): surface multi-session corpus diagnostic + propose corpus-active precondition
Heavy-goal observability cycle for `flywheel-compounding` (W=8). Per the
4-attempt history (PR #165 observability, PR #174 rich diagnostic, PR #177
quarantine W=8→3, this run today's observability strengthening), the gate
genuinely cannot be moved by single-session work because total citations
in the 7-day measurement window remain 0.
Defensible heavy-goal cycle per run-brief definition (b): documented
investigation proving corpus-state binding paired with an observability
improvement.
Changes:
- `scripts/check-flywheel-compounding.sh`: when σ=0 ρ=0, in addition to
the existing dormant-corpus hint, surface
`golden_signals.{trend_verdict,concentration_verdict,overall_verdict}`,
`metrics.{citations_this_period,total_artifacts,learnings_created}`,
and the period range. Adds a labelled "multi-session-bound:" line so
operators see at a glance the gate is corpus-state bound without
running `jq` against the JSON manually. Diagnostic only fires on the
σ=0 ρ=0 branch — ρ=0-only and generic-fail branches are unchanged
(existing tests cover that boundary).
- `tests/scripts/check-flywheel-compounding.bats`:
* existing σ=0 ρ=0 test gains a "multi-session-bound" assertion;
* new test "FAIL with σ=0 AND ρ=0 surfaces verdict + period block when
payload provides them" exercises the full diagnostic against a
realistic payload and asserts each emitted field by name + the
finding citation.
- `.agents/findings/f-2026-04-30-002.md` (force-tracked): new finding
building on `f-2026-04-29-001.md` (PR #177). Documents that this
run is the 4th consecutive failed heavy-goal attempt and proposes
a corpus-active precondition (`if total citations == 0 in window AND
total_artifacts > 0: skip with reason='corpus-dormant'`) as the
durable remediation. Also records the run-brief stop clause:
attempt 4 binds "stop attempting heavy-goal cycles on this goal for
the rest of this run" — subsequent cycles pivot to disjoint work.
The goal still fails (the metric does not move from this commit alone —
moving it requires sustained citation activity across many sessions, OR
the corpus-active precondition's implementation). This cycle improves the
diagnostic so operators stop re-attempting the same goal across nightlies.1 parent b1ae2ed commit 6f41dd5
4 files changed
Lines changed: 114 additions & 0 deletions
File tree
- .agents/findings
- scripts
- tests/scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
49 | 70 | | |
50 | 71 | | |
51 | 72 | | |
52 | 73 | | |
53 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
54 | 78 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
60 | 76 | | |
61 | 77 | | |
62 | 78 | | |
| |||
0 commit comments