Git Repository & Patch Reviewer
Local patch reviewReview diffs, patch revisions, risks and local repository history without sending code to a server.
Files
Additions
Deletions
High risk
Findings
From 9f45d4a Mon Sep 17 00:00:00 2001
Subject: [PATCH] feat(tasks): add due-date validation
diff --git a/app/tasks.ts b/app/tasks.ts
index 65b3c1a..f2a4d21 100644
--- a/app/tasks.ts
+++ b/app/tasks.ts
@@ -2,6 +2,12 @@ export interface Task {
title: string
+ dueAt?: string
}
+
+export function isValidDueDate(value: string) {
+ const time = Date.parse(value)
+ return Number.isFinite(time) && time > Date.now()
+}
diff --git a/tests/tasks.test.ts b/tests/tasks.test.ts
index 09c3a8b..41d03a1 100644
--- a/tests/tasks.test.ts
+++ b/tests/tasks.test.ts
@@ -1,3 +1,7 @@
+import { isValidDueDate } from '../app/tasks'
+
test('task title', () => {
expect('Ship release').toBeTruthy()
})
+
+test('rejects invalid dates', () => expect(isValidDueDate('never')).toBe(false))
Commit message review
Patch preamble
From 9f45d4a Mon Sep 17 00:00:00 2001 Subject: [PATCH] feat(tasks): add due-date validation
How to use it
- 01
Open patch evidence
Paste or open a bounded Git or unified patch and preserve headers, modes, renames, binary markers, hunks and exact line numbers.
- 02
Review changes and risks
Filter files, switch unified or split views, inspect deterministic secret and review hints, and compare a second patch revision.
- 03
Inspect and report
Optionally read a local repository ZIP without fetch or push, then export raw, redacted, Markdown, JSON or CSV evidence.
Frequently asked questions
Is source code uploaded?
No. Patch parsing, risk analysis and local Git object reads happen in this browser.
Can it clone any remote repository?
No. Browser Git fetch depends on server CORS and authentication boundaries, so this static tool deliberately accepts local patches and repository ZIPs instead.
Does a clean risk report prove code is safe?
No. Heuristics are triage hints and cannot replace tests, security review, dependency analysis or human understanding.
Does repository mode modify Git state?
No. It only imports a temporary local copy and reads branches and commit history; fetch, push, checkout and commit actions are not exposed.
Related tools
Keep working with other focused browser utilities.