You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
orchestrator/routes/pipelines/_prompt_agent.py is 1195 code lines of 1376 raw — over the 1000-code-line hard cap in scripts/check-file-sizes.py, and allowlisted in scripts/file-size-allowlist.yaml.
The raw-line cap never flagged it: it is per-agent spawn-prompt assembly, prose-light and code-dense, so the old 1500-raw-line cap left it alone while the #3671 code-line recount puts it well over. The allowlist entry is an exemption, not a resolution — this issue is its decomposition owner.
Follow the sub-package pattern in docs/guides/decomposition-pattern.md: split into a barrel plus submodules that are each under the cap, then drop the allowlist entry. The lint now reports an allowlist entry whose file has fallen back under the caps as a stale entry and fails on it, so the entry cannot be left behind.
Raised from review feedback on #3673 (N1: allowlist entries added without a tracking issue).
Activity