Docs
PR fix
PR fix is a lightweight single-phase workflow for quick fixes on existing pull requests. When a maintainer comments on a PR asking Last Light to fix something, and the classifier detects a BUILD intent, this workflow runs instead of the full build cycle — it fixes the issue and pushes directly to the PR branch.
Permission profile:
repo-write — can push
commits to the PR branch. No architect planning or independent review.
Pipeline
How it differs from build
| Build | PR fix | |
|---|---|---|
| Phases | 6 (guardrails → architect → executor → reviewer → PR) | 1 (fix and push) |
| Approval gates | Optional (post_architect, post_reviewer) | None |
| Code review | Independent reviewer with fix loop | None — relies on the existing PR review process |
| Creates branch | Yes (new branch per issue) | No (pushes to existing PR branch) |
| Typical use | New features from issues | Fixing failing CI, addressing review comments |
What it does
- Clones the repo at the PR's head branch
- Reads the PR description, comment thread, and any CI failures
- Implements the fix
- Runs tests, lint, and typecheck
- Pushes the fix commit to the PR branch
Triggers
- GitHub comment:
@last-light fix thison a PR (classifier detects BUILD intent on a PR comment)