chore(repo): reinitialize repository

This commit is contained in:
2026-03-18 11:29:54 +08:00
commit 24871e213a
288 changed files with 44369 additions and 0 deletions
@@ -0,0 +1,22 @@
package lane
import "testing"
func TestRuntimeNamesIncludeTopicSuffix(t *testing.T) {
topicID := "topic-20260317T030141Z-05c4bd6c9a45"
branch := DefaultBranchName("todo", topicID, "frontend-app")
if branch != "lane/todo/frontend-app-05c4bd6c9a45" {
t.Fatalf("unexpected branch name: %s", branch)
}
worktree := DefaultWorktreePath("/tmp/inbox-worktrees/todo", "todo", topicID, "frontend-app")
if worktree != "/tmp/inbox-worktrees/todo--frontend-app--05c4bd6c9a45" {
t.Fatalf("unexpected worktree path: %s", worktree)
}
container := DefaultContainerName("todo", topicID, "frontend-app")
if container != "lane-todo-frontend-app-05c4bd6c9a45" {
t.Fatalf("unexpected container name: %s", container)
}
}