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. |
potpie resolve
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 search
Arguments
| Argument | Type | Description |
|---|---|---|
query | str | Phrase or entity to look up. Required. |
Options
| Option | Type | Description |
|---|---|---|
--include | str | Include-family filter. |
--pot | str | Pot to search. |
Examples
potpie record
Options
| Option | Type | Description |
|---|---|---|
--type | str | Record type such as fix, decision, or preference. Required. |
--summary | str | The durable learning to persist. Required. |
--scope | str | Scope in key:value form, for example service:inventory-svc. |
--pot | str | Pot to write into. |
Examples
When To Use Which
| Need | Command |
|---|---|
| ”I am about to work on X. Give me the bounded context.” | resolve |
| ”I know the name or phrase. Narrow it down.” | search |
| ”This is important enough to keep in the project memory.” | record |

