Repository navigation
Analyze pseudonymous deposit for double-blind review - #1400
Conversation
Works out the five requirements, the twelve-item leak inventory verified against production, and what each candidate design requires. No decision taken; the ADR has to answer the collisions with ADR 0002, 0026 and 0041 first. Refs #1399.
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1400Version: 🤖 Updated on each push. |
Direction taken: serve the dataset on data.nemar.org and the website as any public dataset, keep the GitHub repository private, and flag the page as temporarily anonymous. That removes the tokenized review link entirely, since with no per-reviewer access mechanism there is nothing to conceal in the other direction. Also corrects the staleness claim: since #662 the cron warns the owner and hands off to admins, it does not delete. The hazard is five deletion warnings mid-review, not data loss. Records the three predicates the new shape creates: the website's fabricated clone URL, the CLI download path that clones a private repo, and the two candidate queries that use D1 visibility as a proxy for repository visibility. Refs nemarOrg/website#333, #1399.
|
Updated with the direction taken, and one correction. Correction: cleanup does not delete. Since #662 the stale-dataset cron emails the owner at Direction: public data, private repository. The dataset is served on This is better than the tokenized review link it replaces, for a reason worth stating: there is It does move work, though, rather than remove it. Under a private dataset everything in section Three mechanical consequences, now in section 3:
Option B (service-account deposit) is no longer needed: the repository is private for the whole |
A dataset that has ever been public cannot be made anonymous: the DataCite record is harvested and permanent, the git history is in every clone, and the catalog has already served the real authors. Hiding the fields afterwards changes what NEMAR displays and nothing about what is known, while telling the depositor they are anonymous. Also records the blocker the download work surfaced: 88 percent of a dataset's files are served from raw.githubusercontent.com, so a private repository 404s all the metadata while the recordings download fine (#1403), and notes that the HTTP download path (#1402) now exists.
Review: fact-check against code and productionAn independent pass verified every claim in the document against the codebase and re-measured Wrong, and it changes the planThe manifest canary is not a blocker in production, so A4 is not phase one for that reason. Two ADR citations do not say what I claimed. ADR 0010 is about OpenNeuro import copies and Wrong on mechanism, conclusion survives
Wrong on detail
What the document missed
Verified correctThe whole leak inventory's measurements: on008701's 2,802/3,201 split (87.54%), 4.1 MB git vs |
Two ADR citations named the wrong decision: 0010 is import-time S3 copy, not the Worker (that is 0002); 0017 is server-side visibility filtering, not the publish flip (that is 0001). The manifest canary is not a blocker either -- production runs the central workflow, passes skipCanary unconditionally, and that workflow has an escape hatch labelled for private repos and clones with an App token. A4 stays first, for a different reason. Also: .nemar/metadata.json is committed by the backend, not the depositor, so no depositor-side scrub can suppress it; the website has two URL-fabrication sites, so nulling the field hides neither; #1402 is proposed, not merged; owner_github is "nemarAdmin" rather than null, and the imported git history names real people; ids gap-fill rather than run sequentially. Adds what the document missed: two more visibility proxies (fleet drift, MCP events), the governance gap an unprotected main leaves open for the whole review window, the website's browser-side GitHub fetches, enrichment_json and readme on the withhold list, and the ordering constraint on de-anonymization.
Analysis only; no code, no decision.
.context/draft-anonymous-deposit-analysis.md.Why this is not "anonymous upload"
Five requirements, and they are not the same requirement: reviewer access, author concealment,
reviewer concealment, reversibility at acceptance, and full attribution to the archive
throughout. The last one is what separates this from a drop box: without it there is nobody
to hold to the deposit attestation (ADR 0024) and no contact for a consent problem. The feature
is pseudonymous deposit, and the name settles several arguments before they start.
The leak inventory is twelve items, not two
Verified against production on 2026-09-14. The two that matter most are the two nobody names:
uuid.logon thegit-annexbranch.git annex initwith no description recordsuser@host:/path, andinitDatasetpasses none. Live on publicnm000281:bpinto@login01:/expanse/projects/nemar/bruno/emg2pose_nemar/bids. Filed separately asgit annex init publishes the depositor's username, host and local path #1399, since it is a disclosure today regardless of this feature.
.nemar/metadata.json, committed to the repository. One permanentglobal identifier de-anonymizes the whole author list in a single lookup.
Also verified:
owner_username/owner_githubserved anonymously byGET /datasets/:id;commit author email and GitHub account public in history and in
/contributors; the websitefalling back to the depositor's handle as the byline when
authorsis empty, so scrubbing theauthor list makes concealment worse; and every post-publication change being a pull request
authored by the depositor's own account under ADR 0001.
The two candidate designs are complementary, not alternative
Keep the repository private solves almost the whole inventory for free but cannot serve
reviewers: both existing access paths (
invite,request-access) tell the depositor who asked,which breaks the blind in the other direction. It becomes a design only with a tokenized,
account-free review link, which rides on
data.nemar.org's existing presigning router, plus areserved EZID identifier, a status
services/ezid.tsalready implements and nothing usesfor this. It also trips scheduled cleanup: a private, DOI-less dataset with no publication
request is deleted after ninety days, and a review window is three to nine months.
Deposit through the service account removes the GitHub-identity family permanently rather
than deferring it, and the precedent is already in production (every OpenNeuro import is this
shape). Its deepest problem is that service ownership takes the permissions with it, and
ADR 0002 declined to build a NEMAR permission layer. That dissolves if the repository is
private, because collaborators on a private repository are not publicly listed, which is the
argument that the two options belong together.
What has to be answered before any code
ADR 0026's submission minimums literally reject anonymous author lists; ADR 0041 requires a
citable uploader name at mint; ADR 0002 says NEMAR has no access vocabulary of its own. Section
5 proposes an answer to each. They need deciding in an ADR, not in a migration.