Skip to content

Generated surface reference

This reference is generated from the operation catalog and config editing registry.

Pi Hindsight 1.0 supports a stable Pi-first Hindsight integration. Core and Pi workflow tools are part of the stable 1.0 contract. Capability-gated tools are supported when the connected Hindsight server exposes the required upstream endpoint or field; unsupported servers should return a clear capability error.

ToolScope
hindsight_recallcore 1.0
hindsight_retaincore 1.0
hindsight_retain_globalcore 1.0
hindsight_retain_filescapability-gated 1.0
hindsight_retain_receiptsPi workflow 1.0
hindsight_route_memoryPi workflow 1.0
hindsight_delete_documentcapability-gated 1.0
hindsight_list_documentscapability-gated 1.0
hindsight_get_documentcapability-gated 1.0
hindsight_update_document_tagscapability-gated 1.0
hindsight_list_entitiescapability-gated 1.0
hindsight_get_entitycapability-gated 1.0
hindsight_regenerate_entitycapability-gated 1.0
hindsight_get_graphcapability-gated 1.0
hindsight_get_entity_graphcapability-gated 1.0
hindsight_list_tagscapability-gated 1.0
hindsight_list_mental_modelscapability-gated 1.0
hindsight_get_mental_modelcapability-gated 1.0
hindsight_create_mental_modelcapability-gated 1.0
hindsight_promote_reflect_query_to_mental_modelcapability-gated 1.0
hindsight_update_mental_modelcapability-gated 1.0
hindsight_delete_mental_modelcapability-gated 1.0
hindsight_get_mental_model_historycapability-gated 1.0
hindsight_refresh_mental_modelcapability-gated 1.0
hindsight_trigger_consolidationcapability-gated 1.0
hindsight_recover_consolidationcapability-gated 1.0
hindsight_clear_observationscapability-gated 1.0
hindsight_inspect_retain_queuePi workflow 1.0
hindsight_list_operationscapability-gated 1.0
hindsight_cancel_operationcapability-gated 1.0
hindsight_retry_operationcapability-gated 1.0
hindsight_list_memoriescapability-gated 1.0
hindsight_get_memorycapability-gated 1.0
hindsight_get_chunkcapability-gated 1.0
hindsight_get_memory_historycapability-gated 1.0
hindsight_delete_memory_observationscapability-gated 1.0
hindsight_configurePi workflow 1.0
hindsight_get_bank_configcapability-gated 1.0
hindsight_update_bank_configcapability-gated 1.0
hindsight_get_bank_profilePi workflow 1.0
hindsight_update_bank_profilePi workflow 1.0
hindsight_update_bank_dispositionPi workflow 1.0
hindsight_add_bank_backgroundPi workflow 1.0
hindsight_reset_bank_configcapability-gated 1.0
hindsight_list_directivescapability-gated 1.0
hindsight_get_directivecapability-gated 1.0
hindsight_create_directivecapability-gated 1.0
hindsight_update_directivecapability-gated 1.0
hindsight_delete_directivecapability-gated 1.0
hindsight_get_bank_template_schemacapability-gated 1.0
hindsight_export_bank_templatecapability-gated 1.0
hindsight_import_bank_templatecapability-gated 1.0
hindsight_importPi workflow 1.0
hindsight_import_seed_contentPi workflow 1.0
hindsight_import_chat_transcriptPi workflow 1.0
hindsight_reflectcore 1.0
Surface1.0 statusRationale
Cross-bank list/createDeferredNo public list_banks or arbitrary cross-bank create_bank tool in 1.0.
Full-bank deletionDeferredNo public delete_bank tool in 1.0; selected-bank reset/delete-like repair remains scoped.
Platform bank statsDeferredNo global get_bank_stats dashboard/tool in 1.0.
Audit logs and webhooksNon-goalPlatform administration is outside the Pi-first 1.0 memory lifecycle.

Recall raw memories from Hindsight for this project.

