CACodebase Argus

Coordinate multi-agent codebase review across PRs, CI, and fork syncs.

Upstream maintainers get PR and CI tribunals. Downstream maintainers get merge or rebase evidence, agent handoff packages, and gated sync branches.

Token is never stored. Public repositories work without one, but GitHub rate limits unauthenticated requests.

Overall

Evidence-first tribunal

Multiple agents can review the same files, checks, patch lines, policy gates, and local git output. Consensus raises confidence; execution still requires explicit CLI flags.

Upstream

PR and CI tribunal

Review pull requests and CI logs with deterministic checks, policy as code, API models, local AI CLIs, or a multi-agent tribunal.

Downstream

Fork sync tribunal

Compare a fork with upstream, project merge conflicts, simulate rebase, ask multiple agents to choose a path, then run a gated sync branch through the CLI.

Execution

Opt-in sync branch

`sync` prints a plan first. `--execute`, `--push`, and `--create-pr` are separate gates, and pushes target the sync branch.

Queue

Merge queue signals

Review output flags blocked, behind, dirty, and unstable queue states before a maintainer spends review time.

Stack

Stacked PR signals

PRs targeting non-default base branches get dependency review notes so stacked work is reviewed in the right order.

Checks

Direct CI log ingest

`ci-github` fetches failing GitHub Actions job logs and feeds them into the same rule-based, API, CLI, or tribunal reviewers.

Fix

Gated autofix plans

`autofix-plan` prepares lockfile, snapshot, and formatter lanes with explicit verification commands.

GitHub App setup

Generate the manifest, wire the webhook, and use PR comments for review, CI, pause, resume, and autofix plans.

/argus help/argus review/argus ci/argus autofix/argus pause/argus resume
Webhookhttps://your-host.example.com/api/github/webhook
Manifest endpoint/api/github/app-manifest
ModeRead-only

No write scopes, no database, no token persistence.

InputsRepos

Use owner/repo values or GitHub repository URLs.

SignalSync + PRs

Compares branches, open PRs, checks, and cleanup hints.

APIGitHub REST

A real GitHub API integration suitable for iteration.

Upstream PR Review

For upstream maintainers: review a normal GitHub pull request with baseline checks, then hand the same context to Codex, Claude, Gemini, or an API model.

API keys stay on the server. CLI providers run locally in review-only mode and return draft findings.

Paste a PR URL, inspect the deterministic baseline, then optionally ask one agent or a tribunal for a structured review.

Downstream Merge/Rebase Risk

Runs local git in a private cache, checks merge-upstream and rebase-upstream evidence, then prepares agent-safe review material before any real sync branch is created.

Hosted demo cannot run local git. Clone the repository and run the app locally to use merge/rebase risk analysis.

Downstream Sync Action

Generate a scheduled workflow for downstream fork sync reports, merge-tree evidence, range-diff, and optional tracking issue comments. Use the CLI `sync` lane when the agent should create a real integration branch.

  • Runs on schedule, manual dispatch, or upstream-updated dispatch.
  • Uses local git on the runner; no write operation except issue comment.
  • Reports behind/ahead counts, merge-tree conflicts, cherry evidence, and range-diff.
  • Actual merge or rebase execution belongs to the opt-in CLI sync command.

Downstream Agent Workflow

Export a prompt for merge or rebase preparation, inspect conflict evidence, or hand off the CLI sync path after agent review.

Task package

Prompt export

Conflict dossier

Run local merge/rebase analysis to generate conflict-specific agent instructions.

Patch evidence

Local analysis adds git cherry and range-diff evidence here.

Agent session log review

Start with a downstream repository pair.

Enter an upstream repository and a fork repository. If the PR head fork differs from the branch you track for downstream sync, fill that in too. If GitHub API rate limits block the browser report, run local merge/rebase analysis directly.