Skip to content

feat(org): Phase 3 in-host Reflections org-ui slice - #64

Merged
XYAIStudio merged 1 commit into
mainfrom
cursor/org-reflections-phase3-fd8e
Sep 19, 2026
Merged

XYAIStudio merged 1 commit into
mainfrom
cursor/org-reflections-phase3-fd8e

Conversation

@XYAIStudio

Copy link
Copy Markdown
Owner

Summary

Organization Reflections is now an in-host Organization sub-UI. Same seam as Announcements / Org chart / Employees / Skills / Governance / Knowledge / Tasks: shared org-ui page + thin Dashboard adapter + host /api/org-module/reflections* + freeos org export-standalone.

No sidecar, no iframe, and no Agents / Settings / Chat / Workspace in this PR.

Data ownership

Surface Store API Meaning
Organization Reflections (this PR) {FREEOS_HOME}/org/reflections.sqlite /api/org-module/reflections* Lessons: task completion / error learning / knowledge capture / improvement
Directory employees / org tasks org_chart.sqlite / tasks.sqlite optional employee_id / task_id Same-tenant directory employee and org task, not sidecar tables
Sidecar reflections openXYOS SQL.js optional /api/reflections Not migrated, not cloned. Default path does not read it

Extracted-skill text stays a note. It does not become a second skill runtime. UX follows openXYOS ReflectionPage (list / create / type / importance / delete) without the sidecar deployment-law sample copy.

What landed

  • dashboard/src/org-ui/pages/reflections — ReflectionsPage
  • Dashboard route /organization/reflections (workbench card + path tabs)
  • Host APIs: list / stats / detail / create / delete
  • Export scaffold lists Reflections and imports the same page
  • Tests: store + HTTP + org-ui + workbench + export-standalone

Out of this PR

Agents, Settings, Chat, Workspace, sidecar employee_skill_stats, sidecar deployment-law sample text.

Target branch

Type of change

  • New feature

Test plan

  • uv run pytest tests/unit/test_org_reflections.py tests/unit/cli/test_org_export_standalone.py tests/unit/i18n (75 passed)
  • npx vitest run on org-ui / Organization / route tests (28 passed)
  • uv run ruff check + mypy --strict on new modules; npx tsc --noEmit
  • Pre-commit make precommit + dashboard build (3568 passed, 47 skipped)
  • make all (CI)

Checklist

  • Updated CHANGELOG.md
  • docs/org-merge-plan.md records the Reflections slice and SoT
Open in Web Open in Cursor 

Add a shared ReflectionsPage under org-ui, mount it at /organization/reflections, and persist CRUD on /api/org-module/reflections in FREEOS_HOME/org. No sidecar, Chat, Agents, Settings, or Workspace in this slice.
@XYAIStudio
XYAIStudio marked this pull request as ready for review September 19, 2026 04:36
@XYAIStudio
XYAIStudio merged commit 8f81d79 into main Sep 19, 2026
4 checks passed
@XYAIStudio
XYAIStudio deleted the cursor/org-reflections-phase3-fd8e branch September 19, 2026 04:36
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