Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 29 Nov 2026. What's built · Install 0.6.0
jadpo
ReferenceErrors

ErrorsExternal services · rule

package.decode_reports_invalid

On this page

Application's packages: sets report_decode_failures: to something other than true or false.

Area 11, External services; not declinable; the next step is usually the agent's.

Why Jadpo refuses it

report_decode_failures: says whether the app's contract runs tell the registry of an answer a package from it can no longer decode, sending the answer's shape and never a value of it. Something sent to a third party is sent only when the app says so plainly, so the setting is true or false, written once. Anything else sends nothing, and is refused, so a setting that reads as on is never quietly off, nor the other way round.

What it looks like

A word that reads as yes, but isn't true:

example
application {    packages: {        report_decode_failures: "yes"    }}
jadpo checkcheck failed: 1 error, 1 file

error report_decode_failures: isn't true or false

--> main.jadpo:3:33

  |3 |         report_decode_failures: "yes"  |                                 ^^^^^ not true or false
reason
report_decode_failures: says whether the app's contract runs tell the registry of an answer a package from it can no longer decode, sending the answer's shape and never a value. Left out, it is false and nothing is sent.
next
Write report_decode_failures: true, or remove it to send nothing (agent)
rule
package.decode_reports_invalid
help
https://jadpo.dev/docs/errors/package.decode_reports_invalid

(agent) at the end of the next: line means your coding agent can make the fix itself.

A misspelt setting is refused with the edit to the right name, since a report meant to be on would otherwise be off without a word:

example
application {    packages: {        report_decode_failure: true    }}
text
error: `report_decode_failure` isn't something `packages:` holds --> main.jadpo:3:9  |3 |         report_decode_failure: true  |         ^^^^^^^^^^^^^^^^^^^^^ not a setting  reason: `packages:` holds `own_sources:`, your company's git locations, and `report_decode_failures:`, whether contract runs tell the registry of an answer a package can't decode.  next: Use `report_decode_failures` instead of `report_decode_failure` (agent)  fix:    3 - report_decode_failure: true    3 + report_decode_failures: true  rule: package.decode_reports_invalid  help: https://jadpo.dev/docs/errors/package.decode_reports_invalidcheck failed: 1 error, 1 filenext: jadpo fix  fixes this error for you, then checks again

How to fix it

If the app's contract runs should report, write true:

example
application {    packages: {        report_decode_failures: true    }}

The next jadpo test --kind contract sends POST decode-failures the shape of each answer a package from the registry can't decode, and never a value of it.

If they shouldn't, write false, or remove the setting, since left out it is false too:

example
application {    packages: {        report_decode_failures: false    }}

A contract run then sends the registry nothing.

Markdown for agents: /docs/errors/package.decode_reports_invalid.md.Built from Jadpo's main branch at commit 9080dc3.