Skip to content

refactor: execute TinyJuice through its released bus module - #7362

Draft
senamakel wants to merge 54 commits into
tinyhumansai:mainfrom
senamakel:module-tinyjuice-host
Draft

senamakel wants to merge 54 commits into
tinyhumansai:mainfrom
senamakel:module-tinyjuice-host

Conversation

@senamakel

@senamakel senamakel commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

OpenHuman previously linked TinyJuice to extract HTML and query compressed tool output. These operations now execute through the pinned TinyJuice v0.7.0 module, using its cached originals or explicitly supplied authorized artifact content. The host no longer links tinyjuice or creates a host-side CCR store.

The host retains workspace and credential-path authorization, tool execution policy, callback lifetime and progress projection. A turn-bound model callback registry stays in OpenHuman using the existing callback DTOs. Async HTML extraction uses the upstream TinyTools seam; failed bus calls return unavailable or structured module errors with sanitized terminal reporting. The CompactWith call has a configured deadline that covers its existing model callback timeout.

The eleven released archives are pinned to verified published checksums and GitHub asset digests; the source gitlink is b89632a8f7b96580a9f6718d185eb60b14a41a8a. TinyJuice #59 and TinyTools #60 have merged. TinyRuntime is excluded from this migration at the user's request; this branch changes its inventory scope only.

Dependencies: #7292, #7342 and #7356. This integration remains a draft until those host prerequisites land.

Validation:

  • Released native artifact through OpenHuman's pinned loader: all 66 Juice tests passed, including cached-handle queries, supplied-content queries, HTML extraction and frozen-tool resume. Recorded schemas and executors survive current REPL flags being off; frozen subsets and empty snapshots gain no fresh declarations, and disabled module loading fails explicitly.
  • Repository-pinned compiler library check passed. The no-loader Juice suite also passed all 66 tests; the existing session-surface suite passed 14 tests after the split.
  • Independent default/all-feature contract and normal/build host metadata audit: zero violations, zero stale exceptions, 30 temporary exceptions and two pending contracts.
  • Boundary checker: 22 tests passed; crate-chain, feature-forwarding and Rust layout checks passed.
  • pnpm docs:check passed after refreshing the generated default capability documentation; pnpm docs:test passed 19/19, including local link checks. The capability report confirms the default storage-sqlite feature.
  • Flows profile: 328 packages, 306 names, two native builds (seven fewer packages/names than the connector profile). No build-time or binary-size improvement is claimed.

The docs follow-up clarifies that compression, CCR queries and HTML extraction run in TinyJuice; declarations and DTOs come from tinyjuice-bus; summary model calls remain turn-bound host callbacks; the host has no CCR store or query fallback; and resumed threads retain their recorded Juice tools and schemas.

The focused network adapter tests also passed (4 tests). The turn-boundary tool-surface refresh and Juice resume tests were split into focused sibling modules, and the legacy runtime-session file-size pin was reduced from 1293 to 1184 lines.

senamakel and others added 30 commits October 10, 2026 14:55
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
senamakel and others added 22 commits October 10, 2026 21:57
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…sages

Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…ased module

Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
… audit

Co-authored-by: Medulla <medulla@tinyhumans.ai>
…eased bus module

Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…tion

Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…cy cut

Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

senamakel and others added 2 commits October 11, 2026 03:32
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant