A monorepo for writing specs and other serious text on the AT Protocol.
README.md

standards-tap #

A Tap instance dedicated to standards.group, behind the supramundane front. Tap is single- tenant in spirit (one event channel with acks), so this project runs its own rather than sharing the one at tap.mycopunk.it.

  • Internal: http://standards-tap:2480 on the supramundane network — what the standards service consumes (STANDARDS_TAP_URL).
  • Public: https://tap.standards.group (Caddy front, TLS).
  • Auth: HTTP basic auth on all API requests — username admin, password TAP_ADMIN_PASSWORD from the .env next to the compose file. sm deploy never syncs .env, so for the server create it there once (it survives later deploys); a local .env (copy .env.example) only serves sm deploy --local.
  • Filter: TAP_COLLECTION_FILTERS=group.standards.* — only spec records are delivered, whatever else a tracked repo holds.
  • Tracking: the standards server adds repos itself (on sign-in, on save, and when an account is first looked up). By hand: curl -u admin:$PW -X POST https://tap.standards.group/repos/add -d '{"dids":["did:plc:…"]}'
  • State: SQLite + firehose cursor in ${SM_DATA_ROOT}/standards-tap (/data in the container), backed up with the rest.

Deploy from this directory, before the standards service itself:

ssh root@$SUPRAMUNDANE 'mkdir -p /srv/supramundane/services/standards-tap && umask 077 && printf "TAP_ADMIN_PASSWORD=%s\n" "<password>" > /srv/supramundane/services/standards-tap/.env'
sm deploy            # or: sm deploy --local (reads ./.env)