ParameterTypeRequiredDescription
querystringyesNatural language memory query
bankstringnoOptional bank id. Defaults to project bank.
typesarray<world | experience | observation>noOptional Hindsight fact types to retrieve.
budgetlow | mid | highnoOptional Hindsight recall budget override for this tool call.
maxTokensintegernoOptional Hindsight recall token cap override for this tool call. Use 0 for metadata/source-only recall when supported by Hindsight.
queryTimestampstringnoOptional ISO timestamp for time-scoped recall.
includeChunksbooleannoAsk Hindsight to include source chunks when supported.
recallChunksMaxTokensintegernoOptional token cap for included recall chunks.
includeSourceFactsbooleannoAsk Hindsight to include source facts when supported.
maxSourceFactsTokensintegernoOptional token cap for included source facts.
includeEntitiesbooleannoAsk Hindsight to include entities when supported.
tracebooleannoAsk Hindsight to include recall trace/debug data.
tagsarraynoAdditional tag filter.
tagsMatchany | all | any_strict | all_strictno
tagGroupsarraynoCompound Hindsight tag_groups filter. AND-ed with the automatic Pi project/user scope filter.

Retain explicit raw content in Hindsight. Use for durable facts or decisions.

ParameterTypeRequiredDescription
contentstringyesRaw content to retain, not summary if source content is available.
contextstringyesSource context for this memory.
bankstringnoOptional bank id. Defaults to project bank.
tagsarrayno
entitiesarraynoOptional Hindsight entities to associate with this retained content.
documentIdstringnoOptional Hindsight document ID. Defaults to the existing deterministic explicit retain document ID.
timestampstringnoOptional Hindsight timestamp string, including ISO-ish strings or literal unset, passed through as provided.
metadataobject/mapnoOptional caller metadata string map. Reserved provenance keys such as cwd, pi_session_file, source, and retainSource are set by pi-hindsight and cannot be overridden.
updateModeappend | replacenoOptional Hindsight update mode for this explicit retain call.
observationScopesper_tag | combined | all_combinations | array<array>noOptional Hindsight observation scopes. Use per_tag, combined, all_combinations, or explicit string groups. When provided, overrides configured default observation scopes for this retain call.
documentTagsarraynoOptional Hindsight document_tags for this retained document when supported.
asyncbooleannoOptional Hindsight async extraction flag for this retain call. Defaults to configured retain.async.

Retain explicit durable user memory in the configured user bank. Use for stable user identity, preferences, and cross-project workflows only.

ParameterTypeRequiredDescription
contentstringyesRaw memory content to retain.
contextstringyesWhy this memory is durable user context.
tagsarrayno
entitiesarraynoOptional Hindsight entities to associate with this retained content.
documentIdstringnoOptional Hindsight document ID. Defaults to the existing deterministic explicit retain document ID.
timestampstringnoOptional Hindsight timestamp string, including ISO-ish strings or literal unset, passed through as provided.
metadataobject/mapnoOptional caller metadata string map. Reserved provenance keys such as cwd, pi_session_file, source, and retainSource are set by pi-hindsight and cannot be overridden.
updateModeappend | replacenoOptional Hindsight update mode for this explicit retain call.
observationScopesper_tag | combined | all_combinations | array<array>noOptional Hindsight observation scopes. Use per_tag, combined, all_combinations, or explicit string groups. When provided, overrides configured default observation scopes for this retain call.
documentTagsarraynoOptional Hindsight document_tags for this retained document when supported.
asyncbooleannoOptional Hindsight async extraction flag for this retain call. Defaults to configured retain.async.

Upload local files to Hindsight native file retain. Returns async operation IDs when supported.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
filesarrayyesFiles to upload.
contextstringnoShared file-retain context.
tagsarraynoShared tags.
metadataobject/mapnoShared metadata.

List recent explicit retain receipts so exact document IDs can be deleted.

ParameterTypeRequiredDescription
limitnumbernoMaximum receipts to return. Defaults to 10.

Dry-run memory routing against current project/user policy. Does not retain anything.

ParameterTypeRequiredDescription
contentstringyesCandidate memory content to classify.
contextstringnoOptional context for routing.

Delete a specific Hindsight document and all memories extracted from it. Destructive and irreversible; requires exact bank/document ID and confirm=true. Export or back up the bank first if the document may be needed later.

ParameterTypeRequiredDescription
bankstringyesBank ID containing the document.
documentIdstringyesExact Hindsight document ID to delete.
confirmtrueyesRequired destructive-action confirmation. Must be true.

List Hindsight documents for compact inspection with supported filters.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
qstringnoOptional text query filter.
tagsarraynoOptional tag filter.
tagsMatchany | all | any_strict | all_strictno
limitnumbernoMaximum documents to return.
offsetnumbernoPagination offset.

Fetch one Hindsight document by ID for inspection.

