Skip to content

feat(task-spaces): add isolated task-space management - #282

Open
Kibnet wants to merge 3 commits into
mainfrom
feat/task-spaces-management
Open

feat(task-spaces): add isolated task-space management#282
Kibnet wants to merge 3 commits into
mainfrom
feat/task-spaces-management

Conversation

@Kibnet

@Kibnet Kibnet commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Добавляет управление несколькими пространствами задач в одном экземпляре приложения.
  • Сохраняет active-only модель: одновременно отображается и синхронизируется только выбранное пространство.
  • Запрещает межпространственные связи и не добавляет агрегированный просмотр задач.

Changes

  • Добавлен каталог пространств, переключатель в главном окне и CRUD-настройки пространства.
  • Источник задач, параметры синхронизации и Git backup изолированы по пространствам.
  • Переключение выполняется транзакционно: старый runtime сохраняется и отключается до публикации нового.
  • Добавлены legacy migration, mutation journal, recovery shell и защита от повреждённого каталога.
  • SourceId используется как граница владения и блокирует связи между разными пространствами.
  • AppAutomation обновлён и закреплён на версии 1.6.0; добавлены Headless/FlaUI сценарии и скрипты сбора UI evidence.
  • Обновлены локализованные строки, README и утверждённая QUEST-спецификация.

Validation

  • Unlimotion.Test: 900/900, failed 0, skipped 0.
  • Unlimotion.UiTests.Headless: 38/38, failed 0, skipped 0.
  • Unlimotion.UiTests.FlaUI: 15/15, failed 0, skipped 0; desktop UI запускался только на правом мониторе через UNLIMOTION_AUTOMATION_DESKTOP_MONITOR=right.
  • Один ранний FlaUI-прогон поймал временную блокировку тестового Settings.json; точный сценарий прошёл 1/1 в свежем процессе, полный последовательный повтор — 15/15.
  • Desktop, Browser/WASM и Android builds прошли без ошибок.
  • git diff --check — clean.
  • UI evidence after: artifacts/ui-evidence/task-spaces/after-space-switch-final.mp4.
  • Before-video не применимо: до PR интерфейс управления пространствами отсутствовал. Дополнительные TRX/HTML/скриншоты сохранены локально в artifacts/validation/task-spaces-evidence/.

Review remediation

  • Commit 404306cf blocks removal of the active space while conflict resolution is open and rechecks the guard immediately before mutation.
  • Added TDD coverage for view-model availability and rendered Avalonia.Headless button state.
  • Current affected validation: SettingsViewModelTests 71/71, responsive UI 16/16, full Headless 38/38, Release desktop build passed.
  • Three fresh local full-suite runs showed changing stateful failures (900/902, 900/902, 901/902); each distinct failure passed isolated. Right-monitor FlaUI was independently blocked by the pre-existing tooltip-hover flake and Windows SendInput access denial. GitHub Actions for the pushed SHA are the clean-run authority.

Risks / Rollback

  • Основной риск сосредоточен в смене runtime и восстановлении после частично выполненной операции; эти ветки покрыты transaction/recovery и UI-тестами.
  • При неустранимом повреждении каталога приложение открывает безопасный recovery shell вместо смешивания данных или продолжения в неопределённом состоянии.
  • Откат: revert коммитов PR. Legacy-настройки не удаляются, а миграция сохраняет совместимость с существующим одним пространством.

Links

  • Spec: specs/2026-07-21-multiple-task-spaces.md
  • Commits: ef6e63ed, 6773f8a9, 404306cf

Kibnet added 2 commits July 24, 2026 09:26
Implement active-only task spaces with isolated sources, sync profiles, transactional switching, migration, recovery, and cross-space guards.

Add AppAutomation 1.6.0 UI coverage, fault matrices, documentation, and validated Post-EXEC evidence.
@Kibnet
Kibnet marked this pull request as ready for review July 30, 2026 20:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6773f8a965

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Unlimotion/App.axaml.cs
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.

1 participant