Skip to content

Commit 35389af

Browse files
brookscclaude
andcommitted
chore: remove internal working docs before merge
Remove TODOS.md, design.md, and openspec coordinator change proposal. Fix rebase-introduced duplicate declarations in focus.ts, types.ts, and missing questionActive param in PromptInput.test.ts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0d9f3e9 commit 35389af

6 files changed

Lines changed: 4 additions & 933 deletions

File tree

TODOS.md

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

design.md

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

openspec/changes/mcp-coordinator-handoff/proposal.md

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

src/components/PromptInput.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ describe('processAutoFireTick — userEdited suppression', () => {
2626
staged: stagedEdited,
2727
now: pastNow,
2828
controlledBy: 'coordinator',
29+
questionActive: false,
2930
tail: promptTail,
3031
currentMissCount: 0,
3132
});
@@ -37,6 +38,7 @@ describe('processAutoFireTick — userEdited suppression', () => {
3738
staged: stagedEdited,
3839
now: pastNow,
3940
controlledBy: undefined,
41+
questionActive: false,
4042
tail: promptTail,
4143
currentMissCount: 0,
4244
});
@@ -48,6 +50,7 @@ describe('processAutoFireTick — userEdited suppression', () => {
4850
staged: stagedEdited,
4951
now: pastNow,
5052
controlledBy: 'human',
53+
questionActive: false,
5154
tail: promptTail,
5255
currentMissCount: 0,
5356
});
@@ -59,6 +62,7 @@ describe('processAutoFireTick — userEdited suppression', () => {
5962
staged,
6063
now: pastNow,
6164
controlledBy: 'coordinator',
65+
questionActive: false,
6266
tail: promptTail,
6367
currentMissCount: 0,
6468
});

src/store/focus.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -218,23 +218,6 @@ export function isPanelFocusedPrefix(taskId: string, prefix: string): boolean {
218218
return store.focusedPanel[taskId]?.startsWith(prefix) ?? false;
219219
}
220220

221-
/**
222-
* Whether a panel within a task should render its focus border. Returns false
223-
* when focus has moved to the sidebar/placeholder, even though the previously
224-
* focused panel is still recorded in `focusedPanel[taskId]`.
225-
*/
226-
export function isPanelFocused(taskId: string, panel: string): boolean {
227-
if (store.sidebarFocused || store.placeholderFocused) return false;
228-
if (store.activeTaskId !== taskId) return false;
229-
return store.focusedPanel[taskId] === panel;
230-
}
231-
232-
export function isPanelFocusedPrefix(taskId: string, prefix: string): boolean {
233-
if (store.sidebarFocused || store.placeholderFocused) return false;
234-
if (store.activeTaskId !== taskId) return false;
235-
return store.focusedPanel[taskId]?.startsWith(prefix) ?? false;
236-
}
237-
238221
export function setTaskFocusedPanel(taskId: string, panel: string): void {
239222
const normalizedPanel = normalizeTaskPanel(taskId, panel);
240223
setStore('focusedPanel', taskId, normalizedPanel);

src/store/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ export interface PersistedTask {
129129
notes: string;
130130
lastPrompt: string;
131131
promptedAgentIds?: string[];
132-
initialPrompt?: string;
133132
shellCount: number;
134133
agentDef: AgentDef | null;
135134
agentDefs?: AgentDef[];

0 commit comments

Comments
 (0)