From b22a7da7107323b59f3c2941473d12f674daaaa6 Mon Sep 17 00:00:00 2001 From: shokollm <270575765+shokollm@users.noreply.github.com> Date: Tue, 31 Mar 2026 03:25:34 +0000 Subject: [PATCH] security: redact exposed Gitea credentials in documentation --- docs/hermes-communication-patterns.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/hermes-communication-patterns.md b/docs/hermes-communication-patterns.md index c3d0aa4..e401de6 100644 --- a/docs/hermes-communication-patterns.md +++ b/docs/hermes-communication-patterns.md @@ -154,8 +154,8 @@ Steps: 4. cat /tmp/findings-4.md 5. Post findings as Gitea issue comment -Gitea: https://git.fbrns.co -Token: 4c85c4c92637b33230a1f550287e63a0d1cef7a0 +Gitea: <GITEA_URL> +Token: <YOUR_GITEA_TOKEN> Repo: shoko/kugetsu Issue: #4""", 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 # Post as issue comment -curl -X POST "https://git.fbrns.co/api/v1/repos/shoko/kugetsu/issues/4/comments" \ - -H "Authorization: token 4c85c4c92637b33230a1f550287e63a0d1cef7a0" \ +curl -X POST "<GITEA_URL>/api/v1/repos/shoko/kugetsu/issues/4/comments" \ + -H "Authorization: token <YOUR_GITEA_TOKEN>" \ -H "Content-Type: application/json" \ -H "User-Agent: Kugetsu-Subagent/1.0" \ -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 # PM posts task assignment as issue comment -curl -X POST "https://git.fbrns.co/api/v1/repos/shoko/kugetsu/issues/3/comments" \ - -H "Authorization: token 4c85c4c92637b33230a1f550287e63a0d1cef7a0" \ +curl -X POST "<GITEA_URL>/api/v1/repos/shoko/kugetsu/issues/3/comments" \ + -H "Authorization: token <YOUR_GITEA_TOKEN>" \ -H "Content-Type: application/json" \ -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" @@ -227,8 +227,8 @@ git checkout -b fix/issue-3-capacity-test main git push -u origin fix/issue-3-capacity-test # Create PR via API -curl -X POST "https://git.fbrns.co/api/v1/repos/shoko/kugetsu/pulls" \ - -H "Authorization: token 4c85c4c92637b33230a1f550287e63a0d1cef7a0" \ +curl -X POST "<GITEA_URL>/api/v1/repos/shoko/kugetsu/pulls" \ + -H "Authorization: token <YOUR_GITEA_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "title": "fix #3: Add parallel capacity test tool",