Shared media review commands
The browser and trusted MCP server boundary call the same review authority and
publication transition in convex/_mediaReview.ts. Public browser functions
resolve the active session. MCP actor functions are internal Convex functions;
the hosted server must derive actorUserId from the authenticated delegated user.
Neither OAuth scope nor an actor ID supplied by a client grants resource access.
Review authority also requires a current verified email. Browser calls use the
authoritative identity claim. Internal MCP review calls accept server-only
emailVerified and emailVerificationAttestedAt, produced by the existing
hosted verifyContributorEmail(principal.userId) check and a fresh server
timestamp. The shared attestation helper allows at most two minutes of age and
30 seconds of backward clock skew. Missing, negative, stale, or future
attestations refuse reads and receipt replay even with an active owner/admin
role. These fields are never part of the client-facing decision schema.
Own withdrawal does not require review verification. Hosted adapters also carry
server-owned token/client/resource identity. Every internal protected read and
command checks the current token, linked application/client, resource and scope
pair before resource access or receipt replay. Revocation between selected
commands stops later commands even within the same HTTP request. Legacy trusted
internal callers may omit OAuth identity; client-facing tools cannot supply it.
Authority and projections
Current profile owners and active super-admins retain their resource authority.
A limited reviewer needs both an active media_reviewer account feature grant
and an active, unexpired assignment to the submission's collection. Assignment-only
authority applies to published, public, unclaimed profiles. A later claim or
privacy change removes that access, including historical receipt replay.
Global queues require super-admin authority; owners select an owned profile. Independent approval and rejection refuse the
submitter, including super-admin submitters. startReview is advisory.
Queue reads use status/expiry indexes with cursor pagination of 1 to 40 rows. Submitted and under-review queues exclude expired rows before pagination. Detail provides an opaque review version, current managed placement and credit, legacy avatar URL, candidate provenance, and a stored-candidate reference. Owner and assigned-reviewer projections omit moderator identity evidence and private review reasons. Preview storage resolvers share the detail authority predicate and return only validated linked uploaded/consumed renditions that remain available for reading. Client responses must not expose their internal storage keys.
Local-upload proposals carry sourceKind: "local" and may replace the source URL
with a bounded private source description. Review consumers omit the source link
when no URL exists. Legacy URL intake still requires a URL. The
local upload verification guide documents
transport, reservations, cleanup configuration, and the separate S3 proof gate.
New browser, local-upload, and URL-import kit intake requires the kit feature and public media-kit field to be available before reserving upload capacity. Existing admitted uploads can finish and replay their receipts. Owner identity uploads keep their separate authority and target rules. The editable-profile projection uses the same availability predicate to hide unavailable contribution intake.
Existing-asset placement proposals recheck public-kit availability and current
profile identity/dispute and content suppression/rejection restrictions at fresh
approval through the review-version receipt command. The legacy decision refuses
approval of proposals that reuse an existing asset without their own upload.
Its MEDIA_REVIEW_VERSION_REQUIRED refusal requires fresh inspection followed by
decideWithReceipt with the inspected version.
Legacy upload-backed decisions and rejection retain their existing paths. Profile restrictions
apply even without a content digest. Historical committed receipts retain their
existing replay checks.
Credit URL command contracts and form inputs allow at most 2,048 characters,
matching backend credit validation. Source URLs retain their separate 4,096 limit.
The shared source normalizer enforces that limit on the normalized URL, including
percent-encoding expansion, before intake writes or metadata updates.
MEDIA_SOURCE_URL_TOO_LONG identifies normalized overlength source URLs. Browser
intake and metadata forms also cap raw input at 4,096 characters. MCP URL imports
retain their stricter 2,048-character raw and normalized bounds; local-upload
contracts retain their 2,048-character raw-input bound. URLs are never truncated.
Authenticated detail read contracts preserve source URLs stored before those
limits, including longer URLs. Write contracts remain bounded; historical
provenance is not rewritten or erased during a read.
Authenticated contributor, publisher and reviewer views retain private provenance.
Anonymous kit/profile projections expose credit and credit URL, without source
URLs or source descriptions, as required by the
source-provenance policy.
Decisions and retries
decideWithReceipt and internal decideForMcpActor accept submission ID,
expected review version, approve/reject, private reason, optional public reason,
and an idempotency key. Rejection requires a public reason. Strict runtime
contracts reject unknown fields and bound input strings.
The version hashes candidate/provenance, stored upload identity, relevant target
state, and the submission's optional reviewRevision. Missing revisions mean
zero for existing rows. Advisory start-review updates do not invalidate it.
Kit publication excludes unrelated biography timestamps and existing picture
artwork. Placement inspection includes the current placement and asset.
Existing-asset placement requests store a narrow original-target snapshot that
includes the exact selection operation. An intervening selection, including
the same asset, requires a rebase. Unrelated biography edits do not invalidate
these requests. Their authorized preview reads the existing stored asset.
Meaningful evidence changes require fresh inspection. Placement changes also
require an explicit rebase against the original selection snapshot.
manageContribution and internal manageContributionForMcpActor accept an own
approved submission ID, expected contribution version, idempotency key and either
update_metadata or remove. Ordinary contributors need no publisher grant.
MCP uses assets:contribute and mcp:write with current email/delegation checks.
Corrections allow only title, alt text, credit, credit URL, source URL and source
description. Optional values clear with null; title, credit and at least one
provenance value remain required. Actor and before/after metadata enter the audit.
The submission and publication evidence remain historical; published details and
existing-asset placement reviews project the current public asset metadata.
Corrections invalidate inspected placement review versions.
Management requires a public, published, unclaimed target and visible public kit. Non-gallery placement, another actor's selection, moderation restriction, suppression or private media blocks contributor management. Legal holds block removal. Removal uses the existing owner logical-delete state and timestamp, excluding the item from public kit/download reads while retaining bytes, gallery references, accounting and approved history. It schedules no permanent deletion. Exact-input receipt replay recovers a removed item after response loss, with current ownership, visibility and selection authority still checked.
Successful publication and its immutable receipt commit in one transaction.
Expected terminal refusals also persist receipts. Projected active-public-asset
capacity is checked before writes, with one new asset for each uploaded kit
contribution. capacity_exceeded remains refused
when capacity later becomes available. The upload consumer retains its final
transactional capacity assertion. Reusing a key with identical
canonical input returns the original receipt; changed input returns
idempotency_conflict. Clients retain the key after a lost response or refusal
and must not generate replacement keys automatically. Authorization is checked
again before any receipt lookup. Unexpected transaction errors roll back and
may be retried with the same key.
Legacy decide retains its argument/result shape and calls the shared transition.
The receipt path is the required interface for new browser/MCP clients.
Published contribution placement
New primary selection and replacement proposals require enabled submissions and a visible, enabled public media kit. Clearing an unchanged selection made by the contributor requires enabled submissions and current publisher authority, but remains available if the kit is hidden or disabled. Historical exact-input receipts retain their existing authority checks. Metadata drafts retain the contribution version inspected when editing began, including after reload; a concurrent correction refuses the stale draft rather than overwriting newer metadata.
contributionDetail and its internal MCP actor counterpart resolve the immutable
source submission and active public asset. placeContribution accepts the source
submission ID, expected contribution version, actor-scoped idempotency key, and
select_primary or clear_primary. Verified trusted publishers may select their
own asset on a public, published, unclaimed profile only when no managed, legacy,
or automatic identity image occupies the slot. Undo requires current publisher
authority and the exact unchanged publisher selection. Owner and reviewer actions
stamp a fresh selection operation, including same-asset reselection.
proposePlacement accepts the same base command without an action. It references
the existing asset in an identity_placement review submission and uses current
proposal count and rate limits. Approval requires a distinct authorized reviewer
and changes only the identity placement. Both gallery entries remain published;
no upload, blob, active asset, or published-byte charge is created. Rejection and
withdrawal record the placement-request disposition without content rejection or
proposal-blob cleanup. Explicit moderator suppression remains separate.
Delegation and rollout
Review reads use assets:review:read plus mcp:read; decisions use
assets:review:write plus mcp:write. The hosted adapter checks this pair before
calling the internal function. Existing contribution scopes gain no review
power. Own withdrawal is an internal actor command with a submitter ownership
check and does not require review authority.
Editing authority, publication authority, and capacity are separate. The standing
roles-v1 policy gives trusted contributors, media reviewers, and trusted
publishers the same higher capacity. Capacity alone never grants review or
publication authority. Superadmins can explicitly publish their own validated
media on public unclaimed profiles. Independent review still refuses self-review.
Routine enrichment, including admin approval, stops after a profile is claimed;
its owner keeps the existing editing/review path. A future claimed-profile admin
override requires a separate approval step and is not implemented here.
Trusted limits are 1,000 contributions per rolling day, 1,000 open proposals, 12 admissions per minute, 20 GiB reserved bytes, and four concurrent processing operations. Trusted target limits are 100 contributions per rolling day and 20 open proposals. Ordinary limits remain unchanged. Superadmin contributor quotas are inapplicable, but shared deployment budgets, target processing/byte checks, validation, cleanup readiness, and intake pause remain enforced.
Capacity responses represent inapplicable limits and remaining counts as null.
Superadmin rolling/open usage counts are also null, avoiding an unbounded
history scan. Byte and processing usage remain recorded. The deployment object reports
effective shared byte/concurrency ceilings, aggregate usage including published
bytes, and remaining shared capacity. Lower stored operational limits are honored. Temporary capacity
request tools and batch allowance enforcement have been removed. Historical
request rows remain inert audit data. The contribution and media-kit switches
still apply. Optional collection organization is independent of routine uploads.
MCP tools and the browser use these shared commands. Deployments, account grants,
and publication operations remain separate.
Assigned collections and explicit rebase
The collection picker paginates active assignments by reviewer and expiry. Expired assignments are outside the indexed range.
profileMediaSubmissions.setBatchReviewer is a verified-browser super-admin
mutation. It creates, updates, or revokes an exact batch/user assignment and
refuses assignment of the donor to their own batch. It does not grant the
separate account feature. Assignment-based access is also gated by
VRDEX_CONTRIBUTION_BATCHES_ENABLED, whose hosted default remains disabled.
Submission membership comes from contributionItemAttempts.by_submissionId
and its immutable contributionItemRevisions.batchId, rather than a second
media lifecycle in collection items. Collection item readers also recheck the
current target authority and exclude unrelated profile/link source records.
Reconciliation reads remain strictly actor-owned. Every cursor is scoped to
its authenticated actor, exact resource, and filters. Reactive split pages wrap
both outgoing continuation and split cursors and validate both incoming start
and end cursors. Optional and null cursor boundaries retain their meaning.
assignedReviewBatches traverses by_reviewer_active in bounded pages. A review
queue with batchId traverses immutable revisions through by_batch_key_revision,
then resolves each attempt and live submission status. Nonmatching rows can
produce an empty page with a continuation. Consumers must keep traversing until
isDone, rather than treating an empty page as exhaustion. No status is copied
into a mutable collection item.
Browser rebase and internal rebaseForMcpActor share rebaseReviewCommand.
The MCP name is vrdex_media_review_rebase, requiring review-write delegation.
Rebase records the prior target identity/version and placement asset, the current
target and placement context, the inspected version, actor, and incremented
revision in mediaReviewRebases. It updates the proposal baseline without
approving. The next decision must use the new version. Donors have no rebase
privilege; rejection remains possible without rebase against a fresh version.
Selected decisions and preview bounds
vrdex_media_review_decide_selected and the website share
decideSelectedReviews. Its strict input is { decisions: ReviewDecision[] },
with 1 to 20 explicit objects, each carrying its own viewed version, reasons,
and idempotency key. It snapshots the input before awaiting and invokes each
single-item command in its own transaction, returning ordered receipts. An
appended queue item cannot enter the selection. There is no filter approval.
A failed command does not roll back earlier successes or stop later commands.
A thrown transport error is in_progress with decision_unavailable, since the
mutation may have committed before response loss. Retrying preserves the exact
key and input and retrieves the authoritative backend receipt.
The browser retains failed selections and shows their individual outcomes;
reselection after inspecting current context creates a deliberate new command.
Approval of a proposal that replaces an active private managed asset requires
the profile owner or a super-admin. An assigned reviewer can reject it, but
cannot approve a replacement for an asset whose bytes are unavailable in the
current preview. This applies to receipt commands and older direct decisions,
including proposals submitted through URL intake. Refused receipt commands keep
their result for exact-key retries.
MCP preview accepts optional target: "candidate" | "current" (candidate by
default). Candidate and managed-current previews read the download rendition
whose SHA-256 is stored, including legacy records with a single rendition. The
current image follows the effective public image/logo slot, including alternate
managed placement, legacy fallback and enabled automatic artwork. Its authorized
storage descriptor binds the inspected version before acquisition, and detail
is reauthorized after acquisition. Legacy/automatic current artwork uses only
the server-selected URL/provider snapshot through bounded safe-fetch/cache
helpers. It never uses contributor provenance or a client-provided URL. Blocked
redirects and unavailable images return a safe unavailable result. Remote
URL/provider identity does not prove immutable bytes if upstream changes at the
same URL. Stored-asset previews reuse upload raster validation: a single still image,
8,192 pixels maximum on each source side and 67,108,864 total input pixels.
Remote current artwork retains its 16,777,216-pixel budget and first-frame
rendering without the upload-only per-side/still-image restrictions. Both paths
use sequential decoding and retain the 12 MiB input, 2,048 maximum output edge
and 4 MiB PNG output bounds. Each source is decoded once into a raster no
larger than 2,048 pixels per side. High-entropy images use bounded halvings of
that raster until the PNG output fits; retries never decode the source again. Native SVG and donor source-URL
bytes are never returned. Image delivery records no claim of human examination.
Local Storybook fixtures exercise URL-free provenance up to 1,000 characters, current/candidate comparison, selection/refusal retention, and explicit rebase on desktop and mobile. This is component interaction evidence, not a hosted authenticated end-to-end or provider-storage test.
Bounded trusted publication
trusted_publisher is a separately issued, revocable account feature. Neither
super-admin, reviewer, application tier nor contribution capacity implies it.
The browser uses publisherDetail and publish. MCP publication reads require
mcp:read and assets:publish; publication requires mcp:write and
assets:publish. These scopes are requestable, never defaults. Every backend
operation requires fresh verified email and the explicit grant. Publisher
projections are own-only and require a public, published, unclaimed target.
They omit private reviewer reasons and moderator identities and do not confer
independent reviewer authority.
Publication takes exactly {submissionId, expectedReviewVersion, idempotencyKey}.
The explicit Publish command attaches the stored uploaded contribution to gallery.
Independent approval uses the same attachment path. Intake stores kit_asset
intent and gallery placement, including legacy picture/logo inputs. Owner upload
placement behavior is unchanged. Gallery titles use the sanitized submission label
or Image. Assets retain source, credit and immutable sourceSubmissionId
provenance. Upload completion submits the proposal; it never publishes.
Legacy declaration endpoints remain for receipt compatibility. A same-key replay
returns its historical receipt. A fresh declaration returns declaration_retired
and creates no evidence. Existing evidence records remain untouched.
Kit review versions bind the stored candidate and metadata, target identity, privacy, claim state and applicable restrictions. Biography-only edits and unrelated picture selection or automatic-artwork changes do not invalidate kit inspection. Identity-placement snapshots continue to bind artwork and selection provenance. Changed meaningful evidence requires a fresh inspection, with the original stored candidate bytes preserved. Existing managed, private, legacy or automatic pictures do not block additive kit publication or get replaced by it.
Restriction history is indexed independently of mutable source URLs and collection
item keys. Identity/dispute records restrict the target; rejection and suppression
restrict the exact content digest across targets. Legacy rejected submissions and
suppressed assets are checked by indexed digest as well. An unrelated digest is
not refused solely because the target once had a rejection. Matching new history
is linked through priorRestrictionId. Byte-different variants are not identified
perceptually.
The digest lookup considers only rejection and suppression records. An identity or
dispute record for another target cannot block identical bytes on this target.
Admin recordPublicationDispute records identity/dispute restrictions. Existing
suppression records a correction linked to the published operation; legal-hold and
cleanup authority are unchanged. These records do not contain private reasons.
New approvals persist publicationMethod, publicationActorUserId,
publicationEvidenceRevision, and publicationOperationId on the submission.
Trusted publication does not populate reviewer fields. Independent decisions keep
the same-user refusal, including for admins. Legacy direct approval calls also
record an operation receipt; preexisting approvals stay method-unknown and appear
as Legacy approval. No migration invents independent reviewers. Super-admin
publisherPublications provides a bounded sampling query, indexed by method and
publisher, with actor/publisher-scoped cursor, splitCursor and endCursor handling.
Its projection contains submission/profile/asset references and the operation and
evidence revision, without private reasons.
Both publisher previews reuse the stored-candidate digest/version checks and safe
PNG rasterizer. The browser route is
/api/account/media-contributions/submissions/:id/file?version=:reviewVersion.
It derives authority from the browser session on each read and returns no-store
PNG only. Candidate preview never fetches donor source URLs. Local Storybook tests use controlled
commands and synthetic images; they do not establish hosted authentication,
stored S3 transfer or installed Codex/Claude transport evidence.
Capacity and rollout
trusted_contributor grants capacity only. It does not grant review, publication,
ownership or OAuth scopes. Contributor capacity, own requests/status, temporary
batch allowances, shared accounting, payload expiry and rollout evidence are
documented in the collection checkpoint.
Intake pause preserves existing review, withdrawal and receipt reads.
Own lifecycle and recovery
The implemented journey below is local code behavior; hosted enablement and authenticated provider/client evidence remain separate rollout gates. Existing direct proposal links and account entry points converge on the same commands.
flowchart TD
MCP[MCP client] --> OAuth[OAuth sign in and scoped consent]
OAuth --> Intake[Collection or direct local / URL upload]
Intake --> Own[Own contribution list and exact lookup]
Site[Website account or direct proposal link] --> SignIn[Sign in]
SignIn --> Account[/account/media-contributions]
Account --> Own
Own --> Withdraw[Versioned withdrawal]
Own --> Publisher[Separate publisher grant: inspect stored candidate]
Publisher --> Publish[Explicit publish]
OAuth --> Assigned[Discover assigned collections]
Assigned --> Review[Authorized review queue]
SignIn --> ReviewPage[/account/media-review]
ReviewPage --> Review
Review --> Compare[Current and stored candidate comparison]
Compare --> Decision[Versioned decision or explicit rebase]
Decision --> Receipt[Durable receipt]
Withdraw --> Receipt
Publish --> Receipt
Receipt --> Own
Decision --> Unknown[Response lost: retain exact command]
Publish --> Unknown
Withdraw --> Unknown
Unknown --> Retry[Retry same key and input]
Retry --> Receipt
vrdex_list_my_media_submissions accepts optional cursor, limit (1-40), status
and batch ID, retaining the submissions field for existing callers and adding
continueCursor/isDone. vrdex_get_my_media_submission provides exact own
lookup, with expiry, review version and linked collection/revision/receipt when
present. Both need assets:contribute plus mcp:read, without publisher or
reviewer grants. Projections omit private review notes and only expose approved
asset IDs when current public field visibility permits it. Batch filtering may
produce an empty page with a continuation cursor. The website loads additional
lifecycle pages explicitly.
vrdex_media_review_assignments discovers live assigned collections with bounded
pagination under assets:review:read and mcp:read. Assignment authority is
independent of batch intake enablement; intake rollback preserves existing
review, rebase and authorized receipt reads. Assignment changes append actor,
reason and grant/revocation state to contributionReviewerAuditEvents; older
internal callers without a reason use Legacy assignment command.
New withdrawal callers use withdrawWithReceipt or
vrdex_media_submission_withdraw with submission ID, expected review version and
idempotency key. Own authorization precedes replay; competing review or stale
state yields a durable refusal. Legacy boolean wrappers remain available.
Single browser decisions, rebase, withdrawal and publication retain exact pending
input/key after response loss and expose Retry. Opposing controls stay locked.
Unresolved single-review cards remain mounted even if the committed item leaves
the reactive queue. Publication cards remain mounted while their command is
unresolved, including when the own-inventory row changes to approved before a
lost publish response is recovered. Decision, rebase and withdrawal recovery survives
reactive updates in the mounted page, not a full browser reload. Publication and
published contribution commands persist exact pending input/key in sessionStorage
across same-tab reloads, including metadata drafts. Retry reuses that saved input/key.
Upload and collection MCP failures use allowlisted bounded codes and structured
receipt metadata: retryable, retryCategory, nextAction, and optional bounded
retryAfterMs. Unknown transport/commit outcomes are in_progress with
retry_same_key; validation, capacity and stale-state refusals have distinct
correction, wait or inspection actions. Known backend codes travel as bounded ConvexError.data.code; raw backend
exception text is not returned. Stale or unavailable profile-link targets persist
a refusal on the exact revision. Terminal receipts remain authoritative on replay.
Bounded media-kit conversion
Deploy backend schema/functions before the matching website/MCP candidate. New intake and pre-conversion admitted upload finalization both normalize uploaded contributions to gallery intent. Existing-asset identity replacement requests remain placement requests. Old review versions refuse after migration increments reviewRevision; inspect again before deciding. Existing declaration receipts remain historical, while fresh legacy declarations refuse as retired. Old clients publishing valid contributions now publish kit membership only, never implicitly choose a picture.
Run node --import tsx scripts/media-kit-publication-migration.mjs --target <approved-target> --limit 40 for one dry-run batch. The wrapper defaults to dry-run; --apply explicitly enables writes. Record each report's scanned/changed/skipped/conflicts, continueCursor and isDone. Follow continueCursor until isDone. Preview the entire traversal first; restart with a null cursor for the separately authorized apply traversal, inspect conflicts, and stop on drift. Do not reuse a preview's final cursor as the apply starting point. Each transaction scans 1..40 submissions and checks at most two indexed approved-asset matches. An ambiguous link is a conflict, never guessed provenance.
Conversion preserves primary placements, uploaded renditions/digests, historical assertions, receipts, reviewers, accounting and legal holds. It backfills only uniquely linked active public community assets on public, published, unclaimed profiles. Only untouched legacy metadata can initialize the immutable approved description. Its consumed community upload intent must match the submission, profile, storage key and digest, and the asset updatedAt must still equal intent consumedAt. Consumption writes both timestamps from one publication timestamp; submission approval timestamps can differ. Current source URL/description or any contributor or owner profile metadata-correction audit blocks initialization. Current provenance and intentional clears stay intact. Retained gallery references do not republish private media.
Karly's approved submission handle is x1747ftcbeq1k475kz4hqdn77d8fcz0r. The correction is separate from generic conversion. A fresh authorized operator must resolve exact asset and placement IDs, the placement's own updatedAt and selectionOperationId. Never substitute profile or submission timestamps. Save those values with submissionId, expectedAssetId, expectedPlacementId, expectedPlacementUpdatedAt and expectedSelectionOperationId (explicit null for absent legacy provenance) in a local JSON file. Preview with node --import tsx scripts/media-kit-publication-migration.mjs --target <approved-target> --correction-file <exact-preview.json>. Apply requires separate exact-resource authorization and a fresh identical preview before adding --apply. Changed, reselected, duplicate, claimed, private, foreign, held or restricted resources refuse. A hidden media-kit field or disabled media-kit feature also refuses the exact correction. The correction retires only the exact legacy primary placement and retains an active public gallery asset. It never selects a replacement picture or deletes bytes.
Kit approval authorizes publication into the public media kit. Placement approval authorizes explicit use of an already published candidate as the picture. Logical removal hides an item but retains storage/accounting/history. Permanent byte deletion remains governed by existing cleanup and legal-hold policy.
Existing-asset replacement boundaries
New replacement proposals require an occupied identity slot, including visible legacy or automatic artwork. Empty targets return a durable primary_empty refusal for ordinary and trusted contributors through browser and MCP commands. Fresh approval of an existing-asset proposal checks occupancy again, including after rebase. Uploaded legacy identity proposals and owner/admin media management retain their existing rules. Historical command receipts remain recoverable.
A replacement candidate inherits reviewer authority from its approved asset's original submission and collection assignment. Current reviewer grant and assignment are required for queue, inspection and decision. Assigned website and MCP queues project the new proposal's submission ID; direct media review commands operate on that ID. Original collection revisions, attempts, receipts and audits remain unchanged. Collection item apply continues to refer to its original item, so review replacements through the media-review queue or exact media-review commands.
Assigned queue pages read at most 40 indexed source revisions
and eleven indexed, unexpired proposals of the requested open status per source.
Native endCursor ranges are subject to the same server row-read bound. Smaller
positive integer maximumRowsRead hints remain effective; invalid hints refuse.
More than ten matching proposals fails closed. A page returns at most its requested
number of rows. If sources expand beyond that limit, the scope-bound cursor saves
remaining revision IDs and the current source's remaining submission IDs. Resuming
does not skip unreturned proposals or shift an offset through changed statuses.
Ordinary source pages retain their requested batch size. Filtered pages may contain fewer rows, including zero,
so follow the cursor until isDone. Current status, expiry, profile/submitter
links and reviewer authority are rechecked on each page. Nonunique source-attempt
provenance is excluded rather than choosing an arbitrary assignment. Direct
contributions without a source collection retain distinct admin review and do not
acquire an ordinary reviewer assignment automatically. A future assignment intake
is needed for those contributions.
Restriction versions track existence of each indexed restriction kind, using one bounded read per kind. Adding more history while the same restriction already exists does not invalidate inspection again; the first restriction changes the version and fresh approval still refuses. MCP contribution lookup returns the existing unavailable tool result only for known missing or unavailable resources. Token, scope and verification errors retain their authority failure.
Replacement proposals bind the identity slot selected by the public compact-image resolver, including cross-type fallback and an explicit logo preference. Both identity slots remain occupied for empty-slot admission. Preference or visibility changes invalidate inspection. A fresh inspection or rebase cannot approve a candidate into a slot that no longer supplies the visible picture; it returns placement_changed. Request a new replacement against the current display in that case. Original upload-backed identity proposals and owner management retain their slot rules.
Expiry of an existing-asset placement without its own upload records the expired disposition and audit without a blob cleanup reservation or deletion ledger. Rejection and withdrawal use the same exemption. Cleanup also removes stale pending reservations for these proposals and refuses completion, preserving the shared asset and future legal holds. Upload-backed legacy identity submissions retain their storage cleanup and deletion audit.
A hidden-only authored identity still blocks direct empty-slot selection, but it does not expose or admit a new replacement proposal without a visible picture. Existing-asset approval refuses a hidden-only target after inspection or rebase; visible legacy and automatic fallback images remain eligible replacement targets.
Public image details
profileAssets.getPublicAssetDetails supplies the website disclosure, public
REST read and vrdex_get_profile_media. It projects the canonical public media
visibility rules into the strict PublicProfileMediaDetailsSchema allowlist.
This public read does not grant access to the private contribution/reviewer
models described above. Uploader, publisher, reviewer and stored credit remain
separate. Public history includes only recorded upload, independent approval
and publication evidence, at most three events. Missing actors are null;
missing dates remain null or unsupported events are omitted.
Acceptance and synthetic fixture boundaries cover the joined website, REST and hosted MCP proof.
Batch review cursors page inherited replacements independently from source
revisions, with at most one native pagination per query. A continuation may yield
an empty page while capturing the next source checkpoint. Callers must follow
isDone and continuation cursors rather than treating an empty page as the end.
The browser follows initial and later empty checkpoints automatically, with
a limit of 40 consecutive empty continuations. MCP
list calls traverse up to 40 empty checkpoints and preserve a resumable cursor
if that bounded traversal is exhausted. Current cursors use batch_review_v3;
stale earlier cursors require a fresh read.
Previously admitted uploads may still finish into private candidate storage if media-kit intake is hidden or disabled after admission, as before. That does not publish the candidate. Claim changes or loss of public profile eligibility block completion; publication separately rechecks media-kit visibility and restrictions.
Pagination consumers and direct-publication audit
The production consumers of listForReview are the browser media review panel
and the registered hosted MCP adapter. Each follows isDone and continuation
cursors, including empty filtered pages. reviewPageRequestSchema currently has
only its definition, type export, and contract tests, with no REST or operator
consumer. The browser preserves reactive subscriptions; the server adapter uses
bounded sequential calls.
The MCP adapter refreshes email verification and its attestation timestamp before
each continuation query. After 40 empty continuations it returns the last cursor
for another call. A non-advancing cursor returns an explicit PAGE_CURSOR_INVALID
error together with the last successful result and cursor. Authorization failures
remain failures.
publicationMethod: "trusted_publisher" identifies the explicit direct-publication
process for authorized publishers, including superadmins. Independent review uses
"independent_review". publicationActorUserId identifies the publishing account.
To audit the authority used at publication time, inspect that account's retained
accountFeatureGrants records and their grant, expiry, and revocation timestamps.
The method field itself does not snapshot the granting feature.