Aider
Aider keeps its durable conversation as Markdown inside each repository. Hansard discovers those files from the current project and common project roots.
Source IDs
Section titled “Source IDs”| Source | Use it for |
|---|---|
aider |
.aider.chat.history.md conversations and matching optional sidecars. |
How the import works
Section titled “How the import works”Hansard looks for .aider.chat.history.md in the selected repository and in
repositories under the configured project roots. Each #### prompt heading
starts a new turn, and the Markdown that follows becomes the corresponding
assistant response. The nearest Git repository supplies the project identity,
so a history remains attached to the codebase where Aider created it.
When matching sidecars exist, Hansard joins model and token information from
.aider.llm.history, prompt details from Aider’s input history, and related
commit or diff records. Those files enrich the same conversation; they do not
create duplicate sessions. Running the importer again rereads the repository
history and refreshes that conversation while preserving the original source
files for later inspection.
Import and keep current
Section titled “Import and keep current”hansard import --source aider --since allhansard index rebuildRun the command from a repository when its history is outside the common project roots.
hansard config sources add aiderhansard watcher restartReview the import in the app
Section titled “Review the import in the app”After the import finishes, open Conversations and selectFilter & sort. Set Source toAider, choose the backfill window underTime, and use Folder when the same harness appears in several projects. Select a result to inspect its messages, tool calls and results, files, commits, model and usage fields, and source provenance in one conversation view.
For a local source that should stay current, open Settings → Indexing & Imports. Automatic follows detected local harnesses; Custom lets Sources scannedselect an explicit set. Explicit cloud and account-export sources do not turn into background network jobs here. If the expected result is absent after resetting the conversation filters, return to the terminal import in this guide and add --explain-skips where supported.
What Hansard preserves
Section titled “What Hansard preserves”- Each
####prompt and its following Markdown response as one conversation turn pair. - Repository attribution from the nearest git root.
- Model, request, and token metadata from
.aider.llm.historywhen present. - Matching git commits and diffs as structured edit activity when they can be correlated conservatively to a turn.
- Chat, LLM, and input-history files in raw preservation when available.
Known limitations
Section titled “Known limitations”- The Markdown chat file does not provide exact per-message timestamps.
- Model and token data are absent when Aider did not write the optional LLM history.
- Histories are transcript snapshots; Hansard does not advertise a stable Aider resume command.
Refresh an existing archive
Section titled “Refresh an existing archive”hansard import --source aider --since allhansard index rebuild