lab infocheck: canonical pattern for non-service binaries in lib workspaces (hero_lib, hero_rpc)? #258
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#258
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?
Situation
Running
lab infocheckacross the 35 demo-set repos: 11 clean, 24 with findings (~300 total). Two of the foundational libraries fail for the same surprising reason — they contain helper/demo binaries that aren't real services.ai_archive,clients,web). These ship amain.rsbut are internal helpers, not services. Same situation as the cleanup we filed at hero_lib#139.generator,service,petstore_client,petstore_server,recipe_server). Codegen tooling + OpenRPC examples, not services.Each binary triggers the same 4 findings: missing
service.toml,service_base!(),validate_service_toml,handle_info_flag. Combined that's 39 of the ~300 findings — but it's one underlying problem, not 39.Question
What's the canonical pattern for helper / demo / codegen binaries that live in a lib workspace but aren't services?
Cargo.toml→ pure library crates. Cleanest, but loses ergonomiccargo run --bin <demo>usage.service_base!()withkind = "cmdline"+ trivialservice.toml. Satisfies the contract.[package.metadata.lab_builder] skip_info_check = true— solab infocheckandlab build's--infogate both skip non-service binaries.Related clarification
Should
lab build --repairbootstrap canonical-base wiring on wholesale-shape repos (0/Nservice_base!()coverage)? A pilot onhero_editorshowed--repairdoesn't engage on--info-gate failures, only on cargo compile errors. If by design, the path for those repos is manual orlab agent-driven sweep — just confirming.lab build+lab infocheckdriven workflow #105mik-tf referenced this issue from lhumina_code/hero_demo2026-05-18 00:10:28 +00:00