interlock-escrow 1.4.0__tar.gz → 1.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/.github/workflows/ci.yml +66 -2
  2. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/CHANGELOG.md +98 -0
  3. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/PKG-INFO +712 -636
  4. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/README.md +707 -631
  5. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/ESCROW_SPEC.md +26 -4
  6. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/pyproject.toml +5 -5
  7. interlock_escrow-1.4.2/scripts/kind-setup.sh +121 -0
  8. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/__init__.py +1 -1
  9. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/config.py +6 -1
  10. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/feedback.py +61 -29
  11. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/fhir.py +20 -11
  12. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/kubernetes.py +91 -2
  13. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/postgres.py +3 -2
  14. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sim/fhir.py +7 -1
  15. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sim/kubernetes.py +7 -1
  16. interlock_escrow-1.4.2/tests/real_systems.py +34 -0
  17. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_config.py +16 -0
  18. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_feedback.py +43 -6
  19. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_fhir.py +49 -0
  20. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_git_substrate.py +1 -1
  21. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_kubernetes.py +82 -0
  22. interlock_escrow-1.4.2/tests/test_real_fhir.py +373 -0
  23. interlock_escrow-1.4.2/tests/test_real_kubernetes.py +426 -0
  24. interlock_escrow-1.4.2/tests/test_real_tofu.py +320 -0
  25. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/uv.lock +8 -8
  26. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/.github/workflows/release.yml +0 -0
  27. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/.gitignore +0 -0
  28. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/.python-version +0 -0
  29. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/LICENSE +0 -0
  30. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/SECURITY.md +0 -0
  31. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/demo/customer_acceptance_suite.py +0 -0
  32. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/demo.py +0 -0
  33. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/CUSTOMER_ACCEPTANCE_MATRIX.md +0 -0
  34. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/EPIC3_DESIGN.md +0 -0
  35. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/EPIC4_DESIGN.md +0 -0
  36. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/EPIC5_DESIGN.md +0 -0
  37. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/EPIC6_DESIGN.md +0 -0
  38. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/EPIC7_DESIGN.md +0 -0
  39. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/EPIC8_DESIGN.md +0 -0
  40. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/EPIC9_DESIGN.md +0 -0
  41. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/docs/OUTBOX_DESIGN.md +0 -0
  42. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/scripts/live_gauntlet.py +0 -0
  43. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/scripts/live_stress_test.py +0 -0
  44. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/scripts/metrics_overhead.py +0 -0
  45. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/scripts/security_audit.py +0 -0
  46. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/adapters.py +0 -0
  47. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/adjudication.py +0 -0
  48. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/anchor.py +0 -0
  49. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/attestations.py +0 -0
  50. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/builder.py +0 -0
  51. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/cascade.py +0 -0
  52. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/chain.py +0 -0
  53. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/checker_packs.py +0 -0
  54. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/cli.py +0 -0
  55. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/cluster.py +0 -0
  56. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/compaction.py +0 -0
  57. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/control.py +0 -0
  58. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/daemon.py +0 -0
  59. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/deliveries.py +0 -0
  60. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/engine.py +0 -0
  61. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/exceptions.py +0 -0
  62. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/extension.py +0 -0
  63. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/git_substrate.py +0 -0
  64. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/inbox.py +0 -0
  65. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/inbox_sql.py +0 -0
  66. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/inbox_store.py +0 -0
  67. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/invariants.py +0 -0
  68. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/keys.py +0 -0
  69. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/mcp.py +0 -0
  70. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/meters.py +0 -0
  71. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/operators.py +0 -0
  72. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/outbound.py +0 -0
  73. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/outbound_checks.py +0 -0
  74. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/outbox_sql.py +0 -0
  75. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/outbox_store.py +0 -0
  76. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/planbound.py +0 -0
  77. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/predicted.py +0 -0
  78. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/py.typed +0 -0
  79. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/receipts.py +0 -0
  80. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/reconcile.py +0 -0
  81. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/records.py +0 -0
  82. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/recovery.py +0 -0
  83. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/relay.py +0 -0
  84. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/repair.py +0 -0
  85. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/runtime.py +0 -0
  86. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sampling.py +0 -0
  87. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sendgrid.py +0 -0
  88. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sensors.py +0 -0
  89. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/settlement.py +0 -0
  90. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/signers.py +0 -0
  91. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sim/__init__.py +0 -0
  92. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sim/terraform.py +0 -0
  93. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/sqlite_outbox.py +0 -0
  94. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/stripe.py +0 -0
  95. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/substrate.py +0 -0
  96. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/supervisor.py +0 -0
  97. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/telemetry.py +0 -0
  98. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/terraform.py +0 -0
  99. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/trace.py +0 -0
  100. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/types.py +0 -0
  101. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/vacuum.py +0 -0
  102. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/windows.py +0 -0
  103. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/src/interlock/wiring.py +0 -0
  104. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/__init__.py +0 -0
  105. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/checker_digests.py +0 -0
  106. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/children.py +0 -0
  107. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/conftest.py +0 -0
  108. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/crash_child.py +0 -0
  109. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/daemon_app.py +0 -0
  110. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/fakekms.py +0 -0
  111. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/fakepg.py +0 -0
  112. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/fakesendgrid.py +0 -0
  113. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/fakesink.py +0 -0
  114. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/fakestripe.py +0 -0
  115. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/inbox_child.py +0 -0
  116. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/inbox_env.py +0 -0
  117. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/operator_child.py +0 -0
  118. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/outbox_env.py +0 -0
  119. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/outbox_v2.py +0 -0
  120. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/outbox_v3.py +0 -0
  121. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/outbox_v4.py +0 -0
  122. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/pgbouncer/pgbouncer.ini +0 -0
  123. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/pgbouncer/userlist.txt +0 -0
  124. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/plans.py +0 -0
  125. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/relay_child.py +0 -0
  126. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/schemas.py +0 -0
  127. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/settle_child.py +0 -0
  128. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/settling.py +0 -0
  129. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/sqlite_outbox_v3.py +0 -0
  130. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/sqlite_outbox_v4.py +0 -0
  131. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/sqlite_stage_child.py +0 -0
  132. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_acceptance_suite.py +0 -0
  133. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_agreement.py +0 -0
  134. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_anchor.py +0 -0
  135. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_attestations.py +0 -0
  136. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_cascades.py +0 -0
  137. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_checker_packs.py +0 -0
  138. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_checker_records.py +0 -0
  139. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_cluster.py +0 -0
  140. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_cluster_daemon.py +0 -0
  141. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_config_fhir.py +0 -0
  142. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_config_plan_bound.py +0 -0
  143. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_core_guarantees.py +0 -0
  144. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_crash_consistency.py +0 -0
  145. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_daemon.py +0 -0
  146. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_deliveries.py +0 -0
  147. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_engine.py +0 -0
  148. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_ergonomics.py +0 -0
  149. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_extension.py +0 -0
  150. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_fact_agreement.py +0 -0
  151. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_horizontal.py +0 -0
  152. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_inbox.py +0 -0
  153. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_inbox_cli.py +0 -0
  154. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_inbox_crash.py +0 -0
  155. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_inbox_engine.py +0 -0
  156. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_inbox_vendors.py +0 -0
  157. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_instrumentation.py +0 -0
  158. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_keys.py +0 -0
  159. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_live_sinks.py +0 -0
  160. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_metrics.py +0 -0
  161. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_operator_crash.py +0 -0
  162. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_operators.py +0 -0
  163. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_outbound.py +0 -0
  164. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_outbound_checks.py +0 -0
  165. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_outbox_postgres.py +0 -0
  166. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_pg_upgrade.py +0 -0
  167. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_planbound.py +0 -0
  168. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_pool.py +0 -0
  169. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_postgres.py +0 -0
  170. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_readme_snippets.py +0 -0
  171. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_reconcile.py +0 -0
  172. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_records.py +0 -0
  173. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_recovery.py +0 -0
  174. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_relay.py +0 -0
  175. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_relay_crash.py +0 -0
  176. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_repair.py +0 -0
  177. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_runtime.py +0 -0
  178. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_sampling.py +0 -0
  179. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_security_audit.py +0 -0
  180. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_sendgrid.py +0 -0
  181. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_sensors.py +0 -0
  182. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_settlement.py +0 -0
  183. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_settlement_crash.py +0 -0
  184. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_shared_transaction.py +0 -0
  185. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_signers.py +0 -0
  186. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_soak.py +0 -0
  187. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_sqlite_outbox.py +0 -0
  188. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_sqlite_stage_crash.py +0 -0
  189. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_stripe.py +0 -0
  190. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_supervisor.py +0 -0
  191. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_takeover.py +0 -0
  192. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_tamper_evidence.py +0 -0
  193. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_terraform.py +0 -0
  194. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_trace.py +0 -0
  195. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_typed_config.py +0 -0
  196. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_upgrade_v5.py +0 -0
  197. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_vacuum.py +0 -0
  198. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_vacuum_crash.py +0 -0
  199. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_vacuum_inbox.py +0 -0
  200. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/test_windows.py +0 -0
  201. {interlock_escrow-1.4.0 → interlock_escrow-1.4.2}/tests/vacuum_child.py +0 -0
