{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "znxzsy-alignledger--run-shared-annotation-team-with-invites",
 "repo": "znxzsy/AlignLedger",
 "repo_url": "https://github.com/znxzsy/AlignLedger",
 "repo_slug": "znxzsy-alignledger",
 "title": "Run a shared annotation team with invite-bound identities",
 "page_title": "How to run a shared annotation team with invite-bound identities with Align Ledger",
 "summary": "Enable authentication, generate one-time invite codes, and give each annotator a bound identity.",
 "who": "A project owner running a labeling round with several annotators who each need attributable decisions.",
 "problem": "Shared labeling without identity binding makes it impossible to say who changed a label, and a stale browser can silently overwrite a newer decision.",
 "outcome": "A shared server with authentication required, invite codes that bind to a name on first use, and reviewer attribution on every write.",
 "steps": [
  "Create the folders with `mkdir -p secrets runtime`",
  "Generate a session secret with `python -c 'import secrets; print(secrets.token_hex(32))' > secrets/session-secret`",
  "Generate one-time invites with `python scripts/generate_invites.py --count 30`",
  "Export the variables `ANNOTATION_AUTH_REQUIRED=1`, `ANNOTATION_SESSION_SECRET_FILE=secrets/session-secret`, and `ANNOTATION_COOKIE_SECURE=1`",
  "Start the server with `./scripts/run_demo.sh` and send each annotator one invite from runtime/invites.txt"
 ],
 "agent_prompt": "In the AlignLedger repo at <repo path>, follow the shared deployment section to create a session secret and 30 invite codes without printing the codes into logs. Confirm that the server requires authentication and report the number of invite codes created, not their values.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README describes the server storing only invite hashes, but it does not describe a hosting setup, so you must provide your own secure deployment environment.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python installed, plus git to clone the repository",
  "Or Docker, if you prefer `docker compose up --build`",
  "Model output and item data in the shard format the importer expects (details_*.json) if you use your own data",
  "A private location for invite codes and the session secret if several people will annotate"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "runtime/invites.txt holds plaintext invite codes and the session secret must stay private, so keep both out of Git and out of shared chats."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/znxzsy-alignledger/run-shared-annotation-team-with-invites/",
 "md": "https://dedupedai.com/use-cases/znxzsy-alignledger/run-shared-annotation-team-with-invites/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/znxzsy-alignledger--run-shared-annotation-team-with-invites.json",
 "api_version": "v1"
}
