feat(api): add POST /reset endpoint for manual state cleanup #16
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an admin escape hatch to drop the worktree and session for a given
(agent, repo, issue)triple, without rummaging through~/.cache/and~/.local/state/by hand.Changes
POST /resetendpoint accepting{ agent, repo, issue }JSON body400with a clear message on missing fieldsexistsSync, callsreleaseWorktree({ keep: false })if it existssessionKey/dropSessionstubs (no-op until issue #6 session store ships){ dropped: { worktree: bool, session: bool } }—false/falseno-op if nothing existedCloses #9
a5ef201af48170aeaa7e8170aeaa7e9dba8e82eacreate_file(project_id, name)#73export_frame_png(file_id, page_id, frame_id, scale?)#74specs/*.md#142