Skip to content

Commit 212ff7b

Browse files
hkaltaiclaude
andcommitted
docs(analyst): describe the memory audit log and what a reload changes
Add an analyst turn with no memory tools to the prompt-loop test and name the test for what it asserts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent fb215f8 commit 212ff7b

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎docs/docs/configure/agents.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The agent for asking questions about your data. Truly read-only mode for safe da
2828
- **Bash**: Safe commands auto-allowed (`ls`, `grep`, `cat`, `head`, `tail`, `find`, `wc`). dbt read commands allowed (`dbt list`, `dbt ls`, `dbt debug`). Everything else denied.
2929
- **Web**: Fetch and search allowed without prompts
3030
- **Schema/warehouse/finops**: All inspection tools available
31-
- **Workspace knowledge**: Loads workspace and project skills; reads and reloads workspace memory. Saving memory is done with `builder`.
31+
- **Workspace knowledge**: Loads workspace and project skills; reads workspace memory and views this checkout's memory audit log. Reloading memory syncs the local copy with the workspace, which can remove a local copy of a block the workspace archived. Saving memory is done with `builder`.
3232

3333
!!! tip
3434
Use `analyst` when exploring data to ensure no accidental writes. Switch to `builder` when you're ready to create or modify models.

‎docs/docs/data-engineering/agent-modes.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Estimated savings: ~60 credits/week (71% reduction on this query alone)
134134
- Search warehouse metadata
135135
- Detect PII columns
136136
- Save training entries
137-
- Read and reload workspace memory, and answer questions about team conventions from workspace skills (saving memory is done with builder)
137+
- Read and reload workspace memory, view this checkout's memory audit log, and answer questions about team conventions from workspace skills (saving memory is done with builder)
138138

139139
---
140140

‎packages/opencode/test/session/prompt.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,10 @@ for (const turn of [
630630
{ agent: "analyst", tools: undefined, expected: { read: true, write: false } },
631631
{ agent: "builder", tools: undefined, expected: { read: true, write: true } },
632632
{ agent: "builder", tools: { altimate_memory_read: false }, expected: { read: false, write: true } },
633+
{ agent: "analyst", tools: { altimate_memory_read: false }, expected: { read: false, write: false } },
633634
] as const) {
634635
noLLMServer.instance(
635-
`prompt loop describes only the memory tools ${turn.agent} keeps${turn.tools ? " with read switched off on the request" : ""}`,
636+
`prompt loop passes the identity section only the memory tools ${turn.agent} keeps${turn.tools ? " with read switched off on the request" : ""}`,
636637
() => Effect.gen(function* () {
637638
const section = spyOn(WorkspaceIdentity, "systemSection").mockResolvedValue("")
638639
const sent: Pick<LLM.StreamInput, "tools" | "agent" | "user">[] = []

0 commit comments

Comments
 (0)