From 94e028e807529cbfd0818fef5727108de39d4ab4 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 7 Jun 2026 16:38:37 +0900 Subject: [PATCH] ticket: close yoi worktree sparse exclusions --- .../artifacts/.gitkeep | 0 .../item.md | 6 +-- .../resolution.md | 25 +++++++++++ .../thread.md | 41 +++++++++++++++++++ 4 files changed, 69 insertions(+), 3 deletions(-) rename .yoi/tickets/{open => closed}/20260607-062902-narrow-yoi-worktree-sparse-exclusions/artifacts/.gitkeep (100%) rename .yoi/tickets/{open => closed}/20260607-062902-narrow-yoi-worktree-sparse-exclusions/item.md (97%) create mode 100644 .yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/resolution.md rename .yoi/tickets/{open => closed}/20260607-062902-narrow-yoi-worktree-sparse-exclusions/thread.md (82%) diff --git a/.yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/artifacts/.gitkeep b/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/artifacts/.gitkeep similarity index 100% rename from .yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/artifacts/.gitkeep rename to .yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/artifacts/.gitkeep diff --git a/.yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/item.md b/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/item.md similarity index 97% rename from .yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/item.md rename to .yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/item.md index cc698295..7429e46f 100644 --- a/.yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/item.md +++ b/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/item.md @@ -2,13 +2,13 @@ id: 20260607-062902-narrow-yoi-worktree-sparse-exclusions slug: narrow-yoi-worktree-sparse-exclusions title: Narrow child worktree .yoi sparse exclusions -status: open +status: closed kind: task priority: P1 labels: [worktree, workflow, memory, ticket, orchestration] -workflow_state: ready +workflow_state: done created_at: 2026-06-07T06:29:02Z -updated_at: 2026-06-07T07:37:53Z +updated_at: 2026-06-07T07:38:29Z assignee: null legacy_ticket: null --- diff --git a/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/resolution.md b/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/resolution.md new file mode 100644 index 00000000..96034c56 --- /dev/null +++ b/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/resolution.md @@ -0,0 +1,25 @@ +Implemented, reviewed, merged, and validated. + +Summary: +- Updated worktree workflow rules so child worktrees may include tracked `.yoi` project records instead of excluding all `.yoi/**`. +- Sparse-checkout guidance now excludes generated/personal/local/runtime state such as `.yoi/memory`, root and recursive `_logs`, logs, locks, local/runtime/pods/sessions/sockets/tmp/cache/secrets, local overrides, and secret-like files. +- Updated validation guidance to check excluded generated/local paths rather than requiring `.yoi` absence. +- Updated child-worktree Ticket edit policy: branch-local artifacts/dossiers may live in child worktrees; active orchestration progress and final review/approval/close remain main-workspace responsibilities. +- Updated multi-agent workflow and generated role/queue guidance to match the new boundary. +- Did not change memory root detection; `memory-root-uses-yoi-memory-marker` remains the follow-up for that. + +Implementation: +- Child commits: `ee85b51 workflow: narrow yoi worktree sparse exclusions`, `6f33275 fixup! workflow: narrow yoi worktree sparse exclusions` +- Merge commit: `merge: narrow yoi worktree sparse exclusions` + +Review: +- External reviewer initially requested recursive `.yoi/**/_logs/**` sparse exclusions. +- Fixup added recursive `_logs` exclusions. +- Reviewer approved after fixup. + +Validation after merge: +- `cargo test -p client ticket_role --lib` +- `cargo test -p tui ticket_queue_notification --lib` +- `target/debug/yoi ticket doctor` +- `cargo fmt --check` +- `git diff --check` \ No newline at end of file diff --git a/.yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/thread.md b/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/thread.md similarity index 82% rename from .yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/thread.md rename to .yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/thread.md index 36916414..eea12be2 100644 --- a/.yoi/tickets/open/20260607-062902-narrow-yoi-worktree-sparse-exclusions/thread.md +++ b/.yoi/tickets/closed/20260607-062902-narrow-yoi-worktree-sparse-exclusions/thread.md @@ -183,3 +183,44 @@ Reviewer validation: Merge readiness: approved; worktree clean at `6f33275`. --- + + + +## State changed + +Ticket closed; workflow_state set to done. + + +--- + + + +## Closed + +Implemented, reviewed, merged, and validated. + +Summary: +- Updated worktree workflow rules so child worktrees may include tracked `.yoi` project records instead of excluding all `.yoi/**`. +- Sparse-checkout guidance now excludes generated/personal/local/runtime state such as `.yoi/memory`, root and recursive `_logs`, logs, locks, local/runtime/pods/sessions/sockets/tmp/cache/secrets, local overrides, and secret-like files. +- Updated validation guidance to check excluded generated/local paths rather than requiring `.yoi` absence. +- Updated child-worktree Ticket edit policy: branch-local artifacts/dossiers may live in child worktrees; active orchestration progress and final review/approval/close remain main-workspace responsibilities. +- Updated multi-agent workflow and generated role/queue guidance to match the new boundary. +- Did not change memory root detection; `memory-root-uses-yoi-memory-marker` remains the follow-up for that. + +Implementation: +- Child commits: `ee85b51 workflow: narrow yoi worktree sparse exclusions`, `6f33275 fixup! workflow: narrow yoi worktree sparse exclusions` +- Merge commit: `merge: narrow yoi worktree sparse exclusions` + +Review: +- External reviewer initially requested recursive `.yoi/**/_logs/**` sparse exclusions. +- Fixup added recursive `_logs` exclusions. +- Reviewer approved after fixup. + +Validation after merge: +- `cargo test -p client ticket_role --lib` +- `cargo test -p tui ticket_queue_notification --lib` +- `target/debug/yoi ticket doctor` +- `cargo fmt --check` +- `git diff --check` + +---