41 lines
2.5 KiB
Markdown
41 lines
2.5 KiB
Markdown
Status: completed on August 8, 2026.
|
|
|
|
Summary:
|
|
- Updated the frontend workspace contract from schema v2 editing to schema v3 publishing.
|
|
- Kept only `semantic_index.vector_store.collection` editable; rendered qdrant / internal Ollama semantic values as fixed read-only architecture values.
|
|
- Removed external vector transport / endpoint / credential / embedding diagnostics branches from frontend draft sanitization, conflict parsing, and editor UI.
|
|
- Added a migration-required banner in workspace management and blocked `migration_required` workspaces from new-session selection.
|
|
- Aligned the example workspace YAML comments with the fixed internal qdrant/Ollama architecture.
|
|
|
|
Files changed:
|
|
- `frontend/src/api/workspaces.ts`
|
|
- `frontend/src/api/workspaces.test.ts`
|
|
- `frontend/src/workspaces/drafts.ts`
|
|
- `frontend/src/workspaces/drafts.test.ts`
|
|
- `frontend/src/shell/WorkspaceEditor.tsx`
|
|
- `frontend/src/shell/WorkspaceEditor.test.tsx`
|
|
- `frontend/src/shell/WorkspaceManager.tsx`
|
|
- `frontend/src/shell/WorkspaceManager.test.tsx`
|
|
- `frontend/src/shell/WorkspacePublishDialog.test.tsx`
|
|
- `frontend/src/api/sessions.ts`
|
|
- `frontend/src/shell/SteerInput.tsx`
|
|
- `frontend/src/shell/SteerInput.test.tsx`
|
|
- `deploy/workspaces/example.yaml`
|
|
- `deploy/workspaces/psd.yaml.example`
|
|
|
|
Verification:
|
|
- `cd frontend && npx vitest run src/shell/SteerInput.test.tsx src/shell/WorkspaceEditor.test.tsx src/shell/WorkspaceManager.test.tsx src/shell/WorkspacePublishDialog.test.tsx src/workspaces/drafts.test.ts src/api/workspaces.test.ts`
|
|
- Result: 6 files passed, 59 tests passed.
|
|
- `cd frontend && npx tsc -b`
|
|
- Result: passed.
|
|
- `git diff --check`
|
|
- Result: passed.
|
|
|
|
Self-review:
|
|
- The frontend now publishes the exact schema v3 semantic shape and no longer persists legacy semantic transport/credential branches.
|
|
- Migration-required workspaces are visible in management with an explicit banner and are excluded from the composer workspace selector.
|
|
- One dependent test file outside the original brief list (`WorkspacePublishDialog.test.tsx`) and the composer/session-selection path (`api/sessions.ts`, `SteerInput.tsx`, related test) were updated because they were directly coupled to the old v2 semantic/edit-selection behavior.
|
|
|
|
Concerns:
|
|
- The composer still retains backward-compatible behavior for summaries that omit `revision` entirely; only explicit `revision.state === "migration_required"` is blocked. That matches the current mixed-test environment, but once summary responses are guaranteed to include `revision`, that fallback may be removable.
|