Q53: stalled goal reviews leave a visible state and a resume path

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 09:25:46 -04:00
1 parent 69e991ff93
commit ec2698575d
15 files changed
+149 -45

No files matched your search

+5
View File
@@ -93,6 +93,11 @@ export interface ListKnowledgeRevisionsInput {
entryId: string;
}
export interface ResumeGoalInput {
orgId: string;
goalId: string;
}
export interface DeleteKnowledgeEntryInput {
orgId: string;
entryId: string;
+2
View File
@@ -31,6 +31,7 @@ import type {
DeleteDocumentInput,
DeleteTaskInput,
DeleteKnowledgeEntryInput,
ResumeGoalInput,
UpdateAutomationRuleInput,
UpdateDocumentInput,
UpdateTaskInput,
@@ -133,6 +134,7 @@ export interface DesktopApi {
deleteDocument(input: DeleteDocumentInput): Promise<DesktopResult<AppSnapshot>>;
createKnowledgeEntry(input: CreateKnowledgeEntryInput): Promise<DesktopResult<AppSnapshot>>;
deleteKnowledgeEntry(input: DeleteKnowledgeEntryInput): Promise<DesktopResult<AppSnapshot>>;
resumeGoal(input: ResumeGoalInput): Promise<DesktopResult<AppSnapshot>>;
updateKnowledgeEntry(input: UpdateKnowledgeEntryInput): Promise<DesktopResult<AppSnapshot>>;
listDocumentVersions(input: ListDocumentVersionsInput): Promise<DesktopResult<DocumentVersionRecord[]>>;
listKnowledgeRevisions(input: ListKnowledgeRevisionsInput): Promise<DesktopResult<KnowledgeRevisionRecord[]>>;
+2
View File
@@ -126,6 +126,8 @@ export interface GoalRecord {
description: string;
status: string;
ownerAgentId: string | null;
/** Set when the goal's review loop stopped without a decision. */
stalledReason: string | null;
createdAt: string;
updatedAt: string;
}
+1
View File
@@ -68,6 +68,7 @@ export const IPC_CHANNELS = {
deleteDocument: "agentcompany:delete-document",
createKnowledgeEntry: "agentcompany:create-knowledge-entry",
deleteKnowledgeEntry: "agentcompany:delete-knowledge-entry",
resumeGoal: "agentcompany:resume-goal",
updateKnowledgeEntry: "agentcompany:update-knowledge-entry",
listDocumentVersions: "agentcompany:list-document-versions",
listKnowledgeRevisions: "agentcompany:list-knowledge-revisions",