@@ -141,6 +141,70 @@ jobs:
141
141
  - name: Enforce coverage floor
142
142
  run: uv run coverage report --fail-under=95
143
143
 
144
+ real-systems:
145
+ name: the substrates against OpenTofu, Kubernetes (kind) and HAPI FHIR
146
+ runs-on: ubuntu-latest
147
+ timeout-minutes: 30
148
+ services:
149
+ # HAPI FHIR, the reference open-source FHIR R4 server, pinned.
150
+ hapi:
151
+ image: hapiproject/hapi:v8.12.0-2
152
+ ports:
153
+ - 8091:8080
154
+ # The loopback stand-ins stay in the other jobs, for speed and fault
155
+ # injection. Here each substrate meets the real system, required: one
156
+ # that did not come up fails the job rather than skipping.
157
+ env:
158
+ INTERLOCK_REQUIRE_REAL: "1"
159
+ INTERLOCK_TEST_FHIR_URL: http://localhost:8091/fhir
160
+ UV_PYTHON: "3.12"
161
+ steps:
162
+ - uses: actions/checkout@v4
163
+
164
+ - name: Install uv
165
+ uses: astral-sh/setup-uv@v5
166
+ with:
167
+ enable-cache: true
168
+
169
+ - name: Install the project
170
+ run: uv sync --frozen --python 3.12
171
+
172
+ # OpenTofu 1.13.2 and kind 0.33.0 (its default node: Kubernetes 1.37),
173
+ # each checked against the release's own checksum.
174
+ - name: Install OpenTofu and kind
175
+ run: |
176
+ set -euo pipefail
177
+ mkdir -p "$RUNNER_TEMP/bin"
178
+ cd "$RUNNER_TEMP"
179
+ curl -fsSLo tofu.zip https://github.com/opentofu/opentofu/releases/download/v1.13.2/tofu_1.13.2_linux_amd64.zip
180
+ echo "723bebb0df8411daff1e5fc3862e28ff5581fe5634087f4c29a9aa41d78208b5 tofu.zip" | sha256sum -c -
181
+ unzip -q tofu.zip tofu -d bin
182
+ curl -fsSLo bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.33.0/kind-linux-amd64
183
+ echo "aee6151561422756b764a4ae28e7f44cda5af5a9eead3cc9985112b1de8d8e0d bin/kind" | sha256sum -c -
184
+ chmod +x bin/kind
185
+ echo "$RUNNER_TEMP/bin" >> "$GITHUB_PATH"
186
+ echo "INTERLOCK_TEST_TOFU=$RUNNER_TEMP/bin/tofu" >> "$GITHUB_ENV"
187
+
188
+ - name: Start a Kubernetes cluster (kind)
189
+ run: |
190
+ set -euo pipefail
191
+ kind create cluster --name interlock --wait 180s
192
+ scripts/kind-setup.sh kind-interlock | sed 's/^export //' >> "$GITHUB_ENV"
193
+
194
+ - name: Wait for HAPI FHIR
195
+ run: |
196
+ for i in $(seq 1 90); do
197
+ curl -fs -o /dev/null http://localhost:8091/fhir/metadata && exit 0
198
+ sleep 2
199
+ done
200
+ echo "HAPI FHIR did not come up" >&2
201
+ exit 1
202
+
203
+ - name: The substrates against the real systems
204
+ run: >-
205
+ uv run pytest -v tests/test_real_tofu.py tests/test_real_kubernetes.py
206
+ tests/test_real_fhir.py
207
+
144
208
  install-from-clone:
