proptastic writes files that other tools read: your CI, mutastic, a coding agent, the proptastic
command. Each has a JSON Schema, kept in the contract
every edition’s tests hold to, so a tool can check what it reads, and every edition writes the
same fields. The tables here are read from those schemas.
Each file names its schema in its schema field, such as proptastic.events/v1, so a tool can
tell which it’s reading.
/schemas/events/v1.json. An event is one JSON
object a line, written for each property to events/ in the build directory, and by the
proptastic command for a whole run. Every event has these, and the fields of its reason:
| Field | Holds | Means |
|---|
schema | "proptastic.events/v1" | The format and its major version. A change that would break a reader comes as v2, with a schema of its own. |
edition optional | "java", "rust", "swift" | Which edition wrote the event, or which the CLI ran: every property-passed and property-failed has it, and a run-failed once the CLI has chosen an edition (decision 68). |
reason | a string | What the event is: property-passed or property-failed from the library; run-started, run-finished and run-failed from the CLI. Ignore an event whose reason you don't know: a later v1 may add one. |
| Field | Holds | Means |
|---|
schema | "proptastic.events/v1" | The format and its major version. A change that would break a reader comes as v2, with a schema of its own. |
edition | "java", "rust", "swift" | Which edition wrote the event, or which the CLI ran: every property-passed and property-failed has it, and a run-failed once the CLI has chosen an edition (decision 68). |
reason | "property-passed" | |
property | a string | The property as a failure's header names it, after its test's class or module: SortTest#sortKeepsSize. Its exact id is the manifest's id. |
run | a string | The run's stamp: 16 hex digits the test process draws once, the same in every event it writes, so a reader can tell which properties ran together (decision 61). |
started | a string | When the property started, in UTC to the millisecond: 2026-12-02T21:24:13.120Z. The CLI reads an event as its run's when it started at or after the CLI started the host, so it needn't trust a file's time (decision 61). |
tries | an integer | The tries it passed, corpus entries among them, examples not. |
discarded | an integer | Tries a filter or assume threw away. |
seed | a string | The seed, 0x and hex digits, as a failure prints it. |
corpus | an integer | Corpus entries it ran. |
profile | "local", "pr", "nightly" | |
budget optional | a string | The time budget, as said (2s), when it ran out before the tries did; absent otherwise. |
statistics | an object | What classify counted: each label, and the tries it held on. |
sizes optional | an object | The sizes the counted tries drew (decision 100): each sized draw by its name, or each kind of sized value inside one, strings in xs, and the 50th, 90th and 99th percentiles, by nearest rank, of every such value's size; absent when no sized value was drawn. |
targets optional | an object | Each target label's best score, "" for a score with no label (decision 62); absent when no try scored. |
durationMs | an integer | How long the property ran, in milliseconds. |
howSure optional | an object | The numbers the how sure: line and its long form are worked from (decision 41), so explain says what the library would; absent when no try was drawn at random, as with examples alone, tries 0 or .exhaustively(). |
incomplete optional | a list of objects | Each require label the tries couldn't tell at 64 times those asked (decision 107), in the order they were asked for; absent when every label was told, and from an edition before decision 107. |
model optional | an object | The model or spec the property followed, as its pass names it; absent when it followed none. |
outcomes optional | a list of objects | Each of the model's outcomes, or a spec's actions, in the model's order, with what the tries reached; absent when it followed none. |
| Field | Holds | Means |
|---|
schema | "proptastic.events/v1" | The format and its major version. A change that would break a reader comes as v2, with a schema of its own. |
edition | "java", "rust", "swift" | Which edition wrote the event, or which the CLI ran: every property-passed and property-failed has it, and a run-failed once the CLI has chosen an edition (decision 68). |
reason | "property-failed" | |
property | a string | The property as a failure's header names it, after its test's class or module: SortTest#sortKeepsSize. Its exact id is the manifest's id. |
run | a string | The run's stamp: 16 hex digits the test process draws once, the same in every event it writes, so a reader can tell which properties ran together (decision 61). |
started | a string | When the property started, in UTC to the millisecond: 2026-12-02T21:24:13.120Z. The CLI reads an event as its run's when it started at or after the CLI started the host, so it needn't trust a file's time (decision 61). |
id optional | a string | The counterexample's id, c and 8 hex digits: the first 8 of the SHA-256 of the property's id (the manifest's id), a newline, and the choices as the counterexample file writes them (decision 52). The counterexample file holds it too, as id=; example ID names it. |
example optional | an integer | Which pinned example failed, counting from 1. |
tries optional | an integer | The tries it made up to the failing one, that one included; 0 for a saved counterexample that failed again. |
discarded optional | an integer | |
shrinkSteps optional | an integer | The smaller inputs shrinking found on its way. |
fromCorpus optional | a boolean | Whether the failing input was a corpus entry. |
seed optional | a string | The seed, 0x and hex digits, as a failure prints it. |
shrunk | a boolean | Whether shrinking made the input smaller. |
flaky | a boolean | Whether the input passed when it ran again (decision 18). |
counterexample | an object | The input that failed, smallest first when shrunk. |
pin optional | a string or a null | The pin it: line, as source, or null where there's none. |
failsForAny optional | a list of strings | The draws whose values didn't matter, as the fails for any: fact names them: by draw name where the edition has them, else value <n>, or the value for one draw. Empty when none, or when the edition didn't look. |
rerun optional | a string or a null | The rerun: line: the CLI's, proptastic run --only='<id>' --seed=0x…, when PROPTASTIC_COMMANDS=proptastic (decision 63), else the host's own; null where proptastic doesn't know the host's command, or the chain fixes the seed. |
assertion | a string or a null | The check's own message, untouched, or null when it had none. |
location optional | a any | Where the check failed, in the test's own source, or null where that isn't known. |
statistics optional | an object | What classify counted: each label, and the tries it held on. |
sizes optional | an object | The sizes the counted tries drew (decision 100): each sized draw by its name, or each kind of sized value inside one, strings in xs, and the 50th, 90th and 99th percentiles, by nearest rank, of every such value's size; absent when no sized value was drawn. |
durationMs optional | an integer | How long the property ran, in milliseconds. |
rendered | a string | proptastic's report, as the failure prints it after the check's message. |
Files a run leaves shows one.
The proptastic command writes these, around the properties’ own:
| Field | Holds | Means |
|---|
schema | "proptastic.events/v1" | The format and its major version. A change that would break a reader comes as v2, with a schema of its own. |
edition | "java", "rust", "swift" | Which edition wrote the event, or which the CLI ran: every property-passed and property-failed has it, and a run-failed once the CLI has chosen an edition (decision 68). |
reason | "run-started" | |
project | a string | The project's directory, absolute. |
host | "gradle", "maven" | The build tool whose test runner runs the properties, as the edition's hosts binding (E19) names it. Within v1 a host may be added. |
command | a string | The command the CLI ran, as a person would type it from where the CLI was run. |
chosen | a list of strings | The properties chosen, by the manifest's ids; null on a first run, which runs every test to register the properties (decision 50). |
| Field | Holds | Means |
|---|
schema | "proptastic.events/v1" | The format and its major version. A change that would break a reader comes as v2, with a schema of its own. |
edition | "java", "rust", "swift" | Which edition wrote the event, or which the CLI ran: every property-passed and property-failed has it, and a run-failed once the CLI has chosen an edition (decision 68). |
reason | "run-finished" | |
passed | an integer | The properties that passed. |
failed | an integer | The properties that failed. |
missing | a list of strings | The properties chosen that wrote no event, by the manifest's ids: they didn't run. |
registered | an integer or a null | On a first run, how many properties the manifests have now; null on a later run. |
overridden | a list of objects | Each setting asked for that the properties ran without, as the human formats' ! lines say it (decision 49). |
warnings | a list of strings | What else the person should know, as the human formats' ! lines say it: a class that calls forAll and that the host doesn't run, as Surefire doesn't run a *Properties class by default. |
reports optional | a list of strings | The reports the run wrote (decision 76), each file as typed from where the CLI was run; empty with --report=none. Absent from a CLI before decision 76. |
incomplete optional | a list of strings | The properties that passed with a require label their tries couldn't tell (decision 107), by the manifest's ids; absent when there are none, and from a CLI before decision 107. |
durationMs | an integer | How long the property ran, in milliseconds. |
exitCode | an integer | 0 every property passed, 1 one failed: the CLI's exit. A run that can't finish ends in run-failed instead. |
| Field | Holds | Means |
|---|
schema | "proptastic.events/v1" | The format and its major version. A change that would break a reader comes as v2, with a schema of its own. |
edition optional | "java", "rust", "swift" | The edition the CLI chose for the project, by --edition or from what it found there. Absent when the CLI failed before it chose one, as for a mistake in the command or no project found: then no edition was involved (decision 68). |
reason | "run-failed" | |
code | a string | The kind of failure, one of the contract's errors, such as unknown-option or ci-refused. A later v1 may add a code: treat one you don't know as other. |
message | a string | The error's first line, without proptastic: . |
help | a list of objects | The commands the error ends in, in its order. Empty when it offers none. |
exitCode | an integer | |
rendered | a string | The error as stderr has it, every line, proptastic: first. |
/schemas/manifest/v1.json.
properties.json in the build directory lists the properties a run found:
| Field | Holds | Means |
|---|
schema | "proptastic.manifest/v1" | |
edition | "java", "rust", "swift" | Which edition wrote the file. |
properties | a list of objects | The properties, in order of id. |
Each property:
| Field | Holds | Means |
|---|
id | a string | The property's exact id in its host's form, as the edition's identity binding (E2) gives it: Java com.example.SortTest#sortKeepsSize(). |
class | a string | The test's class, module or file, as the host names it. |
method | a string | The test's name, as a failure's header prints it. |
signature | a string | The name the random stream is keyed on. |
key | a string | The key of the property's corpus: its .id, or class and signature. |
domains | a string | The domains' shape, whose fingerprint marks corpus entries stale. |
seed | a string | This run's seed, 0x and hex digits. |
seeded | "chain", "setting", "random" | Where the seed came from: the chain's .seed, PROPTASTIC_SEED, or drawn at random. |
tries | an integer | The tries the run allows. |
budget | a string or a null | The time budget, as said (2s), or null. |
profile | "local", "pr", "nightly" | |
at | a any | Where the property's forAll is called, which --at selects by and example pins after; null where the edition can't tell. |
task optional | a string or a null | The host's task that ran the property, as the CLI runs it again (decision 75): a Gradle test task's name, test or docsTest; Maven's test under Surefire, verify under Failsafe; null where the edition can't tell. Not required: a manifest written before decision 75 has none, and is still v1; a reader takes none as the host's default task. |
/schemas/proposals/v1.json.
.proptastic/proposals.yaml holds the examples proposed for a person to accept, as YAML this
schema describes:
| Field | Holds | Means |
|---|
proposals | a list of objects | |
Each proposal:
| Field | Holds | Means |
|---|
id | a string | The counterexample's id, as its file held it (decisions 52 and 67): c4f1a2b9e. |
property | a string | The property's exact id, as the manifest has it: com.example.SortTest#sortKeepsSize(). |
at optional | a string | Where its forAll is called, the manifest's at as path:line: com/example/SortTest.java:14. Absent, with code, where the edition couldn't tell. |
code optional | a string | The line at at when it was proposed, as it was: once that line changes, the proposal no longer holds, and example refuses to pin it (decision 54). |
pin | a string | The pin line, as the failure printed it: .example(List.of(0, 0)), or .seed(0x…) for an input with no source form. |
counterexample | a string | The counterexample, as the failure printed it: xs = [0, 0]. |
found | "run", "fuzz" | Which command's run found it. |
when | a string | When it was found, the failure's event's started, in UTC to the millisecond: 2026-12-02T21:24:13.120Z. |
seed | a string | The seed that found it, as a failure prints it. |
reason | a string | Why this input belongs in the spec, as --reason said. |
/schemas/report/v1.json. report.json, the
proptastic command’s report of its last run:
| Field | Holds | Means |
|---|
schema | "proptastic.report/v1" | |
edition | "java", "rust", "swift" | The edition the CLI ran. |
tool | an object | |
command | "run", "fuzz" | The command that wrote it. |
project | a string | The project's directory, absolute. |
host | "gradle", "maven" | The build tool whose test runner ran the properties, as the edition's hosts binding (E19) names it. Within v1 a host may be added. |
ran | a string | The build's command, as a person would type it. |
started | a string | When the CLI started the build, in UTC to the millisecond. |
durationMs | an integer | |
exitCode | an integer | What the CLI exited with: 0 every property passed, 1 one failed, 3 the build failed and no property did. |
asked | an object | The settings asked for on the line, each option's value as typed, --replay as true; an option not given is absent. |
totals | an object | |
overridden | a list of objects | Each setting asked for that the build or a chain beat, as run-finished carries it (decision 49). |
fuzz optional | an object or a null | What fuzz searched, on a fuzz run's report; absent or null on run's (decision 56). |
warnings | a list of strings | What else the person should know, as the human formats' ! lines say it. |
changes | a any | What changed since the last report in the same place, by the manifest's ids; null when there was none to compare with. |
properties | a list of objects | Each property the run chose or registered, in order of id. |
Each property in it:
| Field | Holds | Means |
|---|
id | a string | The property's exact id, the manifest's. |
name | a string | As a failure's header names it: SortTest#sortKeepsSize. |
module | a string | The module's directory from the project, . for the project's own. |
task | a string or a null | The host's task that ran it, the manifest's task (decision 75). |
at | a any | Where its forAll is, the manifest's at. |
verdict | "passed", "failed", "didntRun" | What this run found of it. |
event | an object or a null | Its event this run, as the library wrote it: a property-passed or property-failed of proptastic.events/v1, with everything the library knows (how sure, the model and its outcomes, classify's counts, targets, the counterexample, fails for any, the pin and rerun lines); null when it didn't run. |
counterexample | a any | The counterexample saved for it after the run, which the library replays first; null when none is saved. |
corpus | an integer | The inputs kept in its corpus, under .proptastic/corpus/<name>/: a count of inputs, never coverage. |