Task-oriented context retrieval and durable learning commands: resolve, search, and record.
These commands are the smallest stable user-facing surface for interacting with Potpie’s context engine.
Command Family
Command
Purpose
potpie resolve
Pull a bounded context package for a task.
potpie search
Run a narrow follow-up lookup against known entities or phrases.
potpie record
Persist a durable project learning back into the graph.
Internally, these are treated as the core context contract. New use cases tend to become new option values rather than brand-new top-level commands.
potpie resolve
potpie resolve [OPTIONS] TASK
Pulls the context an agent or developer should read before starting work.
Arguments
Argument
Type
Description
task
str
The task to pull context for. Required.
Options
Option
Type
Description
--intent
str
Work intent. Defaults to feature.
--include
str
Comma-separated include families to constrain the returned context.
--mode
str
Retrieval mode: fast, balanced, verify, or deep.
--pot
str
Pot to resolve against.
Examples
potpie resolve "what should I know before working in this repository?"potpie resolve "trace the authentication flow" --intent debug --mode deeppotpie resolve "prepare for a refactor of billing webhooks" --include code,history,decisions
potpie search
potpie search [OPTIONS] QUERY
Use this when you already know the rough phrase, entity, workflow, bug, or convention you need to narrow down.