ParameterTypeRequiredDescription
documentIdstringyesExact Hindsight document ID.
bankstringnoOptional bank id. Defaults to project bank.

Replace document tags for one Hindsight document. Requires confirm=true.

ParameterTypeRequiredDescription
documentIdstringyesExact Hindsight document ID.
tagsarrayyesReplacement tag set.
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired mutation confirmation. Must be true.

List Hindsight entities for compact inspection.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
limitnumbernoMaximum entities to return.
offsetnumbernoPagination offset.

Fetch one Hindsight entity by ID.

ParameterTypeRequiredDescription
entityIdstringyesHindsight entity ID.
bankstringnoOptional bank id. Defaults to project bank.

Regenerate observations for one Hindsight entity. Expensive mutation; requires confirm=true.

ParameterTypeRequiredDescription
entityIdstringyesHindsight entity ID.
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired mutation confirmation. Must be true.

Explore Hindsight graph with supported filters.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
typeworld | experience | opinionnoOptional graph fact type filter. Hindsight supports world, experience, or opinion.
qstringnoOptional text query filter.
limitnumbernoMaximum graph items to return.
tagsarraynoOptional tag filter.
tagsMatchany | all | any_strict | all_strictno
documentIdstringnoOptional document ID filter.
chunkIdstringnoOptional chunk ID filter.

Fetch Hindsight entity graph summary when server supports it.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
limitnumbernoMaximum graph items to return.
minCountnumbernoMinimum entity count filter.

List Hindsight tags for compact inspection.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
qstringnoOptional tag text filter.
sourcememories | mental_modelsno
limitnumbernoMaximum tags to return.
offsetnumbernoPagination offset.

List Hindsight mental models for a bank.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
tagsarrayno
tagsMatchany | all | exactno
detailmetadata | content | fullno
limitnumbernoMaximum mental models to return.
offsetnumbernoPagination offset.

Fetch one Hindsight mental model by ID.

ParameterTypeRequiredDescription
mentalModelIdstringyesMental model ID.
bankstringnoOptional bank id. Defaults to project bank.
detailmetadata | content | fullno

Create a Hindsight mental model from a source query.

ParameterTypeRequiredDescription
namestringyesMental model name.
sourceQuerystringyesSource query used to build the model.
bankstringnoOptional bank id. Defaults to project bank.
idstringnoOptional mental model ID.
tagsarrayno
maxTokensnumbernoOptional max token budget.

hindsight_promote_reflect_query_to_mental_model

Section titled “hindsight_promote_reflect_query_to_mental_model”

Create a mental model from a useful project or User Bank reflect query.

ParameterTypeRequiredDescription
bankproject | globalyes
namestringyesMental model name.
sourceQuerystringyesReflect query to promote.
idstringnoOptional mental model ID.
tagsarrayno
maxTokensnumbernoOptional max token budget.

Update a Hindsight mental model.

ParameterTypeRequiredDescription
mentalModelIdstringyesMental model ID.
bankstringnoOptional bank id. Defaults to project bank.
namestring | nullno
sourceQuerystring | nullno
tagsarray | nullno
maxTokensnumber | nullno

Delete one Hindsight mental model. Destructive and irreversible; requires confirm=true. Export a bank template first if the model may be needed later.

ParameterTypeRequiredDescription
mentalModelIdstringyesMental model ID.
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired destructive-action confirmation.

Fetch Hindsight mental model history.

ParameterTypeRequiredDescription
mentalModelIdstringyesMental model ID.
bankstringnoOptional bank id. Defaults to project bank.

Refresh a Hindsight mental model and surface operation IDs when returned.

ParameterTypeRequiredDescription
mentalModelIdstringyesMental model ID.
bankstringnoOptional bank id. Defaults to project bank.

Trigger Hindsight consolidation for a bank.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.

Recover failed Hindsight consolidation work for a bank.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.

Clear all observations for one bank. Destructive and irreversible; requires confirm=true. Export or back up the bank first if observations may be needed later.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired destructive-action confirmation.

Inspect local retain queue and dead-letter metadata without returning retained payloads.

ParameterTypeRequiredDescription
includeJobsbooleannoInclude redacted job metadata. Defaults to false.

List Hindsight async operations for a bank with supported server filters.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
statusstringnoOptional operation status filter.
taskTypestringnoOptional task type filter.
limitnumbernoMaximum operations to return.
offsetnumbernoPagination offset.

Cancel a pending Hindsight async operation. Requires confirm=true.

