everydeck-check
The everydeck check for app repositories. It validates everydeck/app-map.json with everydeck's own rules, finds everydeck calls that went missing from the code, re-anchors places that moved and publishes the facts to everydeck. It never sends code.
pip install everydeck-check
everydeck-check validate everydeck/app-map.json --repo .
Commands:
- The app map is
everydeck/app-map.json; without a path the commands read it there (an earlier setup'severydeck/everydeck-befund.jsonis still read). validate <app_map> [--repo .]: the check everydeck runs when an app map is submitted (shape, references, result signal, derived manifest), plus building blocks of the repository that must appear incoverage[].drift <app_map> --repo . [--freeze]: is every everydeck call still in the code (againsteverydeck-manifest.lock.json);--freezewrites the lock file.reanchor <app_map> --repo .: moves every place of the app map from its commit to HEAD (git diff, text, symbol); nothing is guessed, unresolved places are listed.reads <app_map>: the cross-check of display locations.footprint --base <commit before the setup> [--fix-lock]: the files the setup added and changed, a lockfile rewritten beyond the new packages (--fix-lockrestores it with only the new packages) leftovers such as.playwright-mcp/or screenshots, and every AI client of the app map (ai_calls) that is not wrapped with the everydeck SDK.local-db --repo .: the app's local database for--db, fromsupabase/config.tomlor from a local Supabase stack or PostgreSQL the app's env files point to. It reads the env files itself (like Prisma reads.env) and prints no value of them, only the file, the variable name and the port; the url only with the fixed password of a local Supabase stack.validate --dbtakes a database url, or for a hosted database the structure address everydeck gives (or a JSON file with that catalog); every table of it must be in the app map.runtime --repo .: the Python and Node versions the app uses, against this session, and how to check with the app's.publish <app_map> --url <everydeck> --project <id>andchange: send the facts to everydeck.
everydeck's rules ship inside the package (everydeck_check/rules/everydeck-rules.mjs) and run with node (18 or newer). Python 3.11 or newer. License: MIT.
Changes
0.3.17
validateruns every check in one run: shape, references, everydeck's rules, the database, every place in the repo, completeness and contact copies. The errors about the app map come first, a missing result signal (a change of the app's code) last, andopen[]lists the open parts while errors remain. Before, the first stage with an error hid every later one. Tables are read like@everydeck/check0.3.17 (MySQL backticks, reset scripts drop nothing,DROPandCREATEin file order, Prisma@@map(name: …)gives one name per model, SQLModeltable=True, annotated__tablename__).works_withnames its table by any name the code gives it (snake_case, camelCase, the model name, singular); a symbol alone no longer passes a place without the table. Module paths, i18n keys with three or more parts and CSS selectors are no mention of a table. New open partsquestion:peopleandquestion:money:<table>ask for who signs in and for tables with amounts or subscription columns, each with the place; an outcome closes them. Polar and Mercado Pago are known providers.
0.3.16
- The app map says what everydeck needs to show the AI calls, reports, blocks and status changes of an app (shared rules with
@everydeck/check0.3.16):ai_calls[].context(the place ofaiContext, the flow it names and the references it passes:subject_ref,account_ref,object_ref; a reference the code cannot pass inwithoutwith one sentence why),moderation.reports(where people report content: a flag such asreportedon a record, or a report table) andmoderation.blocks(where the app blocks people or records).everydeck-check validatelists what is missing before you submit: every AI call without its context (ai:context:<path>:<line>), reports withoutmoderation.reportsor a report flow with a result signal (flow:moderation; a flow that sends a message is no longer a report), blocks withoutidentity.suspendormoderation.blocks(moderation:blocks), and a table with a status column the browser changes withoutstatus_columnandstatuses[]or a flow with a result signal (status:<table>). Each closes withnot_applicableand its place when the app has none. Optional fields; older app maps stay valid.
0.3.15
- Same version as the scaffold
@everydeck/check0.3.15 (the two are a pair) and the same schema and rules:ai_calls[].flowin the app map (optional, older app maps stay valid;validatechecks that it names a flow offlows[]), and every flow people use that everydeck neither gets reported nor sees itself is an open partsignal:<flow id>. validate --repono longer asks for a table listed innot_in_databaseintables[](before, the same table got both "leave it out of tables" and "add it with its columns").
0.3.14
- Same version as the scaffold
@everydeck/check0.3.14 (the two are a pair) and the same schema and rules:flows[].done,first_value,roles[]andscreens[].labelin the app map (all optional, older app maps stay valid).validatechecks the places offirst_valueand of each role and its first value in the repository, and lists every flow of a new app map withoutdoneas an open part.
0.3.13
- Same version as the scaffold
@everydeck/check0.3.13 (the two are a pair).not_in_database: tables the code creates that the database does not have (found by the scaffold with--db).validaterefuses them intablesand answers anything that names them with the reason ("is in the code but not in the database"); the inventory leaves them out (no table, no candidate). validate --dbaccepts a trigger that the scaffold read from the database (flow_candidates[]withsource: triggerand the placedatabase): it checks the table, as for every trigger from the catalog. Before, it looked for the trigger's name among the tables and refused the scaffold's own entry.- With the scaffold's
--merge, flow candidates that everydeck-check found and the scaffold does not stay in the app map.
0.3.12
- Same version as the scaffold
@everydeck/check0.3.12 (the two are a pair) and the same rules: the open partpeople:visitsasks for the organization as the second value ofeverydeck.setSubject(<user id>, <organization id>), the same id the app's server sends asaccount_ref. runtime --repo .: the Python and Node versions the app really uses (the image of a Dockerfile,.python-version,runtime.txt,requires-pythonin pyproject.toml,python_versionin Pipfile,.nvmrc,.node-version,engines.node), each with its place, against the versions of this session, and how to run a check with the app's version without changing the machine (uv run --python <version> …, the image with docker,npx -y node@<version>). Without any of these it says "not tested with Python ". A check that imports the server with the session's Python proves nothing for an app on python:3.11.
0.3.11
- The inventory no longer reads a schedule out of an SQL comment:
cron.schedule('<job>', '<rhythm>', …)in the comment of everydeck's own outbox migration became an open part "Scheduled job ". Names that are a placeholder (<…>) are skipped as well. validatecounts a flow whose result the browser writes straight into the database (abrowser_writecandidate with the same table and kind) as built in: the browser SDK records each such write as a run (writes), so it is never shown as only planned.- Sign-out is
everydeck.reset()(browser SDK 0.5.5, like PostHog):drift(subject_not_in_code) and the app map schema (identity.browser_subject) no longer saysetSubject(null)on sign-out.setSubject(null)while the app loads its session made every reload count as a new sign-in.
0.3.10
validateasks for the built-in flows: sign-in, sign-up and creating the core object are never only planned. A sign-in flow needs a result signal unlessidentity.browser_subjectnames the place ofeverydeck.setSubject(the browser SDK reports every sign-in); a sign-up flow needs one unless the app uses Supabase Auth withidentity.auth_tableauth.users(everydeck reads each new account fromcreated_at). The newcore_object({ table, evidence }, a table ofworks_with) names what the people of the app create most; the flow that inserts it needs a result signal, and an app map whose people create records without it is refused. The place ofcore_objectis checked like every place. Every other flow people use is counted as well: a result signal, its AI calls (ai_calls[].flow, the flow thataiContext({ flow })names at that call) or the new rows of its own table with an owner and a creation time; otherwisevalidatelists it underopen[]assignal:<flow id>.driftreportssubject_not_in_codewhen an app with people who sign in uses the browser SDK but never callseverydeck.setSubject(<user id>): without it every visit and every sign-in stays anonymous.
0.3.9
local-db --repo .: finds the app's local database without the agent reading an env file:supabase/config.tomlof the repository (the port under[db], 54322 when it names none), else a variable in the app's env files that points to the gateway of a running local Supabase stack (Docker labelcom.supabase.cli.project, the stack's database port), else a local PostgreSQL with the fixed local password. Exit 0 when found, 2 otherwise, with the next step.
0.3.8
driftcounts the two new ways of a job heartbeat: a schedule in SQL whose command runs ineverydeck_outbox.run_job('<job>', …)or callseverydeck_outbox.job_heartbeat('<job>'), and a run outside the app (for example a GitHub Actions workflow) whose last step calls…/v1/jobs/<job>/check-in. A job without either staysjob_not_in_heartbeat.validateno longer acceptsunsupportedfor a schedule it finds (pg_cron, GitHub Actions, vercel.json, render.yaml): the part stays open with the way to send its heartbeat.
0.3.7
- The smaller writes (update, delete or upsert from the browser, triggers) need no flow and no left_out; they stay listed as smaller writes not followed. A new entry from the browser and sign-up, sign-in, password reset and payment still need a flow or an answer.
outcomes[].also: one covered_by can name further open parts the same flow explains in exactly the same way (for example the same report from several pages); each listed id is checked like its own outcome, parts not listed stay open.
0.3.6
- One candidate per way of a kind: several places of the same kind (sign-in by password, one-time code, OAuth or SSO; a browser write or a checkout of the same table in another file) each become a candidate
<id>@<way>in the inventory. A way is closed only by a flow on that way,covered_bywith exactly that id, ornot_applicable; a flow on another way never closes it. - Schedules without a package:
cron.schedulein SQL (pg_cron),cronsinvercel.json,type: cronservices inrender.yamlandschedulein GitHub Actions workflows are listed ininventory.schedules; each one is an open partjobs:schedule:<source>:<name>until ajobs[]entry names its place. Files of other hosts that name a schedule everydeck-check does not read are listed asjobs:not_checked:<file>. At most 50 schedules are listed one by one; the rest is one open part. - A money table needs a meaning:
holdswith columns that carry money (roles) orprice, a price list another money table looks its amount up in (price.table), orlogwith the place for a table that only records events (such as stored webhooks).becauseandevidencealone leave it open. footprintcounts a wrapped AI client only for the methods the SDK wrapper measures (0.5.1: chat, responses, completions, embeddings,images.generate,images.edit,audio.transcriptions.create,audio.translations.create,audio.speech.create); any other call found, such as Anthropicmessages.stream, needsaiCall/ai_callat its place.validaterefuses an app map that leaves out an AI call the SDK wrappers measure, also images (images.generate,images.edit), audio (audio.transcriptions,audio.translations,audio.speech),responses.parse, Anthropicmessages.parseandmessages.stream.
0.3.5
restart-stack --repo .restarts the app's local Supabase stack during the setup:supabase stop, thensupabase start, with the Supabase CLI installed for the app (node_modules/.bin/supabase, thensupabaseon PATH; nevernpx), for the stack of this repository only (--workdir), each command with a time limit (--timeout, default 300 seconds). A command that hangs is stopped with its own process group, nothing else; the CLI's output (it prints the stack's keys) is never shown. It answersok,timeout,failed(withdocker_not_running,port_in_useorcli_error),no_cliorno_stack, and says what to do next.- Tables in everydeck's own schemas (
everydeck,everydeck_outbox,everydeck_bridge,everydeck_read), such as the outbox copied unchanged from@everydeck/sdk, need no entry intables[]; a table of the app with the same name still does. - The inventory carries short
excerptsof the code at the places it found (sign-in and payment, new rows from the browser, other writes, providers): at most 60, each 13 lines of at most 300 characters, 40,000 characters together. Keys and passwords are replaced by[redacted] (kind)with everydeck's own rules before they are written; without the rules (nonode) no excerpt is written. Never from SQL, JSON, YAML, CSV or.envfiles: the schema goes as table and column names, rows never. everydeck may send them once per setup to its own AI model to check what the app map misses. - Clearer refusals: a missing result signal says to write it now (the SDK switches itself off until the keys exist) and to choose the place from the app map;
result.providernames the component of the login provider (supabase_auth→ the component of@supabase/supabase-js);everydeck_tablessays that everydeck's schemas count by themselves. Every refusal ofvalidatecarriesnext.
0.3.4
validate --repowritesinventoryinto the app map (never edit it): what everydeck-check finds in the repo itself, with the version of the tool, the commit and a digest: building blocks, provider packages (also imported by URL,https://esm.sh/…,npm:,jsr:, and providers the code calls over HTTP such asfcm.googleapis.com), flow candidates, every table, and what it did not read (files over the size limits, package files deeper than three folders, code in Go, Ruby, PHP, Java, Kotlin, C#, Elixir, Rust or Scala).validaterefusesnot_applicablewhen everydeck-check itself finds the part used in the code, and names the place: a money table read or written (.from('plans')), an email, push or payment provider called or imported, a table of a group written, a sign-up call. Only its own find against the claim.- A browser write that creates a row (insert) is a core part: only a flow for exactly that operation,
covered_bywith exactly that operation ornot_applicablecloses it, not another flow of the same group or table. Updates stay smaller writes. validatelistsopen[]: every part that nothing connects yet (email or push without a channel, sign-up without a flow, chats or reports without a flow on their tables, money tables without amoney.tablesentry, candidates no flow explains), as everydeck returns them on submission. A reason inleft_outkeeps a part open;outcomes[]closes it withcovered_by(a flow that does exactly this operation) ornot_applicablewith a place in the code, whichvalidatechecks like every other place;deferredandunsupportedkeep it open.
0.3.3
- Money without a payment provider:
money.tables[]takesbecause: "described_by_agent"with areason, and for every money tableholds(plans,purchases,requests,prices),roles(columns for amount, currency, period, product, buyer, object, time, start, end),statuses[](what a value means: paid, free, ended, requested, refunded, failed),currency,minor_unitandprice(the app's own price list).validatechecks that every column exists in its table and every place is in the code; a table described by the agent needs its reason. refers_to_money: a table with a foreign key to a money table.footprintnames every AI client ofai_callsthe setup did not wrap (OpenAI and providers through the OpenAI client:wrap_openai/wrapOpenAIin the client's file; Anthropic:wrap_anthropic/wrapAnthropic; other providers:ai_call/aiCallin the file of their calls) and exits 2 until each is measured.
0.3.2
validatederives people from the schema with the same rule as everydeck: the profile table (one row per account), people without a login (records with a person's name and an e-mail or phone, not money), memberships with a role.- A table without a known primary key is identified by its
idcolumn before any foreign key. flow_candidates[].redirectonpassword_reset: the page of the app a password reset email leads to.- Amounts and limits are editable; locked for good are identifiers, references and owners (
LOCKED_ROLES = ("ref", "person")).
Metadata
Release files for everydeck-check 0.3.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| everydeck_check-0.3.17.tar.gz | 259.0 kB | With provenance | Details for everydeck_check-0.3.17.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| everydeck_check-0.3.17-py3-none-any.whl | Python 3 | none | any | Details for everydeck_check-0.3.17-py3-none-any.whl |
Total release size: 522.8 kB
Release files / everydeck_check-0.3.17.tar.gz
| Download URL | everydeck_check-0.3.17.tar.gz |
|---|---|
| Size | 259.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dae21c3fac89aab6ae555c8c656870d13c80effa4bc19830f9e99e80e2a90ba0
|
|
BLAKE2b-256 checksum How to use checksums |
1f423c284ecbbe34dd6b59578b8e0d8390909132eac98ab6d703742d9cd730bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logRelease files / everydeck_check-0.3.17-py3-none-any.whl
| Download URL | everydeck_check-0.3.17-py3-none-any.whl |
|---|---|
| Size | 263.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60231d118eee3440898c002fd5877095db50f6752e48d16f2bc0576701d1f69e
|
|
BLAKE2b-256 checksum How to use checksums |
21344afb35f0d1dae5dfad118271b1ee0431a74a3166cb27ef877b0336e008c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logSecurity for everydeck-check 0.3.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for everydeck_check-0.3.17.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.