feat(02-01): implement connector-matching heuristic and DB schema extensions
- Create connector-matching.ts with matchConnector, inferTaskType, getConnectorStrengths - Add TASK_TYPE_PREFERENCE mapping task types to ordered connector lists - Add ROLE_DEPARTMENT_HINTS mapping departments to task types - Add CONNECTOR_STRENGTHS with human-readable capability descriptions - Add TaskType to shared/types.ts - Add task_type, retry_count, last_failure_at columns to tasks table - Add getTaskRetryCount, incrementTaskRetryCount, resetTaskRetryCount, setTaskType to AppDatabase - All 34 unit tests pass
This commit is contained in:
1 parent
d09b7445e5
commit
058cc0dc55
3 files changed
+208
No files matched your search
@@ -37,6 +37,8 @@ export type ConnectorStatus =
|
||||
| "degraded"
|
||||
| "error";
|
||||
|
||||
export type TaskType = "code" | "research" | "content" | "management" | "general";
|
||||
|
||||
export type WorkspaceState = "ready" | "busy" | "blocked" | "missing" | "error";
|
||||
export type CompanyStatus = "active" | "paused" | "archived";
|
||||
export type AgentStatus =
|
||||
|
||||
Reference in new issue
Block a user