DELETE /artifacts/{digest}: superuser only, 409 while referenced

The keep-set the hourly sweep uses is now referenced_artifacts, shared by
the sweep and the route. The volatile ring is not touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
2026-10-15 10:48:59 +02:00
co-authored by Claude Opus 5.5
parent b4d7ffb982
commit 3c9aec0982
7 changed files with 144 additions and 15 deletions
File diff suppressed because one or more lines are too long
+6
View File
@@ -1620,6 +1620,12 @@ export type ArtifactsGetArtifactData = {
export type ArtifactsGetArtifactResponse = (unknown);
export type ArtifactsDeleteArtifactData = {
digest: string;
};
export type ArtifactsDeleteArtifactResponse = (void);
export type CloudReadStatusResponse = ({
[key: string]: unknown;
});