feat(office): unified RPC data plane + selfstart CLI + arch doc #10
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_office!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_feat_office_unified_data_plane"
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
Three coordinated changes to make the office stack a single API surface and a self-managed service:
upload_documentanddelete_documentJSON-RPC methods onhero_office_serverso the browser stops talking tohero_foundrydirectly.crates/hero_office/selfstart CLI with--start/--stop, replacing the hand-transcribed action spec inhero_skills/tools/modules/services/service_office.nu.doc/architecture.mdcovering the component map, data flow, doc_key derivation, on-disk cache, required headers, and standard failure modes.Related Issues
hero_office_uiandhero_office_serveralready register withhero_proc; thehero_office_bridgemention in the issue is stale (only a reflog entry on an abandoned branch). The selfstart CLI consolidates registration in Rust.Changes
crates/hero_office/Cargo.toml— newcrates/hero_office/src/main.rs— new selfstart CLI (mirrors hero_voice exemplar)crates/hero_office_server/src/lib.rs— two new RPC handlers + dispatch armscrates/hero_office_server/src/socket_dav.rs—delete_fileover UDS (404 → idempotent success)crates/hero_office_server/openrpc.json— two new method specsCargo.toml— workspace gainscrates/hero_officebuildenv.sh—BINARIESgainshero_officedoc/architecture.md— newTest Results
cargo check --workspace✅cargo test -p hero_office_server -p hero_office✅cargo clippy -p hero_office_server -p hero_office -- -D warnings✅cargo fmt --checkon touched files ✅Manual verification
hero_office --starton herodev produces the same action specs the nu module produced (verified viahero_proc action list).upload_document/delete_documentround-trip end-to-end via curl over the UDS.tests/e2e/office_editor_real.spec.ts— 4/4 doc types pass).Known follow-ups
-32008is reused bysave_documentandupload_document(both hero_foundry write failures). Defensible but distinct codes would be cleaner.feat(office): unified RPC data plane + selfstart CLI + arch docto WIP: feat(office): unified RPC data plane + selfstart CLI + arch docWIP: feat(office): unified RPC data plane + selfstart CLI + arch docto feat(office): unified RPC data plane + selfstart CLI + arch doc