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
8 changes: 4 additions & 4 deletions apps/web/src/query-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ export const tenantKeys = {
routineRunHistories: (tenantId: string) => ["tenant", tenantId, "routine-run-histories"] as const,
definitions: (tenantId: string) => ["tenant", tenantId, "definitions"] as const,
agentDirectory: (tenantId: string) => ["tenant", tenantId, "agents", "directory"] as const,
/** The sidebar's unified list of agent-DM candidates: own + ancestor
* definitions (see `@corbits/agent-directory`'s `listVisibleAgentDefinitions`).
* Kept apart from `agentDirectory` above, which is a different surface's
* own key. */
/** The sidebar's unified list of agent-DM candidates, backed by the
* stock `GET /workflows/definitions` listing (see `listAgentDefinitions`
* in `agents-api.ts`). Kept apart from `agentDirectory` above, which is
* a different surface's own key. */
visibleAgents: (tenantId: string) => ["tenant", tenantId, "agents", "visible"] as const,
assets: (tenantId: string) => ["tenant", tenantId, "assets"] as const,
artifacts: (tenantId: string) => ["tenant", tenantId, "artifacts"] as const,
Expand Down
34 changes: 0 additions & 34 deletions docs/agent-definition-status-lifecycle.md

This file was deleted.

15 changes: 8 additions & 7 deletions docs/workflow-definition-projection.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ the other's parsing.

## Why multi-step definitions are rejected

The launch target (`@corbits/agent-runtime`'s `AgentRuntimeConfig`) renders
exactly one `systemPrompt` into one mailbox-triggered turn — it has no
notion of step order. Reading past `stepOrder[0]` would silently drop every
later step's behavior rather than run it, so `MultiStepFoldUnsupportedError`
is thrown instead. Genuine multi-step launch needs a different deploy front
(Interchange's native workflow-run trigger, `@intx/workflow-host`'s DAG
supervisor) than this module provides.
The launch target (the bundled Myra-style deploy in
`apps/web/src/agent-deploy.ts`) renders exactly one `systemPrompt` into one
mailbox-triggered turn — it has no notion of step order. Reading past
`stepOrder[0]` would silently drop every later step's behavior rather than
run it, so `MultiStepFoldUnsupportedError` is thrown instead. Genuine
multi-step launch needs a different deploy front (Interchange's native
workflow-run trigger, `@intx/workflow-host`'s DAG supervisor) than this
module provides.
Loading