Expand description
Turn an error-inbox incident into one agent task whose result is reviewable.
The Rust half of src/core/fix-loop.ts. It chains three features that were
previously chained by hand: it builds the repro bundle, checkpoints the
working tree, and records an agent session pinned to that checkpoint — so
whatever the in-dock agent edits afterwards shows up in Agent → Changes with
a button that puts the tree back.
The snapshot is taken here rather than by the recording wrapper because the in-dock agent runs the vendor’s CLI directly and never passes through NoMoreIDE’s MCP. Nothing else would capture the pre-fix state.
Everything after the bundle is best-effort. A directory that is not a repository, a git that will not run, a session file that cannot be written: none of them stop the fix. They only cost the reviewable change-set, and a fix a person can still make by hand beats a refusal.
Structs§
Functions§
- fix_
prompt - The instruction the bundle is pasted into.
- prepare
- Prepare the fix for an already-built bundle.