ParameterTypeRequiredDescription
operationIdstringyesHindsight operation ID.
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired destructive-action confirmation. Must be true.

Retry a failed or cancelled Hindsight async operation. Mutates operation state for one bank.

ParameterTypeRequiredDescription
operationIdstringyesHindsight operation ID.
bankstringnoOptional bank id. Defaults to project bank.

List raw Hindsight memory units for inspection.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
typestringnoOptional memory type filter.
qstringnoOptional text query filter.
limitnumbernoMaximum memories to return.
offsetnumbernoPagination offset.

Fetch a raw Hindsight memory unit by ID.

ParameterTypeRequiredDescription
memoryIdstringyesHindsight memory ID.
bankstringnoOptional bank id. Defaults to project bank.

Fetch a raw Hindsight source chunk by chunk ID.

ParameterTypeRequiredDescription
chunkIdstringyesHindsight chunk ID.

Fetch Hindsight memory history by memory ID when server supports it.

ParameterTypeRequiredDescription
memoryIdstringyesHindsight memory ID.
bankstringnoOptional bank id. Defaults to project bank.

Delete observations for one Hindsight memory. Destructive and irreversible for that memory’s observations; requires exact memory ID and confirm=true. Inspect the memory first and back up the bank if needed.

ParameterTypeRequiredDescription
memoryIdstringyesHindsight memory ID.
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired destructive-action confirmation. Must be true.

Write project Hindsight config (.pi/hindsight.json), including project bank override.

ParameterTypeRequiredDescription
projectBankIdstringnoProject bank ID to use. Defaults to currently selected bank.
baseUrlstringnoHindsight base URL, e.g. http://localhost:8888
globalBankIdstringnoOptional user bank ID.
enableGlobalBankbooleannoEnable or disable user bank.
enabledbooleannoEnable or disable Hindsight extension.
queuePathstringnoRetain queue path. Defaults to .pi/hindsight/retain-queue.jsonl.

Read resolved Hindsight bank config and override counts for a selected bank.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.

Patch supported Hindsight bank config override fields using current server/OpenAPI field names. Requires confirm=true.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
updatesobject/mapyesBank config override fields to patch using current Hindsight field names.
confirmtrueyesRequired admin mutation confirmation. Must be true.

Read Hindsight bank profile/background/disposition.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.

Patch supported Hindsight bank profile fields. Requires confirm=true.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
namestring | nullno
missionstring | nullno
backgroundstring | nullno
reflectMissionstring | nullno
retainMissionstring | nullno
observationsMissionstring | nullno
confirmtrueyesRequired admin mutation confirmation. Must be true.

Update bank disposition traits. Requires confirm=true.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
skepticismintegeryes
literalismintegeryes
empathyintegeryes
confirmtrueyesRequired admin mutation confirmation. Must be true.

Append bank background. Optional disposition update; requires confirm=true.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
contentstringyesBackground text to append.
updateDispositionbooleannoAsk Hindsight to update disposition from background.
confirmtrueyesRequired admin mutation confirmation. Must be true.

Reset Hindsight bank config overrides for a selected bank.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired destructive-action confirmation. Must be true.

List bank-owned Hindsight directives (hard reflect rules).

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
tagsarraynoOptional tag filter.
tagsMatchany | all | exactno
activeOnlybooleannoOnly return active directives.
limitnumbernoMaximum directives to return.
offsetnumbernoPagination offset.

Get a bank-owned Hindsight directive by ID.

ParameterTypeRequiredDescription
directiveIdstringyesDirective ID.
bankstringnoOptional bank id. Defaults to project bank.

Create a bank-owned Hindsight directive (hard reflect rule).

ParameterTypeRequiredDescription
namestringyesHuman-readable directive name.
contentstringyesDirective text to inject into prompts.
bankstringnoOptional bank id. Defaults to project bank.
prioritynumbernoHigher priority directives are injected first.
isActivebooleannoWhether this directive is active.
tagsarraynoDirective tags.

Update a bank-owned Hindsight directive.

ParameterTypeRequiredDescription
directiveIdstringyesDirective ID.
bankstringnoOptional bank id. Defaults to project bank.
namestring | nullnoNew directive name.
contentstring | nullnoNew directive text.
prioritynumber | nullnoNew priority.
isActiveboolean | nullnoNew active status.
tagsarray | nullnoNew tags.

