Skip to content

id phase-8: P8.8 clippy/lint sweep deferred — ~150 clippy warnings remain with no tracking issue #803

Open

Description

@dezren39

Finding

P8.8 (clippy and other lint sweeps) is deferred "do nothing now", but the accumulating warnings have no tracking issue, so the cleanup can be forgotten.

Evidence

  • doc/2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md §12 Phase 8: "P8.8 Clippy and other lints: the owner's 9k-error lint output and the 1.99 lints. Review later. Do nothing now."
  • Phase 0 record doc/2026-10-11T19-04-32Z_phase_0_baseline/...md Open items: "just check runs clippy with -D warnings in the Nix check, and about 150 warnings remain after the 1.99 allows. This waits for P8.8, as the owner decided."
  • Phase 8 record doc/2026-10-13T23-44-27Z_phase_8_open_design_items/...md: "P8.8 clippy/lint sweeps (review later; do nothing now)."

Why it matters

just check runs clippy with -D warnings in CI; if the warning count grows (or a new toolchain turns warnings into denials), the CI signal degrades. The known ~150 warnings plus the two allowed 1.99 lint names are a deliberate debt that should be visible as an issue until the owner's lints review happens.

Suggested scope

Do the owner's lints review: fix the ~150 warnings, decide on the two allowed 1.99 lint names, and keep just check green. Not urgent; track only so it is not lost.

Acceptance criteria

  • Either the ~150 remaining clippy warnings are driven to zero (or to an explicitly allowed, documented set) so just check's clippy -D warnings leg is meaningful, or the owner's P8.8 lints review happens and records which warnings are permanently allowed and why.
  • The two allowed 1.99 lint names are re-justified or removed as part of the same pass.
  • This issue stays open as the tracking item until one of those outcomes is recorded; it is not closed by partial cleanups alone.

Activity

  1. developing-today commented on Oct 24, 2026

    @developing-today
    Contributor
  2. added
    kind/debtTechnical debt worth paying down deliberately
    priority/lowNice to have; do when convenient
    effort/mMedium: expected under 1 day of work
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 26, 2026
  3. dezren39 commented on Oct 26, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: Filed in the phases 0–10 review batch (PR #804). No merged PR resolves this (verified 2026-10-26).

    Notes: This is deliberately deferred owner debt (P8.8: "review later, do nothing now") — its value is existing as a visible tracking item so the ~150 warnings cannot be forgotten while just check runs clippy with -D warnings. Priority low is deliberate; do not let a sweep pick this up as routine work ahead of the owner's lints review. Acceptance criteria appended by this intake pass; original body preserved verbatim above them.

    Risks: A bulk warning cleanup without the owner's review could churn many files and mask real signals; staged, per-lint PRs are safer.

    Suggested approach: When P8.8 is scheduled, group warnings by lint, fix or allow each group in its own PR, and record the allowed set in the repo's lint config.

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Oct 28, 2026
  5. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  6. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

    Triage verdict: CONFIRMED as tracked, owner-deferred debt — stays open as the tracker

    Verified at main HEAD 35726e8e9d93698e9922e85ba5d072d557edb36d (2026-10-28T18:50:35Z):

    • The deferral is still the recorded owner decision: doc/2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md:206 — "P8.8 Clippy and other lints: the owner's 9k-error lint output and the 1.99 lints. Review later. Do nothing now." (repeated at line 260: "Lints review later (P8.8).")
    • The debt is live in the code: #[allow(clippy::…)] attributes are spread across 20+ files under pkgs/id/src/ (code search at HEAD: seitan, rejection, encryption, qr, friendship, dht, groups/log, membership, pull_policy, tuple, invite, access, frames, web/assets, tag_index, …), alongside pkgs/id/clippy.toml and the clippy leg in pkgs/id/check-all / the justfile.
    • Not re-measured: the exact current warning count (the ~150 figure is from the Phase 0 record) — recounting requires a full clippy run, which belongs to the sweep itself, not this triage. Nothing found suggests the warnings were driven to zero or a lints review was recorded anywhere.

    Route: no small_fix packet — the sweep is a large cleanup the owner explicitly deferred ("do nothing now"), and the issue's own acceptance criteria say it "stays open as the tracking item until one of those outcomes is recorded; it is not closed by partial cleanups alone." Triage is complete; #803 remains open as the tracker for the owner's P8.8 lints review, recorded in the code backlog so it is not lost. When Drew schedules the lints review, this issue is the work order: drive warnings to zero or record the permanently-allowed set, and re-justify or remove the two allowed 1.99 lint names.

  7. 12 remaining items

  8. added
    queue/queuedHas a queued task in the Supabase agent queue
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  9. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/low). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  10. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    task: 8092
    lane: 02cafe76-eafd-4d0b-aaa6-2b7a737d68dc
    transition: picked up

    Refreshing the prior P8.8 triage verdict against current main and issue/PR state. This is triage only; I will not begin the deferred lint cleanup in this task.

  11. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 4, 2026
  12. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    task: 8092
    lane: 02cafe76-eafd-4d0b-aaa6-2b7a737d68dc
    transition: triaged

    P8.8 triage refresh (2026-11-04 UTC)

    Verified against current origin/main 6a1a351acbd59652cacc0e5a7bce56974368b29: doc/2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md:206 still says “Review later. Do nothing now”; line 260 repeats “Lints review later (P8.8).” The current pkgs/id/Cargo.toml still enables the Clippy groups at warning level with critical lints denied. Prior triage 2241 and re-verification 7597 already confirmed the recorded ~150-warning debt and the owner's deferral.

    Duplicate/overlap check: #804 and #153 are merged; the only open PR found by clippy in:title, #3255, is a draft fixing CI/#2970 (including a bounded set of Rust 1.99 warnings), not the P8.8 sweep, and it is not linked to #803.

    Disposition: this remains deliberate owner-deferred debt; keep #803 OPEN as the tracker and do not enqueue a cleanup packet until the owner lifts the “do nothing now” decision. No code changed and no new decision is being escalated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/debtTechnical debt worth paying down deliberatelymeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions