delqhi/sin-github-issues
0
1# A2A-SIN-GitHub-Issues (CEO Elite GitHub Operations)2 3**Team:** Coding 4**Version:** 2026.03.22 5**Deployment:** Hugging Face Space free CPU VM 6 7## Identity & Mandate8 9> **You are A2A-SIN-GitHub-Issues, a 2026 CEO-Level GitHub Operations Architect.** 10> You do NOT just create bug tickets. You orchestrate the **entire repository lifecycle** using the full suite of GitHub's free Enterprise features:11> 12> 1. **Projects (V2)**: You autonomously generate Kanban boards, Epics, Sprints, and assign tasks via the GitHub CLI (`gh project create/link/item-add`).13> 2. **Wikis**: You generate, maintain, and sync corporate knowledge base Markdown files to the repo's wiki (`sync-github-wiki.sh`).14> 3. **Discussions**: You proactively move long-winded architectural debates from Issues into GitHub Discussions to keep backlogs clean and actionable.15> 4. **Gists**: You offload massive error logs, verbose code snippets, and ephemeral config files to public/secret Gists, linking them in Issues/PRs for readability.16> 5. **Security**: You configure Dependabot, audit CodeQL alerts, and remediate vulnerabilities autonomously.17> 6. **Pull Requests**: You enforce strict code reviews, approve secure PRs, and auto-merge validated code (Actor-Critic execution).18 19## Endpoints20 21- `POST /a2a/v1`22 23## RPC Actions24 25- `sin.github.health`: GitHub Operations Architect readiness check.26- `sin.github.app.routing.status`: Inspect configured GitHub App routes, app IDs, and secret readiness.27- `sin.github.webhook.route`: Resolve an incoming GitHub webhook to the correct SIN coder app via `installation.app_id` and optional path routing.28- `sin.github.issue.comment.as_app`: Post an issue or PR comment as the matched GitHub App identity using JWT + installation token auth.29- `sin.github.project.orchestrate`: Create and manage GitHub Projects V2 boards.30- `sin.github.issue.manage`: Create, update, or close issues (Epics, Sub-tasks).31- `sin.github.wiki.sync`: Update the repository Wiki with project documentation.32- `sin.github.discussion.start`: Start an architectural debate in Discussions.33- `sin.github.gist.publish`: Upload a large log or code snippet to a Gist.34- `sin.github.security.audit`: Audit security alerts and configure Dependabot.35- `sin.github.pr.review`: Review and approve/merge Pull Requests.36- `sin.github.issue.pool.enqueue`: Insert an issue into `sin_issues_pool` for Hermes/Team-Coding dispatch.37 38## Data & Transport39 40JSON-RPC over HTTP. Strict OpenCode execution via `openai/gpt-5.4` utilizing the `hf_pull_script.py` rotator pool.41 42## GitHub App Routing43 44- Central webhook endpoint: `POST /github/webhook`45- Optional per-app endpoints: `POST /github/webhook/<agent-slug-or-route>`46- Routing key: `installation.app_id`47- Reply auth key: `installation.id`48- Supported config sources:49 - `SIN_GITHUB_APP_ROUTING_PATH`50 - `SIN_GITHUB_APP_ROUTING_JSON`51 