Task Playbook
Use this playbook when you want a repeatable operating sequence for coding agents that use the current VibeRecall MCP tool surface.
This page is intentionally procedural. It tells the agent what to do, what not to do, and when to stop.
1. Start of task
Use this when:
- a new task begins
- the task direction changes materially
- the agent reconnects after a stale session
Required sequence:
- Call
viberecall_get_status. - Verify the project and runtime match the task.
- Call
viberecall_get_context_packwith a concise task-shaped query. - Inspect
status,context_mode,index_status,index_hint,gaps,architecture_overview,architecture_map,related_modules,related_files,relevant_symbols, andcitations. - If the task is entity-centric, call
viberecall_search_entities. - Only if the correct entity is known, call
viberecall_get_neighborsorviberecall_find_paths. - If the task is feature work or another architecture-sensitive change on an existing codebase, do not edit yet; acquire project overview first.
Do not:
- skip
viberecall_get_status - begin with broad tool spam
- call graph tools before you know which entity matters
2. During investigation
Use this when:
- the agent has a concrete finding
- the current context is missing one specific detail
Required sequence:
- Keep working from the current task anchor.
- Call
viberecall_search_memoryonly if the missing detail is memory-shaped. - If the finding is durable and likely reusable, save it with
viberecall_save_episode.
Save only:
- architecture conclusions
- confirmed debugging discoveries
- dependency or ownership findings that matter later
- handoff notes worth future retrieval
Do not save:
- repeated progress updates
- speculative theories
- every code-reading note
3. Before a new feature, large refactor, or architecture-sensitive change on an existing repo
Use this when:
- the task depends on repository structure
- the task depends on recent code movement
- the current context looks stale or incomplete
Required sequence:
- Call
viberecall_get_index_status. - If
get_context_packalready gives enough code overview, inspect the repo locally and keep working. - If the context is still stale or missing, decide whether the workflow is explicitly trusted for indexing.
- If the workflow is not explicitly trusted, stop and ask the human.
- If the workflow is trusted, call
viberecall_index_repo. - Wait for readiness.
- Refresh with
viberecall_get_context_pack. - For repo-local work, pair the refreshed pack with direct local repo inspection before editing code.
Do not:
- index on every task
- use indexing as a substitute for task scoping
- turn a missing detail into silent privilege expansion
4. When the task is entity-centric
Use this when:
- the task is about a named component, service, domain object, or canonical concept
Required sequence:
- Call
viberecall_search_entities. - Choose the correct entity.
- Call
viberecall_get_neighborsfor bounded local context. - Call
viberecall_find_pathsonly if the task depends on a relationship between known entities.
Do not:
- call graph tools before entity selection
- treat graph exploration as a default first step
5. When correcting stale knowledge
Use this when:
- a fact appears wrong
- a fact appears incomplete
- the agent wants to change canonical memory
Required sequence:
- Call
viberecall_explain_fact. - Review lineage and supporting episodes.
- Confirm that this workflow is explicitly trusted for fact correction.
- If not trusted, stop and ask the human.
- If trusted and justified, call
viberecall_update_fact.
Do not:
- correct facts on first suspicion
- skip provenance review
- blur read access into canonical correction without explicit approval
6. When the work depends on local unpublished code
Use this when:
- the task depends on uncommitted files
- the task depends on code that only exists on the agent's machine
Required sequence:
- Decide whether the backend can reach a Git source directly.
- If not, decide whether a workspace-bundle or local-backend path exists.
- If no explicit path exists, stop and ask the human.
- If a path exists and the workflow is trusted, use that path explicitly.
- Only then call
viberecall_index_repo.
Do not:
- assume the hosted MCP server can inspect a local path directly
- assume local unpublished code may leave the machine without explicit approval
7. When project or environment scope is unclear
Use this when:
- the token may point at the wrong project
- the runtime health looks inconsistent with the task
- the environment may be wrong
- the trust boundary is no longer obvious
Required sequence:
- Stop broad tool usage.
- Re-run
viberecall_get_status. - If scope is still unclear, stop and ask the human.
Do not continue by guessing.
8. After an important decision
Use this when:
- the task produces a durable decision
- the task uncovers a high-signal debugging fact
- the agent is about to hand off work
Required sequence:
- Save one concise
viberecall_save_episodenote. - Include enough detail to reconnect the note to the task later.
This is the best time to capture signal without flooding memory.
9. Hard stop conditions
The agent must stop and ask the human when:
- project identity is unclear
- environment identity is unclear
- token scope is unclear
- the workflow may cross from read-only into privileged mutation
- local unpublished code may need to leave the machine
- a destructive tool appears necessary without explicit approval
Anti-patterns
- Starting with indexing.
- Starting with graph traversal before entity selection.
- Saving every intermediate thought.
- Skipping
viberecall_explain_factbefore correction. - Assuming hosted MCP can read local paths.
- Continuing after scope or trust becomes unclear.
- Treating prompts or resources as required for important workflows.