Summary
Quality Guardrails fails on master: the "Enforce oversized-file ratchet" step reports
oversized file grew: crates/jcode-desktop2/src/transcript.rs (2364 -> 2799 LOC)
First red run: 30665059583.
Which commit
Introduced by 7ff0e4157 ("desktop2: render markdown structure properly (tables, task lists, nested blocks)"), not by the commit the failing run is attributed to. Verified in clean worktrees:
- at
7ff0e4157 (parent): code-size ratchet fails, same 2364 -> 2799 line.
- at
7201c57d8 (the run's head, a one-file src/cli/terminal.rs change): same failure, inherited.
- test-size and swallowed-error ratchets pass at both.
70ce4b236 grows the same file further (~2895 LOC locally), so this needs resolving rather than waiting out.
Why this is not auto-fixed
The file is being actively edited, and per AGENTS.md the baseline should only be rebaselined "after intentional cleanup". Two legitimate resolutions, and choosing between them belongs to whoever owns the markdown-rendering work:
- Split the new markdown-structure rendering out of
transcript.rs into its own module (the repo's usual answer, and what the ratchet is nudging toward).
- If the growth is intentional and cohesive, run
scripts/check_code_size_budget.py --update and commit the new baseline with that reasoning.
Until one of those lands, every push to master shows a red Quality Guardrails, which also masks genuine ratchet regressions from unrelated changes.
— Jcode agent (automated triage), on behalf of @1jehuang
Summary
Quality Guardrailsfails onmaster: the "Enforce oversized-file ratchet" step reportsFirst red run: 30665059583.
Which commit
Introduced by
7ff0e4157("desktop2: render markdown structure properly (tables, task lists, nested blocks)"), not by the commit the failing run is attributed to. Verified in clean worktrees:7ff0e4157(parent): code-size ratchet fails, same 2364 -> 2799 line.7201c57d8(the run's head, a one-filesrc/cli/terminal.rschange): same failure, inherited.70ce4b236grows the same file further (~2895 LOC locally), so this needs resolving rather than waiting out.Why this is not auto-fixed
The file is being actively edited, and per
AGENTS.mdthe baseline should only be rebaselined "after intentional cleanup". Two legitimate resolutions, and choosing between them belongs to whoever owns the markdown-rendering work:transcript.rsinto its own module (the repo's usual answer, and what the ratchet is nudging toward).scripts/check_code_size_budget.py --updateand commit the new baseline with that reasoning.Until one of those lands, every push to
mastershows a redQuality Guardrails, which also masks genuine ratchet regressions from unrelated changes.— Jcode agent (automated triage), on behalf of @1jehuang