ticket: close yoi worktree sparse exclusions

This commit is contained in:
Keisuke Hirata 2026-06-07 16:38:37 +09:00
parent d61fcc1249
commit 94e028e807
No known key found for this signature in database
4 changed files with 69 additions and 3 deletions

View File

@ -2,13 +2,13 @@
id: 20260607-062902-narrow-yoi-worktree-sparse-exclusions id: 20260607-062902-narrow-yoi-worktree-sparse-exclusions
slug: narrow-yoi-worktree-sparse-exclusions slug: narrow-yoi-worktree-sparse-exclusions
title: Narrow child worktree .yoi sparse exclusions title: Narrow child worktree .yoi sparse exclusions
status: open status: closed
kind: task kind: task
priority: P1 priority: P1
labels: [worktree, workflow, memory, ticket, orchestration] labels: [worktree, workflow, memory, ticket, orchestration]
workflow_state: ready workflow_state: done
created_at: 2026-06-07T06:29:02Z created_at: 2026-06-07T06:29:02Z
updated_at: 2026-06-07T07:37:53Z updated_at: 2026-06-07T07:38:29Z
assignee: null assignee: null
legacy_ticket: null legacy_ticket: null
--- ---

View File

@ -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`

View File

@ -183,3 +183,44 @@ Reviewer validation:
Merge readiness: approved; worktree clean at `6f33275`. Merge readiness: approved; worktree clean at `6f33275`.
--- ---
<!-- event: state_changed author: hare at: 2026-06-07T07:38:29Z from: ready to: done reason: closed field: workflow_state -->
## State changed
Ticket closed; workflow_state set to done.
---
<!-- event: close author: hare at: 2026-06-07T07:38:29Z status: closed -->
## 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`
---