security: redact exposed Gitea credentials in documentation

This commit is contained in:
shokollm
2026-03-31 03:25:34 +00:00
parent 2570a04cc6
commit b22a7da710

View File

@@ -154,8 +154,8 @@ Steps:
4. cat /tmp/findings-4.md 4. cat /tmp/findings-4.md
5. Post findings as Gitea issue comment 5. Post findings as Gitea issue comment
Gitea: https://git.fbrns.co Gitea: <GITEA_URL>
Token: 4c85c4c92637b33230a1f550287e63a0d1cef7a0 Token: <YOUR_GITEA_TOKEN>
Repo: shoko/kugetsu Repo: shoko/kugetsu
Issue: #4""", Issue: #4""",
context="Focus on: delegate_task() vs terminal(opencode), Gitea hub pattern", context="Focus on: delegate_task() vs terminal(opencode), Gitea hub pattern",
@@ -193,8 +193,8 @@ All agent communication flows through Gitea issues/PRs as the async record.
EOF EOF
# Post as issue comment # Post as issue comment
curl -X POST "https://git.fbrns.co/api/v1/repos/shoko/kugetsu/issues/4/comments" \ curl -X POST "<GITEA_URL>/api/v1/repos/shoko/kugetsu/issues/4/comments" \
-H "Authorization: token 4c85c4c92637b33230a1f550287e63a0d1cef7a0" \ -H "Authorization: token <YOUR_GITEA_TOKEN>" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-H "User-Agent: Kugetsu-Subagent/1.0" \ -H "User-Agent: Kugetsu-Subagent/1.0" \
-d @/tmp/findings-4.md \ -d @/tmp/findings-4.md \
@@ -207,8 +207,8 @@ curl -X POST "https://git.fbrns.co/api/v1/repos/shoko/kugetsu/issues/4/comments"
```bash ```bash
# PM posts task assignment as issue comment # PM posts task assignment as issue comment
curl -X POST "https://git.fbrns.co/api/v1/repos/shoko/kugetsu/issues/3/comments" \ curl -X POST "<GITEA_URL>/api/v1/repos/shoko/kugetsu/issues/3/comments" \
-H "Authorization: token 4c85c4c92637b33230a1f550287e63a0d1cef7a0" \ -H "Authorization: token <YOUR_GITEA_TOKEN>" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"body": "## Task Assignment\n\nAgent: coding-agent-1\n\n1. Explore ~/repositories/kugetsu/tools/parallel-capacity-test/\n2. Run the capacity test tool\n3. Document findings in /tmp/findings-3.md\n4. Post findings here\n\nDeadline: Before next PM review cycle" "body": "## Task Assignment\n\nAgent: coding-agent-1\n\n1. Explore ~/repositories/kugetsu/tools/parallel-capacity-test/\n2. Run the capacity test tool\n3. Document findings in /tmp/findings-3.md\n4. Post findings here\n\nDeadline: Before next PM review cycle"
@@ -227,8 +227,8 @@ git checkout -b fix/issue-3-capacity-test main
git push -u origin fix/issue-3-capacity-test git push -u origin fix/issue-3-capacity-test
# Create PR via API # Create PR via API
curl -X POST "https://git.fbrns.co/api/v1/repos/shoko/kugetsu/pulls" \ curl -X POST "<GITEA_URL>/api/v1/repos/shoko/kugetsu/pulls" \
-H "Authorization: token 4c85c4c92637b33230a1f550287e63a0d1cef7a0" \ -H "Authorization: token <YOUR_GITEA_TOKEN>" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"title": "fix #3: Add parallel capacity test tool", "title": "fix #3: Add parallel capacity test tool",