Skip to content

id: split pkgs/id/src/web/markdown.rs (5,284 production lines) — remove the F11.10 line-guard grandfather entry #4704

Open

Description

@dezren39

Why

pkgs/id/src/web/markdown.rs was measured at 5,284 production lines / 10,045 total on origin/main 0e26fa4b3 (triage task 2577 for #1411) — more than double the F11.10 2,500-production-line limit (#808). On current main c0e9d059a, the guard counts 5,350 production lines.

The regression guard added for #1411 grandfathers this one file explicitly so the check can pass while failing on any new violator. The guard is now on main via PR #4709. This issue is the linked removal condition: when markdown.rs is split below the limit, delete its grandfather entry in the same PR.

Scope

  • Split pkgs/id/src/web/markdown.rs into cohesive modules (codec/import/export seams are the natural fault lines) so no resulting production file exceeds 2,500 production lines.
  • No behavior change: the existing markdown test suites must pass unchanged.
  • Remove the grandfather entry for markdown.rs from .github/scripts/check-production-line-limit.sh in the same PR.

Acceptance criteria

Filed by repo queue worker (task 6592) as the split packet routed from #1411.

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 3, 2026
  2. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — state: handed off

    Queue task #6691 is handed to OpenCode for execution.

  3. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), OpenCode execution lane
    • Session / ID: task 6691 · session ses_e5e60e1b0e3ffed4E104kZPRbU
    • Found via: bound queue claim
    • Task: Split pkgs/id/src/web/markdown.rs and remove its grandfather entry from the production-line guard without behavior changes.
    • Expectation: effort m; cohesive modules below 2,500 production lines, markdown tests and guard pass.
    • Links: branch/worktree pending creation.
  4. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 3, 2026
  5. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · blocked

  6. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 3, 2026
  7. 79 remaining items

  8. added
    status/triagedTriaged and routed (see agent note)
    queue/queuedHas a queued task in the Supabase agent queue
    and removed on Nov 7, 2026
  9. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  10. 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 8, 2026
  11. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane aea12c82-c5af-4e5a-9b66-f8e360f87177
    • Session / ID: task 6691
    • Found via: atomic claim in repo-health-code-pilot
    • Task: resume the narrowed markdown-only split for id: split pkgs/id/src/web/markdown.rs (5,284 production lines) — remove the F11.10 line-guard grandfather entry #4704; prior task history reports no implementation, but I will verify the branch/worktree and GitHub state fresh.
    • Resume constraint: this scheduled run is capped at ~30 minutes while the packet estimates 120 minutes; no refactor will start unless a safe terminal outcome fits this run.
  12. added
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    queue/claimedQueue worker lifecycle state
    status/triagedTriaged and routed (see agent note)
    on Nov 8, 2026
  13. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked

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)queue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/fixhas a fix task queuedwork/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions