import from local vendored copy (2026-05-06)
Some checks failed
CI / validate (push) Failing after 0s

This commit is contained in:
Hongming Wang 2026-05-06 13:53:41 -07:00
commit 7d9c1235da
4 changed files with 95 additions and 0 deletions

5
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,5 @@
name: CI
on: [push, pull_request]
jobs:
validate:
uses: Molecule-AI/molecule-ci/.github/workflows/validate-org-template.yml@main

21
.gitignore vendored Normal file
View File

@ -0,0 +1,21 @@
# Credentials — never commit. Use .env.example as the template.
.env
.env.local
.env.*.local
.env.*
!.env.example
!.env.sample
# Private keys + certs
*.pem
*.key
*.crt
*.p12
*.pfx
# Secret directories
.secrets/
# Workspace auth tokens
.auth-token
.auth_token

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# template-medo-smoke
Molecule AI org template — deploys a full organizational hierarchy of agent workspaces.
## Usage
### In Molecule AI canvas
Select this template from the "Org Templates" section when setting up a new organization.
### From a URL (community install)
```
github://Molecule-AI/template-medo-smoke
```
## Structure
- `org.yaml` — full org definition (workspaces, roles, plugins, schedules, channels)
- Per-role directories contain `system-prompt.md` files for each workspace role.
## Schema version
`template_schema_version: 1` — compatible with Molecule AI platform v1.x.
## License
Business Source License 1.1 — © Molecule AI.

46
org.yaml Normal file
View File

@ -0,0 +1,46 @@
# MeDo Smoke Test Org — single OpenClaw workspace for Miaoda App Builder skill testing.
# Use this to validate the MeDo integration before wiring it into molecule-dev.
#
# Prerequisites (operator must do these before importing):
# 1. bash workspace-template/build-all.sh openclaw
# (or full rebuild: bash workspace-template/build-all.sh)
# 2. Verify: docker images | grep workspace-template:openclaw
#
# Import via platform API (inline — no file on platform FS needed):
# POST http://platform:8080/org/import
# Body: see docs/adapters/medo-integration.md §2.3 for full inline payload
#
# Required secrets (at least one LLM key + the Miaoda key):
# MIAODA_API_KEY — from MeDo website → Settings → API Keys
# AISTUDIO_API_KEY — Google AI Studio (OpenAI-compat, works with gemini-2.0-flash)
# OR OPENROUTER_API_KEY / OPENAI_API_KEY / GROQ_API_KEY / QIANFAN_API_KEY
name: MeDo Smoke Test
description: Single openclaw workspace for validating Miaoda App Builder skill end-to-end
defaults:
runtime: openclaw
tier: 2
required_env:
- MIAODA_API_KEY
# Model: use AISTUDIO_API_KEY + gemini-2.0-flash (available hackathon key).
# OpenClaw will use AISTUDIO_API_KEY → https://generativelanguage.googleapis.com/v1beta/openai
# once the adapter fix (Issue A in smoke-test-log.md §8) is applied.
model: "gemini-2.0-flash"
config:
provider_url: "https://generativelanguage.googleapis.com/v1beta/openai"
workspaces:
- name: MeDo Builder
role: Builds and publishes MeDo applications via the Miaoda App Builder OpenClaw skill
canvas: { x: 400, y: 300 }
initial_prompt: |
You are a MeDo App Builder. On first boot:
1. Install the Miaoda App Builder skill by sending yourself:
"Install the Miaoda App Builder skill from ClawHub: seiriosPlus/miaoda-app-builder"
Wait for confirmation before proceeding.
2. Report ready to parent.
When you receive a build task, relay it to the Miaoda skill verbatim.
App generation takes 5-8 minutes — wait and return the published URL.
template_schema_version: 1