145
209
  name: install from a clean clone (no sibling checkout)
146
210
  runs-on: ubuntu-latest
@@ -154,7 +218,7 @@ jobs:
154
218
 
155
219
  # A path source resolves only when agentgov happens to sit next to the
156
220
  # checkout, so a third party's clone never builds. agentgov comes from
157
- # PyPI (interlock-agentgov>=1.2.0): clone into a directory with no
221
+ # PyPI (interlock-agentgov>=1.3.0): clone into a directory with no
158
222
  # sibling checkout and resolve from scratch, from the lockfile.
159
223
  #
160
224
  # Gates `git clone` + `uv sync`. The standalone wheel is gated below.
@@ -200,7 +264,7 @@ jobs:
200
264
  name = [n for n in z.namelist() if n.endswith('METADATA')][0]
201
265
  meta = z.read(name).decode()
202
266
  requires = [l.split(': ', 1)[1] for l in meta.splitlines() if l.startswith('Requires-Dist: interlock-agentgov')]
203
- assert 'interlock-agentgov>=1.2.0' in requires, requires
267
+ assert 'interlock-agentgov>=1.3.0' in requires, requires
204
268
  assert not any(' @ ' in r for r in requires), requires # no direct reference
205
269
  print('wheel metadata requires', requires)
206
270
  "
