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
Template: doc/2026-11-01T16-53-00Z_design_id_crate_split/2026-11-01T16-53-00Z_design_id_crate_split.md (design of record for the pkgs/id split, from #3195). Worked example: pkgs/id umbrella #3447, step issues #4403-#4411. Program: fleet-wide crate-splitting program (Drew's order, 2026-11-11); this issue set comes from the Part 2 inventory, 2026-11-12.
Scope
Move src/error_template.rs (AppError enum + ErrorTemplate component, 76 LOC) into member crate start-axum-error. Scan evidence: it is referenced only by app (use crate::error_template::{AppError, ErrorTemplate}) and references nothing local — a true leaf. The facade re-exports it as start_axum::error_template during the migration; the implementation must exist only in the new crate after this step.
Acceptance
Acceptance discipline (from the id template; applies to every step):
One PR per step; no step bundles another step's extraction.
Full test suite green on that PR. Baseline is recorded in step 0 (this project currently has 0 tests, so the gate is: cargo test passes, the workspace builds clean, and any tests added by a step pass).
Behavior-preserving: no functional changes, no dependency version bumps, no renames beyond the crate-path moves in scope.
Facade re-exports where consumers exist: the facade crate keeps the pre-split public paths working for the whole migration, and a step is complete only when the moved code exists solely in its new crate (the old location holds at most the re-export). The 2026-11-12 inventory found no external/Nix consumers of this project (grep of *.nix outside the project dir: no hits); the known consumer is the project's own binary/lib entry points.
Never leave main red: a step that cannot go green stops and reports here instead of merging partial state.
Scan evidence stands: per umbrella pkgs/web-gen-api-axum crate split #8965's import scan, error_template (76 LOC: AppError + ErrorTemplate) is a true leaf — referenced only by app, referencing nothing local. The project's gate per step 0: 0 tests baseline, so cargo test passes + workspace builds clean + any added tests pass.
First concrete step: create the start-axum-error member crate with the moved file, re-export as start_axum::error_template from the facade, and confirm the implementation exists only in the new crate. One PR, this step only (pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 is separate); never leave main red — stop and report here instead of merging partial state.
[agent-note:v1]
Agent: repo-worker-code
Lane: code-g
Task: 20248
State: picked_up
Verdict: Resuming prior blocked claim for fresh validation; will continue only if prerequisite #12275 removes the documented baseline build blocker.
Next: check GitHub state for #8967/#8966/#12275, related PR/branch and prerequisite queue task.
[/agent-note:v1]
Extracted AppError and ErrorTemplate into pkgs/start-axum-error; the old module is a compatibility re-export.
Enabled the package’s optional tracing dependency for hydrate, required by Leptos component macro expansion in the extracted crate and existing parent components. No dependency versions changed.
Verification: SSR cargo test passes (0 tests); SSR check passed; hydrate check passes; git diff --check clean. cargo fmt --check reports unrelated pre-existing ordering differences in dark_mode.rs and main.rs, left untouched.
Activity
developing-today commentedon Nov 12, 2026
CODE-2727
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — task 18786 (lane code-e)
pkgs/web-gen-api-axum/src/error_template.rsis still in place and nostart-axum-errorcrate exists — step 1 is unexecuted and unblocked.AppError+ErrorTemplate) is a true leaf — referenced only byapp, referencing nothing local. The project's gate per step 0: 0 tests baseline, socargo testpasses + workspace builds clean + any added tests pass.start-axum-errormember crate with the moved file, re-export asstart_axum::error_templatefrom the facade, and confirm the implementation exists only in the new crate. One PR, this step only (pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 is separate); never leave main red — stop and report here instead of merging partial state.dezren39 commentedon Nov 17, 2026
agent-note:v1 — picked up by repo-worker-code (lane code-g, task 20248). Executing step 1: extract start-axum-error from pkgs/web-gen-api-axum/src/error_template.rs.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · picked up and blocked — task 20248 (lane code-g, repo-worker-code)
escalated-to-user. Ledger itemweb-gen-api-axum-8965-revivalowns the decision: A/B unblocks step 1 after the step-0 baseline is re-run; C closes pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967–pkgs/web-gen-api-axum crate split — step 3: facade slimming (fileserv + server stay in start-axum) #8969.4 remaining items
dezren39 commentedon Nov 22, 2026
[agent-note:v1]
Agent: repo-worker-code
Lane: code-g
Task: 20248
State: picked_up
Verdict: Resuming prior blocked claim for fresh validation; will continue only if prerequisite #12275 removes the documented baseline build blocker.
Next: check GitHub state for #8967/#8966/#12275, related PR/branch and prerequisite queue task.
[/agent-note:v1]
dezren39 commentedon Nov 22, 2026
🤖 Agent note · PR opened — task 20248 (lane code-g, repo-worker-code)
AppErrorandErrorTemplateintopkgs/start-axum-error; the old module is a compatibility re-export.tracingdependency for hydrate, required by Leptos component macro expansion in the extracted crate and existing parent components. No dependency versions changed.cargo testpasses (0 tests); SSR check passed; hydrate check passes;git diff --checkclean.cargo fmt --checkreports unrelated pre-existing ordering differences indark_mode.rsandmain.rs, left untouched.5c65bf7706d68c592ab046a1cdb4fa53aec3ca38.pr_opened.