progress
The progress action shows your current fixing progress. Use it to check how much work remains.
Request
Section titled “Request”{ "action": "progress", "scope": {"rule": "ConstantValue"}}Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
scope | object | No | Filter to check progress within specific scope |
Response
Section titled “Response”{ "total": 136, "fixed": 115, "skip": 2, "rem": 19, "filesOk": 25, "filesRem": 7}Response Fields
Section titled “Response Fields”| Field | Description |
|---|---|
total | Total issues in scope |
fixed | Issues marked as fixed |
skip | Issues marked as skipped |
rem | Remaining (pending) issues |
filesOk | Files with all issues resolved |
filesRem | Remaining files with issues |
scope | Applied scope filter (present when scope was specified) |
Examples
Section titled “Examples”Overall Progress
Section titled “Overall Progress”{"action": "progress"}Response:
{ "total": 136, "fixed": 115, "skip": 2, "rem": 19, "filesOk": 25, "filesRem": 7}Progress for Specific Rule
Section titled “Progress for Specific Rule”{"action": "progress", "scope": {"rule": "ConstantValue"}}Response:
{ "scope": {"rule": "ConstantValue"}, "total": 22, "fixed": 19, "skip": 0, "rem": 3, "filesOk": 8, "filesRem": 2}Progress for High Severity Only
Section titled “Progress for High Severity Only”{"action": "progress", "scope": {"severity": "High"}}Use Cases
Section titled “Use Cases”Check Overall Status
Section titled “Check Overall Status”Before starting or after a break, check where you are:
{"action": "progress"}Verify Scope Completion
Section titled “Verify Scope Completion”After focusing on a specific rule, confirm it’s done:
{"action": "progress", "scope": {"rule": "ConstantValue"}}// rem: 0 means all ConstantValue issues are handledReport to User
Section titled “Report to User”When the user asks “how much is left?”:
{"action": "progress"}// "19 issues remaining across 7 files"Error Cases
Section titled “Error Cases”| Error Code | Cause | Solution |
|---|---|---|
SARIF_NOT_LOADED | No SARIF file has been loaded | Call load first |
INVALID_SCOPE | Invalid scope filter | Check severity is High, Moderate, or Low |
DB_ERROR | Database error occurred | Check .sheriff/ directory permissions |