Team Review Store and CI
A team shares reusable verdicts across developer machines and CI through one self-hosted review store (artifactize server). Each machine keeps its own local state and caches; the store holds completed records keyed by reuse key.
1. Run the review store server (artifactize server)
On your server host, create one bearer token per teammate or CI job and start the store in its own state directory:
artifactize --state-dir /srv/artifactize server token add alice --scopes read,publish,human
artifactize --state-dir /srv/artifactize server token add bob --scopes read,publish
artifactize --state-dir /srv/artifactize server token add ci --scopes read
artifactize --state-dir /srv/artifactize server run --listen 127.0.0.1:8417
- Token scopes:
--scopesis required and takes a comma-separated list ofread(look up records),publish(uploadruntimeandagentverdicts), andhuman(upload Human sign-offs; requirespublish).token addprints the secret token once. - Managing tokens and records:
artifactize --state-dir /srv/artifactize server token list artifactize --state-dir /srv/artifactize server token revoke alice [--purge] # --purge deletes records alice published artifactize --state-dir /srv/artifactize server rm REUSE_KEY # delete records for one 64-hex key - HTTPS or SSH tunnel:
server runlistens on plain HTTP (127.0.0.1:8417by default), while clients requirehttps://for any non-loopback address. Place a TLS reverse proxy in front of the server, or connect teammates over an SSH local port forward (ssh -N -L 127.0.0.1:18417:127.0.0.1:8417 user@reviews-hostand log in tohttp://127.0.0.1:18417/), then runartifactize remote statusto verify the connection.
2. Sign in on developer machines (artifactize remote)
Configure the store client in your local state (or in the desktop app under Settings → Remote), never in .artf files:
printf '%s\n' "$TOKEN" | artifactize remote login https://reviews.example/
artifactize remote status
artifactize remote push --dry-run
artifactize remote push
artifactize remote logout
Pass --share full to remote login if you want to share full execution records instead of the default summary level.
- Automatic lookup and publish: when signed in with the corresponding token scopes,
verifylooks up and publishes records for evals that have a reuse key (see Completed result reuse for how local and remote records are selected and how--forcedisables remote lookups).request submitpublishes Human sign-offs when the token hashuman+publish, and an open non-forced Run waiting on a Human sign-off settles the waiting request automatically when a matching sign-off is published elsewhere, even without a CLI watcher attached. - Share levels (
summaryvs.full):summary(the default) lets teammates see the verdict and its issues (Agent priorities and reasons, including issues on aGREENreview, and Human issues), reuse key, fingerprints, declared profile (including runtimecommandandargs), declared tool/sessionexecution_pathsdigests, token usage, author/reviewer names, and Agent session reference, while leaving out the local repository root, capturedstdout/stderr, and the full Agent conversation transcript.full(--share full) also shares the local repository root and captured runtime output (seeremotein the CLI Reference for the exact record fields). Becausesummarystill shares declaredexecution_pathsand any text written in declared commands,args, or issues, never put secrets in declared arguments or issues. - Offline resilience and
remote push: if the store is unreachable or returns HTTP 5xx, verification continues with local state. Useverify --waitto see the warning; an authentication (401/403), TLS, or protocol error fails the Run (ERROR, exit2withverify --waitorrun show RUN_ID --wait) so you can fix the connection or re-runartifactize remote login(remote records whose criteria or fingerprints do not match your local project are ignored in favor of valid local cache entries or fresh execution when allowed by--reuse-only). Runartifactize remote push --dry-runto preview uploads andartifactize remote pushto upload the latest locally producedGREENorREDverdict per reuse key across your state directory. - Environment overrides:
ARTIFACTIZE_REMOTE(URL oroff),ARTIFACTIZE_REMOTE_TOKEN, andARTIFACTIZE_REMOTE_SHARE(summaryorfull) override local settings.
3. Configure CI (--reuse-only agent,human)
CI should run deterministic runtime checks (tests, linters, builds) and reuse developers’ Agent reviews and Human sign-offs rather than calling LLM providers or waiting for a person.
Give CI a token with the read scope only and run artifactize verify --all --wait --reuse-only agent,human:
# Inside .github/workflows/ci.yml jobs.<job>.steps:
- run: artifactize verify --all --wait --reuse-only agent,human
env:
ARTIFACTIZE_REMOTE: https://reviews.example/
ARTIFACTIZE_REMOTE_TOKEN: ${{ secrets.ARTIFACTIZE_READ_TOKEN }}
With --reuse-only agent,human, CI runs runtime checks (or reuses cached ones) and never executes agent or human checks, reusing the latest matching verdict from the team store or local cache (Fingerprints and Reuse). If a --reuse-only check reaches the reuse check but has no matching cached verdict (for example, because a sign-off is still pending at YELLOW or files changed after review), that check stays STALE without executing, dependents gated on it do not run, and the Run is INCOMPLETE if no higher-priority outcome applies (exit 4; see Sign-offs and the end of a Run for Run outcome precedence).