Skip to content

Require numeric ordered postconditions - #13

Merged
EauDoon merged 1 commit into
mainfrom
fix/postcondition-ordering-types
Aug 30, 2026
Merged

Require numeric ordered postconditions#13
EauDoon merged 1 commit into
mainfrom
fix/postcondition-ordering-types

Conversation

@EauDoon

@EauDoon EauDoon commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

Ordered postconditions now require finite numeric operands. Proposal schema version is included in the signed material, mapped into bundles, and checked across receipts and audit events so version relabeling fails closed.

Published version 0.1 schema bytes remain unchanged. The stricter contract is opt in through version 0.2.

Checks

Focused tests: 9 passed.

Full tests: 130 passed.

Repository check: passed for 59 files.

Independent tree review: check-warn for exact head SHA e233a69b1de07c9b888e4996f126749fb50e4f9b, limited to the documented experimental boundary.

This remains a loopback reference implementation. Do not deploy it as an Internet facing or Vercel service. Merge only after exact SHA CI passes.


Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

Comment thread api/openapi.json
Comment on lines +58 to +60
"oneOf": [
{ "$ref": "../spec/schemas/action-proposal.schema.json" },
{ "$ref": "../spec/schemas/action-proposal-v0.2.schema.json" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Capability discovery omits v0.2 proposals

After v0.2 proposals become accepted, optional_features still advertises only recovery preflight. Discovery-driven clients cannot select the new format.

Prompt for agents
Update the capability discovery contract and implementation to advertise ActionProposal v0.2 support. The response is built in src/http-server.js for /.well-known/consequence-rail, while api/openapi.json defines that response schema. Add deterministic coverage proving discovery exposes the supported proposal formats without changing the meaning of the existing API protocol version.
Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@EauDoon
EauDoon merged commit cbb4896 into main Aug 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant