feat(orchestrator): create_skill action + wire per-project watchers (§14.3)

- domain: OrchestratorCommand::CreateSkill with optional scope field
  (defaults to Project, case-insensitive, UnknownScope on bad value)
- application: dispatch CreateSkill through the CreateSkill use case
- app-tauri: build OrchestratorService and start/stop per-project request
  watchers on open/create/close_project (ensure/stop_orchestrator_watch)
- tests: domain validation, service dispatch, infra watcher e2e,
  app-tauri wiring lifecycle (idempotent, isolated, stop)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 13:06:41 +02:00
parent b9fd2fb925
commit d11eaaa8c0
13 changed files with 619 additions and 52 deletions

View File

@ -1,56 +1,43 @@
{
"version": 1,
"activeId": "9188db80-8535-4786-a20b-3c9a36b222e3",
"activeId": "eed26045-b208-47ff-98ee-ca0d6e5933b3",
"layouts": [
{
"id": "9188db80-8535-4786-a20b-3c9a36b222e3",
"id": "eed26045-b208-47ff-98ee-ca0d6e5933b3",
"name": "Default",
"kind": "terminal",
"tree": {
"root": {
"type": "split",
"node": {
"id": "8aca2f93-1a9b-4693-9bba-9a01e130a48c",
"id": "8cbe4c7c-357f-49ad-ac20-c96802a84684",
"direction": "row",
"children": [
{
"node": {
"type": "leaf",
"node": {
"id": "d8a86eb1-cd4d-4937-b900-4989da7c868d",
"session": "8a976ad4-72d5-4dfa-9176-b0838e8e7e1d",
"id": "e8933dbd-1c53-4342-96ca-020b9a9b7970",
"session": "51c96008-f875-4515-9b5b-50c4217f64d6",
"agent": "a6ced819-b893-4213-b003-9e9dc79b9641"
}
},
"weight": 0.9225053
"weight": 1.0
},
{
"node": {
"type": "leaf",
"node": {
"id": "6c5be5e7-a54b-468c-a2e2-8ec853629d5e",
"session": "b6ef5e09-411b-4da4-93a7-d32ecd4bb750"
"id": "50da405b-18f3-4273-9fe0-57bb242cb2f7",
"session": "5a796d0e-433e-4ded-9955-ed02b389d9c1"
}
},
"weight": 1.0774947
"weight": 1.0
}
]
}
}
}
},
{
"id": "40ea4fa9-25b3-410b-9d3e-6350834b421b",
"name": "Git Graph",
"kind": "gitGraph",
"tree": {
"root": {
"type": "leaf",
"node": {
"id": "c840bfdd-3330-46a3-b727-0799f6853e72"
}
}
}
}
]
}