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.
This change is
Summary by cubic
Installs the Sepo agent backend (.agent/) and merges the Sepo workflows, actions, and prompts into .github/ from self-evolving/repo v0.5.0, so @sepo-agent can answer, implement, review, and fix work in this repository. No application source, secrets, or branch protection change; target-owned .github/ files are preserved, and .gitignore now excludes .agent/dist/ and .agent/node_modules/.
Required setup after merge
Install the Sepo GitHub App on this repository and add at least one model-provider secret (OPENAI_API_KEY, ANTHROPIC_API_KEY, or CLAUDE_CODE_OAUTH_TOKEN).
Run the Agent/Onboarding/Check Setup workflow and complete anything its setup-check issue reports.
Run Agent/Memory/Initialization if agent/memory is missing; rubrics initialization is optional.
Confirm Issues and GitHub Actions are enabled.
Written for commit 31f4afbe65235918421533396f01b1ea06583d6e. Summary will update on new commits.
Confidence Score: 2/5
Fix fork PR requests, concurrent memory publishing, and failed-push handoffs before merging.
### Issue 1
.github/workflows/agent-entrypoint.yml:12-17
Requests in fork PR bodies or inline reviews run without repository secrets. On GitHub-hosted runners, the router therefore cannot use the configured model credentials. Even an owner requesting a review this way gets a failed workflow instead.
Use a trusted default-branch entry path for these requests, while keeping fork code out of steps that receive credentials.
### Issue 2
.github/actions/run-agent-task/action.yml:549-559
Each task clones `agent/memory`, then `commit_memory` makes one plain push. If another task pushes first, Git rejects the second push. This step only warns and never retries, so the losing task's notes disappear with its temporary checkout.
Fetch and reconcile the newer branch before retrying the push.
### Issue 3
.github/workflows/agent-fix-pr.yml:330
After a rejected push, the status comment correctly becomes `failed`, but `SOURCE_CONCLUSION` still uses the earlier successful result. Because the handoff runs with `always()`, the orchestrator can launch a review of the unchanged remote PR.
Include the commit and push outcomes in the handoff result too.
### Issue 4
.agent/scripts/post-agent-verify.sh:18-24
`hasChanges` includes staged edits, and the commit helper publishes them. But `git diff --check` and `git diff --name-only` here inspect only unstaged changes. If the agent stages a runtime or workflow edit, that file can bypass the build or YAML check.
Include `git diff --cached` in both checks and the changed-file list.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Summary
Adds the Sepo runtime, GitHub workflows, shared actions, prompts, documentation, and tests.
GitHub requests can now be routed to the Sepo agent.
Sepo can now implement requests, review changes, and fix pull requests.
Sepo can use separate branches for repository memory and rubrics.
Repository workflows can now set up the Sepo runtime and its credentials.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Mention or label] --> B[Router checks access]
B --> C[Answer or dispatch task]
C --> D[Run agent]
D --> E[Save memory]
D --> F[Verify edits]
F --> G[Push changes]
G --> H[Report result]
H --> I[Optional next task]
Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).
This pull request is currently open (not queued).
How to merge
To merge this PR, comment /aviator merge or add the mergequeue label.
See the real-time status of this PR on the
Aviator webapp.
Sorry @ashcoft, this pull request is too large to review
It changes 338 files. Sourcery can review pull requests with up to 300 changed files.
coderabbitai[bot]7d ago
IMPORTANT
Review skipped
Too many files!
This PR contains 335 files, which is 235 over the limit of 100.
To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.
Upgrade to a paid plan to raise the limit.
Usage-priced reviews support at most 300 files.
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: a0224995-b631-4d89-b4ab-9b166ab43520
Commits
Reviewing files that changed from the base of the PR and between 0e5077e4adb75df57d74de4c3d4512012447af28 and 31f4afbe65235918421533396f01b1ea06583d6e.
Files ignored due to path filters: 3
.agent/docs/assets/sepo-overview.png is excluded by !**/*.png
.agent/package-lock.json is excluded by !**/package-lock.json
.github/assets/sepo-headline.png is excluded by !**/*.png
Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.
Queue this pull request
greptile-apps[bot]reviewed7d ago
codacy-production[bot]1d ago
Not up to standards ⛔
🔴 Issues15 critical
Alerts:
⚠ 15 issues (≤ 0 issues of at least minor severity)
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewerTIP This summary will be updated as you push new changes.
Current Aviator status
This pull request is currently open (not queued).
How to merge
To merge this PR, comment
/aviator mergeor add themergequeuelabel.