Collector for tuvl developer telemetry: teams register, send events, read what the team did.
252
The log of every flight a team's work takes. Flightlog is the collector for tuvl developer telemetry: developers register once, their tuvl sends what they do (ideas imported, specs approved, coding-agent attempts, branches, gate results, ships), and everyone on the team reads back what the team did, in Insight or the terminal.
It is itself a tuvl project: 5 models, 20 workflows and 24 small code agents, shipped as a hardened production image. It speaks the same contract as the Python build of Flightlog, so a developer's tuvl works against either.
linux/amd64 and linux/arm64./health wired to the Docker HEALTHCHECK.# compose.yaml
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: flightlog
POSTGRES_PASSWORD: change-me
POSTGRES_DB: flightlog
volumes: [db:/var/lib/postgresql/data]
redis:
image: redis:7-alpine
flightlog:
image: tuvl/flightlog:0.1.0
depends_on: [db, redis]
environment:
POSTGRES_HOST: db
POSTGRES_DB: flightlog
POSTGRES_USER: flightlog
POSTGRES_PASSWORD: change-me
REDIS_HOST: redis
TUVL_SIGNING_KEY: ${TUVL_SIGNING_KEY} # openssl rand -hex 32
ports: ["127.0.0.1:8885:8885"]
volumes:
db:
export TUVL_SIGNING_KEY=$(openssl rand -hex 32) # keep it: it signs every token
docker compose up -d
curl -s localhost:8885/health
The tables are created on first start. Then:
POST /auth/bootstrap {"email": "...", "password": "..."} once creates the administrator; sign in at /auth/token.
Administration is workflows, started with the tuvl CLI (uv tool install --prerelease=allow tuvl, then set TUVL_URL and TUVL_TOKEN):
tuvl run workflow admin_create_team -p '{"name":"payments"}' # prints a run id
tuvl show run RUN_ID # the team's join code, once
tuvl run workflow admin_list_developers
tuvl run workflow admin_revoke_developer -p '{"who":"[email protected]"}'
tuvl run workflow admin_export -p '{"team":"payments","format":"csv","since_days":30}'
Each developer points their project at the collector and registers with the join code:
tuvl set dev-telemetry https://flightlog.example.com
tuvl register developer
| Variable | Required | Meaning |
|---|---|---|
TUVL_SIGNING_KEY | yes | Signs the tokens; generate with openssl rand -hex 32 and keep it stable |
POSTGRES_HOST, POSTGRES_PORT, POSTGRES_DB, POSTGRES_USER | yes | The database (localhost, 5432, tuvl, postgres by default) |
POSTGRES_PASSWORD | yes | Database password |
REDIS_HOST, REDIS_PORT | recommended | Keeps revoked and rotated tokens revoked across restarts and workers |
FLIGHTLOG_FORWARD_URL, FLIGHTLOG_FORWARD_TOKEN | no | Where the https forwarder sends events, if you turn it on |
Retention, token lifetime, approval of new developers, the per-developer rate limit and forwarding are settings of the project's YAML workflows. See the source repository for how to change them and rebuild the image.
/v1/register by address there: the built-in rate limit is per developer, not per address.runs:read scope to administrators only, keep token lifetimes short, and treat a database backup like a secret. Where a leaked database must not yield usable tokens, use the Python build of Flightlog, which stores only hashes.pg_dump.Only what tuvl's developer telemetry sends: event ids, hashes and short details, never file contents, prompts or secrets. A developer chooses whether events name them by initials or by full name and email. See developer telemetry and the Flightlog page in the tuvl documentation.
Flightlog is built and published by tuvl.io, on the tuvl engine (Apache-2.0). The image also contains the engine's Python dependencies (among them FastAPI, Uvicorn, SQLAlchemy, asyncpg and redis-py), each under its own license; PostgreSQL and Redis are separate images that you run beside it.
Flightlog itself is licensed under the Apache License 2.0; the license and notice texts are in the project. "tuvl", "tuvl insight" and the feather mark are trademarks of tuvl.io and are not covered by that license except to describe where the software comes from.
Tags: 0.1.0 and latest.
docker pull tuvl/flightlog:latest