You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/superpowers/plans/2026-05-06-maintainer-firewall-mvp.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
**Goal:** Add evidence-first review, policy-as-code, multi-agent tribunal, PR review Actions, and worktree rebase simulation as a coherent MVP.
6
6
7
-
**Architecture:**`pr-review.ts` stays responsible for normalized review results. New focused helpers own policy parsing, evidence extraction, tribunal aggregation, and workflow generation. `local-analyzer.ts` adds a temporary worktree simulation result to the existing local drift report. The UI exposes these features through compact controls in the existing panels.
7
+
**Architecture:**`pr-review.ts` stays responsible for normalized review results. New focused helpers own policy parsing, evidence extraction, tribunal aggregation, and workflow generation. `local-analyzer.ts` adds a temporary worktree simulation result to the existing local downstream report. The UI exposes these features through compact controls in the existing panels.
8
8
9
9
**Tech Stack:** Next.js App Router, React client component, TypeScript, Vitest, GitHub REST API, local `git`, Node `child_process`, no new npm dependencies.
10
10
@@ -43,7 +43,7 @@
43
43
-[ ] Add tests for a generated PR review workflow.
44
44
-[ ] Generate a workflow that posts PR context to a server endpoint, or runs baseline policy checks when no endpoint is configured.
45
45
46
-
### Task 4: Fork Drift Pro
46
+
### Task 4: Downstream Fork Sync
47
47
48
48
**Files:**
49
49
- Modify: `src/lib/local-analyzer.test.ts`
@@ -62,5 +62,5 @@
62
62
- Modify: `README.md`
63
63
64
64
-[ ] Add policy text input, tribunal controls, PR review workflow export, and evidence display.
65
-
-[ ]Keep current project name and existing fork drift panels.
65
+
-[ ]Rename the project surface while keeping existing downstream fork sync panels.
66
66
-[ ] Run `npm test`, `npm run lint`, and `npm run build`.
Copy file name to clipboardExpand all lines: docs/superpowers/plans/2026-05-06-pr-agent-review.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
4
4
5
-
**Goal:** Add read-only PR review and direct AI provider review to Fork Drift Sentinel without renaming the project.
5
+
**Goal:** Add read-only PR review and direct AI provider review to Codebase Argus.
6
6
7
7
**Architecture:** GitHub PR data is fetched into a normalized `PullRequestReviewReport`. Deterministic local review helpers create a baseline. A server-only provider layer calls OpenAI, Anthropic, Gemini, Codex CLI, Claude CLI, or Gemini CLI and normalizes JSON findings for the UI.
8
8
@@ -43,7 +43,7 @@
43
43
-[ ] Add client state for PR input, PR report, provider selection, model override, AI loading, AI result, and errors.
44
44
-[ ] Add `PullRequestReviewPanel` with fetch, baseline findings, AI provider controls, result markdown, and file risk table.
45
45
-[ ] Reuse existing panel, compact field, status pill, table, textarea, and button styles.
46
-
-[ ] Keep the existing Fork Drift Sentinel branding.
Copy file name to clipboardExpand all lines: docs/superpowers/specs/2026-05-06-pr-agent-review-design.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Goal
4
4
5
-
Fork Drift Sentinel keeps its current name and gains a normal pull-request review path plus direct AI review adapters. The tool should serve both upstream maintainers reviewing incoming PRs and downstream maintainers reviewing long-lived fork drift.
5
+
Codebase Argus is the current product name. It serves both upstream maintainers reviewing incoming PRs and downstream maintainers reviewing long-lived fork syncs, with the same evidence package available to one provider or a multi-agent tribunal.
6
6
7
7
## Scope
8
8
@@ -20,7 +20,7 @@ This version does not automatically comment on PRs, approve changes, request cha
20
20
21
21
`src/lib/github.ts` remains the browser-facing GitHub REST helper and adds PR review data fetching. `src/lib/pr-review.ts` owns context normalization, deterministic findings, prompt construction, provider output validation, and markdown formatting. `src/lib/agent-providers.ts` owns API and CLI provider execution from server-only routes. `src/app/api/pr-agent-review/route.ts` accepts a review context plus provider settings and returns a normalized review result.
22
22
23
-
The page adds a PR Review panel above the existing fork drift panels. Users can fetch a PR report with the browser token, inspect the rule-based baseline, then optionally run an AI review through a server route when running locally or in an environment configured with provider keys.
23
+
The page adds a PR Review panel above the existing downstream fork sync panels. Users can fetch a PR report with the browser token, inspect the rule-based baseline, then optionally run an AI review through a server route when running locally or in an environment configured with provider keys.
0 commit comments