Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/cli/agents/gollum.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ test("generateGollumConfig returns valid ruby config", () => {
expect(config).toContain("Precious::App.set(:wiki_options");
expect(config).toContain("index_page: 'README'");
expect(config).toContain("h1_title: true");
expect(config).toContain("base_path: 'wiki'");
});

// --- startGollumServer ---
Expand Down
1 change: 1 addition & 0 deletions src/cli/agents/gollum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export function generateGollumConfig(): string {
Precious::App.set(:wiki_options, {
index_page: 'README',
h1_title: true,
base_path: 'wiki',
})
`;
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/handlers/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function createWorkspace(prefix: string): Promise<void> {
// Init git repo and commit all scaffold files so they're tracked.
// This prevents "untracked working tree files would be overwritten"
// errors when merging task branches back into main.
await Bun.spawn(["git", "init"], { cwd: workspacePath, stdout: "pipe", stderr: "pipe" }).exited;
await Bun.spawn(["git", "init", "-b", "main"], { cwd: workspacePath, stdout: "pipe", stderr: "pipe" }).exited;
await Bun.spawn(["git", "add", "-A"], { cwd: workspacePath, stdout: "pipe", stderr: "pipe" }).exited;
await Bun.spawn(["git", "commit", "-m", "initial"], { cwd: workspacePath, stdout: "pipe", stderr: "pipe" }).exited;

Expand Down