Skip to content

Burn down check-standards/check-architecture for one small file (template issue) #183

Done

Description

@w4ffl35

Problem

npm run check-standards reports 4,150 new violations over a 23,439-entry baseline; npm run check-architecture reports 109 new findings. The totals are too large to fix at once, which is why they never move. Baselines are content-anchored (scripts/code-standards-baseline.json, scripts/architecture-baseline.json): touching a flagged line creates a new violation key, so drive-by edits make it worse.

Architecture (independent solution)

Burn down exactly one small file per PR, mechanically, with no behavior change:

  1. Pick the target from current checker output (suggested first target: src/dashboard/page.ts, 38 lines, or another file with <30 violations — confirm with npm run check-standards -- <file> if supported, else full run + grep).
  2. Fix only that file's violations (line length ≤80, function/file size per docs/typescript-standards.md) by wrapping/extracting verbatim — no logic edits.
  3. Regenerate both baselines in the same change with the checker's --write-baseline mode (never hand-edit baseline JSON).
  4. This issue is the template: repeat as follow-up issues per file. Do not widen scope mid-PR.

Scope / non-goals

  • No src/engine/loop.ts work (separate issue), no baseline hand-edits, no checker rule changes.

Acceptance

  • npm run check-standards and npm run check-architecture show strictly fewer baseline entries, zero new keys.
  • npx tsc --noEmit and the touched area's tests green.

Tests

Behavior-preserving: existing tests are the oracle. State that explicitly; add a test only if you extract a function that lacks one.

Contributor notes

Good first issue and repeatable. Claim a file in a comment before starting so two contributors don't collide.

Activity

  1. added
    enhancement
    good first issue
    help wanted
    on Nov 29, 2026
  2. w4ffl35 commented on Dec 6, 2026

    @w4ffl35
    MemberAuthor

    Done in PR #205 (commit 6c079b6). execution-provider.test.ts standards burn-down; touched files carry zero NEW check-standards/check-architecture findings. Verified: 8 execution-provider tests pass, tsc clean.

  3. added a commit that references this issue on Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions