fix: Change default port from 9998 to 9988 per hero_sockets spec #23
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_router#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
hero_router currently defaults to port 9998 (in main.rs and buildenv.sh), but the hero_sockets skill spec defines the default hero_router port as 9988.
Fix
crates/hero_router/src/main.rsline 52:default_value_t = 9998→default_value_t = 9988buildenv.sh:PORTS="9998"→PORTS="9988"Related
Implementation Spec for Issue #23
Objective
Update the default listening port for
hero_routerfrom 9998 to 9988 to align with thehero_socketsspecification. All source code, build configuration, and documentation must be updated consistently.Requirements
9998with9988in all CLI argument definitions and runtime fallback logic99889998remain anywhere in the repositoryFiles to Modify
crates/hero_router/src/main.rscrates/hero_router/src/config.rsbuildenv.shMakefileREADME.mddocs/configuration.mddocs/architecture.mddocs/setup.mddocs/api.mdImplementation Plan
grep -r 9998 .— must return zero matchescargo buildto confirm clean compilationAcceptance Criteria
grep -rn 9998returns zero matches across the entire repositorycargo buildsucceeds without errorshero_router --helpshows 9988 as the default port valueTest Results
cargo buildsucceeded9998remaining in repositoryImplementation Summary
Changes Made
All occurrences of port
9998replaced with9988:crates/hero_router/src/main.rsdefault_value_t(line 52)crates/hero_router/src/config.rs.unwrap_or()fallback (line 41)buildenv.shPORTS="9998"toPORTS="9988"MakefileHTTP_PORTfallback from 9998 to 9988README.mddocs/configuration.mddocs/architecture.mddocs/setup.mddocs/api.mdcrates/hero_router/Cargo.tomlrust-version.workspace = true(pre-existing build fix)Notes
rust-version.workspace = trueremoval in Cargo.toml was necessary to fix a pre-existing build failure unrelated to the port change.