Delete a bank-owned Hindsight directive. Destructive and irreversible; requires confirm=true. Export a bank template first if the directive may be needed later.

ParameterTypeRequiredDescription
directiveIdstringyesDirective ID.
bankstringnoOptional bank id. Defaults to project bank.
confirmtrueyesRequired destructive-action confirmation. Must be true.

Fetch the Hindsight bank-template JSON Schema used to validate portable manifests.

ParameterTypeRequiredDescription

Export a portable Hindsight bank template manifest for reuse in another project or bank.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
outputFilestringnoOptional path to save the exported manifest JSON. Relative paths resolve against cwd.

Dry-run or apply a portable Hindsight bank template manifest from a local JSON file or inline JSON.

ParameterTypeRequiredDescription
bankstringnoOptional bank id. Defaults to project bank.
sourceFilestringnoLocal bank template manifest JSON path. Relative paths resolve against cwd.
manifestJsonstringnoInline bank template manifest JSON.
dryRunbooleannoPreview without writing. Defaults to true.
confirmApplytruenoRequired when dryRun is false. Must be true to apply changes.

Import a historical Pi session JSONL file into Hindsight with deterministic document ID.

ParameterTypeRequiredDescription
sessionFilestringnoPi session JSONL path. Defaults to current session file.
bankstringnoOptional bank id. Defaults to project bank.
dryRunbooleannoPreview import without writing.
allLeavesbooleannoImport or preview all branch leaves.

Import local markdown/text/JSON seed knowledge with deterministic document IDs. Dry-run by default.

ParameterTypeRequiredDescription
pathsarrayyesFiles or directories to import. Supports .md, .txt, and .json.
bankstringnoOptional bank id. Defaults to project bank.
dryRunbooleannoPreview import without writing. Defaults to true.
tagsarraynoAdditional import tags.

Import a chat transcript JSONL file into the configured user memory bank. Explicit separate path from Pi session import.

ParameterTypeRequiredDescription
sourceFilestringyesChat transcript JSONL path.
bankstringnoOptional bank id. Defaults to configured user bank.
dryRunbooleannoPreview import without writing.

Ask Hindsight to synthesize an answer from memory. Use explicitly, not for default recall.

