AIT-595: Library recovery hardening (list/retry/asset bind fail-closed) - #562
Merged
CharlesHarry7 merged 1 commit intoAug 6, 2026
Merged
Conversation
|
Deployment failed for project pikbo-readiness with the following error: Learn More: https://vercel.com/pi-kbo?upgradeToPro=build-rate-limit |
Owner list/retry/asset bind residual after #434/#511: - Extract pure applyOwnerReadyAssetBindGate + collectLibraryNewAttemptAssetIds so same-photo Create handoffs are unit-testable without Supabase - gateLibrarySamePhotoHandoffs delegates to pure gate; membership stays fail-closed empty-set via listReadyOwnerAssetIds when storage is down - Image GET local-miss + durable UUID: 503 DURABLE_DETAIL_UNAVAILABLE when private verify is down (never invent process-memory-only 404) - library-owner-safe-regression locks pure bind gate + image GET 503 Closes AIT-595 No deploy. No Stripe live. No fake UGC. Co-authored-by: multica-agent <github@multica.ai>
CharlesHarry7
force-pushed
the
agent/grok-coder/ait-595-library-recovery-hardening
branch
from
August 6, 2026 13:30
8722fda to
3fc8a39
Compare
|
Deployment failed for project pikbo with the following error: Learn More: https://vercel.com/pi-kbo?upgradeToPro=build-rate-limit |
CharlesHarry7
deleted the
agent/grok-coder/ait-595-library-recovery-hardening
branch
August 6, 2026 13:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Residual owner list / retry / asset bind fail-closed after #434 / #511 / AIT-523.
newAttemptUrlapplyOwnerReadyAssetBindGateinputBoundstays honestlistReadyOwnerAssetIdsgetPrivateLibraryJobForOwnerDURABLE_DETAIL_UNAVAILABLE(never invent process-memory-only 404)Changes
lib/privateGenerationResultsPure.mjs— pure bind gate + candidate collectorlib/privateGenerationResults.ts— async gate uses pure pathapp/api/image/[id]/route.ts— GET durable unavailable honestyscripts/library-owner-safe-regression.mjs— pure unit + source locksNo Vercel deploy, no Stripe live, no fake UGC.
Closes AIT-595
Test plan
npm run library-owner-safe-regressionnpm run durable-library-statuses-regressionnpm run download-owner-safe-regressionnpm run typechecknpm run lint