instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
umputun__ralphex__165 | umputun/ralphex | 165 | defect | 83c5e0b306d4ca0644ec756a6a98b446205ef8eb | bb39878849ac857ce38a6f077bbce20b7e0318ba | fix worktree mode rejecting non-main/master default branches | **Summary**
- `preparePlanBranch` hardcoded `main`/`master` as the only acceptable base branches for branch/worktree creation, rejecting repos using gitflow (`develop`) or other default branches
- Split the single `DefaultBranch` field in `executePlanRequest` into `DefaultBranch` (for branch/worktree creation, never i... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index 4d2a92e9..037d446b 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -106,7 +106,8 @@ type executePlanRequest struct {
MainGitSvc *git.Service // main repo service for cross-boundary ops (worktree mode); nil in normal mode
Config *co... | 2 | 2 | 0 | [{"id": "G0", "claim": "gitSvc.GetDefaultBranch() is called twice in run() when it shells out to git, and it should be called once with the value reused for both defaultBranch and baseRef resolution.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
umputun__ralphex__200 | umputun/ralphex | 200 | defect | a9c07058ee554c5dcb9e3d291d3a7ad2913d95f1 | 4dbea052e004d9a8a7dd34409e0ffa8a1421887d | fix: prevent false positive pattern matching on clean codex/custom exit | **Problem:** error/limit pattern matching (`"Rate limit"`, `"quota exceeded"`) ran against the full output of codex and custom executors regardless of exit code. When codex reviewed code that *handles* rate limits, its findings triggered a false positive — ralphex treated the review output as an actual rate limit error... | diff --git a/CLAUDE.md b/CLAUDE.md
index d20378f1..c95d3d6c 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -274,6 +274,8 @@ Configurable patterns detect rate limit and quota errors in claude/codex output:
- `codex_error_patterns`: comma-separated patterns for codex (default: "Rate limit,quota exceeded")
- Matching is case... | 3 | 3 | 2 | [{"id": "G0", "claim": "In the custom and codex executors, pattern/limit checks gated on finalErr != nil also run when finalErr is a context cancellation/deadline error, so a matching substring in partial output could replace the cancellation error with LimitPatternError/PatternMatchError and mask the real reason the r... | null |
umputun__ralphex__220 | umputun/ralphex | 220 | defect | e11c6bf10e91ba34e23d031750428f8edeca50f6 | bbbc83a34fbd65114a7642860e309f91a58529de | fix: pass Claude prompt via stdin to avoid Windows cmd.exe length limit | Summary
Windows compatibility: pass Claude prompt via stdin instead of -p argument.
Problem
Claude Code is a Node.js application that internally uses child_process.exec on
Windows, which routes through cmd.exe. The cmd.exe command-line limit is 8191
characters. The make_plan.txt prompt after variable expansi... | diff --git a/CLAUDE.md b/CLAUDE.md
index 2a0de314..a26d6279 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -211,6 +211,7 @@ Key files:
- **Windows:** builds and runs, but with limitations:
- Process group signals not available (graceful shutdown kills direct process only, not child processes)
- File locking not avail... | 4 | 4 | 3 | [{"id": "G0", "claim": "The PR title and body claim three independent fixes (stdin passing, Job Objects process tree cleanup, CancelIoEx cancellable stdin reads) while only the first is implemented in the diff, so the PR description should be updated to match what is actually here.", "category": "documentation", "verdi... | null |
umputun__ralphex__222 | umputun/ralphex | 222 | defect | e11c6bf10e91ba34e23d031750428f8edeca50f6 | c894f100f5103735de74dec29c71293c7ad3879e | fix: prevent infinite loop when checkboxes are outside Task sections | Fixes #221
## Problem
When a plan has `- [ ]` checkboxes in sections other than `### Task N:` or `### Iteration N:` (e.g. in `## Success criteria`, `## Overview`, `## Context`), ralphex keeps iterating after all Task sections are done. The agent completes all actionable work but does not output `<<<RALPHEX:ALL_TA... | diff --git a/CLAUDE.md b/CLAUDE.md
index 2a0de314..6ab0bdc6 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -59,6 +59,7 @@ docs/plans/ # plan files location
## Key Patterns
+- Plan format: Checkboxes (`- [ ]` / `- [x]`) belong only in Task sections (`### Task N:` or `### Iteration N:`). Success criteria, Overvie... | 9 | 9 | 3 | [{"id": "G0", "claim": "pkg/plan/parse.go:3-8 has leftover test artifact comments (// checkbox-test-outside, // checkbox-test-description, etc.) that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "FileHasUncompletedCheckbox re... | null |
umputun__ralphex__239 | umputun/ralphex | 239 | defect | b2cf29893cd7242c3a8603bb78aa041403c03c58 | acea7fb2cb29bbf476b2f13cfdaaa594eb2fa617 | feat: per-file fallback for agent loading | Change agent loading from "replace entire set" to per-file fallback (local → global → embedded), matching how prompts already work.
Previously, if `.ralphex/agents/` had any `.txt` files, only those agents were used and all defaults were silently dropped. This broke default prompt `{{agent:name}}` references when user... | diff --git a/CLAUDE.md b/CLAUDE.md
index 60a68694..1245b476 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -284,14 +284,14 @@ project/
│ ├── config # overrides specific settings (per-field merge)
│ ├── prompts/ # per-file fallback: local → global → embedded
│ │ └── task.txt # only override task... | 1 | 1 | 1 | [{"id": "G0", "claim": "loadAgentWithFallback uses os.Stat without verifying the path is a regular file, so a directory (or symlink to a directory) named like an embedded agent makes Stat succeed and loadFileWithFallback error, breaking agent loading instead of continuing to global/embedded; it should check FileInfo an... | null |
umputun__ralphex__245 | umputun/ralphex | 245 | defect | 6cd0b2a93e3d34295d96718562d8d0d849f31096 | ca0b40875e5c62d12afbe924be12d2c2ba62c5c7 | Add InitLocal API and --init CLI flag for local config setup | This pull request adds a new `--init` flag to the `ralphex` CLI, enabling users to easily initialize a local `.ralphex/` configuration directory in their project root with commented-out default files. This feature makes it much simpler to create project-specific customizations for prompts and agents. The implementation... | diff --git a/CLAUDE.md b/CLAUDE.md
index e0732476..5de5cc98 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -277,11 +277,11 @@ GOOS=windows GOARCH=amd64 go build ./...
### Local Project Config (.ralphex/)
-Projects can have local configuration that overrides global settings:
+Projects can have local configuration that o... | 8 | 4 | 2 | [{"id": "G0", "claim": "fileExists treats any os.Stat error as \"does not exist\", which can misclassify an existing but unreadable repo marker (e.g. .git) and break repo-root detection; it should return false only on os.ErrNotExist and treat or surface other errors.", "category": "correctness", "verdict": "uncertain",... | null |
umputun__ralphex__249 | umputun/ralphex | 249 | defect | ba4483fd0e2eb1c197d15156e467d4c620670082 | 4b6fdf58206d9206068061b1a8cbd3cf9a60a5c7 | feat: task pause+resume via SIGQUIT | Extends existing Ctrl+\ (SIGQUIT) break signal from external review loop to task execution loop. When pressed during a task iteration, the current Claude session is canceled, ralphex pauses with "press Enter to continue, Ctrl+C to abort", and on Enter the same task re-runs with a fresh session that re-reads the plan fi... | diff --git a/CLAUDE.md b/CLAUDE.md
index 5de5cc98..fd09c487 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -72,7 +72,7 @@ docs/plans/ # plan files location
- `--wait` flag enables rate limit retry with specified duration (e.g., `--wait 1h`)
- `--session-timeout` flag sets per-session timeout for claude (e.g., `--s... | 4 | 4 | 3 | [{"id": "G0", "claim": "The test should drop its direct-send assertion on the channel, since it forces the production API to be more permissive than needed and validates an implementation detail; it should verify only observable behavior (buffer size and that SIGQUIT produces values).", "category": "testing", "verdict"... | null |
umputun__ralphex__260 | umputun/ralphex | 260 | defect | 9af32cdaa49a9c835090c0407330e2ba95c46731 | 1460052795f998b21857d87e9de34e4689e6557c | fix: use .ralphex/.gitignore instead of modifying root .gitignore | Replace `EnsureIgnored`/`CommitIgnoreChanges` with `EnsureLocalGitignore` that creates a self-contained `.ralphex/.gitignore` with patterns for runtime artifacts (`progress/`, `worktrees/`). The file also ignores itself so it stays invisible to `git status` and doesn't interfere with branch creation checks.
This elimi... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index f85904cf..7a79743d 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -327,23 +327,18 @@ func selectAndExecutePlan(ctx context.Context, o opts, req executePlanRequest, s
req.PlanFile = planFile
// worktree mode: create worktree, chdir into it... | 7 | 3 | 0 | [{"id": "G0", "claim": "isIgnored on the backend interface in pkg/git/service.go is now dead code since its only caller EnsureIgnored was removed, and the isIgnored implementation in external.go and its tests are orphaned.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
umputun__ralphex__269 | umputun/ralphex | 269 | defect | 7a637fa248a844a16a65507599b1ff057dc2b0c6 | 5c88cd368b94c95dd88947e0253926b9d39b96be | fix(config): add "Not logged in" to default Claude error patterns | ## Summary
- Add "Not logged in" to default `claude_error_patterns` so ralphex exits gracefully instead of retrying indefinitely when Claude outputs this message inside Docker containers.
- Escalate to SIGKILL in the Docker wrapper when the docker process does not respond to SIGTERM within 5 seconds on Ctrl+C or SIGTER... | diff --git a/pkg/config/defaults/config b/pkg/config/defaults/config
index 6c65554e..6cb12d3a 100644
--- a/pkg/config/defaults/config
+++ b/pkg/config/defaults/config
@@ -183,8 +183,8 @@ vcs_command = git
# claude_error_patterns: patterns to detect in claude output indicating errors
# comma-separated list of substrin... | 3 | 1 | 1 | [{"id": "G0", "claim": "SIGKILLing the docker run client may prevent it from cleaning up (--rm container removal), leaving an orphaned container; the reviewer suggests running docker run with a --cidfile or explicit --name and explicitly docker stop/docker rm -f on timeout.", "category": "correctness", "verdict": "oppo... | null |
umputun__ralphex__34 | umputun/ralphex | 34 | defect | 0a5ee55740f1f60f0f8c093262f3f72245a6235c | 152cbd3c6138cfff01e763b5108f4bbf4d0d6683 | fix: HasChangesOtherThan now ignores gitignored files | ## Summary
- Fixed bug where `HasChangesOtherThan()` incorrectly detected changes when only gitignored files existed
- go-git reports gitignored files as `Untracked`, unlike native git's `git status`
- Added check for `IsIgnored()` on untracked files before counting them as changes
## Root Cause
The `fileHasChanges(... | diff --git a/pkg/git/git.go b/pkg/git/git.go
index 0a295440..3f2d6197 100644
--- a/pkg/git/git.go
+++ b/pkg/git/git.go
@@ -327,7 +327,7 @@ func (r *Repo) IsDirty() (bool, error) {
}
// HasChangesOtherThan returns true if there are uncommitted changes to files other than the given file.
-// this includes modified/de... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `nestif` linter fails on the new nested block in `HasChangesOtherThan` (complexity 5), so the gitignore check should be moved before `fileHasChanges()` to reduce nesting and fix the linter.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
umputun__ralphex__41 | umputun/ralphex | 41 | defect | fd0968e22470b7a86f96d431e56eca962bd5ba3e | 93219c834f5cb7bf44a701f7c4da583dcb7664fd | feat(git): auto-create initial commit for empty repos | **Summary**
When running ralphex in an empty git repository (no commits), instead of showing an error and exiting, now prompts the user to create an initial commit.
**Changes**
- Add `AskYesNo` function to `pkg/input/` for Y/n prompts
- Add `CreateInitialCommit` method to `pkg/git/` that stages all files and commits
... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index 022fbf13..c5153d33 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -172,9 +172,9 @@ func run(ctx context.Context, o opts) error {
return fmt.Errorf("open git repo: %w", err)
}
- // validate repository has commits (early check with helpful... | 5 | 1 | 1 | [{"id": "G0", "claim": "AskYesNo ignores bufio.Scanner errors and does not print a newline when Scan() returns false (EOF or read error), so subsequent output such as the `error:` line can appear on the same line as the `[y/N]:` prompt; the comment asks to check scanner.Err(), emit a newline on EOF and report read erro... | null |
umputun__ralphex__42 | umputun/ralphex | 42 | defect | ed4e8fb7c3c7fb37f04e88749d76f034ec58fc8b | ed4c7bf5d62c48cddaf8cd7d25208608fdb8e5ba | fix: handle context cancellation during interactive input prompts | ## Description
... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index c5153d33..1b602ccd 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -173,7 +173,7 @@ func run(ctx context.Context, o opts) error {
}
// ensure repository has commits (prompts to create initial commit if empty)
- if ensureErr := ensureRepoHa... | 8 | 7 | 2 | [{"id": "G0", "claim": "ReadLineResult is exported but only used as an internal helper inside ReadLineWithContext, so it should be unexported (e.g., readLineResult) to avoid expanding the public API surface unnecessarily.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "... | null |
umputun__ralphex__50 | umputun/ralphex | 50 | defect | d672ea8fcd648d2c1afce07b7f661eb3d96a5385 | 4640387304c78eb58ee9a52d7056d7c73eb9944a | fix: resolve {{PLAN_FILE}} to completed/ path after plan is moved | **Summary**
When a plan file is moved to `docs/plans/completed/` during execution, subsequent `{{PLAN_FILE}}` template expansions still referenced the original (now non-existent) path. This caused prompts to point Claude at files that no longer existed at that location.
**Problem**
A plan file can be moved to `compl... | diff --git a/pkg/executor/executor_test.go b/pkg/executor/executor_test.go
index 47d5a141..55d247f3 100644
--- a/pkg/executor/executor_test.go
+++ b/pkg/executor/executor_test.go
@@ -562,27 +562,27 @@ func TestCheckErrorPatterns(t *testing.T) {
func TestClaudeExecutor_Run_ErrorPattern(t *testing.T) {
tests := []st... | 2 | 2 | 1 | [{"id": "G0", "claim": "hasUncompletedTasks() duplicates the plan-file path resolution logic instead of using the new resolvePlanFilePath() method, and should be refactored to call it for consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
umputun__ralphex__58 | umputun/ralphex | 58 | defect | 14eba34c3d49ffc4f8b470d709bbf1c6b9a5349f | 7cc1c1170feb1c530a4f77794e5e39a2c389dc19 | feat: add --tasks-only mode | **Summary**
- Add `--tasks-only` flag that runs only the task execution phase (Phase 1) and skips all review phases
- Creates branch from plan name, executes tasks, moves plan to completed on success
- Useful for quick iterations when reviews aren't needed
**Changes**
- `pkg/processor/runner.go`: Add `ModeTasksOnly` c... | diff --git a/CLAUDE.md b/CLAUDE.md
index 4df8f30b..c888a5bc 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -44,7 +44,7 @@ docs/plans/ # plan files location
- Streaming output with timestamps
- Progress logging to files
- Progress file locking (flock) for active session detection
-- Multiple execution modes: full,... | 3 | 3 | 0 | [{"id": "G0", "claim": "The 500ms context timeout in the tasks-only branch-creation test may be insufficient for creating a branch and starting execution, potentially causing flaky tests; use a longer timeout (2-5 seconds) or a more deterministic approach to verify branch creation without relying on execution timing.",... | null |
umputun__ralphex__63 | umputun/ralphex | 63 | defect | 2dab517fb7f037289d01257a931a75724e896a70 | cc1bf95c05ea4b8c21411bf8218cce0fd0be7372 | Add finalize step for optional post-completion actions | **Summary**
Add optional finalize phase that runs after successful review phases (ModeFull, ModeReview, ModeCodexOnly). Disabled by default.
- Add finalize_enabled config option (default: false)
- Add finalize.txt prompt with commit rebase workflow
- Best-effort execution (failures logged but don't block success)
- R... | diff --git a/CLAUDE.md b/CLAUDE.md
index c888a5bc..4fd791f1 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -47,6 +47,26 @@ docs/plans/ # plan files location
- Multiple execution modes: full, tasks-only, review-only, codex-only, plan creation
- Configuration via `~/.config/ralphex/` with embedded defaults
- File w... | 6 | 3 | 3 | [{"id": "G0", "claim": "The README's new finalize FAQ says the default finalize.txt prompt does commit history cleanup via soft reset and recommit into logical groups, while the shipped prompt actually describes a git rebase workflow; update the description (or the prompt) so they match and don't mislead users.", "cate... | null |
umputun__ralphex__75 | umputun/ralphex | 75 | defect | cea97fcc5cbc8e41b3b4e093c7db80ed703f32e3 | 82b89cce05e5c35c2b32baaea00b30aea54e71e4 | refactor: make PhaseHolder single source of truth for execution phase | Sometimes it's too pricey to always use Claude Opus models for planning, execution and review, especially on the $100 plan, where session limits tend to end in an hour. This PR allows configuring the model for each phase separately.
- Added functionality to set models in config for each phase separately with config... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index dbb4394a..d5990801 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -23,6 +23,7 @@ import (
"github.com/umputun/ralphex/pkg/plan"
"github.com/umputun/ralphex/pkg/processor"
"github.com/umputun/ralphex/pkg/progress"
+ "github.com/umputun/ral... | 5 | 3 | 1 | [{"id": "G0", "claim": "Per-phase model selection is too coarse for the one phase where cheaper models make sense, so split the PR: keep the PhaseHolder refactoring as its own PR and drop the per-phase model selection in favor of per-agent model selection via agent frontmatter.", "category": "design", "verdict": "suppo... | null |
umputun__ralphex__76 | umputun/ralphex | 76 | defect | cea97fcc5cbc8e41b3b4e093c7db80ed703f32e3 | 326511840adadb83fc78e30a01b96cba6b5b5670 | Web dashboard fixes: diff stats, session replay, watcher improvements | ## Summary
- **Git diff stats in dashboard** — display files changed, additions, deletions in the header bar (parsed from DIFFSTATS metadata in progress files)
- **Improved session replay** — deferred section emission so timestamps align with actual log times; priority-based event dropping keeps section/signal events ... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index dbb4394a..c2830833 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -367,6 +367,7 @@ func executePlan(ctx context.Context, o opts, req executePlanRequest) error {
// display completion with stats
if stats.Files > 0 {
+ baseLog.LogDiffStats... | 7 | 6 | 4 | [{"id": "G0", "claim": "LogDiffStats in pkg/progress/progress.go has no test in progress_test.go.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tests in diff_stats_test.go cover only two cases; the reviewer asks for coverage of empty string, a regu... | null |
umputun__ralphex__86 | umputun/ralphex | 86 | defect | 0aa773c58c488994842c41362377ad8ff65191b9 | eb3006380fab230e995f98746eb9b319adee712f | fix: include stderr content in codex error messages | When codex exits with non-zero status, the error message now includes the last 5 lines of stderr (each truncated to 256 chars), surfacing actual failure reasons like authentication errors or rate limits instead of just "exit status 1".
**Changes:**
- Added `stderrResult` type to capture both processing error and stder... | diff --git a/pkg/executor/codex.go b/pkg/executor/codex.go
index ccc5962d..92e3eea2 100644
--- a/pkg/executor/codex.go
+++ b/pkg/executor/codex.go
@@ -138,7 +138,7 @@ func (e *CodexExecutor) Run(ctx context.Context, prompt string) Result {
}
// process stderr for progress display (header block + bold summaries)
-... | 3 | 2 | 1 | [{"id": "G0", "claim": "The per-line truncation does not actually cap lines at 256 characters: it keeps the first 256 and appends \"...\", yielding 259+ characters, so the truncation logic or the stated 256-char intent should be reconciled.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope":... | null |
umputun__ralphex__9 | umputun/ralphex | 9 | defect | 32d15ca67ac053724680815ed25c19825042b684 | 4c98973c2e115ba22dec2e3feb39d5aa93496700 | Add early dirty worktree check before branch operations | ## Summary
- Add `IsDirty()` method to `pkg/git` that detects staged changes or modified tracked files
- Call `IsDirty()` at the start of `createBranchIfNeeded()` to fail early with a clear error message
- When worktree is dirty, user sees: `worktree has uncommitted changes, commit or stash before running ralphex`
Pr... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index bcb79e83..803a036d 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -282,6 +282,15 @@ func createBranchIfNeeded(gitOps *git.Repo, planFile string, colors *progress.Co
return nil // already on feature branch
}
+ // check for uncommitted cha... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new dirty worktree check in createBranchIfNeeded lacks test coverage; a test case like fails_on_dirty_worktree should be added to TestCreateBranchIfNeeded verifying it returns an error with the expected message when the worktree is dirty.", "category": "testing", "verdict": "uncertain", "pri... | null |
umputun__revdiff__10 | umputun/revdiff | 10 | defect | 4d9fa9778ce64841eaee61088d30c3d9451c2779 | 55bb064feeabd6bd38213069e9eb03daf28c3132 | Add single-file mode and fix annotation input width | **Summary**
- When diff has exactly one file, auto-hide the tree pane and give full terminal width to the diff view
- Pane-switching keys (tab, h, l) and file navigation (n/p, f) become no-ops in single-file mode
- Search navigation (n/N) still works when search is active
- Fix annotation textinput width to use diffCon... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 8ca95721..2300d9a6 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -13,6 +13,10 @@ revdiff --staged # review staged chang... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test comment above the N-key update says `n` navigates to the previous search match even though the test sends `N`; update the comment to match the key being exercised.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umputun__revdiff__103 | umputun/revdiff | 103 | defect | 6663e80a9fa6c8dbb7366fd5d7bfb2efd4c3714d | 04792632cb6866eded18b19cc41783f28be94773 | Add `--include` prefix filter flag | Add `--include` (`-I`) flag for prefix-based file inclusion, complementing the existing `--exclude` (`-X`). Both flags compose: include narrows the file set first, then exclude removes from it.
```
revdiff --include src # only src/ files
revdiff --include src --exclude src/vendor # src... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index 8f82aa13..9f7cd6e5 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -37,6 +37,7 @@ Then uncomment and edit the values you ... | 4 | 4 | 1 | [{"id": "G0", "claim": "If all provided include prefixes normalize to empty, `f.prefixes` becomes empty and `matchesPrefix` returns false for everything, so `ChangedFiles` silently returns an empty list hiding all files; it should treat an empty normalized prefix list as a no-op (or return a validation error), with a u... | null |
umputun__revdiff__11 | umputun/revdiff | 11 | defect | 696471b792f0f3ac2143d3f8c596700bb3a26db6 | b54c5a0fba5d574a90b7b1211a97b0778e5f6055 | Add --only flag for file filtering | **Summary**
- Add repeatable `--only`/`-F` flag to filter which files revdiff shows
- Matches by exact path or path suffix (e.g. `--only=model.go` matches `ui/model.go`)
- Shows "no files match --only filter" message when nothing matches
- Integrates with single-file mode (if filter results in 1 file, tree pane hides)
... | diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 0d37d6bd..b7998cae 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -9,7 +9,7 @@
"name": "revdiff",
"source": "./",
"description": "Review git diffs with inline annotations in a... | 4 | 3 | 1 | [{"id": "G0", "claim": "ModelConfig.Wrap has extra spacing before its comment, inconsistent with gofmt output, so gofmt should be run or the spacing adjusted.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment on ModelConfig.Only says it filters \... | null |
umputun__revdiff__117 | umputun/revdiff | 117 | defect | 56067ded6e7f01d98d5ef860612753912575875c | 14271258977563fc4d9a17926f252d8f4b302968 | fix(ui): suppress initial loading flash and drop stale file-list responses | **Problem**
Opening revdiff on a repo with changes briefly shows an empty two-pane layout with "no file selected" before the real content appears. On small repos it's unnoticeable, on larger ones it's a 100-500 ms flash.
Cause: `Model.Init()` returns `loadFiles()` as an async `tea.Cmd`. Bubble Tea delivers the first ... | diff --git a/app/ui/diffview_test.go b/app/ui/diffview_test.go
index b7f5885b..1510cd32 100644
--- a/app/ui/diffview_test.go
+++ b/app/ui/diffview_test.go
@@ -614,6 +614,7 @@ func TestModel_PlainStyles(t *testing.T) {
m.layout.height = 40
m.layout.treeWidth = 36
m.ready = true
+ m.filesLoaded = true
// plain st... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new ARCHITECTURE.md paragraph wrongly says `filesLoaded` flips to true on every `filesLoadedMsg`, and should be reworded to say it flips on every accepted/latest `filesLoadedMsg`, since stale responses are dropped when `msg.seq != m.filesLoadSeq`.", "category": "documentation", "verdict": "s... | null |
umputun__revdiff__123 | umputun/revdiff | 123 | defect | f9e2ae505c0d318d596786a2af8c0dbd3b672c5e | 12128b2fd3fce5da2f76e94620f9680d8d8f2361 | Add `R` keybinding to reload diff from VCS | ## Use case
When using revdiff alongside an iterative workflow — e.g. running ralphex against a base branch while it commits changes — the diff can go stale mid-session. Previously the only option was to quit and restart revdiff with the same parameters. This PR adds `R` to reload the file list and diff in place wit... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 9979b2ab..20e40c7d 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -123,6 +123,7 @@ While the annotation input is active, pre... | 5 | 5 | 1 | [{"id": "G0", "claim": "plugins/codex/skills/revdiff/references/usage.md is missing the new `R` keybinding row, so the codex skills usage doc diverges from .claude-plugin/skills/revdiff/references/usage.md which CLAUDE.md requires to stay byte-identical.", "category": "documentation", "verdict": "supported", "priority"... | null |
umputun__revdiff__125 | umputun/revdiff | 125 | defect | f9e2ae505c0d318d596786a2af8c0dbd3b672c5e | dbcbdfd7a1055c7077bff1ac7a5aa4392603165b | fix(ui): keep cursor on same screen row when paging | Fixes the usability bug reported in #124. Full-page navigation in the diff pane previously placed the cursor at the viewport **top** after PgDown and at the **bottom** after PgUp, so PgDown then PgUp did not return to the previous position.
The half-page actions (Ctrl-D / Ctrl-U) already scroll cursor and viewport by ... | diff --git a/app/ui/diffnav.go b/app/ui/diffnav.go
index dd86bbdd..da1e5c77 100644
--- a/app/ui/diffnav.go
+++ b/app/ui/diffnav.go
@@ -93,49 +93,35 @@ func (m *Model) moveDiffCursorUp() {
}
// moveDiffCursorPageDown moves the diff cursor down by one visual page.
-// accounts for divider lines and annotation rows th... | 3 | 2 | 2 | [{"id": "G0", "claim": "moveDiffCursorDownBy/moveDiffCursorUpBy scroll the viewport by n while the cursor can move a different number of visual rows (wrap mode, multi-row annotations), so the cursor's on-screen row drifts, contradicting the PR's stated intent; the reviewer asks to compute the actual visual delta after ... | null |
umputun__revdiff__128 | umputun/revdiff | 128 | defect | 4ee7cc14ab5f6ec1999ec34174ce8cd4984e95a8 | 6d43221fff463acfaab45115f0a5576adba3076c | fix(ui): match --only patterns with ./ prefix and absolute entries | `-F/--only` dropped matching files when the pattern started with `./`. `filterOnly` only resolved against `workDir` for absolute patterns, so:
- git mode: entry `CLAUDE.md` vs pattern `./CLAUDE.md` - no match
- no-VCS mode: `FileReader` returns absolute paths, entry `/repo/CLAUDE.md` vs pattern `./CLAUDE.md` - no matc... | diff --git a/app/ui/loaders.go b/app/ui/loaders.go
index 899dd830..a7a01be6 100644
--- a/app/ui/loaders.go
+++ b/app/ui/loaders.go
@@ -288,8 +288,9 @@ func (m Model) computeBlameAuthorLen() int {
// filterOnly returns only files matching the --only patterns, or all files if no filter is set.
// matches by exact pat... | 3 | 1 | 0 | [{"id": "G0", "claim": "filterOnly recomputes workDirRel(entry) for every (entry, pattern) pair even though the entry is constant across the inner loop; precompute the normalized entry once per entry (and possibly the patterns upfront) to avoid repeated filepath.Rel work on large file lists.", "category": "performance"... | null |
umputun__revdiff__129 | umputun/revdiff | 129 | defect | 62e9e0f27ebc373ac40544e30989898949f643f0 | e7a6781ac743e36a40f7728d771ae00fcb8144a4 | Eager commit-log fetch — fixes #122 (stale commit overlay vs current diff) | Replaces the lazy commit-info fetch (triggered on first `i` press) with an eager parallel async fetch that runs alongside `loadFiles()` at startup and on `R` reload. Commits and file list now query the same HEAD snapshot.
**Problem**: files loaded eagerly at T0, commits fetched lazily at T1. If HEAD advances between T... | diff --git a/CLAUDE.md b/CLAUDE.md
index b99eb622..0027f2cb 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -92,7 +92,7 @@ TUI for reviewing diffs, files, and documents with inline annotations, built wit
- `diff.readReaderAsContext()` is the shared parser for file-backed and stdin-backed context-only views. Preserve its beh... | 1 | 1 | 0 | [{"id": "G0", "claim": "The plan overview and the CLAUDE.md bullet claim eager parallel fetch queries the same VCS HEAD snapshot / ensures overlay and diff reflect the same snapshot, but the two loaders run separate VCS commands that each resolve HEAD independently, so the docs overstate a strict guarantee and should b... | null |
umputun__revdiff__13 | umputun/revdiff | 13 | defect | 33c18915cc7697c782e9cfe45b63f7ef420be964 | 8061d4cd3bb3ed882cb943b18e01e8dacb1803f0 | Add two-ref positional args for diffing between refs | Support `revdiff base against` syntax (e.g. `revdiff main feature`) for diffing between two arbitrary git refs, in addition to the existing single-ref and `..`/`...` notation.
- Two positional args joined with `..` internally, fully backward-compatible
- Validate `--staged` + two-ref as mutually exclusive
- Updated RE... | diff --git a/.claude-plugin/skills/revdiff/SKILL.md b/.claude-plugin/skills/revdiff/SKILL.md
index 64218bcb..3960764f 100644
--- a/.claude-plugin/skills/revdiff/SKILL.md
+++ b/.claude-plugin/skills/revdiff/SKILL.md
@@ -1,7 +1,7 @@
---
name: revdiff
description: Review git diffs with inline annotations in a TUI overl... | 1 | 1 | 1 | [{"id": "G0", "claim": "The --staged + two-ref validation only checks opts.Refs.Against != \"\", so `revdiff --staged main..feature` (or `main...feature`) bypasses the check even though it is still a two-ref diff form, which can result in `git diff --cached <range>` being invoked; treat any ref containing `..`/`...` as... | null |
umputun__revdiff__14 | umputun/revdiff | 14 | defect | 47c1e53efbe5c1fc0a8b427f0ae5dc7fc8697093 | 48b0f25b6328ba5dff428ffb0b97931cf148f47e | Add --collapsed flag to start in collapsed diff mode | **Add `--collapsed` CLI flag** to start revdiff in collapsed diff mode by default.
- CLI flag `--collapsed`, config file `collapsed = true`, env var `REVDIFF_COLLAPSED`
- Mirrors existing `--wrap` flag pattern exactly
- Users can set their preferred view mode in `~/.config/revdiff/config` and toggle with `v` per-sessi... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index 13fee42a..4594e37e 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -24,6 +24,7 @@ Then uncomment and edit the values you ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test comment says `n` navigates to the previous search match while the assertion actually tests the `N` (uppercase) key, so the comment should be updated to match the behavior being tested.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umputun__revdiff__144 | umputun/revdiff | 144 | defect | c444b580d8447f8d6e82b01e65671cab5652f084 | 44aa25afa62b130c278acc7d9a5e1a3b574835ed | Mouse wheel and click support in overlay popups | **Context**
PR #142 shipped mouse support but swallowed every event while any overlay was open. The commit-info popup has `j/k/g/G/PageDown` keyboard scrolling but the wheel did nothing — reported in conversation and confirmed in `app/ui/mouse.go` where `m.overlay.Active()` unconditionally returned early. This branch ... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 19885ca4..08e30a50 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -157,8 +157,11 @@ revdiff enables mouse tracking by defaul... | 3 | 3 | 2 | [{"id": "G0", "claim": "TestModel_HandleMouse_ClickConfirmsThemeSelect only asserts that the overlay closes after a center-screen click, so it can pass even if Model stops handling OutcomeThemeConfirmed, and because it opens the overlay via mgr.OpenThemeSelect instead of Model.openThemeSelector, m.themePreview is nil a... | null |
umputun__revdiff__146 | umputun/revdiff | 146 | defect | a978f21d2767335cb1cb72c08f9e50dff68d1382 | d1dc8a96b970a562574ce480dd1e5a263c100480 | feat(diff): line-count labels on compact-mode dividers (⋯ N lines ⋯) | Enhances compact-mode diff rendering with informative `⋯ N line[s] ⋯` dividers at three positions — leading (before first hunk when it doesn't start at line 1), between non-adjacent hunks, and trailing (after last hunk when it doesn't reach EOF). Previously the parser only emitted a static `"..."` divider between hunks... | diff --git a/CLAUDE.md b/CLAUDE.md
index 9c0d58f2..a04633fb 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -93,7 +93,8 @@ TUI for reviewing diffs, files, and documents with inline annotations, built wit
- Overlay popups managed by `overlay.Manager`. `Compose()` uses ANSI-aware compositing via `charmbracelet/x/ansi.Cut`. `H... | 1 | 1 | 1 | [{"id": "G0", "claim": "Trailing divider emission gated by `prevOldEnd > 1` misses insertion-only hunks at the start of an existing file (`@@ -0,0 ...`), where a hunk was processed but no trailing divider is emitted despite `totalOldLines > 0`; use an explicit `sawHunk` flag instead.", "category": "correctness", "verdi... | null |
umputun__revdiff__149 | umputun/revdiff | 149 | defect | 29aa0f650b1aec2fd91f088ff2d114b194bb62bc | 4d5dab819ee5dd9b5ac9dd1ca357fa585010250d | fix(themes): persist theme into Application Options section | Fixes the #148 bug where the theme selector (Shift+T) was writing `theme = <name>` at EOF of `~/.config/revdiff/config`. If the file ended with a named section such as `[color options]`, the new line landed inside that section and go-flags emitted `unknown option: theme` on next startup, silently dropping the setting.
... | diff --git a/app/diff/diff_test.go b/app/diff/diff_test.go
index 469a4772..256b83d0 100644
--- a/app/diff/diff_test.go
+++ b/app/diff/diff_test.go
@@ -210,10 +210,10 @@ func TestParseUnifiedDiff_GapLabels(t *testing.T) {
// a divider only when the last hunk does not reach EOF.
func TestParseUnifiedDiff_TrailingDivide... | 3 | 1 | 1 | [{"id": "G0", "claim": "Removing the explicit `//nolint:gosec` from `os.ReadFile(tc.configPath)` will likely trigger gosec G304 (variable file path), so an equivalent suppression or refactor should be restored to keep golangci-lint green for user-provided config paths.", "category": "maintainability", "verdict": "uncer... | null |
umputun__revdiff__15 | umputun/revdiff | 15 | defect | 6e33e15d1b9dca2d1e50a3f9f988b1c1446f8c31 | 69910fe52132bc94556305bde5a3b66b7edd9494 | Add annotation list popup with cross-file navigation | Adds `@` key to toggle an annotation list popup overlay that shows all annotations across all files, with navigation and jump-to-annotation support.
**Changes:**
- `ui/annotlist.go` — annotation list popup: data collection, rendering, overlay compositing, key handling
- `ui/model.go` — wiring: `@` key toggle, popup st... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 5a803283..00457f73 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -63,6 +63,7 @@ When `--only` specifies a file that has no ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The border-title injection math in injectBorderTitle rebuilds the top border wider than popupWidth (total becomes popupWidth + 2 including corners), which can misalign or overflow the overlay box; adjust rightLen so the segments sum to popupWidth.", "category": "correctness", "verdict": "uncerta... | null |
umputun__revdiff__151 | umputun/revdiff | 151 | defect | 8016864e5b535b086001d2e26d53651382e7873c | f69efa25a237c8c83a28aab79c7708200d3df0bc | feat(ui): vertical scrollbar thumb on diff pane right border | Adds an at-a-glance scroll-position indicator to the diff pane: the right
border `│` is replaced with a thicker `┃` (heavy-vertical, bold) on the
rows that map to the currently visible portion of the diff. Thumb size and
position track viewport state automatically. Diff pane only; tree pane is
intentionally left untouc... | diff --git a/CLAUDE.md b/CLAUDE.md
index 71b44d09..2fe26b93 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -99,6 +99,7 @@ TUI for reviewing diffs, files, and documents with inline annotations, built wit
- **ANSI nesting with lipgloss**: `lipgloss.Render()` emits `\033[0m` (full reset) which breaks outer style backgrounds. ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The documentation inaccurately states that the track and thumb share the same UTF-8 byte width / that both glyphs are 3-byte UTF-8 (in the applyScrollbar doc comment in app/ui/scrollbar.go and in the CLAUDE.md gotcha entry), and should be reworded to say the replacement swaps only the last borde... | null |
umputun__revdiff__156 | umputun/revdiff | 156 | defect | 842520053bec5ca1aa021139d9bac2ec6cd515b1 | 795813491aa42958436db0229ca57fff1a232545 | feat(annotations): --annotations flag preloads annotations from FormatOutput markdown | Closes #153.
## Summary
Add a `--annotations=PATH` flag that preloads the annotation store from a markdown file in the same shape `Store.FormatOutput` emits. The format is bidirectional: any file written by `-o` can be read back via `--annotations`, so an LLM-generated review (or hand-authored notes, or a previous se... | diff --git a/.claude-plugin/skills/revdiff/SKILL.md b/.claude-plugin/skills/revdiff/SKILL.md
index 69affbd8..ecdbc96c 100644
--- a/.claude-plugin/skills/revdiff/SKILL.md
+++ b/.claude-plugin/skills/revdiff/SKILL.md
@@ -1,6 +1,6 @@
---
name: revdiff
-description: Review diffs, files, and documents with inline annotati... | 11 | 11 | 4 | [{"id": "G0", "claim": "The buildLineSet doc-comment sentence \"key. mirrors\" should start with a capital letter (\"Key. Mirrors\") to match Go doc style.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test fixture string in TestPreloadAnnota... | null |
umputun__revdiff__160 | umputun/revdiff | 160 | defect | b11a5c604c58c2e43327ad9d129d22c26e2ad11e | 121394035f40e73c880dceb06f56f0fd914b149d | fix(ui): theme rendering bugs surfaced by colorblind-light | Four related fixes for theme-rendering bugs surfaced while reviewing the new `colorblind-light` theme in #157.
**1. `+`/`-`/`~` prefix invisible on syntax-highlighted lines** (`fc3e092`)
The highlighted line styles set only background and rely on chroma to paint per-token foreground inline. The `+`/`-`/`~` prefix is ... | diff --git a/app/main.go b/app/main.go
index a5176784..2d9cb1c9 100644
--- a/app/main.go
+++ b/app/main.go
@@ -6,7 +6,9 @@ import (
"os"
tea "github.com/charmbracelet/bubbletea"
+ "github.com/charmbracelet/lipgloss"
"github.com/jessevdk/go-flags"
+ "github.com/muesli/termenv"
"github.com/umputun/revdiff/app... | 1 | 1 | 1 | [{"id": "G0", "claim": "In collapsed mode on highlighted search-match lines the prefix fg is still derived from add/modify styling (LineFg(ChangeAdd) or ColorKeyModifyLineFg) instead of the search-match style, so the gutter prefix color differs between highlighted and non-highlighted search matches; derive the prefix f... | null |
umputun__revdiff__162 | umputun/revdiff | 162 | defect | 2568e9c917cd2fd5e451facd9670de55a87f31e6 | 8f96d34712dc2789e430b173c7683451a615528d | feat: navigate annotations across files with }/{ keys | since #156 added `--annotations` to preload review feedback as inline annotations, a single session can carry many annotations spread across many files. The `@` popup is fine for picking one specific item, but stepping through them in order needed dedicated keys.
adds `}` and `{` to navigate to next/previous annotatio... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 84e102d6..7bf3f623 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -124,6 +124,7 @@ Use `--stdin` to review arbitrary piped o... | 1 | 1 | 0 | [{"id": "G0", "claim": "The cursorAnnotKey doc comment says onAnnot is true only when the cursor is exactly on an existing annotation row, but currentAnnotKey sets it from store.Has(file,line,typ) regardless of whether the cursor sits on the diff line or the annotation comment sub-row, so the comment should be updated ... | null |
umputun__revdiff__163 | umputun/revdiff | 163 | defect | 2568e9c917cd2fd5e451facd9670de55a87f31e6 | e3e4096362dc050180afac46d7b3895d67b82d08 | feat: `--compare=old:new` — two-file diff for rolling agent reviews | ## Motivation
revdiff is built for **rolling review loops with a Claude agent**: the agent produces content, the user annotates lines, the agent revises, the loop repeats until the user quits without annotations. This works well today for code diffs, where each iteration is naturally framed as a `+`/`-` view of what... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 84e102d6..5772b8ab 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -23,6 +23,7 @@ revdiff --include src --exclude src/vendor ... | 15 | 12 | 5 | [{"id": "G0", "claim": "Scrap `--compare` and instead extend `--stdin` to parse unified-diff input (`--stdin-format=patch` or auto-detect `diff --git` headers), covering the two-file workflow in ~30 lines instead of ~290 with no new top-level mode.", "category": "design", "verdict": "opposed", "priority": "P1", "scope"... | null |
umputun__revdiff__166 | umputun/revdiff | 166 | defect | 83fc8ac727a2a12824fc61de225d31a43d931c21 | 328cc05fd1856f67cb530ebbb4221ce66e5fd470 | mute ↪ wrap continuation marker, add --wrap-indent | **Wrap continuation marker color**
The `↪` glyph used to inherit chroma syntax color or change-line foreground because the highlighted line styles set only background and let content fg fall through. It now renders with `MutedFg` via raw ANSI outside lipgloss, matching the muted treatment of `«`/`»` horizontal scroll ... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index eb59fb04..31c3f38c 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -24,6 +24,7 @@ Then uncomment and edit the values you ... | 5 | 5 | 0 | [{"id": "G0", "claim": "The subtest named \"no-colors mode degrades to plain marker\" does not set cfg.noColors=true (it only swaps the resolver), so either set cfg.noColors for clarity or rename the subtest to reflect what is actually verified.", "category": "testing", "verdict": "supported", "priority": "P2", "scope"... | null |
umputun__revdiff__178 | umputun/revdiff | 178 | defect | 9036f95dd3584dc5884b4c87e6224f25f93003d8 | b5c3307c4e240b88c0d703a655c4d0379c2ab407 | feat: add --untracked flag to show untracked files in the tree | Adds `--untracked` CLI flag with `REVDIFF_UNTRACKED` env var and `untracked` config key to control the visibility of untracked files in the tree.
The flag is gated in two-ref mode (`revdiff main feature --untracked`) so working-tree untracked files don't appear in a historical ref-to-ref diff. Single-ref, `--staged`, ... | diff --git a/.claude-plugin/skills/revdiff/SKILL.md b/.claude-plugin/skills/revdiff/SKILL.md
index 6dcef1b7..8254c3b1 100644
--- a/.claude-plugin/skills/revdiff/SKILL.md
+++ b/.claude-plugin/skills/revdiff/SKILL.md
@@ -109,10 +109,12 @@ The script outputs structured fields:
When you are launching revdiff for the use... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new CLI flag description guideline in CLAUDE.md is internally contradictory: it tells contributors to match the `--blame` description \"show blame gutter on startup\" while forbidding \"at startup\"/\"on startup\" phrases, so the rule should be reconciled into a single clear standard.", "cat... | null |
umputun__revdiff__18 | umputun/revdiff | 18 | defect | 03482d21f5fa97fc2d33ea5d5359760beeabef57 | 8b9552dadcb9c6d8e672e0d208af150e9ba2451b | Add t hotkey to toggle tree/TOC pane visibility | **Summary**
- `t` key toggles tree/TOC pane visibility, giving diff full terminal width
- status bar shows `⊟` icon when pane is hidden
- pane-switching keys (tab, h) become no-ops while hidden
- works in multi-file mode (tree pane) and single-file markdown mode (TOC pane)
- no-op in single-file mode without TOC (alrea... | diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 166fc78b..ab0003d0 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -9,7 +9,7 @@
"name": "revdiff",
"source": "./",
"description": "Review git diffs with inline annotations in a... | 1 | 1 | 1 | [{"id": "G0", "claim": "With treeHidden=true and treeWidth=0, diffContentWidth() still subtracts 4 border columns (only special-casing single-file-without-TOC), so the diff content gets m.width-5 instead of the full width; diffContentWidth() should treat the tree-hidden (and single-file TOC-hidden) case as full-width."... | null |
umputun__revdiff__180 | umputun/revdiff | 180 | defect | 0a4968232d7cb34ea762384892cdc973a85f20a4 | f846bb987a347c339d4f0e846bfe697384d10362 | fix: coalesce diff-pane wheel events to unblock reverse scroll (#179) | Fixes #179.
**The problem**
Rapid wheel events on a large diff used to do O(cursor) work per event in `pinDiffCursorTo` (loops through `m.file.lines` to compute visual rows) plus a full `SetContent(renderDiff())`. On a trackpad flick the message queue piled up with expensive Update+View cycles, and a subsequent wheel... | diff --git a/CLAUDE.md b/CLAUDE.md
index f58e2fec..749614ed 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -96,6 +96,13 @@ TUI for reviewing diffs, files, and documents with inline annotations, built wit
- `diff.readReaderAsContext()` is the shared parser for file-backed and stdin-backed context-only views. Preserve its be... | 1 | 1 | 0 | [{"id": "G0", "claim": "flushWheelPending unconditionally calls syncTOCActiveSection() and SetContent(renderDiff()), forcing an unnecessary full render after every wheel burst (and even after isolated wheel events) when pinDiffCursorTo doesn't actually move the cursor; it suggests using pinDiffCursorTo's bool return to... | null |
umputun__revdiff__181 | umputun/revdiff | 181 | defect | 6359bb29ab34c20a9fc0dc94310d670942080e1e | 4d4cd637cd948f0b03ad16440d45786d89d864d6 | fix(mouse): tree/TOC wheel scrolls one entry per notch (not three) | Tree/TOC wheel was calling `MotionPageDown/Up` with the `wheelStep` (3) count, so each wheel notch skipped 3 entries in the file tree and 3 sections in the TOC. Shift+wheel further amplified to half-page. That's the diff-pane mental model bleeding into the sidebar; the sidebar is small and cheap, users expect `j`/`k`-s... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 5e617f26..cb60b408 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -191,8 +191,8 @@ On narrow terminals, the left-hand segmen... | 1 | 1 | 0 | [{"id": "G0", "claim": "In TestModel_HandleMouse_WheelInTOCJumpsViewport the tests ignore the ok return value of CurrentLineIdx(); consider asserting ok (e.g. require.True) so the tests cannot silently pass with the default 0 value if the TOC cursor state is unexpectedly invalid.", "category": "testing", "verdict": "su... | null |
umputun__revdiff__185 | umputun/revdiff | 185 | defect | 40c5cd8cb0d770aaa426c799d2f339f67a6bcbb4 | 31ac16e64358e258280af48dbcfe0953751f549d | Configurable annotation marker | # Configurable annotation marker
Adds `--annotation-marker` (env: `REVDIFF_ANNOTATION_MARKER`, config: `annotation-marker`) to let users swap the `💬` prefix for something else. Defaults to the emoji so nothing changes for existing setups.
All five render sites now go through `annotPrefix()` / `annotFilePrefix()` hel... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index 40db3f34..b99f698d 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -32,6 +32,7 @@ Then uncomment and edit the values you ... | 8 | 8 | 3 | [{"id": "G0", "claim": "The input width for annotation inputs drops 2 columns because `1+lipgloss.Width(prefix)` omits the `+2` border margin the old hardcoded 6/12 had, so restore the +2 or document why it is no longer needed, and add a regression test pinning absolute input width for the default, a wide, and an empty... | null |
umputun__revdiff__19 | umputun/revdiff | 19 | defect | 86fb3df5d01334730501fb9c6617c44dbc1256b6 | 3f828a309b0af01aea3552becf2c8aaaa8696c1e | Add --all-files and --exclude modes | **Summary**
- `--all-files` (`-A`) flag turns revdiff into a general-purpose code browser using `git ls-files` for file discovery
- `--exclude` (`-X`) flag filters files by path prefix, works with both `--all-files` and regular diff modes
- `DirectoryReader` lists all git-tracked files; `ExcludeFilter` wraps any render... | diff --git a/.claude-plugin/skills/revdiff/SKILL.md b/.claude-plugin/skills/revdiff/SKILL.md
index 3960764f..2b74d14d 100644
--- a/.claude-plugin/skills/revdiff/SKILL.md
+++ b/.claude-plugin/skills/revdiff/SKILL.md
@@ -1,7 +1,7 @@
---
name: revdiff
-description: Review git diffs with inline annotations in a TUI overl... | 2 | 2 | 1 | [{"id": "G0", "claim": "The --exclude prefix normalization only strips trailing slashes but does not trim whitespace or skip empty values, so inputs like \"vendor, mocks\" fail to match and a trailing comma produces a useless empty prefix; consider applying strings.TrimSpace and skipping empty results.", "category": "c... | null |
umputun__revdiff__192 | umputun/revdiff | 192 | defect | 572de2a01a3498b928f85d7a016bb6ddba8e86bc | 0630be4028c56e88c3e503ee9b717621b1422f9e | Make open-editor binding configurable via keymap | the `Ctrl+E` key that opens `$EDITOR` during annotation input was hardcoded, conflicting with the standard readline/emacs end-of-line binding. This routes it through the keymap system as the `open_editor` action so users can remap it via `~/.config/revdiff/keybindings`.
**what changed:**
- `ActionOpenEditor` added to ... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index b99f698d..3f538bab 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -141,6 +141,6 @@ unmap q
map ctrl+d half_page_down
`... | 2 | 2 | 1 | [{"id": "G0", "claim": "editorKeyDisplay filters out any key containing '>' to exclude chord bindings, which also excludes a legitimate single-key binding of the literal '>' key and would make the placeholder omit a key that would work; consider detecting chords more precisely (e.g. strings.Index(k, \">\") > 0).", "cat... | null |
umputun__revdiff__2 | umputun/revdiff | 2 | defect | 7a946eeda437e4080fafb650a1c6035aae5129c1 | 01326e0bccef71b5a09f9cc22cba909c307e40ce | fix: resolve git repo root so revdiff works from subdirectories | Fixes #1
Use `git rev-parse --show-toplevel` to find the repository root instead of hardcoding `.` as the working directory. Previously, running `revdiff HEAD~1` from a subdirectory would fail because git diff paths are repo-relative but the working directory was the subdirectory. | diff --git a/cmd/revdiff/main.go b/cmd/revdiff/main.go
index e0ba0457..d5bd6b45 100644
--- a/cmd/revdiff/main.go
+++ b/cmd/revdiff/main.go
@@ -1,9 +1,11 @@
package main
import (
+ "context"
"errors"
"fmt"
"os"
+ "os/exec"
"path/filepath"
"runtime"
"strings"
@@ -161,7 +163,11 @@ func defaultConfigPath() ... | 1 | 1 | 0 | [{"id": "G0", "claim": "gitTopLevel should not wrap cmd.Output() errors directly (which loses git's error text, e.g. plain \"exit status 128\") and should instead detect *exec.ExitError and include exitErr.Stderr in the returned error message, mirroring diff.Git.runGit's handling.", "category": "correctness", "verdict"... | null |
umputun__revdiff__21 | umputun/revdiff | 21 | defect | 86fb3df5d01334730501fb9c6617c44dbc1256b6 | de6849a70a36dab26093e150a249b312ddd1e137 | feat(ui): add toggleable line numbers in diff gutterLine numbers | ## Summary
Adds side-by-side old/new line number columns to the diff gutter, toggled at runtime with `L` key.
Closes #20
## What's changed
- New `L` key toggles line number display on/off
- Two-column gutter shows old and new line numbers (` OOO NNN` format)
- Column width auto-adjusts per file ba... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 5843335f..6b0748d2 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -78,6 +78,7 @@ When `--only` specifies a file that has no ... | 5 | 5 | 2 | [{"id": "G0", "claim": "The linter flags `var old, new string` in diffview.go:30 because `new` shadows the Go builtin; rename the variables to something like oldCol/newCol.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The linter flags the unta... | null |
umputun__revdiff__23 | umputun/revdiff | 23 | defect | d3ae81bde18d2a8befd1e2ae86a4d5e5e0722910 | de30b801cd3c01957ac8723188839126a0f00c07 | feat(ui): show current line number in status bar | ## Summary
Adds a `L:42/380` indicator to the status bar showing the current cursor's line number and total lines in the file.
Closes umputun/revdiff#22
## What's changed
- New `lineNumberSegment()` displays current line position in the status bar
- Uses new file line number for context/add lines, old file... | diff --git a/CLAUDE.md b/CLAUDE.md
index 22aacafc..aea10c91 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -76,7 +76,7 @@ git diff → diff.ParseUnifiedDiff() → []DiffLine
- `--all-files` mode uses `DirectoryReader` (git ls-files) to list all tracked files; `--exclude` wraps any renderer with `ExcludeFilter` for prefix-based... | 2 | 2 | 1 | [{"id": "G0", "claim": "The three `assert.Equal(t, \"\", ...)` assertions in TestModel_LineNumberSegment should be replaced with `assert.Empty(t, ...)` per the testifylint linter.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The denominator in `L:42/3... | null |
umputun__revdiff__25 | umputun/revdiff | 25 | defect | d3ae81bde18d2a8befd1e2ae86a4d5e5e0722910 | 00b02a9914401f6e835ef72d3b75ce031e141aca | fix: make ctrl+d/u scroll half-page instead of full page | ## Summary
Splits `ctrl+d`/`ctrl+u` from `PgDn`/`PgUp` so they scroll half a page, matching vim/less/tmux convention.
Closes umputun/revdiff#24
## What's changed
- `ctrl+d`/`ctrl+u` now scrolls half the viewport height in all three panes (diff, tree, TOC)
- `PgDn`/`PgUp` unchanged — still scrolls full page... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index d0beb3e9..e6dcd663 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -66,7 +66,7 @@ When `--only` specifies a file that has no ... | 3 | 2 | 2 | [{"id": "G0", "claim": "moveDiffCursorHalfPageDown/Up end with syncViewportToCursor(), which only scrolls when the cursor leaves the visible range, so the viewport may stay put (e.g. the first ctrl+d from the top of the diff) instead of scrolling by half a page; they should adjust viewport.YOffset explicitly like the f... | null |
umputun__revdiff__27 | umputun/revdiff | 27 | defect | d3ae81bde18d2a8befd1e2ae86a4d5e5e0722910 | dc89d3b6f5b7aecc7b9ab4514b68b762602eb395 | Fix file-level annotation input overflow and Enter-to-edit | Fixes #26
Two bugs where file-level annotations (`A` key) behaved differently from line-level annotations:
**1. Input width overflow** - `newAnnotationInput` subtracted a fixed 6 chars for the prefix, but file-level annotations render a wider `"💬 file: "` prefix. Changed `newAnnotationInput` to accept a `prefixWidth... | diff --git a/docs/plans/completed/20260405-fix-file-annotation-bugs.md b/docs/plans/completed/20260405-fix-file-annotation-bugs.md
new file mode 100644
index 00000000..fc7560d7
--- /dev/null
+++ b/docs/plans/completed/20260405-fix-file-annotation-bugs.md
@@ -0,0 +1,81 @@
+# Fix File-Level Annotation Bugs
+
+## Overview... | 3 | 1 | 0 | [{"id": "G0", "claim": "handleEnterKey duplicates the same SetContent(renderDiff()) + return in both branches; consider selecting the command (startFileAnnotation vs startAnnotation) first and calling SetContent once.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
umputun__revdiff__34 | umputun/revdiff | 34 | defect | dafa5fd747d4fe783622a7b4bc966f4fadc55352 | f169c534b3f7930adc7d371b8384311d31f3303f | Address external code review findings | Address 5 findings from external code review.
- validate hex color format at theme parse time, reject malformed values
- route annotation list navigation (j/k/up/down) through keymap instead of hardcoded keys
- return error from `Keymap.Dump()` instead of silently discarding write failures
- refactor `handleThemes()` ... | diff --git a/CLAUDE.md b/CLAUDE.md
index 21f420eb..b45e20af 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -16,7 +16,7 @@ TUI for reviewing diffs, files, and documents with inline annotations, built wit
- `ui/` - bubbletea TUI model, views, styles, file tree, annotations
- `highlight/` - chroma-based syntax highlighting, ... | 3 | 3 | 1 | [{"id": "G0", "claim": "If a user remaps enter/esc to ActionUp/ActionDown, the new action-based navigation switch returns early before the hardcoded enter/esc handling, so the overlay would no longer jump/close; give tea.KeyEnter/tea.KeyEsc precedence.", "category": "correctness", "verdict": "supported", "priority": "P... | null |
umputun__revdiff__38 | umputun/revdiff | 38 | defect | 9338b798885b7c2719238923fa2ccfbdf3748306 | 1ad255e49bbc5baaf7eb666abc8320dfeab51d2f | Add git blame gutter toggle (B key) | ## Summary
- Adds a **git blame gutter** toggled with `B` key, showing author name (truncated to 8 chars) and relative commit age (e.g. `3d`, `2w`, `1y`) per line
- Blame data loads **asynchronously** via `git blame` and is keyed by new-side line numbers; removed lines and dividers show blank gutters
- New `Blamer... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 2d194355..9d4ad926 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -99,6 +99,7 @@ When `--only` specifies a file that has no ... | 12 | 9 | 5 | [{"id": "G0", "claim": "In diff/blame.go the deferred os.Remove return value is unchecked; wrap it as `_ = os.Remove(tmpName)`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "FileBlame's first two parameters can be combined as `ref, file string`.", ... | null |
umputun__revdiff__4 | umputun/revdiff | 4 | defect | 0623d8d9429e59e68d957202632dcee033798c65 | b07c132e337f557c269b5d7acf3b9b7cdf0905a2 | add Q hotkey to discard annotations and quit | adds `Q` (shift+q) to exit revdiff without outputting annotations. when annotations exist, shows inline confirmation in the status bar ("discard N annotations? [y/n]"). second `Q` or `y` confirms, `n`/`Esc` cancels.
if no annotations exist, `Q` behaves the same as `q`.
`--no-confirm-discard` flag (env `REVDIFF_NO_CON... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index 6b6dce74..275510b9 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -23,6 +23,7 @@ Then uncomment and edit the values you ... | 1 | 1 | 1 | [{"id": "G0", "claim": "TestParseArgs_NoConfirmDiscard's \"flag\" subtest calls parseArgs without the --config isolation noConfigArgs provides, which can make the test environment-dependent; the test should use noConfigArgs (or an extra-args helper) instead.", "category": "testing", "verdict": "supported", "priority": ... | null |
umputun__revdiff__45 | umputun/revdiff | 45 | defect | 0ac92ff537aaa90ac105bb2b9071d237d064645f | aed8a163b7135ae3cf3aefd87cab5c8b194c9d6a | fix: add right padding to prevent wrapped text from touching pane border | In wrap mode, text was filling right up to the pane border with no gap. Added 1 char right padding to `diffContentWidth()` so wrapped lines have breathing room before the border. Applies to both single-file and multi-file layouts.
| diff --git a/CLAUDE.md b/CLAUDE.md
index d24733f3..0e0abab8 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -105,7 +105,7 @@ git diff → diff.ParseUnifiedDiff() → []DiffLine
- **Background fill for themed panes**: lipgloss pane `Render()` and viewport internal padding emit plain spaces after `\033[0m` reset, causing pane bac... | 3 | 1 | 1 | [{"id": "G0", "claim": "The second sentence of the diffContentWidth doc comment starts with a lowercase \"accounts\" and reads like a fragment, so consider rephrasing it as a complete sentence (e.g., \"It accounts …\") for GoDoc polish.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "... | null |
umputun__revdiff__47 | umputun/revdiff | 47 | defect | 2d7732c2aaad7128d781b4772603de1644b6a428 | 641a262efecbe9dd63d71dbb93d48c59e6371c4a | Add hunk keyword expansion in annotation output | Add hunk keyword expansion to annotation output. When annotation text contains the word "hunk", the output header automatically expands to include the full hunk line range (e.g., `## file.go:43-67 (+)` instead of `## file.go:43 (+)`).
Related to #43
- add `EndLine` field to `Annotation` struct
- detect "hunk" keyword... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index a21585ae..5db0645c 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -143,10 +143,15 @@ consider splitting this file into small... | 3 | 3 | 0 | [{"id": "G0", "claim": "The docs (site/docs.html and .claude-plugin/skills/revdiff/references/usage.md) still state each annotation block header is always `## filename:line (type)`, and should be updated to document the optional `filename:line-end` range that the output now emits.", "category": "documentation", "verdic... | null |
umputun__revdiff__62 | umputun/revdiff | 62 | defect | e9744e04a11ad8895ae6f783198e156d48b8cbf7 | 6efe315c637ebb577e9c6442c442de570f5ab7a5 | feat: show untracked and staged-only files in file tree (u toggle) | Follow-up to #55, rewritten to address all feedback.
## What changed from #55
- **No git mutations** — no `git add`, `git restore --staged`, or staging of any kind. revdiff stays read-only.
- **No interface pollution** — `UntrackedFiles()` lives only on `*Git`, injected via `ModelConfig.LoadUntracked` callback. No cha... | diff --git a/app/diff/diff.go b/app/diff/diff.go
index f4e83644..dd62e69b 100644
--- a/app/diff/diff.go
+++ b/app/diff/diff.go
@@ -48,6 +48,7 @@ const (
FileModified FileStatus = "M"
FileDeleted FileStatus = "D"
FileRenamed FileStatus = "R"
+ FileUntracked FileStatus = "?"
)
// FileEntry represents a file w... | 9 | 9 | 7 | [{"id": "G0", "claim": "The pull request adds untracked-file discovery, ReadFileAsAdded, the staged-only merge and the u toggle cycle without any tests, unlike comparable features in the project, and needs matching coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
umputun__revdiff__7 | umputun/revdiff | 7 | defect | c828696f620080efddbc56d654c542b5f270ab3e | b09dc5d7f7a7fe4310e02090a67f7cc7974d1de7 | Split status bar into status line and help overlay | **Split the crowded status bar into two separate concerns:**
- **Status line** — clean info strip showing: filename, +N/-N line stats, hunk position, mode indicators (▼ collapsed, ◉ filtered), annotation count, and `? help` hint
- **Help overlay** — modal popup triggered by `?` key with all keybindings organized in se... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 0a388b50..4ed5bf18 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -46,6 +46,7 @@ revdiff HEAD~1 # review last commit
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The map literals in the new help tests (TestModel_HelpCloseWithEsc, TestModel_HelpBlocksOtherKeys and the other map entries in that section) won't compile because they omit the slice type, and the tests should use []diff.DiffLine{{...}} for the map values.", "category": "correctness", "verdict":... | null |
umputun__revdiff__72 | umputun/revdiff | 72 | defect | 5adb061af7291c7ca45865190e2151c9cd0d074e | 2ef8af0e7a778f29472e7f1493fbe4aebd300083 | feat: review history auto-save on quit | **What**: auto-save review sessions (annotations + relevant file diffs) to `~/.config/revdiff/history/<repo>/<timestamp>.md` on normal quit.
**Why**: when revdiff is used as a review tool from Claude Code or other agents, annotations are output to stdout. If the agent fails to capture stdout, crashes, or the user want... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index 0d15fdbc..ba4344a1 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -37,6 +37,7 @@ Then uncomment and edit the values you ... | 5 | 2 | 0 | [{"id": "G0", "claim": "The exec.CommandContext calls in history.go will likely trigger gosec G204 because args include user/annotation-derived values, and should be annotated with //nolint:gosec like the similar git execs in app/diff/diff.go, or routed through the existing git runner, for lint consistency.", "category... | null |
umputun__revdiff__80 | umputun/revdiff | 80 | defect | b935f785ae9b54e820d9ad04aa0f393d7e2bdb87 | 2f381f34dc2d1c9809aa01a7e70866bc5df74e11 | fix: load staged diff content for staged-only files in default mode | ## Problem
In #62 we added automatic detection of staged-only files (new files added to index via `git add` but not yet committed). These files are correctly discovered and listed in the file tree, but when loading their diff content, `FileDiff` is called with `staged=false` (default mode). Since these files are ident... | diff --git a/app/ui/loaders.go b/app/ui/loaders.go
index 497e6de5..d1b81b36 100644
--- a/app/ui/loaders.go
+++ b/app/ui/loaders.go
@@ -152,17 +152,7 @@ func (m Model) handleFileLoaded(msg fileLoadedMsg) (tea.Model, tea.Cmd) {
}
m.currFile = msg.file
m.diffLines = msg.lines
- // untracked files have no git diff — ... | 3 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test for the new staged-only FileAdded retry path, with FileDiffFunc returning empty on the first call and real lines when staged=true, asserting diffLines gets populated.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
umputun__revdiff__89 | umputun/revdiff | 89 | defect | 616ebd0fa2559ab49b9a27308de96ea27f9186ca | 7c348c34a306971510eb59e2dd9115497335d42e | feat(ui): add horizontal scroll overflow indicators | Show `«` and `»` overflow markers at the edges of truncated diff lines in unwrapped mode so the user can tell when content extends off-screen.
**Behavior**
- Left indicator (`«`) replaces the first visible column when scrolled right past hidden content.
- Right indicator (`»`) sits flush against the pane border with a... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index d8c60fc7..9ba77ce0 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -73,7 +73,7 @@ Use `--stdin` to review arbitrary piped or ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The doc comment says the narrow-viewport fallback triggers for cutWidth ≤ 3 with dual overflow, but the actual condition (innerEnd <= innerStart) only falls back at cutWidth ≤ 2, so either update the comment/PR docs to match the implemented threshold or adjust the fallback condition if cutWidth ... | null |
umputun__revdiff__90 | umputun/revdiff | 90 | defect | f4421f3043b6f4408d4bb2c7b29660af27b50772 | 2aa4387ab604cb9fe8f9d9c90adbaeebad1a8d30 | Add Mercurial VCS support | ## Summary
- Auto-detect Mercurial repos via `DetectVCS()` walking up directories for `.hg`
- `Hg` struct implements `Renderer` and `Blamer` interfaces using `hg status`, `hg diff --git`, and `hg annotate`
- Git-style ref translation: `HEAD`→`.`, `HEAD~N`→`.~N`, `HEAD^`→`.^`, `HEAD^N`→`pN(.)`
- `--staged` warns when u... | diff --git a/.claude-plugin/skills/revdiff/references/config.md b/.claude-plugin/skills/revdiff/references/config.md
index f9c03450..8f82aa13 100644
--- a/.claude-plugin/skills/revdiff/references/config.md
+++ b/.claude-plugin/skills/revdiff/references/config.md
@@ -26,7 +26,7 @@ Then uncomment and edit the values you ... | 4 | 3 | 2 | [{"id": "G0", "claim": "Hg.revFlag treats any ref containing \"..\" as a range and does not special-case triple-dot refs, so \"A...B\" is split into invalid rev args (e.g. -r main -r .feature) and breaks ChangedFiles/FileDiff; handle \"...\" explicitly or reject it with a clear error.", "category": "correctness", "verd... | null |
umputun__revdiff__98 | umputun/revdiff | 98 | defect | 71e9e4d02bae623f775a82cdab8e71c6b49d54f8 | 3c374afb1151a456493e6559dee458ea3c905a14 | fix(ui): show single-column line numbers for full-context files | ## Summary
- In full-context modes (`--only`, `--stdin`, `--all-files`), line number gutter now shows a single column (`" NNN"`) instead of two identical columns (`" NNN NNN"`), saving horizontal space
- Detection is per-file via `isFullContext()` in `handleFileLoaded`, so files with real diffs still get two-column g... | diff --git a/.claude-plugin/skills/revdiff/references/usage.md b/.claude-plugin/skills/revdiff/references/usage.md
index 4ff78b6e..dbec42a1 100644
--- a/.claude-plugin/skills/revdiff/references/usage.md
+++ b/.claude-plugin/skills/revdiff/references/usage.md
@@ -108,7 +108,7 @@ Use `--stdin` to review arbitrary piped o... | 4 | 3 | 0 | [{"id": "G0", "claim": "The codex copy plugins/codex/skills/revdiff/references/usage.md was not synced and must stay byte-identical to the claude-plugin copy per CLAUDE.md.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "app/ui/model.go needs gof... | null |
umputun__secrets__43 | umputun/secrets | 43 | defect | 621b9aa93c6dedc0bcf20e6fdf2fee3cf58e2b74 | f69f5063755b761b7fd656b9ca0f63c6d0bbc319 | Code refactor for Issue #40 | - added constructor for Server so that it responsible for Server creation with templates cache.
Additionally, validation parameters like `PinSize`, `MaxAttempts` and `MaxExpire` can be moved to a separate struct like
```go
type ValidationConfig struct {
PinSize int
MaxPinAttempts int
MaxEx... | diff --git a/Dockerfile b/Dockerfile
index 8a900967..9b9c6150 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
ARG TZ=America/Chicago
-FROM umputun/baseimage:buildgo-latest as build-backend
+FROM umputun/baseimage:buildgo-latest AS build-backend
ARG CI
ARG GIT_BRANCH
diff --git a/app/main.go b/app/main.g... | 1 | 1 | 0 | [{"id": "G0", "claim": "In prepTestServer the error returned by New() should not be ignored but checked with require, adding a t parameter to prepTestServer if necessary.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umputun__secrets__76 | umputun/secrets | 76 | defect | 2dc9c529797926e54e8a30e3186da149c2072b07 | 0edcb4e50c789476349cd6b73a643b326d283d1b | Implement comprehensive SEO improvements | ## Summary
- Fixes critical SEO issues identified in external review
- Implements proper social media preview support
- Protects sensitive message pages from indexing
## Changes
**Fixed broken social media image URLs**
- Added `BaseURL` field to templateData for absolute URLs
- Updated Open Graph and Twitter Card met... | diff --git a/app/server/server.go b/app/server/server.go
index df295df7..d4b5ea77 100644
--- a/app/server/server.go
+++ b/app/server/server.go
@@ -65,12 +65,19 @@ type Messager interface {
// newTemplateData creates a templateData with common fields populated
func (s Server) newTemplateData(r *http.Request, form an... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a length check before slicing b in jsonEscape, because if json.Marshal returned an empty string, b[1:len(b)-1] would panic or return invalid data.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use a PNG (or JPEG) version... | null |
umputun__secrets__89 | umputun/secrets | 89 | defect | 4dbad4ae674b0dd8f9a30bc49c4c135ddb635a90 | 3d668288a0473e88a4694ad1b680c360d4ed54ce | feat(auth): add optional authentication for link generation | Adds optional password protection for creating secrets. When `AUTH_HASH` is configured, users must authenticate before generating links. Consuming secrets (viewing messages) remains anonymous.
**Web UI**
- Login popup appears when trying to create a secret
- Password field auto-focuses for quick entry
- Form data pres... | diff --git a/CLAUDE.md b/CLAUDE.md
index d9f5ece4..8122e0af 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -137,6 +137,8 @@ Key configuration via environment variables or flags:
- `PROTOCOL` - http or https (default: https)
- `FILES_ENABLED` - Enable file uploads (default: false)
- `FILES_MAX_SIZE` - Maximum file size in... | 4 | 2 | 2 | [{"id": "G0", "claim": "loginCtrl should validate that the password field is non-empty before the bcrypt comparison and return a clearer message like \"password is required\" instead of \"invalid password\".", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
umputun__secrets__98 | umputun/secrets | 98 | defect | fed86222aac0b06386616bb6ac9b88ce197d9e6d | 234d84a634047c3823e4aa432ee17ebe45d4d9ea | feat: add optional PIN protection for secrets | **Summary**
Add `--allow-no-pin` CLI flag (default false) that allows users to skip PIN protection when creating secrets via the web UI. Useful for sharing via already-secure channels like Signal or iMessage.
**Changes**
- Backend: `AllowNoPin` config flag, empty PIN support in messager, `HasPin()` method
- Web layer... | diff --git a/README.md b/README.md
index 34f5b437..49ee889b 100644
--- a/README.md
+++ b/README.md
@@ -178,6 +178,9 @@ All options work as both CLI flags and environment variables.
| `--pinsize` | `PIN_SIZE` | `5` | PIN length in characters |
| `--expire` | `MAX_EXPIRE` | `24h` | Maximum message lifetime |
| `--pina... | 7 | 4 | 1 | [{"id": "G0", "claim": "The `optional-hint` class is used in the home template but not defined in main.css, so the \"(optional)\" hint may not be styled as intended; add a CSS rule for it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "noPinConfirmed is ... | null |
umputun__tg-spam__110 | umputun/tg-spam | 110 | defect | 8bbda54eede987ccf52e3f1586743d7ccd4cb8ec | 96610c6f1895c7a24ff7802620bd290608393686 | Delete the system message about joining a group (issue #92) | Delete the system message about joining a group (issue #92)
- add deletion of the group "new member" message when a user is kicked from the group (not self)
- add tests | diff --git a/README.md b/README.md
index 8de453ba..04092beb 100644
--- a/README.md
+++ b/README.md
@@ -236,6 +236,7 @@ Success! The new status is: DISABLED. /help
--history-min-size= history minimal size to keep (default: 1000) [$HISTORY_MIN_SIZE]
--super= super-users [$SUPE... | 2 | 2 | 2 | [{"id": "G0", "claim": "The join-message deletion shouldn't be unconditional default behavior but a parameter like SuppressJoinMsgs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The procNewChatMemberMessage logic is confusing: after the >1-members guar... | null |
umputun__tg-spam__135 | umputun/tg-spam | 135 | defect | acabef37c437fdb70b30c7e95b5c36761604d232 | fcca3c75db060f99a346668299a019bb14c5e078 | New option: `--openai.apibase [$OPENAI_API_BASE]` | OpenAI integration can be activated by specifying `--openai.apibase`, even without the `--openai.token`, since some services may function without an API key (token).
Additionally:
- Updated the default model to `gpt-4o-mini`.
- Corrected several typos in the README.
Please ignore any changes that are not direc... | diff --git a/README.md b/README.md
index ade936e0..7063c9bb 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ Nothing needed to enable CAS integration, it is enabled by default. To disable i
**OpenAI integration**
-Setting `--openai.token [$OPENAI_PROMPT]` enables OpenAI integration. All other parameters fo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new BaseURL field in tgspam.OpenAIConfig is unnecessary since the base URL only needs to be set in main.go makeDetector, so it should not be added to the struct.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umputun__tg-spam__300 | umputun/tg-spam | 300 | defect | 6d70bc559cff60fa4294b20a02e49a7019ea8dc8 | 708b8136482ee4abd076ea6596e6d3602e02ab9c | Add OpenAI reasoning_effort parameter and thought tag stripping | ## Summary
- Add ReasoningEffort parameter to OpenAIConfig with choices (none/low/medium/high)
- Implement stripping of <thought></thought> tags from model responses
- Add command-line option --openai.reasoning-effort with choice values
- Update README to document the new parameter and feature
This addresses issue #29... | diff --git a/README.md b/README.md
index 9a153551..00b271ed 100644
--- a/README.md
+++ b/README.md
@@ -99,6 +99,7 @@ To keep the number of calls low and the price manageable, the bot uses the follo
- The OpenAI check is the final step in the series of checks. By default (if `--openai.veto` is not configured), the bot... | 3 | 2 | 0 | [{"id": "G0", "claim": "stripThoughtTags should compile the <thought> regular expression once as a package-level variable instead of on every call, to improve performance.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The OpenAI config field 'MaxTo... | null |
umputun__tg-spam__309 | umputun/tg-spam | 309 | defect | 004a9eafd273ed345910cb81797c539be305ced0 | d03aa7c6646169f602f0712129e7f523a76cc863 | feat: Add support for detecting spam in edited messages | This PR adds support for detecting spam in edited messages. All edited messages are now processed by the spam detection logic, regardless of their age. A new test case has been added to cover this functionality.
References #308 | diff --git a/app/events/listener.go b/app/events/listener.go
index 8ef186a6..fa0ecc60 100644
--- a/app/events/listener.go
+++ b/app/events/listener.go
@@ -152,6 +152,19 @@ func (l *TelegramListener) Do(ctx context.Context) error {
continue
}
+ // handle edited messages
+ if update.EditedMessage != nil {
... | 2 | 1 | 0 | [{"id": "G0", "claim": "Create a new update object for edited messages instead of copying the whole update and reassigning its Message field, to improve clarity and maintainability of the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Usin... | null |
umputun__tg-spam__323 | umputun/tg-spam | 323 | defect | 7ad78e6ea123b10abdea7894981c007a7ae1ac81 | 12a1e5cedc48d6069b82950786990d45c0988155 | feat(delete): add options to delete join/leave system messages immediately | ## Summary
Add new command-line options to immediately delete ALL join/leave system messages from chat, independent of spam detection. This helps keep chats clean by removing notification noise.
**New flags:**
- `--delete.join-messages` - immediately delete all join messages
- `--delete.leave-messages` - immediately ... | diff --git a/README.md b/README.md
index 99503384..950c4ff9 100644
--- a/README.md
+++ b/README.md
@@ -419,6 +419,10 @@ Success! The new status is: DISABLED. /help
--dbg debug mode [$DEBUG]
--tg-dbg telegram debug mode [$TG_DEBUG]
+delete:
+ --de... | 1 | 1 | 0 | [{"id": "G0", "claim": "A comment should be added making explicit why the mutual exclusivity between DeleteJoinMessages and SuppressJoinMessage prevents double-deletion when both flags are enabled.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umputun__tg-spam__331 | umputun/tg-spam | 331 | defect | debcd7eb892badb75754ed6e7ccbc53284f7cd3d | 6b5c49d3da796cbf38b78e9bd37bc7237b18fc91 | Skip spam checks for anonymous admin posts | ## Summary
Implements automatic exclusion of anonymous admin posts from spam detection while maintaining spam checks for channel forwards and regular users.
## Problem
When group admins post anonymously "as the group", their messages were being checked for spam. This caused issues reported in #330 where legitimate a... | diff --git a/README.md b/README.md
index 69ebb5f9..6e4afdba 100644
--- a/README.md
+++ b/README.md
@@ -530,7 +530,7 @@ Help Options:
### Application Options in details
-- `super` defines the list of privileged users, can be repeated multiple times or provide as a comma-separated list in the environment. Those user... | 2 | 1 | 0 | [{"id": "G0", "claim": "The SenderChat check should be made clearer by adding a comment explaining why checking ID != 0 is sufficient (or restructuring to make explicit that it detects a message sent on behalf of the chat).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
umputun__tg-spam__346 | umputun/tg-spam | 346 | defect | 7e3ae9b946eac5217fc83adbe8f4bd7870ddba58 | 576209a3f0f0c6d97d0c0812cab7f1793440046c | fix: delete orphaned /report commands to keep chat clean | **related to #343**
bot now deletes `/report` command messages when sent without replying to another message (sent by mistake, during testing, or by clicking `/report` in another message).
**changes:**
- added `isReportCommand()` helper to detect `/report`, `report`, and `/report@botname` variants using prefix match... | diff --git a/app/events/listener.go b/app/events/listener.go
index 2f450381..5c86997f 100644
--- a/app/events/listener.go
+++ b/app/events/listener.go
@@ -247,6 +247,19 @@ func (l *TelegramListener) Do(ctx context.Context) error {
}
}
+ // delete orphaned /report commands (sent without replying to a messag... | 2 | 2 | 2 | [{"id": "G0", "claim": "isReportCommand() matches any message merely starting with \"report\" or \"/report\" (HasPrefix instead of exact matching), so legitimate messages like \"reporter\" or \"/report_spam\" would be incorrectly matched and deleted; use exact matching plus the /report@botname syntax.", "category": "co... | null |
umputun__tg-spam__349 | umputun/tg-spam | 349 | defect | f78dff1b3cbcc2b549292573be887653804ffce2 | aff806dabaef6d6ad247a0ad08b77b8e01912b6d | feat: validate bot username in /report@botname commands | fixes the issue where `/report@anybot` commands were being consumed by all bots regardless of the specified bot name.
**changes:**
- added `BotUsername` field to `TelegramListener` to store bot's username from `tbAPI.Self.UserName`
- converted `isReportCommand` to a method with access to bot username
- implemented pr... | diff --git a/app/events/listener.go b/app/events/listener.go
index 138d1ac6..06e37656 100644
--- a/app/events/listener.go
+++ b/app/events/listener.go
@@ -29,6 +29,7 @@ type TelegramListener struct {
TbAPI TbAPI // telegram bot API
SpamLogger SpamLogger // logger to save sp... | 1 | 1 | 1 | [{"id": "G0", "claim": "The check only rejects a literal space after \"@\", so input like \"/report@\\t\" or \"/report@\\n\" makes strings.Fields(afterAt) return an empty slice and username := strings.Fields(afterAt)[0] panics, and the tests do not cover these whitespace-only cases.", "category": "correctness", "verdic... | null |
umputun__tg-spam__358 | umputun/tg-spam | 358 | defect | 32293320902ccb90be3deede0a9a7847aae46bf3 | 03bddd0c4b6bcde43220bad5af8f711c4325f930 | [Feature] Add giveaway check | Hi,
Modern spammers use giveaways to promote their spam groups. Mostly it's forwarded (so could be mitigated by no forward check), but some type groups ok with forward itself. So this PR propose add new meta check for giveaway
| diff --git a/app/bot/bot.go b/app/bot/bot.go
index 0d18f0e1..e8578d4e 100644
--- a/app/bot/bot.go
+++ b/app/bot/bot.go
@@ -61,6 +61,7 @@ type Message struct {
WithAudio bool `json:",omitempty"`
WithKeyboard bool `json:",omitempty"`
WithContact bool `json:",omitempty"`
+ WithGiveaway bool `json:",omitempty... | 4 | 4 | 2 | [{"id": "G0", "claim": "README.md is missing documentation for the giveaway check: a descriptive section after line 162 (after username-symbols) and the CLI option `--meta.giveaway` in the 'All Application Options' section after line 490.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope":... | null |
umputun__tg-spam__359 | umputun/tg-spam | 359 | defect | b1dacafd3185110bbc60c12b959015a356297d74 | 8ac6ad70c842bcb5e3f8a5f6f79397499d01c78e | Fix media spam detection for messages with short captions | **Summary**
Media spam (images/videos/audio) with short captions like "@username" was bypassing detection. The existing `--image-only`, `--video-only`, and `--audio-only` checks only flagged media with *no text*, but spammers use promotional images with minimal captions to evade this.
**Problem**
Spam pattern observ... | diff --git a/README.md b/README.md
index 3ca45831..9de71a79 100644
--- a/README.md
+++ b/README.md
@@ -135,15 +135,15 @@ This option is disabled by default. If `--meta.links-only` set or `env:META_LINK
**Image only check**
-This option is disabled by default. If `--meta.image-only` set or `env:META_IMAGE_ONLY` is ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The AudioCheck doc comment has subject-verb agreement errors: both instances of \"are flagged\" should be \"is flagged\" since \"audio\" is singular.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unageek__inari__70 | unageek/inari | 70 | defect | 4f628f5ebd9a32fafcbac661bbf7fd769fcc5949 | 6cc62a7b9a7421ba6e062d4f8744e9901584bdc5 | Deprecate `pown` in favor of `powi` | PR requested at https://github.com/unageek/inari/issues/68 | diff --git a/src/elementary.rs b/src/elementary.rs
index 77bd7dc..3a45a55 100644
--- a/src/elementary.rs
+++ b/src/elementary.rs
@@ -600,7 +600,7 @@ impl Interval {
/// Returns `self` raised to the power of `rhs`.
///
- /// For a fixed $n ∈ \Z$, the domain and the range of the point function $\operatorna... | 3 | 3 | 2 | [{"id": "G0", "claim": "Keep the original ITF1788-generated test-function name `minimal_pown_dec_test` instead of renaming it to `minimal_powi_dec_test`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the APIs are not stabilized and there is no dep... | null |
unav4ila8le__foliofox__119 | unav4ila8le/foliofox | 119 | defect | 71b513b6e6b8f577d1fc7bdeab4a004df781ea75 | e9856bdb1d850911fbf74211a8d11c82675c2cbf | feat(ai-sdk): upgrade to AI SDK 6 | - Bump versions of several dependencies, including `@ai-sdk/openai` and `@ai-sdk/react`, to improve functionality and performance.
- Refactor the `POST` method in the chat route to await the conversion of messages for better handling.
- Update the `getStatusBadge` function to use the new `isStaticToolUIPart` type for... | diff --git a/app/api/ai/chat/route.ts b/app/api/ai/chat/route.ts
index 2eee886f..b52e4ec2 100644
--- a/app/api/ai/chat/route.ts
+++ b/app/api/ai/chat/route.ts
@@ -36,7 +36,7 @@ export async function POST(req: Request) {
const result = streamText({
model: aiModel(chatModelId),
- messages: convertToModelMess... | 1 | 1 | 1 | [{"id": "G0", "claim": "Using startOfDay(new Date()) for the default as-of date depends on the server's local timezone and can shift the UTC day backwards on non-UTC hosts, pulling yesterday's prices while FX/snapshot filters use the local day; normalize the default date in UTC so all lookups use the same day.", "categ... | null |
unav4ila8le__foliofox__163 | unav4ila8le/foliofox | 163 | defect | 40b66d1d39bbfebe6d5b50e04bca72faead43d7f | b76611ed5818cf22d9a10653018d528fe7b371ad | feat(scenario-planning): complete Phase 0 with starting value basis enum + synced UX | ## Summary
This PR completes Scenario Planning Phase 0 by clarifying starting value semantics and simplifying the starting value UX.
## What changed
- Renamed scenario field from `initial_balance` to `initial_value`.
- Added DB enum `scenario_initial_value_basis` with 3 values:
- `net_worth`
- `cash`
- `... | diff --git a/app/(dashboard)/dashboard/scenario-planning/page.tsx b/app/(dashboard)/dashboard/scenario-planning/page.tsx
index 98c48e63..8d7ab9ef 100644
--- a/app/(dashboard)/dashboard/scenario-planning/page.tsx
+++ b/app/(dashboard)/dashboard/scenario-planning/page.tsx
@@ -3,20 +3,25 @@ import { Suspense } from "react... | 2 | 2 | 2 | [{"id": "G0", "claim": "The migration backfills every legacy financial_scenarios row to initial_value_basis 'net_worth' even though pre-migration rows had manual semantics, so opening Scenario Planning will silently overwrite users' previously saved starting values with live net-worth/cash values; legacy rows should be... | null |
unbit__uwsgi__1327 | unbit/uwsgi | 1,327 | defect | e6dc0a62727c5334fbde50e02f666e4d9d367829 | 21bdebe1bf240588e4a2512e6470a15679458692 | Reload mules and spoolers | Hello,
This PR relates to issue #915.
We didn't really need the mules and spooler to be chain reloaded, so I thought a general option would be better for other users of uwsgi.
I added two new options to enable the reloading of the mules and the spoolers upon the modification of a file. It's independent from the relo... | diff --git a/core/master.c b/core/master.c
index ad4742874f..90586815cb 100644
--- a/core/master.c
+++ b/core/master.c
@@ -181,6 +181,15 @@ void uwsgi_master_check_mercy() {
}
}
}
+
+
+ struct uwsgi_spooler *us;
+ for (us = uwsgi.spoolers; us; us = us->next) {
+ if (us->pid > 0 && us->cursed_at && uwsgi_now()... | 5 | 5 | 3 | [{"id": "G0", "claim": "Use tabs instead of spaces for indentation in the pull request's added code.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "The SIGHUP argument passed to uwsgi_reload_spoolers(), which is declared with no parameters, is a mistake and ... | null |
unbit__uwsgi__2636 | unbit/uwsgi | 2,636 | defect | 353b7dd19c9af762f3874ed46a604766e1d7c6d5 | e698e564b42125a6372c1f5e070f82442a7f66be | fix uwsgi_regexp_match() with pcre2 and corresponding unittest | Fixes #2634 | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 6c396344d..c1af6b6bf 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -7,13 +7,26 @@ on:
branches: [ master, uwsgi-2.0 ]
jobs:
- python:
+ unittest:
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Insta... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `check` package can be dropped from the rack job's apt dependencies in .github/workflows/test.yml, as the pull request moved the unit tests out of that job.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "unittest/chec... | null |
uncertainty-toolbox__uncertainty-toolbox__37 | uncertainty-toolbox/uncertainty-toolbox | 37 | defect | 629eb10891e5d8b010f928147dbfe9082c236f17 | 5aa32604e9e0a17fa43fa79970cbd70129445a83 | Recalibration branch finished | Added std optimization based recalibration, added prediction interval outputs, added recalibrated prediction interval outputs.
Added tests and examples for new code. | diff --git a/examples/viz_recalibrate.py b/examples/viz_recalibrate.py
index 0db4a2f..31dfdf8 100644
--- a/examples/viz_recalibrate.py
+++ b/examples/viz_recalibrate.py
@@ -10,7 +10,7 @@
# Set plot style
neatplot.set_style()
-neatplot.update_rc("text.usetex", True) # Set to True for system latex
+neatplot.update_r... | 5 | 5 | 0 | [{"id": "G0", "claim": "tqdm is imported in uncertainty_toolbox/recalibration.py but seems to never be used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "special is imported from scipy in uncertainty_toolbox/recalibration.py but seems to never... | null |
uncertainty-toolbox__uncertainty-toolbox__40 | uncertainty-toolbox/uncertainty-toolbox | 40 | defect | 18945d42d26397759c11a8c38279568ee793e056 | 76d197f864246f00f5254aa682bc48c053f07a2d | Recal updates | Added get_recalibrator functions. Updated example to reflect these functions, also added tests. | diff --git a/examples/viz_recalibrate.py b/examples/viz_recalibrate.py
index 31dfdf8..c3ad198 100644
--- a/examples/viz_recalibrate.py
+++ b/examples/viz_recalibrate.py
@@ -74,29 +74,29 @@
neatplot.save_figure(f"before_recal_{j}", "png")
# After recalibration
- recal_ratio = uct.recalibration... | 3 | 3 | 2 | [{"id": "G0", "claim": "In assert_is_positive, the numpy.ndarray type check should be moved inside the loop over args so every input is checked, not just the first.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pi recalibrator could be renamed ... | null |
uncertainty-toolbox__uncertainty-toolbox__56 | uncertainty-toolbox/uncertainty-toolbox | 56 | defect | b2f342f6606d1d667bf9583919a663adf8643efe | 4833939a27b68901e30e84cddb744bcdb02a7c28 | Added option to calculate quantile metrics with predictions | When using quantile metrics, one can now define the method for the computation. Using 'model' works as before, but now one can use 'predictions' as an alternative. In this case, the initial quantile predictions should be supplied, as well as the corresponding quantile levels. The idea is to use linear interpolation to ... | diff --git a/tests/test_metrics_quantiles.py b/tests/test_metrics_quantiles.py
new file mode 100644
index 0000000..ebbc0d3
--- /dev/null
+++ b/tests/test_metrics_quantiles.py
@@ -0,0 +1,77 @@
+"""
+Tests for quantile metrics.
+"""
+
+import pytest
+import numpy as np
+
+from uncertainty_toolbox.metrics_quantile_models ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The arg_checker call and the if-else block that obtains quantile_predictions are duplicated in every metric function, so they should be consolidated into a single get_quantile_predictions helper for higher maintainability.", "category": "maintainability", "verdict": "supported", "priority": "P2"... | null |
unclecode__crawl4ai__1170 | unclecode/crawl4ai | 1,170 | defect | b55e27d2ef2bedecae53359fc71f4d0a6771e455 | 4bcb7171a34896e094ccabf74ab1e29c906ca2d2 | fix(browser_profiler): cross-platform 'q' to quit - create profile | ## Summary
This PR implements cross-platform keyboard input handling for the browser profiler's quit command, addressing platform compatibility issues between Windows and Unix-like systems.
- Implemented `msvcrt` for Windows to capture keyboard input without requiring a newline.
- Retained `termios`, `tty`, and `s... | diff --git a/crawl4ai/browser_profiler.py b/crawl4ai/browser_profiler.py
index 41efd4b02..5f645b938 100644
--- a/crawl4ai/browser_profiler.py
+++ b/crawl4ai/browser_profiler.py
@@ -180,42 +180,83 @@ def sigint_handler(sig, frame):
# Run keyboard input loop in a separate task
async def listen... | 3 | 1 | 1 | [{"id": "G0", "claim": "Decoding raw msvcrt.getch() bytes with strict UTF-8 can raise UnicodeDecodeError on multi-byte key sequences (arrows, function keys), crashing the listener coroutine and leaving the browser process orphaned; both Windows listeners should guard the decode with try/except UnicodeDecodeError and sk... | null |
unclecode__crawl4ai__1447 | unclecode/crawl4ai | 1,447 | defect | e651e045c44201c83ae68f3ef4858303533f18d9 | 94534bcd8f29bf5c5bc8a320f951f3ead3e5e953 | Fix: Wrong URL variable used for extraction of raw html | ## Summary
Fixes #1116 , #1178- Fixed incorrect URL variable used for extraction when processing raw HTML content. The extraction strategy was receiving the full HTML content as the URL parameter instead of the properly formatted URL identifier.
## List of files changed and why
rawl4ai/async_webcrawler.py - ... | diff --git a/crawl4ai/async_webcrawler.py b/crawl4ai/async_webcrawler.py
index ebd2859d2..359aa73c2 100644
--- a/crawl4ai/async_webcrawler.py
+++ b/crawl4ai/async_webcrawler.py
@@ -615,7 +615,7 @@ async def aprocess_html(
else config.chunking_strategy
)
sections = chunking.chu... | 3 | 1 | 1 | [{"id": "G0", "claim": "Add regression tests asserting that extraction_strategy.run receives \"Raw HTML\" for raw inputs (is_raw_html=True) and the actual URL for normal URLs.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Run a repo-wide check to ensur... | null |
unclecode__crawl4ai__1464 | unclecode/crawl4ai | 1,464 | defect | 4e1c4bd24e253755c8ce005680b8ef292d64216e | 4ed33fce9eea96ba75b741a21922149724a620f1 | Fix/proxy deprecation | ## Summary
Please include a summary of the change and/or which issues are fixed.
eg: #1375
## List of files changed and why
crawl4ai/async_configs.py
crawl4ai/browser_manager.py
deploy/docker/c4ai-code-context.md
docs/md_v2/advanced/proxy-security.md
docs/md_v2/api/parameters.md
tests/async/test_0.4.2_br... | diff --git a/.gitignore b/.gitignore
index 6277b5cf0..03c5b3555 100644
--- a/.gitignore
+++ b/.gitignore
@@ -265,7 +265,7 @@ CLAUDE.md
tests/**/test_site
tests/**/reports
tests/**/benchmark_reports
-
+test_scripts/
docs/**/data
.codecat/
diff --git a/crawl4ai/async_configs.py b/crawl4ai/async_configs.py
index 0c... | 2 | 1 | 0 | [{"id": "G0", "claim": "Provide a runnable test file demonstrating use of a proxy to crawl a page such as https://docs.crawl4ai.com.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use UserWarning instead of DeprecationWarning so the 'proxy' deprecation ... | null |
unclecode__crawl4ai__1467 | unclecode/crawl4ai | 1,467 | defect | 1eacea1d2db21a0a3b56c0b45b519b80156cbc9c | 6a3b3e9d384bccc087912354d579713b68d4e339 | Fix: request /crawl with stream: true issue | ## Summary
Please include a summary of the change and/or which issues are fixed.
#1066: Enable direct streaming support in /crawl endpoint and update related tests
## List of files changed and why
deploy/docker/server.py
deploy/docker/static/playground/index.html
## How Has This Been Tested?
Please describe ... | diff --git a/deploy/docker/server.py b/deploy/docker/server.py
index b79324da1..57d78d069 100644
--- a/deploy/docker/server.py
+++ b/deploy/docker/server.py
@@ -482,9 +482,14 @@ async def crawl(
):
"""
Crawl a list of URLs and return the results as JSON.
+ For streaming responses, use /crawl/stream endpoi... | 2 | 2 | 0 | [{"id": "G0", "claim": "The text of the /crawl option in the request builder should not be changed and should be left as \"/crawl (batch)\".", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The text of the /crawl_stream option in the request builder should... | null |
uncrustify__uncrustify__1785 | uncrustify/uncrustify | 1,785 | defect | bc82f26bf562e7538eea8fd1a574baacb02418a3 | 8305143400341cc131ada5ff5c7dd96f4b8c2b7e | A block was not correctly recognize. | Add some more LOG_FMT for a better logging
A bugfix proposal for #1758 | diff --git a/src/braces.cpp b/src/braces.cpp
index b789778570..fc5e236309 100644
--- a/src/braces.cpp
+++ b/src/braces.cpp
@@ -9,9 +9,6 @@
#include "uncrustify_types.h"
#include "chunk_list.h"
#include "prototypes.h"
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
#include "unc_ctype.h"
#include "uncrus... | 6 | 5 | 1 | [{"id": "G0", "claim": "The 2043-line test config this PR adds needs to be run through the reduction script so it contains only the necessary options.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reduced config still contains options that are not ... | null |
uncrustify__uncrustify__1963 | uncrustify/uncrustify | 1,963 | defect | 8aff3b63d2d9fb5ef1a630bdc1f946efe689b9dd | 12c297b08306d7fb01f80d5c965d47537eed87dd | Fix string literal output | Prevent replacing of tabs in string literals to spaces.
Example:
auto test = " abcdefg "; | diff --git a/src/output.cpp b/src/output.cpp
index 131b6fbb14..5a9371f126 100644
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -99,13 +99,13 @@ static void do_kw_subst(chunk_t *pc);
//! All output text is sent here, one char at a time.
-static void add_char(UINT32 ch);
+static void add_char(UINT32 ch, bool is_liter... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test example for the string-literal change to the list of tests at ./tests/cpp.test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
uncrustify__uncrustify__2203 | uncrustify/uncrustify | 2,203 | defect | bcb1b18caa4a32ec2d4baa6ccbe0c8ab6c788619 | 933bf33c1cf7728c87ddef66759811dda3abadc8 | Fix sp_after_type evaluation | When was the sp_after_type set to remove, it was always silently reset to force. | diff --git a/src/space.cpp b/src/space.cpp
index af6b4bac5d..10ba939a70 100644
--- a/src/space.cpp
+++ b/src/space.cpp
@@ -2077,7 +2077,7 @@ static iarf_e do_space(chunk_t *first, chunk_t *second, int &min_sp)
{
iarf_e arg = options::sp_after_type();
log_rule("sp_after_type");
- return((arg != IA... | 1 | 1 | 1 | [{"id": "G0", "claim": "Please add some test data to show how the changed sp_after_type evaluation works.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
uncrustify__uncrustify__2407 | uncrustify/uncrustify | 2,407 | defect | 9c8af440200a981c7c49fe6ebf6104f785442048 | bfbfacdfc468eacff334784759d006e2054ea7eb | Do not remove semicolon at the end of '?' operator | Ternary operator is often used to return some value from function conditionally. From C++11 one can instantiate object using initializer list, so `{}` is valid value for either branch of ternary operator and
must be treated as such.
This fixes #2404. | diff --git a/src/combine.cpp b/src/combine.cpp
index 9a052d1682..e4b68be876 100644
--- a/src/combine.cpp
+++ b/src/combine.cpp
@@ -1451,6 +1451,8 @@ void do_symbol_check(chunk_t *prev, chunk_t *pc, chunk_t *next)
|| chunk_is_token(pc, CT_SQUARE_CLOSE)
|| chunk_is_token(pc, CT_TSQUARE)
|| c... | 3 | 3 | 0 | [{"id": "G0", "claim": "tests/cpp.test is missing a newline at the end of the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test should use the existing mod_remove_extra_semicolon-t.cfg instead of adding a new config file.", "cate... | null |
uncrustify__uncrustify__2431 | uncrustify/uncrustify | 2,431 | defect | 91c00834c72f3cf0324325e55bc99112c3bb6de9 | 5149ae5c6e980829d4cb79933d0a22e529ab0365 | Fix align_assign_span weird behavior | In case if there're multiple default arguments, `align_assign_span`
re-aligned all '=' operators on position of the last one; it happened
because only one alignment stack was used for this purpose.
Also, while writing tests for this fix I found that `=` is treated as
CT_ASSIGN instead of CT_ASSIGN_DEFAULT_ARG in ... | diff --git a/src/align_assign.cpp b/src/align_assign.cpp
index 88528fb23b..172f989f1b 100644
--- a/src/align_assign.cpp
+++ b/src/align_assign.cpp
@@ -7,6 +7,8 @@
* @license GPL v2+
*/
+#include <deque>
+
#include "align_assign.h"
#include "align_stack.h"
#include "uncrustify.h"
@@ -38,9 +40,9 @@ chunk_t *alig... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reorder the conditions to `chunk_is_token(pc, CT_ASSIGN) && pc->parent_type == CT_FUNC_PROTO` so the redundant null check on pc can be omitted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uncrustify__uncrustify__2438 | uncrustify/uncrustify | 2,438 | defect | 81c032a017f9ba53ea86036adc18a7fe460ef2cb | 883ccefc3bf8c8cdf6b159f280e22c2d72ce83f5 | Introduce a new option used by typedef. | To control the space before the parenthesis:
`typedef void timer_cb(struct timer_node *n);`
Ref. #2437 | diff --git a/forUncrustifySources.cfg b/forUncrustifySources.cfg
index 1f917e1247..6458990d99 100644
--- a/forUncrustifySources.cfg
+++ b/forUncrustifySources.cfg
@@ -222,6 +222,7 @@ sp_func_call_paren = remove
sp_func_def_paren = remove
sp_func_proto_paren_empty ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment describing the new sp_func_type_paren option should be reworded to \"Add or remove space between alias name and '(' of a non-pointer function type typedef\" instead of \"Add or remove space between function name and '(' with a typedef specifier\".", "category": "documentation", "verd... | null |
uncrustify__uncrustify__2681 | uncrustify/uncrustify | 2,681 | defect | 01cca0b140c99d5a06255ccae3f2e284d70598e7 | a8331f51a6682df70a8be9538de6f9eca6a71616 | Improve class/struct/union/enum attributes support | C++ attributes support is missing out on class attributes. Adding an attribute between `class` and its name leads to bad formatting, mostly due to wrong tokenization. Address this by skipping attributes in a number of places, but only when formatting C++.
It's also possible to add more than one attribute where suppo... | diff --git a/src/combine.cpp b/src/combine.cpp
index d49ead7b8a..f5939901d5 100644
--- a/src/combine.cpp
+++ b/src/combine.cpp
@@ -3314,6 +3314,11 @@ static void fix_enum_struct_union(chunk_t *pc)
next = chunk_get_next_ncnl(next); // get the next one
}
+ if (language_is_set(LANG_CPP))
+ {
+ next =... | 1 | 1 | 0 | [{"id": "G0", "claim": "Please push one or more examples with enum and struct so the attribute-handling change is also exercised on enums.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
uncrustify__uncrustify__2908 | uncrustify/uncrustify | 2,908 | defect | 36bf34ac116a1a2e97966ebd260aefe4caebf132 | 2c4a2f4289ecefde339a48cd593fc3683204d10b | Fix mishandling of some class one-liners | Teach `nl_before_opening_brace_func_class_def` to respect `nl_class_leave_one_liners`.
Also, tweak `mark_cpp_constructor` to also set the parent type on any qualifiers ('`virtual`', '`constexpr`') preceding a ctor/dtor prototype or definition. This fixes `nl_class_leave_one_liner_groups` not being applied to constex... | diff --git a/src/combine_fix_mark.cpp b/src/combine_fix_mark.cpp
index d525d9e851..18df37d9d6 100644
--- a/src/combine_fix_mark.cpp
+++ b/src/combine_fix_mark.cpp
@@ -1279,6 +1279,18 @@ void mark_cpp_constructor(chunk_t *pc)
LOG_FMT(LFCN, "%s(%d): Marked '%s' as FUNC_CLASS_PROTO on orig_line %zu, orig_col %zu\n... | 2 | 1 | 1 | [{"id": "G0", "claim": "The constructor `Capteur_CO2() : un_membre_en_plus ( 0 ) {}` is (wrongly) treated as a one-liner after this PR's newlines.cpp change, and the resulting behavior for cpp:30117 does not seem right.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": ... | null |
uncrustify__uncrustify__2969 | uncrustify/uncrustify | 2,969 | defect | 5a6737b4ef20ed2c13eadc6837bac75252d06dbc | e01dcaa4e0dd5d60ce7d085e1ecf40da0b053e07 | Add csv-formatted debug output | - This commit adds the option to dump csv-formatted debug output,
which allows for easy import into spreadsheets for analysis and
verification. | diff --git a/src/output.cpp b/src/output.cpp
index fdc42ec677..f80f471399 100644
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -501,6 +501,72 @@ void output_parsed(FILE *pfile)
} // output_parsed
+void output_parsed_csv(FILE *pfile)
+{
+ const char *eol_marker = get_eol_marker();
+
+ fprintf(pfile, "number of l... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pull request needs example(s) with expected output file(s), merged into the tests in tests/cli/test_cli_options.py following the check_uncrustify_output pattern.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The trailing bla... | null |
uncrustify__uncrustify__3006 | uncrustify/uncrustify | 3,006 | defect | e9665be1b8734c096831a163763ba2d5e5e50cbd | 78028d71de06282e407fa9dc8921d4e033e00d5d | Fix issues with nl_inside_empty_func | This commit addresses issues that arise when 'nl_inside_empty_func'
is used in conjunction with 'eat_blanks_before_close_brace' or
'eat_blanks_after_open_brace'. The problem occurs when a line is
split according to code width constraints imposed by the
'code_width' option. It turns out that the 'nl_max_blank_in_fun... | diff --git a/src/newlines.cpp b/src/newlines.cpp
index a4df2f3332..505c45e639 100644
--- a/src/newlines.cpp
+++ b/src/newlines.cpp
@@ -2459,9 +2459,18 @@ static void newlines_brace_pair(chunk_t *br_open)
{
if (chunk_is_newline(next))
{
+ log_rule_B("nl_inside_empty_func");
log_rule_B... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add an explicit `> 0` comparison to the new nl_inside_empty_func and nl_inside_namespace conditions in newlines_brace_pair and newlines_cleanup_braces.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uncrustify__uncrustify__3090 | uncrustify/uncrustify | 3,090 | defect | c2f1e7450fa1a91d0843c7ed56b70155b1f205de | 1e3f551156ac95d690d31940fad1ab1c79829f6e | Reduce the length of the log | If the code to uncrustify has big comment(s), the log file (created by the line option -L) might be very big.
The whole length of output of such a comment(s) is not always necessary to debug.
To reduce the length, it might be wise to truncate the output of such big comment(s).
These is possible with the new option: ... | diff --git a/src/align_assign.cpp b/src/align_assign.cpp
index 2bff33d3db..827a70f6a9 100644
--- a/src/align_assign.cpp
+++ b/src/align_assign.cpp
@@ -31,8 +31,10 @@ chunk_t *align_assign(chunk_t *first, size_t span, size_t thresh, size_t *p_nl_c
}
size_t my_level = first->level;
+ char *copy = (char *)ma... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `malloc(1000)` buffer used for the log copy is never freed, leaking memory at every call site; use a stack-allocated buffer or let the chunk own the memory instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new h... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.