Skip to content

Fix org browser chrome, openXYOS hero, sidecar start/restart, and mutual asset channel - #51

Merged
XYAIStudio merged 2 commits into
mainfrom
cursor/org-openxyos-reliability-3301
Sep 18, 2026
Merged

XYAIStudio merged 2 commits into
mainfrom
cursor/org-openxyos-reliability-3301

Conversation

@XYAIStudio

@XYAIStudio XYAIStudio commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Builds on main (#50 in-app org browser). Same PR for chrome + reliability + FreeOS ↔ openXYOS mutual growth. Do not merge.

Prior items (still in this PR)

  1. Org mini-browser: back / forward / reload next to the address bar and tabs.
  2. openXYOS hero XYAI cartoon uses a bundled asset (brandAssets.ts) plus /assets/xyai-mascot.webp fallback.
  3. FreeOS start also starts openXYOS FE+BE (desktop startOrgSidecar + host ensure_sidecar).
  4. 「重启 openXYOS 前后端服务」 left of 「最近同步」: XYAI sprite overlay, real stop+start, then home after livez.

Mutual growth (this commit)

FreeOS → openXYOS

  • Pack/apply ingest payload now forces list-visible rows: employees status=active + employment_category=internal (unless reserve); talent available.
  • Ingest still writes the signed-in / demo UI tenant (not silent tenant 1 drafts).
  • After Push / growth loop, the manage drawer closes, overview refreshes, and the embed opens /employees so the user sees the landing list.

openXYOS → FreeOS

  • Import no longer skips employees without a skills string (role/agent_type fallback).
  • Sidecar export skills/plugins/MCP land as org-skills/*/SKILL.md, org-plugins/*.json, org-mcps/*.json (installable on the next pack/spawn).
  • Spawned colleagues are owned by the acting FreeOS user (and list_shared includes user_id IS NULL leftovers) so they appear on Experts / chat picker.
  • After Import, the UI navigates to /experts.

E2E proof (automated)

Direction Test What it proves
FreeOS → openXYOS tests/unit/test_openxyos_apply.py::test_apply_sends_ui_tenant_not_configured_tenant Ingest tenant_id is the UI tenant (2), employees created, preview /employees, active/internal + talent available.
FreeOS → openXYOS modules/openxyos/scripts/test-freeos-ingest.ts List APIs (/api/employees?category=internal, /api/talent, skills, plugins) see the rows on tenant 2.
Both test_import_sidecar_assets_are_selectable_on_freeos Export employees (including no-skills), skills, plugins, MCP → FreeOS files + spawned agents; pack/apply back with visible statuses.
openXYOS → FreeOS UI OrganizationPage vitest Import closes org management and opens /experts. Push navigates embed to http://127.0.0.1:3780/employees.
Shared experts test_list_shared_includes_null_owner_org_colleagues NULL-owner shared org colleagues are listed; owner can be assigned.

Local: uv run pytest on apply/loop/org_module/notes/i18n/agent_is_shared (108 + extra) green; Organization vitest 30 passed; npx tsc --noEmit green; ruff + mypy on src/octop green during precommit format/typecheck.

Live desktop click-through of login + hero was not run in this environment (no bundled sidecar / GTK webview). CI on this branch is the remaining gate.

Constraints kept

CORS self-origin, layout heal, download-source top-bar, trap new windows into tabs. i18n zh/en. PR vs main, not merged.

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 17, 2026 23:36
Add back/forward/reload to the in-app org browser, bundle the XYAI
hero mascot so the quick-start cartoon loads, start openXYOS FE+BE
with FreeOS, and restart the sidecar from the last-sync bar.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Import now writes skills/plugins/MCP, registers colleagues without a skills field, and owns chat experts so they appear on Experts. Push remaps employee/talent rows to list-visible statuses, then the org UI navigates to the receiving surface.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
@cursor cursor Bot changed the title Fix Organization chrome, hero mascot, and openXYOS start/restart Fix org browser chrome, openXYOS hero, sidecar start/restart, and mutual asset channel Sep 18, 2026
@XYAIStudio
XYAIStudio marked this pull request as ready for review September 18, 2026 00:15
@XYAIStudio
XYAIStudio merged commit b0fd638 into main Sep 18, 2026
11 checks passed
@XYAIStudio
XYAIStudio deleted the cursor/org-openxyos-reliability-3301 branch September 18, 2026 00:16
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.

2 participants