Skip to content

Commit a69dcf5

Browse files
committed
fix: remove old plans
1 parent 562fa18 commit a69dcf5

File tree

10 files changed

+23
-212
lines changed

10 files changed

+23
-212
lines changed

plans/agent-runtime-migration.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

plans/bash-mode-ephemeral-execution.md

Lines changed: 0 additions & 97 deletions
This file was deleted.

plans/logger-refactor-plan.md

Lines changed: 0 additions & 68 deletions
This file was deleted.

web/src/__tests__/docs/content-integrity.test.ts

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ describe('Documentation Content Integrity', () => {
131131
describe('Internal Links Validation', () => {
132132
// Build a set of valid doc paths
133133
const validDocPaths = new Set<string>()
134+
const categoryPaths = new Set<string>()
134135

135136
beforeAll(() => {
136137
for (const filePath of getMdxFiles(CONTENT_DIR)) {
@@ -139,13 +140,11 @@ describe('Documentation Content Integrity', () => {
139140
const category = parts[0]
140141
const slug = path.basename(filePath, '.mdx')
141142
validDocPaths.add(`/docs/${category}/${slug}`)
142-
validDocPaths.add(`/docs/${category}#${slug}`)
143143
}
144144
// Add category index paths
145145
VALID_SECTIONS.forEach((section) => {
146-
validDocPaths.add(`/docs/${section}`)
146+
categoryPaths.add(`/docs/${section}`)
147147
})
148-
validDocPaths.add('/docs')
149148
})
150149

151150
it.each(
@@ -164,20 +163,17 @@ describe('Documentation Content Integrity', () => {
164163
// For doc links, validate they exist
165164
if (link.startsWith('/docs/')) {
166165
const pathWithoutAnchor = link.split('#')[0]
167-
const isValid =
168-
validDocPaths.has(pathWithoutAnchor) ||
169-
validDocPaths.has(link)
170-
171-
if (!isValid) {
172-
// Check if it's a category#slug format (e.g., /docs/tips#modes)
173-
const categoryMatch = pathWithoutAnchor.match(/^\/docs\/([^/]+)$/)
174-
if (categoryMatch) {
175-
// Category pages are valid
176-
continue
177-
}
166+
const hasAnchor = link.includes('#')
167+
const isDocPath = validDocPaths.has(pathWithoutAnchor)
168+
const isCategoryPath = categoryPaths.has(pathWithoutAnchor)
169+
const isDocsIndex = pathWithoutAnchor === '/docs'
170+
171+
if (hasAnchor) {
172+
expect(isDocPath).toBe(true)
173+
continue
178174
}
179175

180-
expect(isValid).toBe(true)
176+
expect(isDocPath || isCategoryPath || isDocsIndex).toBe(true)
181177
}
182178
}
183179
})

web/src/__tests__/e2e/docs.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test.describe('Documentation Pages', { tag: '@docs' }, () => {
4848

4949
test('has working internal links', async ({ page }) => {
5050
// Find an internal link
51-
const internalLinks = page.locator('a[href^="/docs/"]')
51+
const internalLinks = page.locator('article a[href^="/docs/"]')
5252
const count = await internalLinks.count()
5353

5454
if (count > 0) {

web/src/content/agents/overview.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ Then inside the CLI:
9191
/init
9292
```
9393

94-
1. **[Customize existing agents](/docs/agents#customizing-agents)** - Modify prompts and tools
95-
2. **[Create new agents](/docs/agents#creating-new-agents)** - Build specialized functionality
96-
3. **[Reference guide](/docs/agents#agent-reference)** - Complete field documentation
94+
1. **[Customize existing agents](/docs/agents/customizing-agents)** - Modify prompts and tools
95+
2. **[Create new agents](/docs/agents/creating-new-agents)** - Build specialized functionality
96+
3. **[Reference guide](/docs/agents/agent-reference)** - Complete field documentation

web/src/content/agents/troubleshooting-agent-customization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Error: Agent 'my-custom-agent' not found
3232
Validation error: spawnableAgents contains invalid agent 'researcher-typo'
3333
```
3434

35-
**Fix:** Check spelling against [built-in agents list](/docs/agents#h2-built-in-agents), use exact IDs
35+
**Fix:** Check spelling against [built-in agents list](/docs/agents/overview#h2-built-in-agents), use exact IDs
3636

3737
### "Path not found" Error
3838

@@ -294,7 +294,7 @@ git commit -m "Add custom reviewer agent"
294294
1. Check logs for error messages on startup
295295
2. Remove customizations until it works, then add back one at a time
296296
3. Join [Discord](https://codebuff.com/discord)
297-
4. See the [Agent Reference](/docs/agents#agent-reference)
297+
4. See the [Agent Reference](/docs/agents/agent-reference)
298298

299299
## Quick Reference
300300

web/src/content/help/faq.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Software development: Writing features, tests, and scripts across common languag
1313

1414
## What model does Codebuff use?
1515

16-
Multiple. The orchestrator ("Buffy") uses Claude Opus 4.5 in Default and Max modes, or Grok 4.1 Fast in Lite mode. Subagents are matched to their tasks: GPT-5.1 and Claude Opus 4.5 for code editing, Gemini 2.5 Pro for deep reasoning, Grok 4 Fast for terminal commands and research, and Relace AI for fast file rewrites. See [What models do you use?](/docs/advanced#what-models-do-you-use) for the full breakdown.
16+
Multiple. The orchestrator ("Buffy") uses Claude Opus 4.5 in Default and Max modes, or Grok 4.1 Fast in Lite mode. Subagents are matched to their tasks: GPT-5.1 and Claude Opus 4.5 for code editing, Gemini 2.5 Pro for deep reasoning, Grok 4 Fast for terminal commands and research, and Relace AI for fast file rewrites. See [What models do you use?](/docs/advanced/what-models) for the full breakdown.
1717

1818
## Is Codebuff open source?
1919

@@ -72,10 +72,10 @@ Codebuff runs specialized models in parallel: one finds files, another reasons t
7272

7373
## How does Codebuff compare to Claude Code?
7474

75-
See [Codebuff vs Claude Code](/docs/advanced#codebuff-vs-claude-code) for a detailed comparison. Short version: Codebuff is faster, cheaper, and handles large codebases better.
75+
See [Codebuff vs Claude Code](/docs/advanced/claude-code-comparison) for a detailed comparison. Short version: Codebuff is faster, cheaper, and handles large codebases better.
7676

7777
## I have more questions!
7878

7979
Contact [support@codebuff.com](mailto:support@codebuff.com) or [join our Discord](https://codebuff.com/discord).
8080

81-
[Troubleshooting](/docs/advanced#troubleshooting)
81+
[Troubleshooting](/docs/advanced/troubleshooting)

web/src/content/help/quick-start.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cd /path/to/your-repo
2727
codebuff
2828
```
2929

30-
Codebuff has multiple [modes](/docs/tips#modes): `lite` for quick tasks, `max` for complex work, and `plan` for planning without file changes. You can invoke them in the slash menu with `/mode:`.
30+
Codebuff has multiple [modes](/docs/tips/modes): `lite` for quick tasks, `max` for complex work, and `plan` for planning without file changes. You can invoke them in the slash menu with `/mode:`.
3131

3232
## 4. Initialize Your Project (Optional)
3333

@@ -62,4 +62,4 @@ If you run into issues during installation:
6262
- On Mac/Linux, you can fix permissions with: `sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}`
6363
- On Windows, run your terminal as administrator
6464

65-
[Troubleshooting](/docs/advanced#troubleshooting) | [Discord](https://codebuff.com/discord)
65+
[Troubleshooting](/docs/advanced/troubleshooting) | [Discord](https://codebuff.com/discord)

web/src/content/tips/best-practices.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Codebuff skips files in `.gitignore`. For files you keep in git but want Codebuf
1919

2020
Use `/mode:plan` to scope work before implementing. Codebuff gathers context, asks clarifying questions, and outputs a structured plan without touching files. Review and adjust the plan, then switch to default or max mode to execute.
2121

22-
See [Modes](/docs/tips#modes) for details on plan mode and other options.
22+
See [Modes](/docs/tips/modes) for details on plan mode and other options.
2323

2424
## Include docs by link
2525

0 commit comments

Comments
 (0)