fix(service_biz.nu): drop BASE_PATH env per hero_web_prefix skill (home#230 phase 2.1) #241
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!241
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_basepath_purge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Companion to hero_biz #49. Per
hero_web_prefixskill (line 38), there is noBASE_PATHenv var —X-Forwarded-Prefixheader from hero_router is the sole source of truth, default""on direct access.Removes
BASE_PATHfromsvx_ui_action's env block inservice_biz.nu. Updates the file-level comment to record why it was removed.Supersedes
c0186425 renamed the value
/hero_biz/ui→/hero_biz/admininstead of deleting the env var. This PR deletes it.Test plan
nu -c "use nutools/modules/services/service_biz.nu *"parses.service_biz start --download --version v0.5.0-rc1 --reset— process starts cleanly,/hero_biz/admin/renders with prefix-aware links.Refs
Signed-off-by: mik-tf
The `hero_web_prefix` skill (line 38) is explicit: "There is no BASE_PATH environment variable. The proxy is the only source of truth for the prefix." The X-Forwarded-Prefix header injected by hero_router on every routed request is the sole input; direct access (no header) yields an empty prefix. Removes BASE_PATH from svx_ui_action's env block. Companion change: hero_biz crate drops std::env::var("BASE_PATH") read in hero_biz_admin/src/web/server.rs and the AppState.base_path field. hero_router and hero_demo follow with their own one-line drops. Supersedesc0186425(which renamed the value /hero_biz/ui → /hero_biz/admin instead of deleting it). Refs: - lhumina_code/home#230 — alignment audit - lhumina_code/home#225 — META rule umbrella - ~/.claude/skills/hero_web_prefix/SKILL.md line 38 Signed-off-by: mik-tf