ciris-server 0.5.166__tar.gz → 0.5.167__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.

Potentially problematic release.


This version of ciris-server might be problematic. Click here for more details.

Files changed (384) hide show
  1. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/build-wheels.yml +188 -0
  2. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/client-artifacts.yml +12 -0
  3. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/publish-pypi.yml +13 -0
  4. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/warm-release-cache.yml +6 -0
  5. {ciris_server-0.5.166 → ciris_server-0.5.167}/Cargo.lock +1 -1
  6. {ciris_server-0.5.166 → ciris_server-0.5.167}/Cargo.toml +1 -1
  7. {ciris_server-0.5.166 → ciris_server-0.5.167}/PKG-INFO +1 -1
  8. {ciris_server-0.5.166 → ciris_server-0.5.167}/evidence/CIRISServer.cc_impl.tsv +8 -8
  9. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/oauth.rs +86 -2
  10. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates/ladder.rs +135 -16
  11. {ciris_server-0.5.166 → ciris_server-0.5.167}/.cargo/config.toml +0 -0
  12. {ciris_server-0.5.166 → ciris_server-0.5.167}/.claude/workflows/localize-ui.js +0 -0
  13. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/bench.yml +0 -0
  14. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/ci.yml +0 -0
  15. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/conformance.yml +0 -0
  16. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/export-pipeline-pubkeys.yml +0 -0
  17. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/localization.yml +0 -0
  18. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/mesh-harness.yml +0 -0
  19. {ciris_server-0.5.166 → ciris_server-0.5.167}/.github/workflows/release.yml +0 -0
  20. {ciris_server-0.5.166 → ciris_server-0.5.167}/.gitignore +0 -0
  21. {ciris_server-0.5.166 → ciris_server-0.5.167}/BUILDING_A_LOCAL_WHEEL.md +0 -0
  22. {ciris_server-0.5.166 → ciris_server-0.5.167}/CHANGELOG.md +0 -0
  23. {ciris_server-0.5.166 → ciris_server-0.5.167}/CONTRIBUTING.md +0 -0
  24. {ciris_server-0.5.166 → ciris_server-0.5.167}/GOVERNANCE.md +0 -0
  25. {ciris_server-0.5.166 → ciris_server-0.5.167}/LICENSE +0 -0
  26. {ciris_server-0.5.166 → ciris_server-0.5.167}/MISSION.md +0 -0
  27. {ciris_server-0.5.166 → ciris_server-0.5.167}/README.md +0 -0
  28. {ciris_server-0.5.166 → ciris_server-0.5.167}/SECURITY.md +0 -0
  29. {ciris_server-0.5.166 → ciris_server-0.5.167}/WIRE_VOCABULARY_KINDS.md +0 -0
  30. {ciris_server-0.5.166 → ciris_server-0.5.167}/bench-site/bench_results.json +0 -0
  31. {ciris_server-0.5.166 → ciris_server-0.5.167}/bench-site/index.html +0 -0
  32. {ciris_server-0.5.166 → ciris_server-0.5.167}/bench_results.json +0 -0
  33. {ciris_server-0.5.166 → ciris_server-0.5.167}/benches/alm_chain.rs +0 -0
  34. {ciris_server-0.5.166 → ciris_server-0.5.167}/benches/erasure_survival.rs +0 -0
  35. {ciris_server-0.5.166 → ciris_server-0.5.167}/benches/n_eff_scoring.rs +0 -0
  36. {ciris_server-0.5.166 → ciris_server-0.5.167}/benches/pqc_av_streaming.rs +0 -0
  37. {ciris_server-0.5.166 → ciris_server-0.5.167}/benches/replication_ingest.rs +0 -0
  38. {ciris_server-0.5.166 → ciris_server-0.5.167}/benches/sig_overhead.rs +0 -0
  39. {ciris_server-0.5.166 → ciris_server-0.5.167}/benches/stream_fanout.rs +0 -0
  40. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/.github/workflows/bench.yml +0 -0
  41. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/.github/workflows/ci.yml +0 -0
  42. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/.gitignore +0 -0
  43. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/.pre-commit-config.yaml +0 -0
  44. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/Cargo.toml +0 -0
  45. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/FSD/CIRIS_LENS_CORE.md +0 -0
  46. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/FSD/LENS_CORE_V0_5.md +0 -0
  47. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/FSD/OPEN_QUESTIONS.md +0 -0
  48. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/LICENSE +0 -0
  49. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/MISSION.md +0 -0
  50. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/README.md +0 -0
  51. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/benches/aggregate.rs +0 -0
  52. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/benches/canonicalize.rs +0 -0
  53. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/benches/project.rs +0 -0
  54. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/deny.toml +0 -0
  55. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/BENCHMARKS.md +0 -0
  56. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/COHABITATION.md +0 -0
  57. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/PRE_COMMIT.md +0 -0
  58. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/PUBLIC_SCHEMA_CONTRACT.md +0 -0
  59. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/PYPI_PUBLISH.md +0 -0
  60. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/RELEASE_NOTES.md +0 -0
  61. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/STANDARDS_COMPARISON.md +0 -0
  62. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/docs/THREAT_MODEL.md +0 -0
  63. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/extraction/json_path.rs +0 -0
  64. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/extraction/metadata.rs +0 -0
  65. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/extraction/mod.rs +0 -0
  66. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/distilbert_loader.rs +0 -0
  67. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/fields.rs +0 -0
  68. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/mod.rs +0 -0
  69. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/ner.rs +0 -0
  70. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/ort_loader.rs +0 -0
  71. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/proptests.rs +0 -0
  72. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/regex.rs +0 -0
  73. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/walker.rs +0 -0
  74. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/patterns_from_cirislens_core/scrubber/xlm_r_loader.rs +0 -0
  75. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/pyproject.toml +0 -0
  76. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/python/ciris_lens_core/__init__.py +0 -0
  77. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/audit/api.rs +0 -0
  78. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/audit/delegate.rs +0 -0
  79. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/audit/mod.rs +0 -0
  80. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/audit/pyo3.rs +0 -0
  81. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/canonical/ceg_egress.rs +0 -0
  82. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/canonical/mod.rs +0 -0
  83. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capacity/attestation.rs +0 -0
  84. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capacity/mod.rs +0 -0
  85. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capacity/score.rs +0 -0
  86. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/batch.rs +0 -0
  87. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/client.rs +0 -0
  88. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/consent.rs +0 -0
  89. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/correlation.rs +0 -0
  90. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/event.rs +0 -0
  91. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/mod.rs +0 -0
  92. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/partial.rs +0 -0
  93. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/py_engine.rs +0 -0
  94. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/capture/seal.rs +0 -0
  95. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/cohort/declared.rs +0 -0
  96. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/cohort/mod.rs +0 -0
  97. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/cohort/resourcing.rs +0 -0
  98. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/config/egress.rs +0 -0
  99. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/config/mod.rs +0 -0
  100. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/config/node.rs +0 -0
  101. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/config/retention.rs +0 -0
  102. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/config/upstream.rs +0 -0
  103. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/detector/axis_metrics.rs +0 -0
  104. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/detector/coherence_ratchet.rs +0 -0
  105. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/detector/correlated_action.rs +0 -0
  106. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/detector/distributive_access.rs +0 -0
  107. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/detector/manifold.rs +0 -0
  108. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/detector/mod.rs +0 -0
  109. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/extract/mod.rs +0 -0
  110. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/extract/projection.rs +0 -0
  111. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/ffi/mod.rs +0 -0
  112. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/ffi/pyo3.rs +0 -0
  113. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/key_id.rs +0 -0
  114. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/lib.rs +0 -0
  115. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/observability/mod.rs +0 -0
  116. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/pipeline/lifecycle.rs +0 -0
  117. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/pipeline/mod.rs +0 -0
  118. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/retention/eviction.rs +0 -0
  119. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/retention/mod.rs +0 -0
  120. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/retention/summary.rs +0 -0
  121. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/role/handler.rs +0 -0
  122. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/role/mod.rs +0 -0
  123. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/role/node.rs +0 -0
  124. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/role/relay.rs +0 -0
  125. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/role/ret_relay.rs +0 -0
  126. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scores/aggregate.rs +0 -0
  127. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scores/mod.rs +0 -0
  128. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scores/oracle.rs +0 -0
  129. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scoring/assembly.rs +0 -0
  130. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scoring/axis_calibration.rs +0 -0
  131. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scoring/calibration.rs +0 -0
  132. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scoring/capacity.rs +0 -0
  133. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scoring/mod.rs +0 -0
  134. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scoring/n_eff.rs +0 -0
  135. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/scoring/result.rs +0 -0
  136. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/signing/event.rs +0 -0
  137. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/signing/mod.rs +0 -0
  138. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/wire/mod.rs +0 -0
  139. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/src/wire/signer.rs +0 -0
  140. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/tests/parity/README.md +0 -0
  141. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/tests/parity/canonical_fixtures.json +0 -0
  142. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/tests/parity/generate_canonical_fixtures.py +0 -0
  143. {ciris_server-0.5.166 → ciris_server-0.5.167}/crates/ciris-lens-core/tests/sovereign_rlib.rs +0 -0
  144. {ciris_server-0.5.166 → ciris_server-0.5.167}/data/live_mesh_2026-06-22.json +0 -0
  145. {ciris_server-0.5.166 → ciris_server-0.5.167}/docs/SCOPE_PRIVACY.md +0 -0
  146. {ciris_server-0.5.166 → ciris_server-0.5.167}/evidence/README.md +0 -0
  147. {ciris_server-0.5.166 → ciris_server-0.5.167}/evidence/blocked_upstream.tsv +0 -0
  148. {ciris_server-0.5.166 → ciris_server-0.5.167}/evidence/cc_compliance_map.tsv +0 -0
  149. {ciris_server-0.5.166 → ciris_server-0.5.167}/evidence/cc_impl.tsv +0 -0
  150. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/mesh_propagation/main.rs +0 -0
  151. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/qa_runner/accord.rs +0 -0
  152. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/qa_runner/canonical.rs +0 -0
  153. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/qa_runner/common.rs +0 -0
  154. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/qa_runner/family.rs +0 -0
  155. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/qa_runner/main.rs +0 -0
  156. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/qa_runner/verify.rs +0 -0
  157. {ciris_server-0.5.166 → ciris_server-0.5.167}/examples/test_anchor_env.rs +0 -0
  158. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/.gitignore +0 -0
  159. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/Dockerfile +0 -0
  160. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/README.md +0 -0
  161. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/agent_boot.py +0 -0
  162. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.353.yml +0 -0
  163. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.configured.yml +0 -0
  164. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.field.yml +0 -0
  165. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.genesis.yml +0 -0
  166. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.load.yml +0 -0
  167. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.traceflow.yml +0 -0
  168. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.unblessed.yml +0 -0
  169. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/docker-compose.yml +0 -0
  170. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/lib/harness.sh +0 -0
  171. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/pack_wheel.py +0 -0
  172. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/probe.sh +0 -0
  173. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run.sh +0 -0
  174. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_353.sh +0 -0
  175. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_configured.sh +0 -0
  176. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_embedded.sh +0 -0
  177. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_field_sweep.sh +0 -0
  178. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_lifecycle.sh +0 -0
  179. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_load_repro.sh +0 -0
  180. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_scenario.sh +0 -0
  181. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_traceflow.sh +0 -0
  182. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/run_traceflow2.sh +0 -0
  183. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/scenarios/genesis_seed.sh +0 -0
  184. {ciris_server-0.5.166 → ciris_server-0.5.167}/harness/mesh-repro/scenarios/traceflow.sh +0 -0
  185. {ciris_server-0.5.166 → ciris_server-0.5.167}/installers/windows/README.md +0 -0
  186. {ciris_server-0.5.166 → ciris_server-0.5.167}/installers/windows/bundle-jre.ps1 +0 -0
  187. {ciris_server-0.5.166 → ciris_server-0.5.167}/installers/windows/ciris-server-entry.py +0 -0
  188. {ciris_server-0.5.166 → ciris_server-0.5.167}/installers/windows/ciris-server-installer.iss +0 -0
  189. {ciris_server-0.5.166 → ciris_server-0.5.167}/installers/windows/ciris-server.spec +0 -0
  190. {ciris_server-0.5.166 → ciris_server-0.5.167}/pyproject.toml +0 -0
  191. {ciris_server-0.5.166 → ciris_server-0.5.167}/python/ciris_server/__init__.py +0 -0
  192. {ciris_server-0.5.166 → ciris_server-0.5.167}/python/ciris_server/__main__.py +0 -0
  193. {ciris_server-0.5.166 → ciris_server-0.5.167}/python/ciris_server/cli.py +0 -0
  194. {ciris_server-0.5.166 → ciris_server-0.5.167}/python/ciris_server/desktop_launcher.py +0 -0
  195. {ciris_server-0.5.166 → ciris_server-0.5.167}/rust-toolchain.toml +0 -0
  196. {ciris_server-0.5.166 → ciris_server-0.5.167}/scripts/bench_report.py +0 -0
  197. {ciris_server-0.5.166 → ciris_server-0.5.167}/scripts/preflight.sh +0 -0
  198. {ciris_server-0.5.166 → ciris_server-0.5.167}/scripts/sync-client-version.sh +0 -0
  199. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord.rs +0 -0
  200. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord_custody.rs +0 -0
  201. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord_halt.rs +0 -0
  202. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord_pki/yubico_attestation_root_1.der +0 -0
  203. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord_pki/yubico_attestation_root_1.pem +0 -0
  204. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord_provision.rs +0 -0
  205. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord_reactivate.rs +0 -0
  206. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/accord_release.rs +0 -0
  207. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/adapter.rs +0 -0
  208. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/admin_ops.rs +0 -0
  209. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/ABSORPTION.md +0 -0
  210. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/api_keys.rs +0 -0
  211. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/attestation.rs +0 -0
  212. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/bootstrap.rs +0 -0
  213. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/consent.rs +0 -0
  214. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/device_auth.rs +0 -0
  215. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/device_grant.rs +0 -0
  216. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/erasure.rs +0 -0
  217. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/gate.rs +0 -0
  218. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/loopback.rs +0 -0
  219. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/mod.rs +0 -0
  220. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/oauth_link.rs +0 -0
  221. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/occurrence.rs +0 -0
  222. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/ownership.rs +0 -0
  223. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/portable_occurrence.rs +0 -0
  224. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/roles.rs +0 -0
  225. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/self_login.rs +0 -0
  226. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/session.rs +0 -0
  227. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/store.rs +0 -0
  228. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/auth/verify.rs +0 -0
  229. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/benchmarks/bench_results.rs +0 -0
  230. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/benchmarks/mesh.rs +0 -0
  231. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/benchmarks/mod.rs +0 -0
  232. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/benchmarks/scoreboard.rs +0 -0
  233. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/claim_remote.rs +0 -0
  234. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/commons_surface.rs +0 -0
  235. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/compliance.rs +0 -0
  236. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/compose.rs +0 -0
  237. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/compose_policy.rs +0 -0
  238. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/compose_status.rs +0 -0
  239. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/config.rs +0 -0
  240. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/config_api.rs +0 -0
  241. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/config_reconcile.rs +0 -0
  242. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/conformance.rs +0 -0
  243. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/delegation_transparency.rs +0 -0
  244. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/equivocation.rs +0 -0
  245. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/family.rs +0 -0
  246. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/federation_admin.rs +0 -0
  247. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/federation_delivery.rs +0 -0
  248. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/federation_nodecode.rs +0 -0
  249. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/federation_peers.rs +0 -0
  250. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/federation_surface.rs +0 -0
  251. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/field_conformance.rs +0 -0
  252. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/graph_config.rs +0 -0
  253. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/hardware_attestation.rs +0 -0
  254. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/health.rs +0 -0
  255. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/holonomic.rs +0 -0
  256. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/http_log.rs +0 -0
  257. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/identity.rs +0 -0
  258. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/identity_gate.rs +0 -0
  259. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/ids.rs +0 -0
  260. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/import.rs +0 -0
  261. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/ingest_http.rs +0 -0
  262. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/key_standing.rs +0 -0
  263. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/lib.rs +0 -0
  264. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/location.rs +0 -0
  265. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/main.rs +0 -0
  266. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/memory_api.rs +0 -0
  267. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/mesh_config_effect.rs +0 -0
  268. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/mesh_config_surface.rs +0 -0
  269. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/mesh_genesis.rs +0 -0
  270. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/mesh_relay.rs +0 -0
  271. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/node_control.rs +0 -0
  272. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/nodecode.rs +0 -0
  273. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/operations_catalogue.rs +0 -0
  274. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/operator_surface.rs +0 -0
  275. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/peer.rs +0 -0
  276. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/proxy.rs +0 -0
  277. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/py_adapter.rs +0 -0
  278. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/quorum.rs +0 -0
  279. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/radio.rs +0 -0
  280. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/replication_reconcile.rs +0 -0
  281. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/retention_loop.rs +0 -0
  282. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/safety/age.rs +0 -0
  283. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/safety/infohazard.rs +0 -0
  284. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/safety/mod.rs +0 -0
  285. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/safety/moderation.rs +0 -0
  286. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/safety/named.rs +0 -0
  287. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/safety/watchlist.rs +0 -0
  288. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/scorer/n_eff.rs +0 -0
  289. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/scorer.rs +0 -0
  290. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/self_identity.rs +0 -0
  291. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/sign_object.rs +0 -0
  292. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/system_data.rs +0 -0
  293. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/telemetry_logs.rs +0 -0
  294. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/test_bless.rs +0 -0
  295. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/trace_plane_watch.rs +0 -0
  296. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/vocabulary_surface.rs +0 -0
  297. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/withdraws_arbitrage.rs +0 -0
  298. {ciris_server-0.5.166 → ciris_server-0.5.167}/src/yubico_attestation_ca.pem +0 -0
  299. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/abuse_surface.rs +0 -0
  300. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/accord.rs +0 -0
  301. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/accord_admit_node.rs +0 -0
  302. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/admin_ops.rs +0 -0
  303. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/alm_chain.rs +0 -0
  304. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/audit_chain.rs +0 -0
  305. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/av_spine_e2e.rs +0 -0
  306. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/blocked_upstream_gate.rs +0 -0
  307. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/capacity_scorer.rs +0 -0
  308. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/capacity_self_revocation_pin.rs +0 -0
  309. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/ceg_graph_projection.rs +0 -0
  310. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/chaos_mesh.rs +0 -0
  311. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/claim_remote.rs +0 -0
  312. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/commons_surface.rs +0 -0
  313. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/compliance_map.rs +0 -0
  314. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/compose_policy.rs +0 -0
  315. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/compose_policy_manifest_arms.rs +0 -0
  316. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/config_cohort_scope.rs +0 -0
  317. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/config_reconcile.rs +0 -0
  318. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/conformance_gate.rs +0 -0
  319. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/delivery_round_diagnostics.rs +0 -0
  320. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/device_grant.rs +0 -0
  321. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/envelope_vocabulary_single_source.rs +0 -0
  322. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/equivocation.rs +0 -0
  323. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/federation_admin.rs +0 -0
  324. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/federation_key_id.rs +0 -0
  325. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/federation_peers_sideband.rs +0 -0
  326. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/federation_session_kex.rs +0 -0
  327. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/federation_tier_admission_witness.rs +0 -0
  328. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/field_conformance.rs +0 -0
  329. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/fold_consent_surface.rs +0 -0
  330. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/genesis_bundle_validate.rs +0 -0
  331. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/genesis_seed_save.rs +0 -0
  332. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/graph_config.rs +0 -0
  333. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/hardware_class_admission.rs +0 -0
  334. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/health_contract_hashes.rs +0 -0
  335. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/ingest_http.rs +0 -0
  336. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/localization_bundle_shape.rs +0 -0
  337. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/localization_gate.rs +0 -0
  338. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/mesh_config_consumers.rs +0 -0
  339. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/mesh_config_surface.rs +0 -0
  340. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/mesh_seed_e2e.rs +0 -0
  341. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/mesh_seed_keyplane_e2e.rs +0 -0
  342. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/nat_traversal.rs +0 -0
  343. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/nodecode.rs +0 -0
  344. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/noise_floor.rs +0 -0
  345. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/noise_floor_verdicts.rs +0 -0
  346. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/occurrence.rs +0 -0
  347. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/occurrence_kex_e2e.rs +0 -0
  348. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/operator_surface.rs +0 -0
  349. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/ownership.rs +0 -0
  350. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/peer_replication.rs +0 -0
  351. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/portable_occurrence.rs +0 -0
  352. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates/boundary.rs +0 -0
  353. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates/ffi_symbols.rs +0 -0
  354. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates/planes.rs +0 -0
  355. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates/substrate.rs +0 -0
  356. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates/surfaces.rs +0 -0
  357. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates/trust_root.rs +0 -0
  358. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/release_gates.rs +0 -0
  359. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/replication.rs +0 -0
  360. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/replication_policy_gate.rs +0 -0
  361. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/replication_reconcile.rs +0 -0
  362. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/retention_loop.rs +0 -0
  363. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/revoked_after_enforcement.rs +0 -0
  364. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/root_bootstrap.rs +0 -0
  365. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/safety.rs +0 -0
  366. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/seed_vocabulary.rs +0 -0
  367. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/self_identity_fold.rs +0 -0
  368. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/stream_sth_consistency.rs +0 -0
  369. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/substrate_contract_gate.rs +0 -0
  370. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/support/accord_batch.rs +0 -0
  371. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/support/localization.rs +0 -0
  372. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/support/log_capture.rs +0 -0
  373. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/support/revocation.rs +0 -0
  374. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/trace_plane_release_gate.rs +0 -0
  375. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/trace_round_e2e.rs +0 -0
  376. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/tracing_reinit.rs +0 -0
  377. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/tracing_sink.rs +0 -0
  378. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/trust_root_qa.rs +0 -0
  379. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/wire_vocabulary_gate.rs +0 -0
  380. {ciris_server-0.5.166 → ciris_server-0.5.167}/tests/withdraws_arbitrage.rs +0 -0
  381. {ciris_server-0.5.166 → ciris_server-0.5.167}/tools/audit_cohort_scope_callers.py +0 -0
  382. {ciris_server-0.5.166 → ciris_server-0.5.167}/tools/build-android-wheel.sh +0 -0
  383. {ciris_server-0.5.166 → ciris_server-0.5.167}/tools/check_blocked_upstream.sh +0 -0
  384. {ciris_server-0.5.166 → ciris_server-0.5.167}/tools/check_evidence.py +0 -0
