Merge development_mik_6_1 into development #55

Merged
mik-tf merged 24 commits from development_mik_6_1 into development 2026-03-18 06:29:36 +00:00
Owner
No description provided.
The hero_redis_ui binary uses the hero_rpc lifecycle CLI pattern
which requires the 'serve' subcommand to start the server process.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hero_biz: HERO0_BASE_URL must include /api suffix for the SDK's
{base_url}/{context}/{domain}/rpc endpoint pattern to match
the hero_osis_ui /api/:context/*rest route.

build-local.sh: Install wasm-pack in container for standalone
WASM island builds (songs, files, etc.).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Files WebDAV COPY round-trip test (catches 502 bug)
- Foundry title and admin page verification
- Redis SET/GET/DEL round-trip with session auth
- Songs metadata count check
Total: 59 pass, 0 fail, 1 skip

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The core feature only includes 5 islands (archipelagos, settings, auth,
aibroker, contexts). This means ~35 islands were missing from the
registry and dock. Changed to --features web so all islands are compiled
natively into the shell WASM.

Also fix hero_biz OSIS URL (remove trailing /api).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Rename service config: hero_forge_ui.toml → hero_foundry_ui.toml
- Update hero_foundry.toml: UI binary now hero_foundry_admin
- Update build scripts, Dockerfile, entrypoint for new names
- Fix build-wasm.sh: use --features web (was core)
- Update smoke tests for foundry rename

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Consolidate to single :dev tag for herodev2. The app.env on
the deploy host is updated separately.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Videos/ directory creation and file copying alongside Photos/Songs
in the entrypoint media seeding loop.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Comprehensive docs/ecosystem.md covering all 12 services
- Mermaid diagrams: architecture overview, AI stack, request flow
- Sections on OSIS/OTOML, Foundry, naming conventions, deployment model, islands

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace TOML config file generation with direct zinit SDK RPC calls
(service_set + action_set). Services now get retry policies (20 attempts,
5s delay, exponential backoff, 60s stability) and socat JSON-RPC health
probes on Unix sockets. Watchdog loop removed from entrypoint.sh.

Key changes:
- install.rs: register_service_sdk, register_install_sdk, register_health_sdk
- profile.rs: execute_profile/activate_profile uses SDK registration
- zinit.rs: stop_and_clean uses service_delete, HERO_DOCKER skip
- entrypoint.sh: no watchdog, no manual zinit start loop
- New deployment env: deploy/single-vm/envs/hero/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Songs: 3 per context (acid_trumpet, gymnopedie_no1, there_it_is), orphan TOMLs removed
- Embedder: ensure_models_downloaded() in lib, called from hero_osis_server init
- AI Assistant: SSE parser for Shrimp responses, message field fix
- Auth/Redis SSO: postMessage token from island components + sso-login endpoint
- AI stop button with AbortController
- Multi-conversation support (Shrimp backend + UI sidebar + localStorage persistence)

Issue: lhumina_code/home#23

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add hero_archipelagos to service repo list (was missing)
- Fall back to development branch when requested branch doesn't exist on a repo

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- bootstrap.sh: add hero_compute, remove hero_cloud
- build-local.sh: hero_compute replaces hero_cloud, fix hero_osis
  cargo args (remove -p hero_osis_seed — it's a [[bin]] in hero_osis_server)
- Add hero_compute.toml service config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- hero_services: add socat bridge TCP:3377→hero_osis_ui.sock for hero_biz,
  delete hero_cloud.toml (replaced by hero_compute)
- hero_archipelagos: compute island → hero_compute_ui, sidebar rename
  fix (onkeydown+onblur), delete confirmation dialog, sidebar styling
- hero_auth: SSO in base.html (covers setup+login+all pages)
- hero_shrimp: wrap persistMessage in try-catch to prevent crash

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- preflight.sh: pre-build validation (path deps, patches, cargo check,
  revspecs, branch consistency, tool versions)
- build-local.sh: persist WASM target dir as Docker volume for
  incremental builds
- Makefile: add preflight target

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Check exact same packages (-p flags) as make dist
- Same Docker environment (volume mounts, build image)
- Runs all repos, collects all errors (no fail-fast)
- 18/18 repos pass cargo check

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- overview.md: what Hero OS is, service table, local vs cloud
- quickstart.md: launch, first steps, AI assistant intro
- configuration.md: two-layer config model, full env var reference
- services.md: all services described with capabilities
- local-first.md: what works without API keys, privacy model
- architecture.md: repo layout, build pipeline, island system

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hero_books will auto-pull from forge.ourworld.tf/lhumina_code/docs_hero
on startup, making the Hero OS Guide available for browsing and AI Q&A.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
HeroRpcServer migration requires 'serve' CLI subcommand.
Without it, binaries exit with code 2 (no subcommand).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Set git user.email and user.name in entrypoint (defaults: Hero OS / hero@localhost)
- Support GIT_EMAIL and GIT_NAME env vars for custom identity
- Pass GIT_EMAIL and GIT_NAME from deploy env to container in update.sh

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds device.new RPC call in entrypoint.sh after services start,
eliminating the manual seed step. Also syncs updated Redis templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: sync Redis login.html — form-based SSO (no cookie race)
Some checks failed
Build and Test / build (pull_request) Failing after 10s
056abcc894
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
mik-tf merged commit 58602d6d72 into development 2026-03-18 06:29:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
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_services!55
No description provided.