Comment format
The gap analysis is posted as a PR comment with the following structure:Model and cost
The gap analysis uses a faster, cheaper model by default. For the Anthropic provider, this isclaude-haiku-4-5-20251001. For the Bedrock provider, the gap analysis falls back to the same model specified in your WORKFLOW.md front matter, since there is no safe default Bedrock model ID.
You can override the gap analysis model by adding gap_analysis_model: to the front matter of your repo’s WORKFLOW.md:
Updating an existing gap analysis
If a gap analysis comment already exists on the PR when the workflow runs, it is updated in place rather than duplicated. The comment is identified by its opening line (## 🔍 AI Implementation Gap Analysis).
Gap analysis only runs when the implementation step succeeds and an open PR is found on the branch. If Claude does not open a PR during the implementation run, no gap analysis is posted.
Triggering a gap-fill run
After reviewing the gap analysis, you can ask Claude to address the remaining items without starting a new implementation from scratch.Post the trigger comment
Add a comment containing exactly
/ai-implement — no other text — on the PR. You must have write access to the repository.Wait for the run
The
comment-trigger.yml workflow picks up the comment, parses the Linear issue metadata from the PR body, and dispatches a new run of claude-implement.yml against the existing branch. Claude checks out the branch, reviews the gap analysis comment, and pushes gap-fill commits directly to the PR.