Skip to main content

Module fixissue

Module fixissue 

Source
Expand description

Fixissue workflow: pull an issue, check it’s assigned to the current user, and produce a prompt that the agent can act on.

Enums§

Prepared
Result of prepping a fix-issue run. Either “go, here’s the prompt” or “skip, here’s why” — callers typically just print the reason and exit 0.

Constants§

FIXED_LABEL
Label applied to the issue after a successful fixissue run.

Functions§

post_completion
Post-run side effects on the issue: comment with the agent’s repair summary and add the fixed label. Both are best-effort from the caller’s perspective — on error we return it so the CLI can print a clear message, but the local fix has already been applied.
prepare
Given an issue URL, resolve it via the AtomGit API and — if it’s assigned to the logged-in user — build a prompt that briefs the agent on what to fix.