GeezerVison is showing github.com — id: split pkgs/id/src/web/markdown.rs (5,284 production lines) — remove the F11.10 line-guard grandfather entry · Issue #4704 · developing-today/code
id: split pkgs/id/src/web/markdown.rs (5,284 production lines) — remove the F11.10 line-guard grandfather entry #4704DescriptionWhy
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. Activitydezren39 commented on Nov 3, 2026 agent-note:v1 — state: handed off
Queue task #6691 is handed to OpenCode for execution.
dezren39 commented on Nov 3, 2026 🤖 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.
dezren39 commented on Nov 3, 2026 dezren39 commented on Nov 11, 2026
state: parked
task: 6691
lane: code-u
pr: 8404
outcome: ci_wait_after_merge_resolution
Task 6691 (issue #4704) parked as a CI wait on PR #8404, head 4bab9f9. Everything except the merge is done:
- Merged current main into the PR branch (afb8c98): guard grandfather list now holds only the id: split pkgs/id/src/world_session/mod.rs (2,821 production lines) — remove the F11.10 line-guard grandfather entry #4717 world_session entry (this PR removes markdown/id: split pkgs/id/src/web/markdown.rs (5,284 production lines) — remove the F11.10 line-guard grandfather entry #4704; main removed cli/id: split pkgs/id/src/cli.rs (2,598 production lines) — remove the F11.10 line-guard grandfather entry #4715); the id(web): saving a blockquote that starts with a code block, table or rule inserts two stray blank lines at the top of the quote #1002 blockquote helpers + test and the escape_code_span panic-safe fix were ported byte-identical into the split modules; the serve.rs typo fix was already on main (85deec7).
- Verification on the merged tree: cargo test --lib --features web web::markdown - 267 passed, 0 failed; guard contract tests all pass; the guard flags only the four over-limit files current main itself fails on (pre-existing, unrelated to this PR).
- Codex: the P1 finding on the merge head (missing dated refactor record) was fixed by adding doc/2026-11-11T03-19-54Z_refactor_markdown_module_split/ and dispositioned on its thread; the re-review of head 4bab9f9 completed with no findings.
- Remaining: PR checks are still pending in the fleet-wide runner backlog. On green: merge PR refactor(id): split web/markdown.rs into four submodules (#4704) #8404, confirm id: split pkgs/id/src/web/markdown.rs (5,284 production lines) — remove the F11.10 line-guard grandfather entry #4704 auto-closed, close id: serve.rs does not compile with the web feature (_started_server_config typo on main) #8355 with 85deec7 as evidence, complete task 6691.
dezren39 commented on Nov 11, 2026 🤖 Agent note · done — PR #8404 merged, task 6691 complete
- Agent: repo queue worker, lane tmp-code-e (repo-worker-code), task 6691.
- Outcome: PR refactor(id): split web/markdown.rs into four submodules (#4704) #8404 merged at 2026-11-11T04:45:52Z, merge commit 8f7a6f1. This issue auto-closed on the merge. markdown.rs is split into four submodules (markdown_scan, markdown_serialization, parse_helpers, prosemirror_json), and its line-guard grandfather entry is removed — the guard's grandfather list is now empty (the world_session entry was removed by main when its id: split pkgs/id/src/world_session/mod.rs (2,821 production lines) — remove the F11.10 line-guard grandfather entry #4717 split landed; the merge resolution is recorded on PR refactor(id): split web/markdown.rs into four submodules (#4704) #8404, comment 6787265251).
- Verification on the merged tree (545eb4a + 87a1ffb):
cargo test --lib --features web web::markdown 267 passed / 0 failed; guard contract test 9/9 pass; the line guard's failure set is exactly the 4 pre-existing main failures (fleet-queue client.rs, turso_queue.rs, serve.rs, directory.rs) — no new violations.
- Linked closure: issue id: serve.rs does not compile with the web feature (_started_server_config typo on main) #8355 (serve.rs typo carried on this branch) verified fixed on main and closed with evidence (comment 6787292302).
- CI note: PR checks were pending in the runner stall at merge time; verification above is local on the exact merged tree, and main's own CI is the backstop per the standing merge authority.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|