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 this repository. Adds .agent/ and merges .github/ workflows, actions, and prompts from Sepo v0.5.0; no application source, secrets, or branch protection are changed.
Confirm Issues and GitHub Actions are enabled in repository settings.
Generated outputs (.agent/dist/, .agent/node_modules/) are gitignored. Root README.md, AGENTS.md, and .skills/ were not copied.
Written for commit 736254a8cd34104323e62ee37602ffcf480c6475. Summary will update on new commits.
This change is
Confidence Score: 1/5
Fix the four workflow issues before merging, especially the checkout failure for existing PRs and the schedule switch that does not stop issue closure.
### Issue 1
.github/workflows/agent-fix-pr.yml:153-159
`checkout-pr.js` replaces the runtime checkout with the PR branch before the workflow loads `./.github/actions/run-agent-task`. Existing PRs branched before this installation lack that action and the new prompts, so `/fix-pr` fails before the agent runs. Keep the runtime on the default branch and check out the PR in a separate worktree, then pass that path through `agent_cwd`.
### Issue 2
.github/workflows/agent-fix-pr.yml:330
The handoff sends `success` even when committing or pushing the fixes fails. Because this step uses `always()`, a rejected push-such as when someone updates the PR during the run-still starts another review in heuristic mode, although the fixes never reached GitHub. Include the outcomes of `commit` and `push-head` in `SOURCE_CONCLUSION`, as the status comment already does.
### Issue 3
.github/workflows/agent-memory-scan.yml:132-133
`last_scan_at` advances even when the scan's memory push fails. `run-agent-task` treats that failure as a warning, so `steps.scan.outcome` remains successful. Concurrent memory writers use separate groups and push without retrying, making a rejected push a realistic case. Later scheduled scans then skip until newer activity appears, although the notes were never saved.
Expose whether saving memory succeeded and require that result before advancing `last_scan_at`. A clean no-change result should still count as success.
### Issue 4
.github/workflows/agent-close-stale-issues.yml:17-22
This daily workflow ignores `AGENT_SCHEDULE_POLICY`. Setting `default_mode` to `disabled`, or disabling `agent-close-stale-issues.yml` specifically, still lets it close issues. The new docs describe that policy as the switch for scheduled runs. Apply the shared scheduled gate before closing issues, while keeping manual dispatch available.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Summary
Installs Sepo's runtime, GitHub workflows, prompts, documentation, and tests without changing application source.
GitHub requests can now run through Sepo agent workflows.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[GitHub mention or label] --> B[Read request and check access]
B --> C[Answer]
B --> D[Implement]
B --> E[Review]
B --> F[Fix PR]
D --> G[Verify and publish]
F --> G
G --> H[Optional next job]
E --> H
I[Scheduled jobs] --> J[Sync and curate memory]
I --> K[Maintain issues and check updates]
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: f3b4c289-1e76-425f-a717-465e64c32acf
Commits
Reviewing files that changed from the base of the PR and between 3f3914d56307c439a933a9a4bd1b3852e3136da3 and 736254a8cd34104323e62ee37602ffcf480c6475.
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 once it meets the queue conditions
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.