Link pipeline.db in a new worktree even when the main database does not exist yet #840
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#840
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
os:worktree startlinks<worktree>/.sdlc/pipeline.dbto the main checkout's database only when the main database file already exists. When the link is missing, a pipeline run in that worktree writes its implementation rows to a local.sdlc/pipeline.db.git worktree removethen deletes those rows, and no report can find the implementation later.Observed
The live worktree
.claude/worktrees/sequel-runnerhas nopipeline.dblink. Its.sdlc/holds onlyproject.yaml,tickets,suite.lock, and.gitignore. The main.sdlc/pipeline.dbis a real file. It is not known whether the main database was absent when that worktree started, or whether the worktree is older than the link code.Reproduce
Origin
git worktree remove)pipeline.dblink in the worktree (.claude/worktrees/sequel-runner/.sdlc) ←symlink_pipeline_dbskips the link when the main database is absent (plugins/os/lib/worktree/start_command.rb:105-112) ← DESIGNResolution
Done: Closed as not a defect at the user's direction.
Evidence: User 2026-09-30: worktree creation makes the pipeline.db symlink and sets up the database if it does not exist.
Follow-ups: none