Adds the Sepo agent backend to this repository so @sepo-agent can answer, implement, review, and fix work on GitHub. This PR adds agent infrastructure only — no application source, secrets, or branch protection are changed.
Installed from the latest stable Sepo release v0.5.0 (self-evolving/repo).
.github/ — agent workflows (28), composite actions, prompts, issue templates, and assets, merged into the existing .github/.
.gitignore — appended .agent/dist/ and .agent/node_modules/.
Preserved / skipped
All target-owned .github/ files preserved; the conflict audit found no source path that collides with an existing target path.
Root README.md, AGENTS.md, and .skills/ were not copied (install defaults).
No application source changed.
Validation
npm ci, npm run build, and npm test pass on the source at v0.5.0 (run once against the identical payload).
git diff --cached --check is clean.
Conflict audit: no source .github path collides with an existing target path.
Skipped checks
Per-repo .agent build/test not rerun; the payload is byte-identical to the validated source revision.
This PR was created by an AI agent (OpenHands) on behalf of @ashcoft.
Summary by cubic
Installs the Sepo agent backend so @sepo-agent can answer, implement, review, and fix work on GitHub. Adds the .agent/ runtime and merges the .github/ agent workflows, actions, and prompts from self-evolving/repo v0.5.0. No application source, secrets, or branch protection are changed; .agent/dist/ and .agent/node_modules/ are gitignored.
Required setup after merge
Install the Sepo GitHub App on this repository or configure another auth path from the setup guide.
Add at least one model-provider secret under Actions secrets (OPENAI_API_KEY, CLAUDE_CODE_OAUTH_TOKEN, and/or ANTHROPIC_API_KEY).
Run the Agent / Onboarding / Check Setup workflow and complete any setup it reports.
Run the Agent / Memory / Initialization workflow if agent/memory is missing; optionally run Agent / Rubrics / Initialization for rubric steering.
Confirm Issues and GitHub Actions are enabled in repository settings.
This change is
Confidence Score: 2/5
Fix the triage access-check order and staged-change verification before merging.
### Issue 1
.github/workflows/agent-router.yml:318-325
With `AGENT_TRIAGE_MODE=agent`, an outsider's uncommanded `@sepo-agent` mention starts this step before access is checked. `extract-context.ts` accepts `NONE` as a known association, and triage receives the resolved GitHub token with `approve-all`. The later route check rejects the request, but paid model work and access to GitHub write tools have already happened. Check the requester's access before starting triage, and restrict triage credentials.
**How this was verified:** Issue comments from `NONE` users pass context extraction and reach the token-bearing triage step before `applyDispatchPolicy` rejects their route.
### Issue 2
.agent/scripts/post-agent-verify.sh:18-24
If an implementation or PR-fix agent runs `git add` without committing, those files appear in neither the unstaged diff nor the untracked-file list. This script then skips their whitespace, YAML, and TypeScript checks. Meanwhile, `hasChanges` still returns true, so the workflow can commit and push a broken staged change. Include `git diff --cached --check` and staged filenames, or compare the full working tree against `HEAD`.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Summary
Adds Sepo's agent backend, shared actions, prompts, documentation, and GitHub workflows without changing application source.
GitHub requests can now run through the installed Sepo agent workflows.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Issue or comment mentions Sepo] --> B[Extract request and association]
B --> C{Explicit command?}
C -->|No, agent triage enabled| D[Run agent with GitHub token]
D --> E[Check route access]
C -->|Yes| E
E -->|Allowed| F[Answer or dispatch work]
E -->|Denied| G[Reject request]