Repository navigation
feat(org): Phase 3 in-host Skills catalog - #61
Merged
Merged
Conversation
Add /organization/skills using shared org-ui SkillsPage wired to host skill_bridge list/read/generate/publish. Host skill packages are listed read-only so Agent Skills stay on FreeOS Personalization. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Avoid nested buttons on catalog cards, Prettier-wrap org-ui client types, and assert 400 on uppercase slugs instead of path traversal. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 3 vertical slice: Skills as an in-host Organization sub-UI, using the same org-ui dual-delivery seam as Announcements (#57), Org chart (#58), Employees (#59), and Governance (#60).
dashboard/src/org-ui/pages/skills(SkillsPage)/organization/skills(workbench path tab + entry card)POST /api/org-module/skills/generate|publish; this slice addsGET /api/org-module/skillsandGET /api/org-module/skills/{slug}so the catalog is not sidecar-onlyrequire_permission("plugins")(admin bypass); the page hides those actions for non-adminsfreeos org export-standalonenow listsskillsand imports the sameSkillsPageNo sidecar, no iframe, no second login wall. This is not a second skill runtime.
Org Skills vs FreeOS Agent Skills
SKILL.mdwrappers that call org-module APIs (skill_bridge){FREEOS_HOME}/org-skills/·/organization/skillsskill_packagestable ·/personalization/skill-packagesand/personalization/skillsThis page lists host skill packages read-only and links to Personalization for edit/install. It does not copy the sidecar marketplace, plugin center, or paid-plugin flow.
Data model (host SoT)
{FREEOS_HOME}/org-skills/org-<module>/GET /api/org-module/skills·GET …/skills/{slug}·POST …/generate·POST …/publishskill_packageshost_packages; edit stays on PersonalizationopenXYOS sidecar
/api/skills(marketplace, plugin center) is reference-only. Default path does not start or call:3780.Deferrals (out of this PR)
export-standaloneVite/Node packaging (Phase 5)Target branch
main(continues the Phase 3 org-ui slices already merged there)Type of change
Test plan
uv run pytest tests/unit/test_org_skills.py tests/unit/cli/test_org_export_standalone.py tests/unit/test_org_governance.py tests/unit/test_org_chart.py tests/unit/test_skill_bridge.py(25 passed)uv run ruff check+uv run mypy --stricton changed org/skills modulescd dashboard && npx tsc --noEmitcd dashboard && npx vitest run src/org-ui src/pages/Organization src/routes/controlAdminPath.test.ts(69 passed)make all(full ship bar; run in CI)Live browser walkthrough of
/organization/skillswas not run here (no signed-in FreeOS host in this environment). Component tests cover list/generate/publish without iframe.Checklist
CHANGELOG.md(if user-facing)