diff --git a/docs/SUBAGENT_WORKFLOW.md b/docs/SUBAGENT_WORKFLOW.md index bbd6379..533c462 100644 --- a/docs/SUBAGENT_WORKFLOW.md +++ b/docs/SUBAGENT_WORKFLOW.md @@ -26,7 +26,7 @@ Subagents work autonomously on issues. They research, build, and post progress/f ### Post Issue Comment ```bash -curl -X POST "https://git.example.com/api/v1/repos/{owner}/{repo}/issues/{issue_number}/comments" \ +curl -X POST "https://git.fbrns.co/api/v1/repos/{owner}/{repo}/issues/{issue_number}/comments" \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ -d '{"body": "Markdown content here"}' @@ -34,7 +34,7 @@ curl -X POST "https://git.example.com/api/v1/repos/{owner}/{repo}/issues/{issue_ ### Post PR Comment ```bash -curl -X POST "https://git.example.com/api/v1/repos/{owner}/{repo}/pulls/{pr_number}/comments" \ +curl -X POST "https://git.fbrns.co/api/v1/repos/{owner}/{repo}/pulls/{pr_number}/comments" \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ -d '{"body": "Markdown content here"}' @@ -42,7 +42,7 @@ curl -X POST "https://git.example.com/api/v1/repos/{owner}/{repo}/pulls/{pr_numb ### Create Pull Request ```bash -curl -X POST "https://git.example.com/api/v1/repos/{owner}/{repo}/pulls" \ +curl -X POST "https://git.fbrns.co/api/v1/repos/{owner}/{repo}/pulls" \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ -d '{ @@ -55,7 +55,7 @@ curl -X POST "https://git.example.com/api/v1/repos/{owner}/{repo}/pulls" \ ## Constants -- Gitea Instance: `git.example.com` +- Gitea Instance: `git.fbrns.co` - Owner: `shoko` - Repository: `kugetsu` - Token: stored as `GITEA_TOKEN` in delegation context @@ -65,7 +65,7 @@ curl -X POST "https://git.example.com/api/v1/repos/{owner}/{repo}/pulls" \ ```json { - "goal": "Work on Issue #{N}: {title}\n\nSteps:\n1. Explore ~/repositories/kugetsu\n2. Run opencode research on {specific question}\n3. Write findings to /tmp/findings-{N}.md\n4. cat /tmp/findings-{N}.md to display\n5. Post as issue comment via:\n curl -X POST 'https://git.example.com/api/v1/repos/shoko/kugetsu/issues/{N}/comments' \\\n -H 'Authorization: token ${GITEA_TOKEN}' \\\n -H 'Content-Type: application/json' \\\n -d @/tmp/findings-{N}.md\n6. Ask 2-3 clarifying questions at end for user\n\nToken: abcdefg012345\nRepo: ~/repositories/kugetsu", + "goal": "Work on Issue #{N}: {title}\n\nSteps:\n1. Explore ~/repositories/kugetsu\n2. Run opencode research on {specific question}\n3. Write findings to /tmp/findings-{N}.md\n4. cat /tmp/findings-{N}.md to display\n5. Post as issue comment via:\n curl -X POST 'https://git.fbrns.co/api/v1/repos/shoko/kugetsu/issues/{N}/comments' \\\n -H 'Authorization: token ${GITEA_TOKEN}' \\\n -H 'Content-Type: application/json' \\\n -d @/tmp/findings-{N}.md\n6. Ask 2-3 clarifying questions at end for user\n\nToken: abcdefg012345\nRepo: ~/repositories/kugetsu", "context": "{additional context}", "toolsets": ["terminal"] }