docs: sanitize domain and token in SUBAGENT_WORKFLOW.md
This commit is contained in:
@@ -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.fbrns.co/api/v1/repos/{owner}/{repo}/issues/{issue_number}/comments" \
|
||||
curl -X POST "https://git.example.com/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.fbrns.co/api/v1/repos/{owner}/{repo}/issues/{issue_num
|
||||
|
||||
### Post PR Comment
|
||||
```bash
|
||||
curl -X POST "https://git.fbrns.co/api/v1/repos/{owner}/{repo}/pulls/{pr_number}/comments" \
|
||||
curl -X POST "https://git.example.com/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.fbrns.co/api/v1/repos/{owner}/{repo}/pulls/{pr_number}
|
||||
|
||||
### Create Pull Request
|
||||
```bash
|
||||
curl -X POST "https://git.fbrns.co/api/v1/repos/{owner}/{repo}/pulls" \
|
||||
curl -X POST "https://git.example.com/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.fbrns.co/api/v1/repos/{owner}/{repo}/pulls" \
|
||||
|
||||
## Constants
|
||||
|
||||
- Gitea Instance: `git.fbrns.co`
|
||||
- Gitea Instance: `git.example.com`
|
||||
- Owner: `shoko`
|
||||
- Repository: `kugetsu`
|
||||
- Token: stored as `GITEA_TOKEN` in delegation context
|
||||
@@ -65,7 +65,7 @@ curl -X POST "https://git.fbrns.co/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.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: 4c85c4c92637b33230a1f550287e63a0d1cef7a0\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.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",
|
||||
"context": "{additional context}",
|
||||
"toolsets": ["terminal"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user