diff --git a/README.md b/README.md index da2366e..1c166d5 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Open it, review the proposed action, choose **Approve**, and confirm.  **What you should see:** the approval becomes `approved`, the exact content you reviewed is sent to the agent once, and the task moves to -completed. The approval page shows "Delivered to the agent; task is now" followed by the task state, and **Audit** lists every step. +completed. The approval page shows "Delivered to the agent; task is now" followed by the task state, and **Administration → Audit trail** lists every step.  diff --git a/docs/guides/configuration-recipes.md b/docs/guides/configuration-recipes.md index c4ea0e8..ac55562 100644 --- a/docs/guides/configuration-recipes.md +++ b/docs/guides/configuration-recipes.md @@ -124,7 +124,7 @@ curl -i http://localhost:3002/api/auth/session A `200` with `"mode":"development"` means you are signed in as the local administrator. Open `http://localhost:3002/agents`; the sample agent is listed. -Only one process may open the PGlite directory. Stop `npm run dev` before running a script against it with `--offline-pglite`. +Only one process may open the PGlite directory, and Taskbay refuses a second one with "already open in another process". Stop `npm run dev` before running a script against it with `--offline-pglite`. ## 3. Single server on PostgreSQL with OIDC diff --git a/docs/guides/find-and-steer-tasks-started-elsewhere.md b/docs/guides/find-and-steer-tasks-started-elsewhere.md index d3062f9..025f2fa 100644 --- a/docs/guides/find-and-steer-tasks-started-elsewhere.md +++ b/docs/guides/find-and-steer-tasks-started-elsewhere.md @@ -14,7 +14,7 @@ What Taskbay does, in one paragraph: it uses **the agent's own credential** to a ## Find a task and track it -1. Open **Agents**, then the agent. In the **Task discovery** card choose **Browse tasks**. +1. Choose **Find tasks** in the sidebar and pick the agent. (From the agent page, **Browse tasks** in the **Task discovery** card opens the same page.) 2. Narrow the list with **State** (for example *Needs input*) or **Context ID**. Each row shows the title or ID, the state, how long ago it changed and, in quotes, the first line of what the agent last said. 3. Choose **Track** on the task you want. The row now says **Tracked**; **Open** takes you to the task. If you know the ID, paste it under **Track by task ID** instead. diff --git a/docs/guides/teams-and-grants.md b/docs/guides/teams-and-grants.md index 8c0458b..bc63780 100644 --- a/docs/guides/teams-and-grants.md +++ b/docs/guides/teams-and-grants.md @@ -89,7 +89,7 @@ Use `"skillId": null` for the whole agent. For everyone, use `"subjectType": "or 2. Ask a team member to sign in and open **Agents**. They see `Billing agent` with the description `Restricted skill access` and only the `Refunds` skill. The other skills, and the agent's own description, are hidden. 3. When they start a task with that agent, the chat shows a **Skill** picker with only the granted skills. Taskbay sends the skill id to the agent in the skill-routing metadata. 4. Their task lists show only tasks recorded for that skill. -5. The **Audit** page records each change: `team.created`, `team.addTeamMember`, `access.granted`. +5. **Administration → Audit trail** records each change: `team.created`, `team.addTeamMember`, `access.granted`. Browsing an agent's tasks and tracking them need an `operate` grant on the **whole** agent (or the administrator role). A skill grant never allows it, and a person with only skill grants never sees tracked or discovered tasks ([Task discovery](connect-an-agent.md#task-discovery)). diff --git a/docs/guides/use-the-console.md b/docs/guides/use-the-console.md index aa4abca..ba002b3 100644 --- a/docs/guides/use-the-console.md +++ b/docs/guides/use-the-console.md @@ -16,7 +16,7 @@ The console is the web app you open in the browser. The sidebar lists its screen | Read agents, tasks, conversations and notifications | All agents | Granted agents | Granted agents | | Send messages, answer forms, cancel tasks | Yes | With an "operate" grant | No | | Add or remove agents | Yes | No | No | -| Organization-wide **Audit**, CSV export | Yes | No | No | +| Organization-wide **Audit trail**, CSV export | Yes | No | No | | Read one task's audit trail | Yes | With read access | With read access | | **Administration** (people, teams, agent access, policies) | Yes | Not shown | Not shown | diff --git a/docs/images/agents.png b/docs/images/agents.png index c16de69..b6935bf 100644 Binary files a/docs/images/agents.png and b/docs/images/agents.png differ diff --git a/docs/images/approval-delivered.png b/docs/images/approval-delivered.png index 019dd29..b610c58 100644 Binary files a/docs/images/approval-delivered.png and b/docs/images/approval-delivered.png differ diff --git a/docs/images/approval.png b/docs/images/approval.png index 65eb251..309bbc0 100644 Binary files a/docs/images/approval.png and b/docs/images/approval.png differ diff --git a/docs/images/audit.png b/docs/images/audit.png index 7e89118..df92fa9 100644 Binary files a/docs/images/audit.png and b/docs/images/audit.png differ diff --git a/docs/images/chat.png b/docs/images/chat.png index ace4845..1ba68ca 100644 Binary files a/docs/images/chat.png and b/docs/images/chat.png differ diff --git a/docs/images/flows.png b/docs/images/flows.png index e6bcefd..cd07854 100644 Binary files a/docs/images/flows.png and b/docs/images/flows.png differ diff --git a/docs/images/home.png b/docs/images/home.png index 1f5157a..3178828 100644 Binary files a/docs/images/home.png and b/docs/images/home.png differ diff --git a/docs/images/tasks.png b/docs/images/tasks.png index fcd5bf8..fbe92dc 100644 Binary files a/docs/images/tasks.png and b/docs/images/tasks.png differ diff --git a/docs/quickstart.md b/docs/quickstart.md index 6ac5e3f..eef6d1a 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -127,7 +127,7 @@ The full set of reviewer actions is in [Approvals and ownership](guides/approval - **Tasks** lists the task with its status timeline, history and identifiers. - The approval page lists the decision record and every revision. -- **Audit** (administrators only) lists each step. The approval page links to the trail for its task. +- **Administration → Audit trail** (administrators only) lists each step. The approval page links to the trail for its task. Everything above is stored in the database, not in the browser. With `npx` the state lives in the launcher's data directory (`~/.agent-taskbay` by default). From source it lives in `./.data/pglite` (database) and `./.data/artifacts` (binary content). The state survives a restart: `npm run verify:package` installs the packaged launcher, registers an agent, sends it a command, restarts, and checks that the agent and task are still there. @@ -136,7 +136,7 @@ Everything above is stored in the database, not in the browser. With `npx` the s Real agents are often driven by more than one system. The `automation` sample agent plays that: it already has a task, "Rotate staging credentials", waiting for an answer, as if a pipeline had started it. 1. In **Agents**, choose **Add agent**, paste `http://127.0.0.1:4010/automation/card.json`, then **Fetch Agent Card**, **Continue** and **Connect**. -2. Open the agent and choose **Browse tasks**. You see two tasks, with the agent's question in quotes: "Which environment should I rotate?". Nothing has been stored yet. +2. Choose **Find tasks** in the sidebar and pick the **Automation fixture** agent (or open the agent and choose **Browse tasks**). You see two tasks, with the agent's question in quotes: "Which environment should I rotate?". Nothing has been stored yet. 3. Choose **Track** on "Rotate staging credentials". The row says **Tracked**; choose **Open**. 4. Open the task in chat and reply `staging`. The task completes ("Done. Rotated staging."). @@ -152,7 +152,7 @@ How it works, who may do this and how to switch it off: [Find and steer tasks st | The error says the target is not in the allowlist, or blocked | Production builds only reach exact origins in `A2A_ALLOWED_AGENT_ORIGINS`, and block private addresses unless `A2A_ALLOW_PRIVATE_NETWORKS=true`. The launcher sets the private-network option for you in local mode. | See [Connect an agent](guides/connect-an-agent.md#when-it-fails). | | `Agent Taskbay is already running for