cleanup(service_office): slim nu module to canonical shape #141

Closed
opened 2026-04-27 10:36:20 +00:00 by zaelgohary · 0 comments
Member

Symptom

tools/modules/services/service_office.nu is 324 lines, ~3x the size of the canonical service_voice.nu (123 lines), without delivering proportional functionality. Most of the bloat is stale prose comments, a soft-dep preflight that isn't load-bearing, and forwarding of an env var (OO_SERVER_URL) that no service reads anymore.

Acceptance

  • Match the slim shape of service_voice.nu: imports + constants + two action builders + four exported commands.
  • Drop OO_SERVER_URL from the forwarded env list (no service reads it after lhumina_code/hero_office#19).
  • Drop the svx_check_foundry soft-dep preflight.
  • Keep the conditional env upserts (preserves "unset means default" semantics).
  • service_office install / start / stop / status continue to work; office_editor_real playwright stays green.
## Symptom `tools/modules/services/service_office.nu` is 324 lines, ~3x the size of the canonical `service_voice.nu` (123 lines), without delivering proportional functionality. Most of the bloat is stale prose comments, a soft-dep preflight that isn't load-bearing, and forwarding of an env var (`OO_SERVER_URL`) that no service reads anymore. ## Acceptance - Match the slim shape of `service_voice.nu`: imports + constants + two action builders + four exported commands. - Drop `OO_SERVER_URL` from the forwarded env list (no service reads it after lhumina_code/hero_office#19). - Drop the `svx_check_foundry` soft-dep preflight. - Keep the conditional env upserts (preserves "unset means default" semantics). - `service_office install / start / stop / status` continue to work; `office_editor_real` playwright stays green.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_skills#141
No description provided.