diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-08-13 00:35:32 +0000 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-09-17 15:51:11 -0700 |
| commit | 6692bd289f39931f37117af59ea32026fcebf94a (patch) | |
| tree | 8f73e6366ca841582aeaa3ca3d590cc2081924c7 /tests/opencode/test-plugin-loading.sh | |
| parent | dcc1b26bc513bd0d0c0781fce0383ef0ae4ac1e4 (diff) | |
fix(sdd): ownership markers stop same-basename plans sharing a workspacefix/sdd-workspace-ownership
sdd-workspace slugged workspaces by basename alone, so docs/alpha/plan.md
and docs/beta/plan.md resolved to one directory and task-brief silently
overwrote the other plan's brief — the single gitignored source of task
requirements, unrecoverable once clobbered.
Each workspace now records its owning plan in a plan-path marker
(repo-relative in-repo, absolute outside). Lookup keeps basename slugs
and existing behavior for the common case: a markerless workspace is
adopted in place (no migration break for in-flight plans), a marker
naming this plan is a match, and a marker naming a different plan
disambiguates with the plan's parent-directory name, then a counter.
Plan paths are normalized (CDPATH-guarded physical cd) so relative,
absolute, and ../ spellings of one plan share one workspace.
task-brief and review-package delegate to sdd-workspace and need no
changes. SKILL.md's workspace bullet no longer promises the exact
<plan-basename> path, since disambiguated workspaces differ.
Reported by @CRGDan; reproduction and test groundwork by @crisnahine
in PR #2120.
Fixes #2045
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions
