diff options
| author | Morgan Lunt <morganl@anthropic.com> | 2026-09-24 20:52:27 -0700 |
|---|---|---|
| committer | Morgan Lunt <morganl@anthropic.com> | 2026-09-24 20:52:27 -0700 |
| commit | 51b1ae9e20486d62b839ed9f37e1cfc7d55bf85c (patch) | |
| tree | eb31cc4964d84b4a82b8032452739fe1e9b37d3f /plugins/code-modernization/hooks/reader/tracks.ts | |
| parent | 5b8ec4b30f45b5e8b4c8a6efd63719730cf1a5ad (diff) | |
code-modernization: make the live pane work below 144 columns and show the proof
Found by exercising the pane against the real outputs of finished runs:
- Below 144 columns the engine holds an unasked pane back; the pane ignored
that, so it drew no pane, no show bar, and the panel command "hid" a pane
that was never there.
- A symlinked legacy/<name> lists as another kind of entry, so the source
link that preflight now creates was never recognized as a system.
- Uplift and reimagine next steps were placeholders with no button.
- The refresh debounce was starved while agents ran, so the map froze.
- Hostile lines in the brief, rules and baseline could take seconds to match;
lines are now capped. The rule-review ledger is validated on read and
merged on save, and keeps a reviewer's note.
- A baseline with no row read as "the baseline had 0"; one-module baseline
totals now count as that module's row.
New: a verdict chip with words on every built module, a verify-first next
step, and a readable palette that follows the terminal theme. 140 engine
tests pass and the type check is clean.
Diffstat (limited to 'plugins/code-modernization/hooks/reader/tracks.ts')
| -rw-r--r-- | plugins/code-modernization/hooks/reader/tracks.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/code-modernization/hooks/reader/tracks.ts b/plugins/code-modernization/hooks/reader/tracks.ts index 8ce75985..5dfd8e14 100644 --- a/plugins/code-modernization/hooks/reader/tracks.ts +++ b/plugins/code-modernization/hooks/reader/tracks.ts @@ -26,6 +26,7 @@ export const STATE_WORDS_BY_TRACK: Record<TrackKey, Record<string, string>> = { scaffolded: 'scaffolded', 'tests-written': 'tests written', 'tests-red': 'tests red', + 'tests-failing': 'tests failing', 'tests-green': 'tests green', reviewed: 'reviewed', ported: 'ported', @@ -36,6 +37,7 @@ export const STATE_WORDS_BY_TRACK: Record<TrackKey, Record<string, string>> = { scaffolded: 'changed', 'tests-written': 'tests written', 'tests-red': 'worse than baseline', + 'tests-failing': 'tests failing', 'tests-green': 'tests pass', reviewed: 'matches baseline', ported: 'ported', @@ -46,6 +48,7 @@ export const STATE_WORDS_BY_TRACK: Record<TrackKey, Record<string, string>> = { scaffolded: 'scaffolded', 'tests-written': 'tests written', 'tests-red': 'tests red', + 'tests-failing': 'tests failing', 'tests-green': 'tests green', reviewed: 'reviewed', ported: 'ported', |