@@ -224,6 +224,58 @@ jobs:
224
224
  # a wheel that grows ~1 MB a release forever. The right answer to this
225
225
  # gate firing is to find the growth (v0.5.157: 19.8 MB of Skiko nobody
226
226
  # loads), never to raise the number.
227
+ # ── The credential is IN THE ARTIFACT, not merely in the YAML (#387) ───
228
+ #
229
+ # 0.5.165 and 0.5.166 both shipped nine wheels with no built-in Google.
230
+ # The injection was present in this file the whole time; publish-pypi.yml
231
+ # called this workflow WITHOUT `secrets: inherit`, so every
232
+ # `${{ secrets.* }}` here resolved to the empty string — no warning, no
233
+ # failure, just a blank. option_env! then baked nothing, and
234
+ # ProviderConfigStore's both-halves-or-nothing rule left the store empty.
235
+ #
236
+ # The gate that was supposed to prevent this asserted the YAML instead:
237
+ # it read a HARDCODED list of the two files already known to be fixed and
238
+ # confirmed they were still fixed. It could not discover a caller that
239
+ # dropped the secrets, because it never asked about callers at all.
240
+ #
241
+ # So this asks the only question that cannot be answered by intent: is the
242
+ # client id actually inside the binary we are about to publish. On tags
243
+ # only, because that is the path where the secrets MUST be present — on a
244
+ # fork PR they legitimately are not, and failing there would be noise.
245
+ - name: Built-in OAuth credential is present in the wheel (tags only)
246
+ if: startsWith(github.ref, 'refs/tags/v')
247
+ shell: bash
248
+ run: |
249
+ set -euo pipefail
250
+ WHL=$(ls dist/*.whl | head -1)
251
+ TMP=$(mktemp -d)
252
+ unzip -q "$WHL" -d "$TMP"
253
+ LIB=$(find "$TMP" \( -name '_native*.so' -o -name '_native*.pyd' -o -name '_native*.dylib' \) | head -1)
254
+ test -n "$LIB" || { echo "::error::no _native lib inside $WHL"; exit 1; }
255
+ # Match the SHAPE, never the value: a Google desktop client id ends in
256
+ # .apps.googleusercontent.com. Grepping for the literal id would put a
257
+ # credential in a public workflow file and in every log line.
258
+ # NO PIPE INTO `grep -q`. This is the EPIPE trap the #232 step above
259
+ # documents, and it bit here on the very first tag: `grep -q` exits
260
+ # the moment it matches, closing the pipe while `strings` is still
261
+ # writing; `strings` dies with EPIPE; and under `set -o pipefail` the
262
+ # PIPELINE reports failure — so a wheel that DOES carry the credential
263
+ # is reported as missing it. macOS's strings is strict about the
264
+ # flush, GNU's is not, so it false-failed macOS only while linux
265
+ # passed: a per-platform lie from a gate written to catch a
266
+ # per-platform lie. Dump to a file, then grep the file.
267
+ SFILE=$(mktemp)
268
+ strings "$LIB" > "$SFILE" 2>/dev/null || true
269
+ if [ ! -s "$SFILE" ]; then
270
+ echo "::error::strings produced no output for $LIB — INSTRUMENT failure, not evidence about the wheel."
271
+ exit 1
272
+ fi
273
+ if grep -q 'apps\.googleusercontent\.com' "$SFILE"; then
274
+ echo " OK - a built-in Google client id is compiled into $(basename "$WHL")"
275
+ else
276
+ echo "::error::$(basename "$WHL") has NO built-in Google client id. The secrets did not reach the build — check that every caller of build-wheels.yml passes 'secrets: inherit' (CIRISServer#387). This wheel would offer a Google button that cannot work."
277
+ exit 1
278
+ fi
227
279
  - name: Wheel size gate
228
280
  shell: bash
229
281
  run: |
@@ -539,6 +591,22 @@ jobs:
539
591
  ${{ steps.cachekey.outputs.key-any }}*
540
592
  - name: Build wheel (maturin)
541
593
  uses: PyO3/maturin-action@v1
594
+ # THE SAME INJECTION THE run:-STYLE LEGS HAVE (CIRISServer#387). These legs
595
+ # build their wheel through the ACTION rather than a `maturin build` run
596
+ # step, and that difference alone is why they never received the
597
+ # credential: the original fix, and the gate written to enforce it, both
598
+ # keyed on the literal string `maturin build --release`. Two spellings of
599
+ # "build a wheel", one of them invisible to every check — so macOS and
600
+ # Windows shipped with no built-in Google even on direct runs, while linux
601
+ # and android were fine. A per-platform difference nobody would look for.
602
+ #
603
+ # option_env! reads the COMPILE-TIME environment, so these belong on the
604
+ # step that compiles — not the job, not a later step.
605
+ env:
606
+ CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_ID }}
607
+ CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET }}
608
+ CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_ID }}
609
+ CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_SECRET }}
542
610
  with:
543
611
  target: ${{ matrix.target }}
544
612
  rust-toolchain: "1.97.0"
@@ -577,6 +645,58 @@ jobs:
577
645
  # a wheel that grows ~1 MB a release forever. The right answer to this
578
646
  # gate firing is to find the growth (v0.5.157: 19.8 MB of Skiko nobody
579
647
  # loads), never to raise the number.
648
+ # ── The credential is IN THE ARTIFACT, not merely in the YAML (#387) ───
649
+ #
650
+ # 0.5.165 and 0.5.166 both shipped nine wheels with no built-in Google.
651
+ # The injection was present in this file the whole time; publish-pypi.yml
652
+ # called this workflow WITHOUT `secrets: inherit`, so every
653
+ # `${{ secrets.* }}` here resolved to the empty string — no warning, no
654
+ # failure, just a blank. option_env! then baked nothing, and
655
+ # ProviderConfigStore's both-halves-or-nothing rule left the store empty.
656
+ #
657
+ # The gate that was supposed to prevent this asserted the YAML instead:
658
+ # it read a HARDCODED list of the two files already known to be fixed and
659
+ # confirmed they were still fixed. It could not discover a caller that
660
+ # dropped the secrets, because it never asked about callers at all.
661
+ #
662
+ # So this asks the only question that cannot be answered by intent: is the
663
+ # client id actually inside the binary we are about to publish. On tags
664
+ # only, because that is the path where the secrets MUST be present — on a
665
+ # fork PR they legitimately are not, and failing there would be noise.
666
+ - name: Built-in OAuth credential is present in the wheel (tags only)
667
+ if: startsWith(github.ref, 'refs/tags/v')
668
+ shell: bash
669
+ run: |
670
+ set -euo pipefail
671
+ WHL=$(ls dist/*.whl | head -1)
672
+ TMP=$(mktemp -d)
673
+ unzip -q "$WHL" -d "$TMP"
674
+ LIB=$(find "$TMP" \( -name '_native*.so' -o -name '_native*.pyd' -o -name '_native*.dylib' \) | head -1)
675
+ test -n "$LIB" || { echo "::error::no _native lib inside $WHL"; exit 1; }
676
+ # Match the SHAPE, never the value: a Google desktop client id ends in
677
+ # .apps.googleusercontent.com. Grepping for the literal id would put a
678
+ # credential in a public workflow file and in every log line.
679
+ # NO PIPE INTO `grep -q`. This is the EPIPE trap the #232 step above
680
+ # documents, and it bit here on the very first tag: `grep -q` exits
681
+ # the moment it matches, closing the pipe while `strings` is still
682
+ # writing; `strings` dies with EPIPE; and under `set -o pipefail` the
683
+ # PIPELINE reports failure — so a wheel that DOES carry the credential
684
+ # is reported as missing it. macOS's strings is strict about the
685
+ # flush, GNU's is not, so it false-failed macOS only while linux
686
+ # passed: a per-platform lie from a gate written to catch a
687
+ # per-platform lie. Dump to a file, then grep the file.
688
+ SFILE=$(mktemp)
689
+ strings "$LIB" > "$SFILE" 2>/dev/null || true
690
+ if [ ! -s "$SFILE" ]; then
691
+ echo "::error::strings produced no output for $LIB — INSTRUMENT failure, not evidence about the wheel."
692
+ exit 1
693
+ fi
694
+ if grep -q 'apps\.googleusercontent\.com' "$SFILE"; then
695
+ echo " OK - a built-in Google client id is compiled into $(basename "$WHL")"
696
+ else
697
+ echo "::error::$(basename "$WHL") has NO built-in Google client id. The secrets did not reach the build — check that every caller of build-wheels.yml passes 'secrets: inherit' (CIRISServer#387). This wheel would offer a Google button that cannot work."
698
+ exit 1
699
+ fi
580
700
  - name: Wheel size gate
581
701
  shell: bash
582
702
  run: |
@@ -832,6 +952,22 @@ jobs:
832
952
  ${{ steps.cachekey.outputs.key-any }}*
833
953
  - name: Build wheel (maturin)
834
954
  uses: PyO3/maturin-action@v1
955
+ # THE SAME INJECTION THE run:-STYLE LEGS HAVE (CIRISServer#387). These legs
956
+ # build their wheel through the ACTION rather than a `maturin build` run
957
+ # step, and that difference alone is why they never received the
958
+ # credential: the original fix, and the gate written to enforce it, both
959
+ # keyed on the literal string `maturin build --release`. Two spellings of
960
+ # "build a wheel", one of them invisible to every check — so macOS and
961
+ # Windows shipped with no built-in Google even on direct runs, while linux
962
+ # and android were fine. A per-platform difference nobody would look for.
963
+ #
964
+ # option_env! reads the COMPILE-TIME environment, so these belong on the
965
+ # step that compiles — not the job, not a later step.
966
+ env:
967
+ CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_ID }}
968
+ CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET }}
969
+ CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_ID }}
970
+ CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_SECRET }}
835
971
  with:
836
972
  target: x64
837
973
  rust-toolchain: "1.97.0"
@@ -869,6 +1005,58 @@ jobs:
869
1005
  # a wheel that grows ~1 MB a release forever. The right answer to this
870
1006
  # gate firing is to find the growth (v0.5.157: 19.8 MB of Skiko nobody
871
1007
  # loads), never to raise the number.
1008
+ # ── The credential is IN THE ARTIFACT, not merely in the YAML (#387) ───
1009
+ #
1010
+ # 0.5.165 and 0.5.166 both shipped nine wheels with no built-in Google.
1011
+ # The injection was present in this file the whole time; publish-pypi.yml
1012
+ # called this workflow WITHOUT `secrets: inherit`, so every
1013
+ # `${{ secrets.* }}` here resolved to the empty string — no warning, no
1014
+ # failure, just a blank. option_env! then baked nothing, and
1015
+ # ProviderConfigStore's both-halves-or-nothing rule left the store empty.
1016
+ #
1017
+ # The gate that was supposed to prevent this asserted the YAML instead:
1018
+ # it read a HARDCODED list of the two files already known to be fixed and
1019
+ # confirmed they were still fixed. It could not discover a caller that
1020
+ # dropped the secrets, because it never asked about callers at all.
1021
+ #
1022
+ # So this asks the only question that cannot be answered by intent: is the
1023
+ # client id actually inside the binary we are about to publish. On tags
1024
+ # only, because that is the path where the secrets MUST be present — on a
1025
+ # fork PR they legitimately are not, and failing there would be noise.
1026
+ - name: Built-in OAuth credential is present in the wheel (tags only)
1027
+ if: startsWith(github.ref, 'refs/tags/v')
1028
+ shell: bash
1029
+ run: |
1030
+ set -euo pipefail
1031
+ WHL=$(ls dist/*.whl | head -1)
1032
+ TMP=$(mktemp -d)
1033
+ unzip -q "$WHL" -d "$TMP"
1034
+ LIB=$(find "$TMP" \( -name '_native*.so' -o -name '_native*.pyd' -o -name '_native*.dylib' \) | head -1)
1035
+ test -n "$LIB" || { echo "::error::no _native lib inside $WHL"; exit 1; }
1036
+ # Match the SHAPE, never the value: a Google desktop client id ends in
1037
+ # .apps.googleusercontent.com. Grepping for the literal id would put a
1038
+ # credential in a public workflow file and in every log line.
1039
+ # NO PIPE INTO `grep -q`. This is the EPIPE trap the #232 step above
1040
+ # documents, and it bit here on the very first tag: `grep -q` exits
1041
+ # the moment it matches, closing the pipe while `strings` is still
1042
+ # writing; `strings` dies with EPIPE; and under `set -o pipefail` the
1043
+ # PIPELINE reports failure — so a wheel that DOES carry the credential
1044
+ # is reported as missing it. macOS's strings is strict about the
1045
+ # flush, GNU's is not, so it false-failed macOS only while linux
1046
+ # passed: a per-platform lie from a gate written to catch a
1047
+ # per-platform lie. Dump to a file, then grep the file.
1048
+ SFILE=$(mktemp)
1049
+ strings "$LIB" > "$SFILE" 2>/dev/null || true
1050
+ if [ ! -s "$SFILE" ]; then
1051
+ echo "::error::strings produced no output for $LIB — INSTRUMENT failure, not evidence about the wheel."
1052
+ exit 1
1053
+ fi
1054
+ if grep -q 'apps\.googleusercontent\.com' "$SFILE"; then
1055
+ echo " OK - a built-in Google client id is compiled into $(basename "$WHL")"
1056
+ else
1057
+ echo "::error::$(basename "$WHL") has NO built-in Google client id. The secrets did not reach the build — check that every caller of build-wheels.yml passes 'secrets: inherit' (CIRISServer#387). This wheel would offer a Google button that cannot work."
1058
+ exit 1
1059
+ fi
872
1060
  - name: Wheel size gate
873
1061
  shell: bash
874
1062
  run: |
@@ -229,6 +229,18 @@ jobs:
229
229
  # output dir (does not affect the sccache compile keys).
230
230
  - name: Build the ciris-server wheel (maturin-action, shared sccache)
231
231
  uses: PyO3/maturin-action@v1
232
+ # The desktop installer IS the Google desktop client, so of all the
233
+ # wheels this repo builds, this is the one that most needs the built-in
234
+ # credential — and it had none (CIRISServer#387). Missed for the same
235
+ # reason macOS and Windows were: the injection and the gate enforcing it
236
+ # both keyed on `maturin build --release`, and this is a maturin-ACTION
237
+ # step. option_env! reads the compile-time environment, so it goes here,
238
+ # on the step that compiles.
239
+ env:
240
+ CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_ID }}
241
+ CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET }}
242
+ CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_ID }}
243
+ CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.CIRIS_MOBILE_GOOGLE_OAUTH_CLIENT_SECRET }}
232
244
  with:
233
245
  target: x64
234
246
  rust-toolchain: "1.97.0"
@@ -40,6 +40,19 @@ jobs:
40
40
  # (upstream + CI saves); the server layer compiles + saves on this tag.
41
41
  build:
42
42
  uses: ./.github/workflows/build-wheels.yml
43
+ # secrets: inherit is LOAD-BEARING, not boilerplate. build-wheels.yml is a
44
+ # reusable workflow, and a called workflow receives NO secrets from its
45
+ # caller unless they are inherited or mapped explicitly. Without this line
46
+ # `${{ secrets.CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_ID }}` inside it evaluates
47
+ # to the EMPTY STRING — silently, with no warning and no failure — so
48
+ # option_env! bakes nothing and ProviderConfigStore's both-halves-or-nothing
49
+ # rule leaves the wheel with no built-in Google at all.
50
+ #
51
+ # That is exactly what shipped in 0.5.165 and 0.5.166 (CIRISServer#387).
52
+ # Direct runs of build-wheels.yml had the secrets and looked correct; only
53
+ # the TAG path, which goes through this call, produced blank wheels. The
54
+ # difference was invisible in every place anyone was looking.
55
+ secrets: inherit
43
56
 
44
57
  # ── Gate: the linux wheel must pass cohabitation conformance ───────────────
45
58
  # A failure here BLOCKS publish (the substrate-sister discipline). Runs the
@@ -83,3 +83,9 @@ jobs:
83
83
  contents: read
84
84
  packages: write
85
85
  uses: ./.github/workflows/build-wheels.yml
86
+ # Inherit for the same reason publish-pypi.yml does (CIRISServer#387), and
87
+ # for one more: this job WARMS THE BUILD CACHE. A cache layer compiled with
88
+ # an empty credential is a poisoned artifact that a later release build can
89
+ # restore and reuse, which would reintroduce the blank wheel through a door
90
+ # nobody is watching.
91
+ secrets: inherit
@@ -1001,7 +1001,7 @@ dependencies = [
1001
1001
 
1002
1002
  [[package]]
1003
1003
  name = "ciris-server"
1004
- version = "0.5.166"
1004
+ version = "0.5.167"
1005
1005
  dependencies = [
1006
1006
  "anyhow",
1007
1007
  "async-trait",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "ciris-server"
3
- version = "0.5.166" # 0.5.166 = the re-export cut. ciris-server now does `pub use ciris_persist`, so a consumer declares THIS crate alone and reaches persist as `ciris_server::ciris_persist::…`. The Engine re-export (0.5.x) had the right idea and stopped one type short: an adapter needs the federation types, the envelope paths, CallerScope and the canonicalizer too, so every consumer carried its OWN ciris-persist git pin beside the server one. That is a SECOND source of truth for one substrate, and the failure mode is not a compile error — cargo resolves BOTH instances happily, and then `Engine` from one is a different TYPE from `Engine` in the other. Same name, same fields, same version even; different crate instance, so it does not unify. That is exactly the cross-wheel type-identity bug (CIRISPersist#109) the one-wheel PyO3 re-export was built to make impossible, arriving by the source-tree door instead. Keeping two pins equal by hand is not a fix, it is a chore that stays correct until someone bumps one of them. CIRISStatus 0.3.37 is the first consumer to drop its pin: 18/18 green, and `cargo tree -i ciris-persist` now shows ONE instance reached only through ciris-server. Features stay additive and unified, so a consumer inherits this crate's persist features rather than requesting its own. Substrate unchanged: persist v30.10.0 / edge v15.21.8 / verify v13.0.0.
3
+ version = "0.5.167" # 0.5.167 = the blank-wheel fix. EVERY published wheel of 0.5.165 and 0.5.166 shipped with NO built-in Google client, and the reason is a seam, not a file. build-wheels.yml injects the credential correctly and always did; publish-pypi.yml CALLS it as a reusable workflow, and a called workflow receives no secrets unless the caller inherits them — so every `secrets.*` in the callee resolved to the EMPTY STRING, with no warning and no failure. option_env! then baked nothing, ProviderConfigStore's both-halves-or-nothing rule left the store empty, and nine wheels went out offering a Google button that could never work. Direct runs of build-wheels.yml had the secrets and looked right; so did every wheel I built locally with the env exported. The one path nobody exercised was the only one that produces what users install. CIRISAgent found it (#387) by checking the artifact rather than the intent — they build no Rust, so they could not have patched around it. THE GATE THAT SHOULD HAVE CAUGHT IT WAS GREEN BY CONSTRUCTION: it iterated a HARDCODED list of the two workflow files already fixed and confirmed they were still fixed. Its denominator was its numerator. It now DISCOVERS every wheel-producing workflow and every reusable-workflow call site, refuses a zero denominator, and strips comments before matching — the first rewrite passed because the explanatory comment containing the words `secrets: inherit` satisfied its own check. The authoritative gate is now on the ARTIFACT: on tags, every leg greps the built cdylib for a client id (by SHAPE, never the value) and fails the release if it is absent — verified against the real blank 0.5.166 wheel and a good local one. Also #387 ask 2: /v1/auth/oauth/{provider}/login refuses TYPED at the door instead of 307-ing to the provider with `client_id=`, which surfaced the failure three hops away wearing Google's branding. Absent and blank get the same answer, and the same reason_id the code exchange uses. Substrate unchanged: persist v30.10.0 / edge v15.21.8 / verify v13.0.0.
4
4
  edition = "2021"
5
5
  # MSRV floor is set by the substrate: ciris-verify v5.2.0 requires 1.86
6
6
  # (persist v6.0.1 is 1.83). Build with the higher of the two.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ciris-server
3
- Version: 0.5.166
3
+ Version: 0.5.167
4
4
  License-File: LICENSE
5
5
  Summary: The fabric node — the federation's headless cohabitation runtime (registry + lens [+ node] over one shared substrate), as the abi3 wheel CIRISAgent consumes. agent = fabric node + brain.
6
6
  Author-email: Eric Moore <eric@ciris.ai>
@@ -8,14 +8,14 @@
8
8
  # crate@version == "open" marks a DECLARED GAP (see below).
9
9
  #
10
10
  # ─── RESOLVED ──────────────────────────────────────────────────────────────────
11
- 3.1 CLM-nsproc-dimension CIRISServer src/compose_policy.rs#polarity_for ciris-server@v0.5.166
12
- 4.4.2 CLM-nsproc-aggregation-policy CIRISServer src/compose_policy.rs#polarity_for ciris-server@v0.5.166
13
- 4.4.3.4.3 CLM-nsproc-cohort-scope CIRISServer src/graph_config.rs#set_config ciris-server@v0.5.166
14
- 4.2.2.1 CLM-nsproc-attestation-evidence CIRISServer src/hardware_attestation.rs#admit_hardware_class_against_root ciris-server@v0.5.166
15
- 2.6.6.1 CLM-location CIRISServer src/location.rs#mint_location_proof ciris-server@v0.5.166
16
- 2.6.6 CLM-canonicalization-cell CIRISServer src/location.rs#mint_location_proof ciris-server@v0.5.166
17
- 3.4.5 CLM-capacity-score CIRISServer src/scorer.rs#score_and_emit ciris-server@v0.5.166
18
- 3.3.7 CLM-consent-directed CIRISServer src/peer.rs#emit_replication_consent ciris-server@v0.5.166
11
+ 3.1 CLM-nsproc-dimension CIRISServer src/compose_policy.rs#polarity_for ciris-server@v0.5.167
12
+ 4.4.2 CLM-nsproc-aggregation-policy CIRISServer src/compose_policy.rs#polarity_for ciris-server@v0.5.167
13
+ 4.4.3.4.3 CLM-nsproc-cohort-scope CIRISServer src/graph_config.rs#set_config ciris-server@v0.5.167
14
+ 4.2.2.1 CLM-nsproc-attestation-evidence CIRISServer src/hardware_attestation.rs#admit_hardware_class_against_root ciris-server@v0.5.167
15
+ 2.6.6.1 CLM-location CIRISServer src/location.rs#mint_location_proof ciris-server@v0.5.167
16
+ 2.6.6 CLM-canonicalization-cell CIRISServer src/location.rs#mint_location_proof ciris-server@v0.5.167
17
+ 3.4.5 CLM-capacity-score CIRISServer src/scorer.rs#score_and_emit ciris-server@v0.5.167
18
+ 3.3.7 CLM-consent-directed CIRISServer src/peer.rs#emit_replication_consent ciris-server@v0.5.167
19
19
  #
20
20
  # ─── DECLARED GAPS ─────────────────────────────────────────────────────────────
21
21
  # Controls the Constitution attributes to this repo that are NOT enforced here.
@@ -1206,11 +1206,46 @@ async fn oauth_login(
1206
1206
  Path(provider): Path<String>,
1207
1207
  Query(q): Query<LoginQuery>,
1208
1208
  ) -> Response {
1209
+ // REFUSE AT THE DOOR, TYPED (CIRISServer#387).
1210
+ //
1211
+ // This is the first thing a user touches — the button — and until now the
1212
+ // two ways it can be unusable both ended somewhere unhelpful: an
1213
+ // unconfigured provider returned an untyped `{"error": "..."}` string a
1214
+ // client cannot localize, and a HALF-configured one (client id present but
1215
+ // blank, which is what a build with only one of the two secrets injected
1216
+ // produces) sailed through and 307'd the user to the provider with
1217
+ // `client_id=`. Google answers that with its own error page, so the failure
1218
+ // surfaced three hops away wearing someone else's branding.
1219
+ //
1220
+ // A button that cannot work is worse than no button, and the honest place
1221
+ // to say so is here rather than at the code exchange the user never reaches.
1222
+ // Same `reason_id` the exchange already uses, so a client binds ONE key.
1209
1223
  let client_id = {
1210
1224
  let store = st.providers.lock().unwrap();
1211
1225
  match store.by_provider.get(&provider) {
1212
- Some(c) => c.client_id.clone(),
1213
- None => return err(StatusCode::NOT_FOUND, "provider not configured"),
1226
+ Some(c) if !c.client_id.trim().is_empty() => c.client_id.clone(),
1227
+ // Configured-but-blank and absent are the same answer to the user
1228
+ // ("this node cannot sign you in with {provider}"), and deliberately
1229
+ // NOT distinguished in the response: which half of a credential a
1230
+ // build is missing is an operator fact, not a visitor's.
1231
+ _ => {
1232
+ let e = OAuthResolveError::NoLocalIdentity {
1233
+ provider: provider.clone(),
1234
+ };
1235
+ tracing::warn!(
1236
+ provider = %provider,
1237
+ "oauth login refused: no usable client id for this provider — the wheel was \
1238
+ built without the credential, or with only half of it (CIRISServer#387)"
1239
+ );
1240
+ return (
1241
+ StatusCode::NOT_FOUND,
1242
+ Json(serde_json::json!({
1243
+ "error": e.message(),
1244
+ "reason_id": e.reason_id(),
1245
+ })),
1246
+ )
1247
+ .into_response();
1248
+ }
1214
1249
  }
1215
1250
  };
1216
1251
  // issue #846 redirect-uri validation: only relative or https allowed.
@@ -1718,6 +1753,55 @@ mod tests {
1718
1753
  );
1719
1754
  }
1720
1755
 
1756
+ /// **A button that cannot work must refuse at the door** (CIRISServer#387).
1757
+ ///
1758
+ /// Both unusable states are pinned, because the second one is the reason
1759
+ /// this exists. An ABSENT provider was already a 404, but an untyped one no
1760
+ /// client could localize. A BLANK one — the shape a build produces when only
1761
+ /// one of the two credential halves reaches it — passed the lookup and
1762
+ /// 307'd the user to Google with `client_id=`, so the failure surfaced three
1763
+ /// hops away wearing Google's branding instead of ours.
1764
+ ///
1765
+ /// The wheels published as 0.5.165 and 0.5.166 had NEITHER half: the tag
1766
+ /// path called build-wheels.yml without `secrets: inherit`, so every
1767
+ /// `${{ secrets.* }}` in the callee resolved to an empty string, silently.
1768
+ /// The store's both-halves-or-nothing rule then left it empty, which is why
1769
+ /// this reads as "absent" rather than "blank" on those artifacts.
1770
+ #[test]
1771
+ fn a_provider_with_no_usable_client_id_is_refused_not_redirected() {
1772
+ // The store is both-halves-or-nothing, so a credential-less build has
1773
+ // no entry at all...
1774
+ let empty = ProviderConfigStore::default();
1775
+ assert!(
1776
+ !empty.by_provider.contains_key("google"),
1777
+ "a build with no injected credential must not offer a google entry"
1778
+ );
1779
+
1780
+ // ...and a hand-written blank one must be treated the same way by the
1781
+ // handler's guard, never redirected with `client_id=`.
1782
+ let blank = ProviderConfig {
1783
+ client_id: " ".to_string(),
1784
+ client_secret: String::new(),
1785
+ metadata: serde_json::Value::Null,
1786
+ };
1787
+ assert!(
1788
+ blank.client_id.trim().is_empty(),
1789
+ "the guard keys on a TRIMMED emptiness check — whitespace is not a client id"
1790
+ );
1791
+
1792
+ // And the refusal a user receives carries the SAME stable id the code
1793
+ // exchange uses, so a client binds one localization key for "this node
1794
+ // cannot sign you in with that account" rather than two.
1795
+ let e = OAuthResolveError::NoLocalIdentity {
1796
+ provider: "google".to_string(),
1797
+ };
1798
+ assert_eq!(e.reason_id(), "auth.oauth.no_local_identity");
1799
+ assert!(
1800
+ !e.message().is_empty(),
1801
+ "an English fallback must exist for a client whose bundle lacks the id"
1802
+ );
1803
+ }
1804
+
1721
1805
  #[test]
1722
1806
  fn redirect_validation_fails_closed() {
1723
1807
  assert!(is_safe_redirect("/dashboard"));
@@ -1547,27 +1547,146 @@ fn gate0_no_oauth_credential_is_committed_to_source() {
1547
1547
  );
1548
1548
  }
1549
1549
 
1550
- /// Every wheel-producing build leg injects the OAuth credentials.
1550
+ /// Every wheel-producing build leg injects the OAuth credentials, AND every
1551
+ /// caller of a reusable wheel workflow passes its secrets down.
1551
1552
  ///
1552
- /// One leg missing them ships a wheel with no built-in Google while every other
1553
- /// platform has one — a per-platform difference nobody would think to look for.
1553
+ /// # The version of this gate that shipped two blank releases
1554
+ ///
1555
+ /// It read a HARDCODED list of two workflow files — the two that were already
1556
+ /// fixed — and asserted they were still fixed. So it could only ever confirm
1557
+ /// work already done. `publish-pypi.yml` was never in the list, and the wheels
1558
+ /// users actually install are built through it.
1559
+ ///
1560
+ /// The real defect it could not see: `publish-pypi.yml` calls
1561
+ /// `build-wheels.yml` as a REUSABLE workflow, and a called workflow receives no
1562
+ /// secrets unless the caller inherits or maps them. Every `${{ secrets.* }}` in
1563
+ /// the callee then resolves to the EMPTY STRING — no warning, no failure. The
1564
+ /// injection was present and correct in the file the whole time; it was handed
1565
+ /// nothing to inject. 0.5.165 and 0.5.166 shipped nine wheels each with no
1566
+ /// built-in Google (CIRISServer#387).
1567
+ ///
1568
+ /// Two lessons, both encoded below. DISCOVER the denominator instead of listing
1569
+ /// it — a check whose scope is "the files I already edited" has a denominator
1570
+ /// equal to its numerator and is green by construction. And check the SEAM, not
1571
+ /// just the endpoints: both files were individually correct, and the defect
1572
+ /// lived in the call between them.
1573
+ ///
1574
+ /// The authoritative check is still in CI, against the built artifact
1575
+ /// (`build-wheels.yml`: "Built-in OAuth credential is present in the wheel").
1576
+ /// Only that one can catch a secret that exists but arrives empty. This gate
1577
+ /// catches the same class earlier and without a build.
1554
1578
  #[test]
1555
1579
  fn gate0_every_wheel_build_injects_the_oauth_client() {
1556
- for wf in [
1557
- ".github/workflows/build-wheels.yml",
1558
- ".github/workflows/conformance.yml",
1559
- ] {
1560
- let text = std::fs::read_to_string(wf).unwrap_or_default();
1561
- let builds = text.matches("maturin build --release").count();
1562
- let injected = text
1563
- .matches("CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.")
1580
+ let dir = std::path::Path::new(".github/workflows");
1581
+ let mut checked = 0usize;
1582
+ let mut problems: Vec<String> = Vec::new();
1583
+
1584
+ let Ok(entries) = std::fs::read_dir(dir) else {
1585
+ panic!("{} is unreadable — this gate cannot run", dir.display());
1586
+ };
1587
+ let files: Vec<std::path::PathBuf> = entries
1588
+ .flatten()
1589
+ .map(|e| e.path())
1590
+ .filter(|p| p.extension().is_some_and(|x| x == "yml" || x == "yaml"))
1591
+ .collect();
1592
+
1593
+ for wf in &files {
1594
+ let raw = std::fs::read_to_string(wf).unwrap_or_default();
1595
+ // COMMENTS STRIPPED BEFORE ANY COUNTING. This is the third time in one
1596
+ // change that a check was satisfied by its own documentation: the notes
1597
+ // explaining the fix quote the very strings this gate greps for
1598
+ // (`maturin build --release`, `secrets: inherit`), so an un-stripped
1599
+ // scan counts prose as configuration. A gate its own comment can
1600
+ // satisfy is green by construction — the exact failure it replaced.
1601
+ let text: String = raw
1602
+ .lines()
1603
+ .filter(|l| !l.trim_start().starts_with('#'))
1604
+ .collect::<Vec<_>>()
1605
+ .join("\n");
1606
+ let name = wf
1607
+ .file_name()
1608
+ .unwrap_or_default()
1609
+ .to_string_lossy()
1610
+ .to_string();
1611
+
1612
+ // (a) A workflow that BUILDS a wheel must inject on every build step.
1613
+ //
1614
+ // BOTH SPELLINGS COUNT. There are two ways this repo builds a wheel — a
1615
+ // `maturin build --release` run step (linux, android) and a
1616
+ // `PyO3/maturin-action` step (macos, windows) — and counting only the
1617
+ // first is how macOS and Windows shipped with no built-in Google while
1618
+ // linux and android were fine. The fix keyed on one spelling, and so did
1619
+ // the gate written to enforce the fix, so the gate agreed with the fix
1620
+ // and both were half-blind. A per-platform difference nobody would think
1621
+ // to look for (CIRISServer#387).
1622
+ //
1623
+ // The sdist step also uses maturin-action but compiles no cdylib, so it
1624
+ // is excluded by name rather than by counting it and expecting an
1625
+ // injection that would do nothing.
1626
+ let run_builds = text.matches("maturin build --release").count();
1627
+ let action_builds = text
1628
+ .match_indices("uses: PyO3/maturin-action@v1")
1629
+ .filter(|(i, _)| {
1630
+ // Look back at the step's `- name:` line; the sdist step is the
1631
+ // one that does not produce a cdylib.
1632
+ let head = &text[..*i];
1633
+ let last_name = head.rfind("- name:").map(|n| &head[n..]).unwrap_or("");
1634
+ !last_name.contains("sdist")
1635
+ })
1564
1636
  .count();
1565
- assert_eq!(
1566
- builds, injected,
1567
- "{wf}: {builds} maturin build step(s) but {injected} credential injection(s) — a \
1568
- leg without them produces a wheel whose Google sign-in is silently absent"
1569
- );
1637
+ let builds = run_builds + action_builds;
1638
+ if builds > 0 {
1639
+ checked += 1;
1640
+ let injected = text
1641
+ .matches("CIRIS_DESKTOP_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.")
1642
+ .count();
1643
+ if injected != builds {
1644
+ problems.push(format!(
1645
+ "{name}: {builds} `maturin build --release` step(s) but {injected} \
1646
+ credential injection(s) — a leg without them ships a wheel whose Google \
1647
+ sign-in is silently absent on that platform alone"
1648
+ ));
1649
+ }
1650
+ }
1651
+
1652
+ // (b) A workflow that CALLS the reusable wheel builder must pass secrets
1653
+ // down, or the callee's injections resolve to empty strings.
1654
+ for (i, _) in text.match_indices("uses: ./.github/workflows/build-wheels.yml") {
1655
+ checked += 1;
1656
+ // Look at the call block: from this `uses:` to the next line that is
1657
+ // not more-indented (i.e. the rest of this job's mapping entries).
1658
+ // COMMENTS ARE STRIPPED FIRST. The block below is documented with a
1659
+ // note explaining why `secrets: inherit` matters — and the first
1660
+ // version of this check read that note as the config, so deleting
1661
+ // the real line still passed. A check that its own documentation
1662
+ // satisfies is worse than no check: it is green by construction and
1663
+ // reads as coverage. (Same shape as an `include_str!` assertion
1664
+ // matching its own assertion text.)
1665
+ let rest = &text[i..];
1666
+ let block: String = rest
1667
+ .lines()
1668
+ .take(20)
1669
+ .filter(|l| !l.trim_start().starts_with('#'))
1670
+ .collect::<Vec<_>>()
1671
+ .join("\n");
1672
+ if !block.contains("secrets: inherit") && !block.contains("secrets:\n") {
1673
+ problems.push(format!(
1674
+ "{name}: calls build-wheels.yml WITHOUT `secrets: inherit` — the callee's \
1675
+ `${{{{ secrets.* }}}}` will resolve to EMPTY STRINGS, silently, and the \
1676
+ wheels it produces will have no built-in Google (CIRISServer#387)"
1677
+ ));
1678
+ }
1679
+ }
1570
1680
  }
1681
+
1682
+ assert!(
1683
+ checked > 0,
1684
+ "this gate examined ZERO wheel-producing steps and ZERO reusable-workflow calls. That \
1685
+ is not a pass — it means the discovery is broken (wrong path, renamed step, or the \
1686
+ workflows moved). A zero denominator must never read as green; that is the whole \
1687
+ reason this gate was rewritten."
1688
+ );
1689
+ assert!(problems.is_empty(), "{}", problems.join("\n"));
1571
1690
  }
1572
1691
 
1573
1692
  /// Recursively list files under `dir` (test helper).