ParameterTypeRequiredDescription
querystringyes
contextstringno
bankstringno
budgetlow | mid | highnoOptional Hindsight reflect budget override for this tool call.
maxTokensintegernoOptional Hindsight reflect token cap override for this tool call.
responseSchemaobject/mapno
includeFactsbooleannoAsk Hindsight reflect to include facts when supported.
includeToolCallsbooleannoAsk Hindsight reflect to include tool-call trace data when supported.
tagsarraynoAdditional tag filter.
tagsMatchany | all | any_strict | all_strictno
tagGroupsarraynoCompound Hindsight tag_groups filter. AND-ed with the automatic Pi project/user scope filter.
CommandDescription
/hindsightOpen Hindsight memory TUI.
/hindsight:initWrite .pi/hindsight.json with the currently selected project bank.
/hindsight:importImport the current Pi session JSONL into Hindsight.
/hindsight:import-currentImport the current Pi session JSONL into Hindsight.
/hindsight:import-fileImport an explicit Pi session JSONL file into Hindsight.
/hindsight:import-project-sessionsImport Pi session JSONL files scoped to the current repo/cwd.
/hindsight:sessionShow current Hindsight session memory mode and tags.
/hindsight:modeSet session memory mode: normal, read-only, or ignored.
/hindsight:next-opt-outSkip automatic retain for the next agent run in this session.
/hindsight:retainEnable or disable retain for this session.
/hindsight:tagAdd or remove a Hindsight tag for this session.
/hindsight:last-recallShow the last opt-in persisted recall snapshot.
/hindsight:recall-cleanupScan or prune accidentally persisted Hindsight recall blocks from the current session transcript.
/hindsight:queueInspect local retain queue and dead-letter metadata without printing payloads.
/hindsight:flushFlush queued retain jobs.
FieldTabKindDefaultChoicesAdvancedReset keyDescription
enabledConnectionbooleanenablednoenabledMaster switch. When off, automatic recall and retain are skipped.
baseUrlConnectiontexthttp://localhost:8888nohindsight.baseUrlServer endpoint used for recall, retain, reflect, and bank setup.
apiKeyEnvConnectiontextnot setnohindsight.apiKeyRecommended: environment variable name that contains the API key. Editing writes a safe env SecretRef, not the raw secret.
apiKeyDirectConnectiontextnot setyeshindsight.apiKeyAdvanced. Writes raw API key only to user/global config. Prefer API key source/env var whenever possible.
timeoutMsConnectionpositive-int30000 msnohindsight.timeoutMsMaximum time to wait for Hindsight network calls.
memoryProfileBanksselectproject-onlyproject-only, project+global, global-only, recall-onlynobanks.profileChoose Project Only for strict isolation, Project + User for personal coding, User Only for cross-repo preference memory, or Recall Only to disable automatic retain.
projectBankIdBankstextauto-derivednobanks.project.bankIdBank used for this repository. Default derives a stable ID from repo identity.
globalBankEnabledBanksbooleandisablednobanks.global.enabledAllows cross-project recall from a shared bank.
globalBankIdBankstextnot setnobanks.global.bankIdShared user bank used only when user memory is enabled.
recallEnabledRecallbooleanenablednorecall.enabledLooks up memory before answer generation and injects it ephemerally.
recallBudgetRecallselectmidlow, mid, highnorecall.budgetLow, mid, or high retrieval effort.
recallMaxTokensRecallpositive-int800norecall.maxTokensMaximum memory tokens injected into context.
recallStoreLastRecallbooleandisabledyesrecall.storeLastRecallAdvanced. Writes the latest successful recall snapshot to a local sidecar for /hindsight:last-recall.
recallStoreFailuresRecallbooleandisabledyesrecall.storeLastRecallFailuresAdvanced. Also records redacted failed recall attempts in the last-recall sidecar. Requires storing last recall snapshots.
retainEnabledRetainbooleanenablednoretain.enabledStores raw structured conversation deltas after turns.
retainAsyncRetainbooleanenabledyesretain.asyncWrites retain jobs through durable queue instead of blocking UI.
queuePathRetaintext.pi/hindsight/retain-queue.jsonlyesretain.queuePathJSONL retry queue used when Hindsight is unavailable.
globalRetainModeRetainselectexplicit-onlyexplicit-only, routeryesglobalRetain.modeAdvanced. explicit-only keeps global writes manual; router enables future high-confidence routing.
importModeImportselectcuratedcurated, raw, forensicnoimport.modeCurated drops noisy successful tool results from preview metrics; raw keeps current raw branch import behavior; forensic preserves recall blocks too.
importQualityProfileImportselectcompatiblecompatible, strictnoimport.qualityProfileCompatible preserves current curated behavior; strict drops process/UI-like, oversized, or repeated successful tool output in curated mode.
importBranchesImportselectcurrent-onlycurrent-only, all-leavesnoimport.includeBranchesImport current branch only, or every leaf branch explicitly.
importToolResultsImportselecterrors-onlyerrors-only, summary, contentnoimport.toolResultsCurated import defaults to errors-only; summary keeps bounded low-noise successful tool output; content keeps allowed full successful tool content.
importToolSummaryMaxCharsImportpositive-int500yesimport.toolResultSummaryMaxCharsMaximum characters kept for successful tool summaries in curated imports.
importManifestImporttext.pi/hindsight/import-manifest.jsonyesimport.manifestPathTracks imported sessions so reimports stay deterministic.
importCheckpointImporttext.pi/hindsight/import-checkpoint.jsonyesimport.checkpointPathTracks import progress so interrupted imports can resume safely.
importReplaceExistingImportbooleanenabledyesimport.replaceExistingImportedDocsUses deterministic replace mode for historical reimports instead of appending duplicates.
importResumeImportbooleanenabledyesimport.resumeSkips completed import documents when checkpoint content hashes match.
statusStyleUIselecttextoff, text, emoji, nerdfontnostatus.styleOff, plain text, emoji, or nerdfont symbols.
statusDetailUIselectactivityminimal, project, activity, verbosenostatus.detailHow much Hindsight info appears in Pi footer.
statusMaxLengthUIpositive-int24nostatus.maxLengthMaximum characters used by Hindsight footer status.
statusActivityUIbooleanenablednostatus.showActivityDisplays recall/retain activity in the status line.
notifyStartupUIbooleanenablednonotifications.startupShows selected Hindsight bank when Pi session starts.
notifyRecallUIbooleandisablednonotifications.recallShows a toast when automatic recall runs.
notifyRetainUIbooleandisablednonotifications.retainShows a toast when automatic retain queues memory.