@@ -9,6 +9,104 @@ Releases before 0.1.2 are described by their tags and commit history.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [1.4.2] - 2026-11-05
13
+
14
+ What an agent is told when a plan is refused, in plainer sentences, and a
15
+ substrate that is set up wrong no longer reported as unreachable. Upgrades from
16
+ 1.4.1 in place. No verdict changes.
17
+
18
+ ### Fixed
19
+
20
+ - **A table, path class or resource type the plan may not write, when its name
21
+ is withheld.** The feedback read "changed files of class a class it does not
22
+ name, which it may not write". It now reads "changed files in a path class it
23
+ may not write", or "changed files in the workflows path class" when the class
24
+ is named, and "rows from orders and from another table" when one is named and
25
+ one is not. The same applies to deletes, and to a SQL statement that
26
+ writes an unobserved table.
27
+ - **A substrate that is set up wrong.** A missing install, a stage role without
28
+ its grants, or a stage role that could become a superuser was reported to the
29
+ agent as `unavailable: the database could not be reached`, marked
30
+ non-retryable. It is now `misconfigured` (`Guidance.MISCONFIGURED`): the
31
+ system is not set up for this deployment, nothing was tried, and its operator
32
+ has to fix it. An unreachable substrate is still `unavailable`, and still
33
+ retryable.
34
+ - **PostgreSQL: the hint for a stage role without its privileges** named an
35
+ `interlock install --stage-role` flag that does not exist. It now says to
36
+ grant USAGE on the schema and DML on the observed tables, list the role in
37
+ `stage_roles`, and run `interlock install` again.
38
+ - **A write that was read back and put back** is described plainly: what
39
+ changed, that it was put back, and that the system is as it was before.
40
+
41
+ ### Changed
42
+
43
+ - **Requires interlock-agentgov 1.3.0.** Its `reconcile-actions` reads Stripe's
44
+ and SendGrid's event exports, which the README's outbound section points at.
45
+
46
+ ### Documentation
47
+
48
+ - The README reads in plain sentences. The daemon's metrics, the Kubernetes
49
+ deployment and the soak's checks are lists, and the outbound section points
50
+ at `agentgov reconcile-actions` for checking a vendor's own log against the
51
+ delivery receipts.
52
+
53
+ ## [1.4.1] - 2026-11-04
54
+
55
+ The plan-bound and predicted substrates, run against the real systems for the
56
+ first time: OpenTofu 1.13.2, a Kubernetes 1.37 cluster (kind) and HAPI FHIR 8.12.
57
+ OpenTofu needed nothing. Kubernetes and FHIR each showed what the loopback
58
+ stand-ins could not.
59
+
60
+ ### Fixed
61
+
62
+ - **Kubernetes: measuring a forced replacement deleted the object.** A `DELETE`
63
+ whose body carries `DeleteOptions` takes its options from the body and ignores
64
+ `?dryRun=All` on the URL, so the dry-run delete of a `replace_on_immutable`
65
+ kind was real. The dry run now says `dryRun: ["All"]` in the body (E4-6
66
+ amended). The loopback API server now reads a `DELETE`'s options from its body,
67
+ as the real one does, so the unit suite catches this.
68
+ - **Kubernetes: a controller's status write was taken for a conflict.** A
69
+ Deployment's controller writes its status, and its revision annotation,
70
+ continually; each moves `resourceVersion`, so a plan read a moment before failed
71
+ closed with `409` on a healthy cluster. On a `409` the substrate now reads the
72
+ object again and takes its new version when only its status or that
73
+ bookkeeping moved; a change to its content is still a conflict, and what lands
74
+ is still checked against the measure, by the same content, so a new
75
+ Deployment's first revision stamped between the dry run and the write is no
76
+ difference (E4-7 amended).
77
+ - **FHIR: a refused write was put back over the edit that refused it.** When a
78
+ later write was refused on its version (someone else had written the resource),
79
+ the put-back restored every planned write, landed or not, and so overwrote the
80
+ other person's edit. Only the writes that landed are put back now, and a
81
+ resource written again since the stage's write (a version past the one its
82
+ write made) is left for a person, whether or not the server names requests in
83
+ `meta.source`, which HAPI FHIR does not by default (E4-14 amended). The
84
+ loopback FHIR server can now omit `meta.source` (`sources=False`), as HAPI does.
85
+
86
+ ### Added
87
+
88
+ - `tests/test_real_tofu.py`, `tests/test_real_kubernetes.py`,
89
+ `tests/test_real_fhir.py`: each substrate against the real system, skipped
90
+ unless it is named (`INTERLOCK_TEST_TOFU`, `INTERLOCK_TEST_K8S_*`,
91
+ `INTERLOCK_TEST_FHIR_URL`), and required in CI (`INTERLOCK_REQUIRE_REAL=1`).
92
+ OpenTofu's own plans (`terraform_data`, no provider downloaded): a value known
93
+ only after the apply, a forced replacement, a stale saved plan, serial and
94
+ lineage, a resource postcondition stopping the apply part way, put back.
95
+ Kubernetes: a real `MutatingAdmissionPolicy` (x10) and
96
+ `ValidatingAdmissionPolicy`, defaults, `409` on `resourceVersion`, a partial
97
+ apply put back, an immutable field, recovery by the stage annotation. HAPI FHIR:
98
+ `_has` references resolved, a create read back as predicted, `versionId` on a
99
+ conditional write, a stale `If-Match` (HAPI answers `409`, the specification
100
+ `412`; either is a conflict), a create voided `entered-in-error`, recovery.
101
+ - `tables = []` in `interlock.toml`, written out: a SQLite or PostgreSQL database
102
+ that observes no tables, whose plans only enqueue outbound requests (an MCP
103
+ server's write tools, as `fiduciary init --mcp` writes them). Leaving
104
+ `[[tables]]` out is still refused, as a likely mistake.
105
+ - `scripts/kind-setup.sh`: prepares a kind cluster for those tests and prints
106
+ their environment.
107
+ - CI job `real-systems`: OpenTofu and kind pinned by checksum, HAPI FHIR
108
+ `v8.12.0-2` as a service.
109
+
12
110
  ## [1.4.0] - 2026-11-01
13
111
 
14
112
  Class V: a FHIR server, staged predicted and verified. Upgrades from 1.3.0 in place, with