From cc01e8dd18c1e21f9553ec3c30c39d778aa0dc94 Mon Sep 17 00:00:00 2001 From: shokollm <270575765+shokollm@users.noreply.github.com> Date: Fri, 27 Mar 2026 11:39:38 +0000 Subject: [PATCH] docs: sanitize domain and token in SUBAGENT_WORKFLOW.md --- docs/SUBAGENT_WORKFLOW.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/SUBAGENT_WORKFLOW.md b/docs/SUBAGENT_WORKFLOW.md index e4cadf1..bbd6379 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.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"] }