Skip to content

feat: implement golden round-trip (Rust <-> Mojo) and hybrid tool-calling structure#3

Merged
MrBT-nano merged 12 commits into
mainfrom
feat/phase-1-contract-and-tool-calling
May 6, 2026
Merged

feat: implement golden round-trip (Rust <-> Mojo) and hybrid tool-calling structure#3
MrBT-nano merged 12 commits into
mainfrom
feat/phase-1-contract-and-tool-calling

Conversation

@MrBT-nano
Copy link
Copy Markdown
Contributor

@MrBT-nano MrBT-nano commented Apr 30, 2026

📝 Description

This PR establishes the foundational typed boundaries for the vtuber-* ecosystem in Phase 1.

Key Changes:

  1. Golden Round-trip Verification: Implemented a cross-language testing suite (Rust <-> Mojo/Python) to ensure contract integrity. Verified Thai Unicode support and core metadata preservation.
  2. Hybrid Tool-Calling Structure: Defined tool_call.proto supporting a hybrid execution model:
    • Centralized (Brain): For reasoning-heavy tools (e.g., WebSearch).
    • Decentralized (Performer): For performance-critical tools (e.g., Animation, Sound Effects).
  3. Mojo Facade: Updated the Mojo binding layer via Python interop (ADR-004) to support complex fields and enums.

🔗 Related Issues

Fixes # (Initial infrastructure setup)

🛠️ Type of Change

  • 🚀 New feature
  • 📄 Documentation update
  • 🧪 Testing
  • ⚙️ CI/CD (Fixed formatting and .gitignore)

✅ Checklist

  • Tests passed locally (Rust examples and Mojo round-trip)
  • Documentation updated (STRUCTURE.tree, locales)
  • Code follows project style guidelines (ADR-001 to ADR-004)
  • cargo fmt and buf lint pass
  • mojo format and pixi run check pass

🏷️ Metadata

  • Assignee: @MrBT-nano
  • Labels: feat, contracts, multilingual

@MrBT-nano MrBT-nano self-assigned this Apr 30, 2026
@MrBT-nano MrBT-nano force-pushed the feat/phase-1-contract-and-tool-calling branch from 0ab7710 to f78fdf5 Compare April 30, 2026 15:33
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@MrBT-nano MrBT-nano force-pushed the feat/phase-1-contract-and-tool-calling branch from cb2ae78 to c500da8 Compare May 1, 2026 17:06
@MrBT-nano MrBT-nano force-pushed the feat/phase-1-contract-and-tool-calling branch from c500da8 to 2345c81 Compare May 6, 2026 09:52
@MrBT-nano MrBT-nano merged commit 0e836b7 into main May 6, 2026
14 checks passed
@MrBT-nano MrBT-nano deleted the feat/phase-1-contract-and-tool-calling branch May 6, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants