Sample BoardFictional data. No agents or models run, and nothing touches GitHub or your code. Changes stay in this sample until you reset it. Sample BoardFictional data. Nothing runs or touches GitHub. Sample · nothing runs Leave sampleLeave
acme
acme / web
Sample projects
A acme / webSaaS web app · ui, backend, auth K kite / firmwareDrone flight controller · sensors, safety, radio
Both are fictional. Switching changes the board, tags, agents and Skills.
Search tasks⌘K 4 need you4 4 need your answer4
Project/Review/#1210
acme/web · PR #1210

Fix auth redirect loop

Why T4?
Verified · waiting for your approvalbackend95%T4Critical · Codex · Codex red team + you approve
Project/Review/#1210
acme/web · PR

Fix auth redirect loop

Verified · waiting for youbackendT4

ChangesAttempt 1 · 2 files · +17 −15

Branch trailside/1210-auth-redirect · Sample replayRead only. A person chooses when to merge.Open PR #1210
api/auth/redirect.ts+14 −9
@@ -18,12 +18,14 @@ export function afterSignIn(req, res)
1818export function afterSignIn(req, res) {
19− const next = req.query.next || "/login";
20− if (!req.session) return res.redirect(next);
19+ const next = safeNext(req.query.next) ?? "/";
20+ if (!req.session?.valid) {
21+ return res.redirect(`/login?next=${encodeURIComponent(next)}`);
22+ }
2123 return res.redirect(next);
2224}
2325
26+function safeNext(p) {
27+ return typeof p === "string" && p.startsWith("/") && !p.startsWith("//") ? p : null;
28+}
Sample: safeNext() closes the red team’s open-redirect finding. Contract tests recorded as passed. Evidence
trailside/1210-auth-redirect
Sample replay
PR #1210
api/auth/redirect.ts+14 −9
@@ -18,12 +18,14 @@ export function afterSignIn(req, res)
18export function afterSignIn(req, res) {
19−const next = req.query.next || "/login";
20−if (!req.session) return res.redirect(next);
19+const next = safeNext(req.query.next) ?? "/";
20+if (!req.session?.valid) {
21+ return res.redirect(`/login?next=${encodeURIComponent(next)}`);
22+}
23return res.redirect(next);
24}
25
26+function safeNext(p) {
27+return typeof p === "string" && p.startsWith("/") && !p.startsWith("//") ? p : null;
28+}
Sample: safeNext() closes the red team’s open-redirect finding. Contract tests recorded as passed. Evidence

2 of 2 files · +17 −15 · read only. A person chooses when to merge.

Not available in this sample. Nothing runs here.

Leave sample
Moves to Done in this sample. A person merges.More

Edit details

#1210 · Fix auth redirect loop

Assignee
SR▾
Answers the agent’s questions and approves.
Due
▾
Priority
Labels
backendroutes itcheckout
The ui tag routes it in this sample. To change that, use Override tag.
Risk tierTriage set T4 Critical · 91%
Reason · needed to change a tier
T3 High uses Claude Code, then review and Codex red team in this sample. It applies from attempt 2. Lowering a tier needs an Admin and a reason.
Saved in this sample. Nothing is posted to GitHub.
Saved in this sample. Nothing is posted to GitHub.Cancel

Reset Sample Board?

This removes local sample tasks, answers, rule edits, Skill drafts, saved views and settings, then restores the fictional starting data. No real repository or account is affected.