# Reset Local Submissions

> Undo local submissions for DevOps and Verify Journal API Implementation so you can re-test verification flows. Also supports custom requirement slugs and user scoping. Use when user says "reset local submissions", "undo local verification", "reset phase X locally", or "let me re-test verification". Use when this capability is needed.

- Skill: `tomevault-io/reset-local-submissions` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/reset-local-submissions`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/reset-local-submissions/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/reset-local-submissions

---


# Reset Local Submissions

Use this skill to remove local submission records and recompute phase counters for testing.

## When to Use

- User says "undo my local submission"
- User wants to re-test hands-on verification
- User asks to reset DevOps or Journal API verification attempts

## Default Reset Targets

The default command resets:
- `devops-implementation`
- `journal-api-implementation`

## Command

```bash
cd <workspace>/api && uv run python scripts/reset_local_submissions.py
```

## Safe Preview (No Changes)

```bash
cd <workspace>/api && uv run python scripts/reset_local_submissions.py --dry-run
```

## Restrict to Specific User

`--user-id` is the **GitHub user ID** (e.g. `6733686` for madebygps), not a sequential DB ID.
Run `--dry-run` first (without `--user-id`) to discover the IDs in your local database.

```bash
cd <workspace>/api && uv run python scripts/reset_local_submissions.py --user-id <github_user_id>
```

## Custom Requirement Slugs

A requirement slug is the human-friendly identifier such as
`devops-implementation` or `journal-api-implementation`.

```bash
cd <workspace>/api && uv run python scripts/reset_local_submissions.py \
  --requirement-slug <requirement_slug_1> \
  --requirement-slug <requirement_slug_2>
```

## Combined Example

```bash
cd <workspace>/api && uv run python scripts/reset_local_submissions.py \
  --user-id <user_id> \
  --requirement-slug devops-implementation \
  --requirement-slug journal-api-implementation
```

## Expected Output

- Matching rows found and affected user IDs
- Number of deleted submission rows

## Notes

- This is for local/testing databases only.
- Progress is derived live from the submissions table on next page load,
  so no denormalized counter needs updating.

---
> Source: [learntocloud/learn-to-cloud-app](https://github.com/learntocloud/learn-to-cloud-app) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-23 -->

