diff --git a/.yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/artifacts/.gitkeep b/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/artifacts/.gitkeep similarity index 100% rename from .yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/artifacts/.gitkeep rename to .yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/artifacts/.gitkeep diff --git a/.yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/item.md b/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/item.md similarity index 97% rename from .yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/item.md rename to .yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/item.md index 80de4ca6..53f8b6b9 100644 --- a/.yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/item.md +++ b/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/item.md @@ -2,13 +2,13 @@ id: 20260607-062902-memory-root-uses-yoi-memory-marker slug: memory-root-uses-yoi-memory-marker title: Use .yoi/memory marker for repo-local memory root -status: open +status: closed kind: task priority: P1 labels: [memory, workspace, worktree, config] -workflow_state: ready +workflow_state: done created_at: 2026-06-07T06:29:02Z -updated_at: 2026-06-07T07:58:15Z +updated_at: 2026-06-07T07:59:04Z assignee: null legacy_ticket: null --- diff --git a/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/resolution.md b/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/resolution.md new file mode 100644 index 00000000..6d724341 --- /dev/null +++ b/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/resolution.md @@ -0,0 +1,25 @@ +Implemented, reviewed, merged, and validated. + +Summary: +- Kept `.yoi` as the Yoi project records marker while stopping `.yoi` alone from acting as the memory root marker. +- `WorkspaceLayout::resolve` still honors explicit `memory.workspace_root` exactly. +- Without explicit root, memory layout resolution now walks ancestors from the default root and selects the nearest ancestor containing `.yoi/memory`. +- Child worktrees containing `.yoi/tickets` / `.yoi/workflow` but no `.yoi/memory` do not become independent memory roots when an ancestor `.yoi/memory` exists. +- `.yoi` project records alone do not define a memory marker root. +- No-marker fallback remains `default_root` as documented compatibility behavior, without relying on `.yoi` presence. +- No broad memory enable/disable redesign or user-data overlay fallback was introduced. +- `MemoryConfig` docs were updated to describe marker-based implicit resolution. + +Implementation: +- Child commit: `9ed6613 memory: resolve repo memory by memory marker` +- Merge commit: `merge: memory root marker` + +Review: +- External reviewer `memory-root-marker-reviewer-20260607` approved with no blockers. + +Validation after merge: +- `cargo test -p memory workspace --lib` +- `cargo test -p pod memory --lib` +- `cargo fmt --check` +- `git diff --check` +- `target/debug/yoi ticket doctor` \ No newline at end of file diff --git a/.yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/thread.md b/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/thread.md similarity index 82% rename from .yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/thread.md rename to .yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/thread.md index 0b4cf419..e0f75c43 100644 --- a/.yoi/tickets/open/20260607-062902-memory-root-uses-yoi-memory-marker/thread.md +++ b/.yoi/tickets/closed/20260607-062902-memory-root-uses-yoi-memory-marker/thread.md @@ -153,3 +153,44 @@ Reviewer validation: Merge readiness: approved; implementation worktree clean and merge-tree against current `develop` succeeded. --- + + + +## State changed + +Ticket closed; workflow_state set to done. + + +--- + + + +## Closed + +Implemented, reviewed, merged, and validated. + +Summary: +- Kept `.yoi` as the Yoi project records marker while stopping `.yoi` alone from acting as the memory root marker. +- `WorkspaceLayout::resolve` still honors explicit `memory.workspace_root` exactly. +- Without explicit root, memory layout resolution now walks ancestors from the default root and selects the nearest ancestor containing `.yoi/memory`. +- Child worktrees containing `.yoi/tickets` / `.yoi/workflow` but no `.yoi/memory` do not become independent memory roots when an ancestor `.yoi/memory` exists. +- `.yoi` project records alone do not define a memory marker root. +- No-marker fallback remains `default_root` as documented compatibility behavior, without relying on `.yoi` presence. +- No broad memory enable/disable redesign or user-data overlay fallback was introduced. +- `MemoryConfig` docs were updated to describe marker-based implicit resolution. + +Implementation: +- Child commit: `9ed6613 memory: resolve repo memory by memory marker` +- Merge commit: `merge: memory root marker` + +Review: +- External reviewer `memory-root-marker-reviewer-20260607` approved with no blockers. + +Validation after merge: +- `cargo test -p memory workspace --lib` +- `cargo test -p pod memory --lib` +- `cargo fmt --check` +- `git diff --check` +- `target/debug/yoi ticket doctor` + +---