Skip to content

Commit 870e1ad

Browse files
committed
fix: include upstream repo in agent prompt and SOP
1 parent 3be5a74 commit 870e1ad

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/agent-sops/task-tester.sop.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ You have TUI harness MCP tools: `tui_launch`, `tui_send_keys`, `tui_action`, `tu
1414

1515
You also have `shell` for setup commands and GitHub tools for posting comments.
1616

17+
**Important:** Always use `aws/agentcore-cli` as the repository for all GitHub API calls (get PR, post comments, etc.),
18+
not the fork repository.
19+
1720
## Steps
1821

1922
### 1. Setup

.github/scripts/javascript/process-inputs.cjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ function buildPrompts(mode, issueId, isPullRequest, command, branchName, inputs)
8585
const systemPrompt = fs.readFileSync(scriptFile, 'utf8');
8686

8787
let prompt = isPullRequest ? 'The pull request id is:' : 'The issue id is:';
88-
prompt += `${issueId}\n${command}\nreview and continue`;
88+
prompt += `${issueId}\n`;
89+
prompt += `The repository is: aws/agentcore-cli\n`;
90+
prompt += `${command}\nreview and continue`;
8991

9092
return { sessionId, systemPrompt, prompt };
9193
}

0 commit comments

Comments
 (0)