Expand description
Transparent launch harness for mimir <agent> [agent args...].
The harness owns the process/session boundary. It parses only Mimir-specific flags that appear before the child agent name, preserves every child argument after the agent, injects a compact session envelope through environment variables, and launches the native agent with inherited terminal streams.
Structs§
- Checkpoint
Note - Result of writing an intentional session checkpoint note.
- Checkpoint
Note Metadata - Metadata embedded into an intentional session checkpoint note.
- Child
Command Spec - Fully materialized child command shape.
- Launch
Plan - Parsed launch plan for one wrapped agent session.
- Librarian
Handoff Summary - Librarian handoff outcome after post-session capture.
- Native
Memory Adapter Health - Reason-coded health for one configured native-memory adapter source.
- Native
Memory Sweep Outcome - Summary of native-memory draft capture after a wrapped session.
- Post
Session Draft Summary - Path for the staged post-session draft, when one was written.
- Remote
Backup Report - Serializable subset of
RemoteSyncReportfor capture summaries. - Remote
Backup Summary - Remote backup outcome after post-session capture.
- Remote
Restore Drill Report - Result of a destructive BC/DR restore drill.
- Remote
Service Plan - Fully resolved service-remote adapter boundary for one workspace.
- Remote
Sync Plan - Fully resolved remote sync boundary for one workspace.
- Remote
Sync Report - Result of an explicit remote sync command.
- Session
Capture Summary - Combined capture summary for one wrapped session.
- Session
Checkpoint Capture Outcome - Summary of session-local checkpoint draft capture.
Enums§
- Harness
Error - Errors returned by harness argument parsing or child launch.
- Remote
Sync Direction - Explicit remote sync direction for governed memory recovery state.
Functions§
- capture_
native_ memory_ drafts - Sweep configured native-memory files for the launched agent and stage them as untrusted librarian drafts.
- capture_
post_ session_ draft - Stage a raw post-session draft for librarian processing.
- capture_
session_ checkpoint_ drafts - Sweep the session-local checkpoint draft inbox.
- capture_
session_ drafts - Run all post-child capture paths and write a session capture summary.
- generate_
session_ id - Generate a process-local session id suitable for one harness launch.
- list_
checkpoint_ notes - List supported checkpoint note files in a session draft inbox.
- parse_
launch_ args - Parse
mimir <agent> [agent args...]arguments. - prepare_
launch_ plan - Parse arguments, discover Mimir bootstrap/config state, and write the launch-time session capsule.
- prepare_
remote_ service_ plan - Resolve the explicit service-remote adapter boundary for the current workspace.
- prepare_
remote_ sync_ plan - Resolve the explicit remote sync boundary for the current workspace.
- render_
draft_ next - Render the oldest draft in a lifecycle state.
- render_
draft_ show - Render one draft with metadata and raw text.
- render_
draft_ triage - Move a draft to a terminal operator-review state and record why.
- render_
drafts_ list - Render one-line summaries for drafts in a lifecycle state.
- render_
drafts_ status - Render draft lifecycle queue counts.
- render_
launch_ banner - Render the human-facing preflight banner printed before the native agent starts.
- render_
memory_ context - Render a bounded, data-only context capsule for the current project.
- render_
memory_ explain - Render audit metadata for one governed canonical memory.
- render_
memory_ health - Render a compact memory-readiness health view for the current project.
- render_
memory_ list - Render a read-only operator list of governed canonical memories.
- render_
memory_ show - Render exactly one governed canonical memory by memory ID.
- render_
operator_ status - Render the unified operator status view for the current project.
- render_
project_ doctor - Render a project-level setup doctor for public first-run readiness.
- render_
remote_ dry_ run - Render a dry-run for the configured remote kind.
- render_
remote_ restore_ drill_ dry_ run - Render a dry-run plan for the destructive BC/DR restore drill.
- render_
remote_ restore_ drill_ report - Render a restore drill report as stable key/value lines.
- render_
remote_ service_ dry_ run - Render the planned service-adapter boundary without network I/O.
- render_
remote_ status - Render status for any configured remote kind.
- render_
remote_ sync_ dry_ run - Render the planned file boundary without invoking Git or copying files.
- render_
remote_ sync_ report - Render a remote sync report as stable key/value lines.
- render_
remote_ sync_ status - Render machine-readable status for the explicit remote sync boundary.
- run_
child - Launch the child agent with inherited stdio/stderr/stdin and wait for it to exit.
- run_
remote_ restore_ drill - Run the destructive BC/DR restore drill for the configured Git remote.
- run_
remote_ sync - Run an explicit Git-backed remote sync.
- submit_
memory_ revoke_ request - Stage an append-only revocation request as a librarian draft.
- write_
checkpoint_ note - Write an intentional session checkpoint note for later draft capture.