chore(hero_proc): D-10 sweep — canonical service.toml + cargo update + dep audit #103
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_proc!103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik"
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?
Closes part of hero_proc#102 (T1 #2 deps-first; s97 in the workspace multi-session sweep).
D-10 acceptance — 5/5 met
lab infocheckexits 04 crate(s) clean, 0 finding(s) totalmain.rswiring (service_base!()+validate_service_toml+handle_info_flag+print_startup_banner+prepare_sockets)cargo updatecleanherolib_core37125e55 → 9b5912bf (s96 #140 cascade),hero_rpc3ab8cfa7 → f17dcd71Cargo.tomldeps audited, AI-cruft strippedlab service <bin> --install --startexits 0, sockets bind, smoke passeshero_proc_serverrpc.sock binds +system.pingreturnsversion 0.6.0;hero_proc_adminsmoke tests 2/2 passed (GET /health + /.well-known/heroservice.json)What
service.toml — canonical 3-binary pattern
Rewrote
crates/hero_proc_server/service.toml,crates/hero_proc_admin/service.toml, andcrates/hero_proc/service.tomlto the canonical pattern: each file lists all 3 binaries (hero_proccli +hero_proc_serverserver +hero_proc_adminadmin) with their sockets/env. Only[service].crate+[service].displaydiffer per crate. Reference impl:hero_db @ a08a1c4. The previous self-only listings brokelab servicemulti-binary discovery (the class of bug filed as hero_skills#254).cargo update
Conservative dep audit (9 deps stripped)
Only deps with 0
use <dep>::|<dep>::matches undersrc/were stripped; conservative defaults preserved when in doubt:hero_proc_servertokio_tungstenite,cron_tabhero_proc_adminthiserror,dirs,tower_httphero_proc(CLI)serde,thiserror,anyhow,libcKept:
hero_rpc_openrpcin admin (transitively required byhero_rpc_derive::openrpc_proxy!()macro expansion — conservative).Cascade fixes (test/example code; surfaced by cargo update)
crates/hero_proc_server/src/db/service/model.rs:603+crates/hero_proc_server/src/supervisor/mod.rs:1163— addtags: Noneto 2#[cfg(test)]ServiceSpecinitializers. Pre-existing test breakage from66abdf1(feat(wipe): protect system services) — that commit added thetagsfield but missed these 2 test sites. Surfaced bycargo check --workspace --all-targets.crates/hero_proc_examples/examples/02_service.rs+03_run.rs— update to newLogLineSDK shape ({line: String, src: String, stream: String, timestamp_ms: i64}; bareString,linenotcontent). The shape change was published by the s96 PR #140 cascade.Integration test suite — net positive
cargo run -p hero_proc_test: 9 previously-failing tests now pass (boss's upstream test-infra commits —8028f71,66abdf1,15f65bd,17241ac,dc3301c— picked up viacargo update). 4 snapshots modified with updated error msg. Net suite: 29 → ~20 failures, no new failures introduced. The remaining failures are pre-existing and boss is actively iterating.Out of scope (flagged, not fixed)
Cargo.toml:20repository = "https://forge.ourworld.tf/geomind_code/hero_proc"typo (should belhumina_code/). Pre-existing, not part of D-10 acceptance.hero_proc_testintegration failures — boss actively working on these (recent commits toucherrors/snapshots + log/schedule/cleanup subsystems).hero_skills#254/#255/#256lab-service workarounds still apply; this PR uses the per-binary invocation path.Files changed
service.toml(canonical rewrite)Cargo.toml(dep audit)Cargo.lock(cargo update)src/**/*.rs(ServiceSpectest inits)examples/**.rs(LogLine cascade)errors/*.md(9 deletes + 4 modified — test snapshot refresh)Signed-off-by: mik-tf
mik-tf referenced this pull request from lhumina_code/hero_demo2026-05-16 03:16:07 +00:00