settld 0.1.0
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.
- package/Dockerfile +45 -0
- package/README.md +150 -0
- package/SETTLD_VERSION +1 -0
- package/bin/settld.js +212 -0
- package/conformance/README.md +14 -0
- package/conformance/kernel-v0/README.md +60 -0
- package/conformance/kernel-v0/cases.json +19 -0
- package/conformance/kernel-v0/run.mjs +830 -0
- package/conformance/v1/README.md +77 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/evidence/evidence_index.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/settld.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/payload/invoice_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/settld.json +1 -0
- package/conformance/v1/bundles/closepack/nonstrict-pass-missing-sla-acceptance/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/acceptance/acceptance_criteria.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/acceptance/acceptance_evaluation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/evidence/evidence_index.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/settld.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/payload/invoice_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/settld.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/sla/sla_definition.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/sla/sla_evaluation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-embedded-invoice-fails/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/acceptance/acceptance_criteria.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/acceptance/acceptance_evaluation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/evidence/evidence_index.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/settld.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/payload/invoice_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/settld.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/sla/sla_definition.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/sla/sla_evaluation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-fail-evidence-index-mismatch/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/acceptance/acceptance_criteria.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/acceptance/acceptance_evaluation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/evidence/evidence_index.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/settld.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/payload/invoice_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/settld.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/sla/sla_definition.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/sla/sla_evaluation.json +1 -0
- package/conformance/v1/bundles/closepack/strict-pass/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/finance/GLBatch.v1.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/finance/JournalCsv.v1.csv +2 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/finance/JournalCsv.v1.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/finance/reconcile.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/verify/report.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/month/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/settld.json +1 -0
- package/conformance/v1/bundles/financepack/pass-with-tool-version-unknown-warning/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/finance/GLBatch.v1.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/finance/JournalCsv.v1.csv +2 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/finance/JournalCsv.v1.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/finance/reconcile.json +2 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/verify/report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/month/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/settld.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-manifest-tamper/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/finance/GLBatch.v1.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/finance/JournalCsv.v1.csv +2 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/finance/JournalCsv.v1.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/finance/reconcile.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/verify/report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/month/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-fail-missing-verification-report/settld.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/finance/GLBatch.v1.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/finance/JournalCsv.v1.csv +2 -0
- package/conformance/v1/bundles/financepack/strict-pass/finance/JournalCsv.v1.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/finance/reconcile.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/policy.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/revocations.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/manifest.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/verify/report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/month/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/settld.json +1 -0
- package/conformance/v1/bundles/financepack/strict-pass/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-missing-verification-report/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/nonstrict-pass-unsigned-pricing-matrix-warning/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-evidence-sha-mismatch/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invalid-pricing-matrix-signature/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-invoice-total-mismatch/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-pricing-matrix-signature/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-missing-verification-report/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-fail-pricing-code-unknown/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/invoice/invoice_claim.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/metering/metering_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/policy.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/revocations.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/job/snapshot.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/manifest.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/verify/report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/payload/job_proof_bundle/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/pricing/pricing_matrix.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/pricing/pricing_matrix_signatures.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/settld.json +1 -0
- package/conformance/v1/bundles/invoicebundle/strict-pass/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/policy.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/revocations.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/job/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/manifest.json +1 -0
- package/conformance/v1/bundles/jobproof/nonstrict-pass-missing-verification-report/verify/report.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/policy.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/revocations.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/job/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/manifest.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/verify/report.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-manifest-tamper/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/policy.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/revocations.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/job/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/manifest.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/verify/report.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-fail-unauthorized-signer/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/policy.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/revocations.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/jobproof/strict-pass/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/job/snapshot.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/manifest.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/verify/report.json +1 -0
- package/conformance/v1/bundles/jobproof/strict-pass/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/events/events.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/policy.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/revocations.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/manifest.json +1 -0
- package/conformance/v1/bundles/monthproof/nonstrict-pass-missing-verification-report/verify/report.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/events/events.jsonl +2 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/policy.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/revocations.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/manifest.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/verify/report.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-manifest-tamper/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/events/events.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/policy.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/revocations.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/manifest.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/verify/report.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-fail-unauthorized-signer/verify/verification_report.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/attestation/bundle_head_attestation.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/events/events.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/global/events/events.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/global/events/payload_material.jsonl +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/global/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/policy.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/revocations.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/tenant/events/events.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/tenant/events/payload_material.jsonl +0 -0
- package/conformance/v1/bundles/monthproof/strict-pass/governance/tenant/snapshot.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/keys/public_keys.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/manifest.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/verify/report.json +1 -0
- package/conformance/v1/bundles/monthproof/strict-pass/verify/verification_report.json +1 -0
- package/conformance/v1/cases.json +381 -0
- package/conformance/v1/expected/closepack_nonstrict_pass_missing_sla_acceptance.json +9 -0
- package/conformance/v1/expected/closepack_strict_fail_embedded_invoice_fails.json +9 -0
- package/conformance/v1/expected/closepack_strict_fail_evidence_index_mismatch.json +9 -0
- package/conformance/v1/expected/closepack_strict_pass.json +9 -0
- package/conformance/v1/expected/financepack_strict_fail_missing_verification_report.json +9 -0
- package/conformance/v1/expected/financepack_strict_fail_on_warnings_tool_version_unknown.json +9 -0
- package/conformance/v1/expected/financepack_strict_fail_trust_roots_missing.json +9 -0
- package/conformance/v1/expected/financepack_strict_fail_trust_roots_wrong.json +9 -0
- package/conformance/v1/expected/financepack_strict_pass.json +9 -0
- package/conformance/v1/expected/invoicebundle_nonstrict_pass_missing_verification_report.json +9 -0
- package/conformance/v1/expected/invoicebundle_nonstrict_pass_unsigned_pricing_matrix_warning.json +9 -0
- package/conformance/v1/expected/invoicebundle_strict_fail_evidence_sha_mismatch.json +9 -0
- package/conformance/v1/expected/invoicebundle_strict_fail_invalid_pricing_matrix_signature.json +9 -0
- package/conformance/v1/expected/invoicebundle_strict_fail_invoice_total_mismatch.json +9 -0
- package/conformance/v1/expected/invoicebundle_strict_fail_missing_pricing_matrix_signature.json +9 -0
- package/conformance/v1/expected/invoicebundle_strict_fail_missing_verification_report.json +9 -0
- package/conformance/v1/expected/invoicebundle_strict_fail_pricing_code_unknown.json +9 -0
- package/conformance/v1/expected/invoicebundle_strict_pass.json +9 -0
- package/conformance/v1/expected/jobproof_nonstrict_pass_missing_verification_report.json +9 -0
- package/conformance/v1/expected/jobproof_strict_fail_manifest_tamper.json +9 -0
- package/conformance/v1/expected/jobproof_strict_fail_unauthorized_signer.json +9 -0
- package/conformance/v1/expected/jobproof_strict_pass.json +9 -0
- package/conformance/v1/expected/monthproof_nonstrict_pass_missing_verification_report.json +9 -0
- package/conformance/v1/expected/monthproof_strict_fail_manifest_tamper.json +9 -0
- package/conformance/v1/expected/monthproof_strict_fail_unauthorized_signer.json +9 -0
- package/conformance/v1/expected/monthproof_strict_pass.json +9 -0
- package/conformance/v1/expected/security_bundle_symlink_outside.json +9 -0
- package/conformance/v1/expected/security_manifest_case_collision.json +8 -0
- package/conformance/v1/expected/security_manifest_duplicate_paths.json +9 -0
- package/conformance/v1/expected/security_manifest_path_traversal.json +9 -0
- package/conformance/v1/lib/harness.mjs +78 -0
- package/conformance/v1/lib/mutations.mjs +61 -0
- package/conformance/v1/produce-cases.json +75 -0
- package/conformance/v1/producer/bad-plugin-invalid-provider.mjs +4 -0
- package/conformance/v1/producer/bad-plugin-no-export.mjs +3 -0
- package/conformance/v1/producer/fixture_keypairs.json +18 -0
- package/conformance/v1/producer/inmemory-signer-plugin.mjs +47 -0
- package/conformance/v1/producer/signer-stdio-bad-json.mjs +54 -0
- package/conformance/v1/producer/signer-stdio-partial-stdout-exit1.mjs +51 -0
- package/conformance/v1/producer/signer-stdio-stderr-only-exit1.mjs +46 -0
- package/conformance/v1/producer/signer-stdio-stub.mjs +134 -0
- package/conformance/v1/protocol-vectors/v1.json +81 -0
- package/conformance/v1/release-cases.json +111 -0
- package/conformance/v1/release-trust-quorum.json +15 -0
- package/conformance/v1/release-trust-revoked.json +16 -0
- package/conformance/v1/release-trust.json +15 -0
- package/conformance/v1/releases/release_fail_asset_hash_mismatch/a.tgz +1 -0
- package/conformance/v1/releases/release_fail_asset_hash_mismatch/b.tar.gz +1 -0
- package/conformance/v1/releases/release_fail_asset_hash_mismatch/release_index_v1.json +1 -0
- package/conformance/v1/releases/release_fail_asset_hash_mismatch/release_index_v1.sig +1 -0
- package/conformance/v1/releases/release_fail_missing_asset/a.tgz +1 -0
- package/conformance/v1/releases/release_fail_missing_asset/release_index_v1.json +1 -0
- package/conformance/v1/releases/release_fail_missing_asset/release_index_v1.sig +1 -0
- package/conformance/v1/releases/release_fail_signature_invalid/a.tgz +1 -0
- package/conformance/v1/releases/release_fail_signature_invalid/b.tar.gz +1 -0
- package/conformance/v1/releases/release_fail_signature_invalid/release_index_v1.json +1 -0
- package/conformance/v1/releases/release_fail_signature_invalid/release_index_v1.sig +1 -0
- package/conformance/v1/releases/release_pass/a.tgz +1 -0
- package/conformance/v1/releases/release_pass/b.tar.gz +1 -0
- package/conformance/v1/releases/release_pass/release_index_v1.json +1 -0
- package/conformance/v1/releases/release_pass/release_index_v1.sig +1 -0
- package/conformance/v1/run-produce.mjs +507 -0
- package/conformance/v1/run-release.mjs +129 -0
- package/conformance/v1/run.mjs +229 -0
- package/conformance/v1/trust.json +11 -0
- package/docker-compose.yml +154 -0
- package/package.json +98 -0
- package/packages/artifact-verify/src/bundle-path.js +60 -0
- package/packages/artifact-verify/src/canonical-json.js +48 -0
- package/packages/artifact-verify/src/close-pack-bundle.js +914 -0
- package/packages/artifact-verify/src/crypto.js +18 -0
- package/packages/artifact-verify/src/finance-pack-bundle.js +750 -0
- package/packages/artifact-verify/src/governance-policy.js +312 -0
- package/packages/artifact-verify/src/hash-file.js +38 -0
- package/packages/artifact-verify/src/index.js +100 -0
- package/packages/artifact-verify/src/invoice-bundle.js +865 -0
- package/packages/artifact-verify/src/job-proof-bundle.js +1996 -0
- package/packages/artifact-verify/src/map-with-concurrency.js +32 -0
- package/packages/artifact-verify/src/reconcile.js +135 -0
- package/packages/artifact-verify/src/release/release-index-lib.js +190 -0
- package/packages/artifact-verify/src/release/verify-release.js +187 -0
- package/packages/artifact-verify/src/revocation-list.js +119 -0
- package/packages/artifact-verify/src/safe-unzip.js +335 -0
- package/packages/artifact-verify/src/settlement-decision-report.js +61 -0
- package/packages/artifact-verify/src/timestamp-proof.js +49 -0
- package/packages/artifact-verify/src/tool-provenance.js +49 -0
- package/packages/artifact-verify/src/trust.js +54 -0
- package/packages/artifact-verify/src/verification-warnings.js +34 -0
- package/scripts/closepack/export.mjs +101 -0
- package/scripts/closepack/lib.mjs +1068 -0
- package/scripts/closepack/verify.mjs +65 -0
- package/scripts/init/capability.mjs +556 -0
- package/scripts/init/postinstall-sanity.mjs +18 -0
- package/services/finance-sink/README.md +37 -0
- package/services/finance-sink/package.json +6 -0
- package/services/finance-sink/src/ack-worker.js +152 -0
- package/services/finance-sink/src/config.js +176 -0
- package/services/finance-sink/src/dedupe-store.js +232 -0
- package/services/finance-sink/src/s3-store.js +139 -0
- package/services/finance-sink/src/server.js +391 -0
- package/services/receiver/README.md +49 -0
- package/services/receiver/package.json +6 -0
- package/services/receiver/src/ack-worker.js +166 -0
- package/services/receiver/src/config.js +178 -0
- package/services/receiver/src/dedupe-store.js +232 -0
- package/services/receiver/src/s3-store.js +111 -0
- package/services/receiver/src/server.js +304 -0
- package/src/agent/agent-sim.js +167 -0
- package/src/api/app.js +31794 -0
- package/src/api/http.js +124 -0
- package/src/api/maintenance.js +174 -0
- package/src/api/middleware/auth.js +105 -0
- package/src/api/middleware/authz.js +19 -0
- package/src/api/openapi.js +5684 -0
- package/src/api/outbox.js +93 -0
- package/src/api/persistence.js +628 -0
- package/src/api/server.js +100 -0
- package/src/api/store.js +2088 -0
- package/src/api/workers/artifacts.js +574 -0
- package/src/api/workers/deliveries.js +628 -0
- package/src/api/workers/proof.js +374 -0
- package/src/core/acceptance-criteria.js +78 -0
- package/src/core/access.js +130 -0
- package/src/core/agent-reputation.js +311 -0
- package/src/core/agent-runs.js +253 -0
- package/src/core/agent-wallets.js +883 -0
- package/src/core/allocations.js +160 -0
- package/src/core/artifact-verification-status.js +216 -0
- package/src/core/artifacts.js +938 -0
- package/src/core/assist.js +106 -0
- package/src/core/audit-export.js +68 -0
- package/src/core/auth.js +189 -0
- package/src/core/billing-plans.js +187 -0
- package/src/core/booking.js +268 -0
- package/src/core/cancellation.js +34 -0
- package/src/core/canonical-json.js +104 -0
- package/src/core/claims.js +152 -0
- package/src/core/close-pack-bundle.js +527 -0
- package/src/core/config.js +272 -0
- package/src/core/contract-compiler.js +68 -0
- package/src/core/contract-document.js +226 -0
- package/src/core/contract-selection.js +152 -0
- package/src/core/contracts.js +439 -0
- package/src/core/crypto.js +30 -0
- package/src/core/deterministic-zip.js +169 -0
- package/src/core/dispatch-events.js +113 -0
- package/src/core/dispatch.js +26 -0
- package/src/core/dispute-open-envelope.js +163 -0
- package/src/core/escrow-ledger.js +329 -0
- package/src/core/event-chain.js +114 -0
- package/src/core/event-policy.js +120 -0
- package/src/core/evidence-linker.js +93 -0
- package/src/core/evidence-store.js +286 -0
- package/src/core/evidence.js +119 -0
- package/src/core/failpoints.js +30 -0
- package/src/core/finance-account-map.js +59 -0
- package/src/core/finance-pack-bundle.js +554 -0
- package/src/core/funding-hold.js +185 -0
- package/src/core/gl-batch.js +107 -0
- package/src/core/governance-policy.js +174 -0
- package/src/core/governance.js +92 -0
- package/src/core/hold-exposure.js +74 -0
- package/src/core/idempotency.js +51 -0
- package/src/core/ids.js +21 -0
- package/src/core/incidents.js +75 -0
- package/src/core/insurer-reimbursements.js +58 -0
- package/src/core/interaction-directions.js +170 -0
- package/src/core/invoice-bundle.js +564 -0
- package/src/core/job-reducer.js +702 -0
- package/src/core/job-state-machine.js +266 -0
- package/src/core/journal-csv.js +94 -0
- package/src/core/ledger-postings-finance.js +31 -0
- package/src/core/ledger-postings.js +476 -0
- package/src/core/ledger.js +59 -0
- package/src/core/liveness.js +154 -0
- package/src/core/log.js +156 -0
- package/src/core/maintenance-locks.js +3 -0
- package/src/core/marketplace-kernel.js +243 -0
- package/src/core/metrics.js +133 -0
- package/src/core/money-rail-adapters.js +735 -0
- package/src/core/month-close-hold-policy.js +19 -0
- package/src/core/month-close.js +159 -0
- package/src/core/operator-cost.js +79 -0
- package/src/core/operator-coverage.js +46 -0
- package/src/core/operator-reducer.js +73 -0
- package/src/core/operators.js +52 -0
- package/src/core/ops-audit.js +45 -0
- package/src/core/party-statements.js +145 -0
- package/src/core/pilot-templates.js +26 -0
- package/src/core/policy.js +76 -0
- package/src/core/pricing.js +71 -0
- package/src/core/proof-bundle.js +1153 -0
- package/src/core/proof-events.js +88 -0
- package/src/core/proof-verifier.js +261 -0
- package/src/core/proof.js +46 -0
- package/src/core/protocol.js +105 -0
- package/src/core/quotas.js +32 -0
- package/src/core/reputation-event.js +203 -0
- package/src/core/rescheduling.js +51 -0
- package/src/core/retention.js +32 -0
- package/src/core/revocation-list.js +70 -0
- package/src/core/risk.js +383 -0
- package/src/core/robot-health.js +111 -0
- package/src/core/robot-reducer.js +198 -0
- package/src/core/robots.js +152 -0
- package/src/core/s3-presign.js +111 -0
- package/src/core/secrets.js +128 -0
- package/src/core/settlement-adjustment.js +151 -0
- package/src/core/settlement-kernel.js +405 -0
- package/src/core/settlement-policy.js +206 -0
- package/src/core/settlement-splits.js +46 -0
- package/src/core/signer-keys.js +33 -0
- package/src/core/skills.js +86 -0
- package/src/core/sla-events.js +229 -0
- package/src/core/sla-metering.js +169 -0
- package/src/core/sla-policy-templates.js +340 -0
- package/src/core/sla.js +29 -0
- package/src/core/statements.js +426 -0
- package/src/core/tenancy.js +55 -0
- package/src/core/timestamp-proof.js +36 -0
- package/src/core/tool-manifest.js +116 -0
- package/src/core/tool-provenance.js +36 -0
- package/src/core/url-safety.js +263 -0
- package/src/core/verification-warnings.js +53 -0
- package/src/core/zone-coverage.js +59 -0
- package/src/core/zones.js +8 -0
- package/src/core/zoneset.js +67 -0
- package/src/db/migrate.js +61 -0
- package/src/db/migrations/001_init.sql +92 -0
- package/src/db/migrations/002_robot_reservations.sql +23 -0
- package/src/db/migrations/003_idempotency_v2.sql +32 -0
- package/src/db/migrations/004_notifications.sql +12 -0
- package/src/db/migrations/005_multi_tenant.sql +106 -0
- package/src/db/migrations/006_contracts.sql +27 -0
- package/src/db/migrations/007_artifacts_deliveries_correlations.sql +53 -0
- package/src/db/migrations/008_delivery_ingest_hardening.sql +52 -0
- package/src/db/migrations/009_auth_keys.sql +21 -0
- package/src/db/migrations/010_signer_keys.sql +25 -0
- package/src/db/migrations/011_ops_audit.sql +33 -0
- package/src/db/migrations/012_retention.sql +16 -0
- package/src/db/migrations/013_perf_indexes.sql +18 -0
- package/src/db/migrations/014_contracts_v2.sql +68 -0
- package/src/db/migrations/015_parties.sql +16 -0
- package/src/db/migrations/016_ledger_allocations.sql +18 -0
- package/src/db/migrations/017_party_statements.sql +31 -0
- package/src/db/migrations/018_finance_account_map.sql +12 -0
- package/src/db/migrations/019_ledger_allocations_account_id.sql +7 -0
- package/src/db/migrations/020_artifacts_source_event_unique.sql +10 -0
- package/src/db/migrations/021_artifacts_by_job_created_at_id.sql +6 -0
- package/src/db/migrations/022_governance_uniqueness.sql +28 -0
- package/src/db/migrations/023_marketplace_tasks.sql +45 -0
- package/src/db/migrations/024_agent_runtime_state.sql +70 -0
- package/src/db/migrations/025_tenant_settlement_policies.sql +19 -0
- package/src/db/migrations/026_money_rails_billable_events.sql +82 -0
- package/src/db/migrations/027_tenant_billing_config.sql +10 -0
- package/src/db/migrations/028_marketplace_rfq_storage.sql +121 -0
- package/src/db/pg.js +123 -0
- package/src/db/store-pg.js +6465 -0
|
@@ -0,0 +1,830 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
|
|
6
|
+
import { computeArtifactHash } from "../../src/core/artifacts.js";
|
|
7
|
+
import { canonicalJsonStringify, normalizeForCanonicalJson } from "../../src/core/canonical-json.js";
|
|
8
|
+
import {
|
|
9
|
+
createEd25519Keypair,
|
|
10
|
+
keyIdFromPublicKeyPem,
|
|
11
|
+
sha256Hex,
|
|
12
|
+
signHashHexEd25519,
|
|
13
|
+
verifyHashHexEd25519
|
|
14
|
+
} from "../../src/core/crypto.js";
|
|
15
|
+
|
|
16
|
+
function parseArgs(argv) {
|
|
17
|
+
const out = {
|
|
18
|
+
baseUrl: "http://127.0.0.1:3000",
|
|
19
|
+
tenantId: "tenant_default",
|
|
20
|
+
protocol: "1.0",
|
|
21
|
+
apiKey: null,
|
|
22
|
+
opsToken: null,
|
|
23
|
+
caseId: null,
|
|
24
|
+
jsonOut: null,
|
|
25
|
+
list: false,
|
|
26
|
+
help: false
|
|
27
|
+
};
|
|
28
|
+
for (let i = 0; i < argv.length; i += 1) {
|
|
29
|
+
const a = argv[i];
|
|
30
|
+
if (a === "--base-url") {
|
|
31
|
+
out.baseUrl = String(argv[i + 1] ?? "");
|
|
32
|
+
i += 1;
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
if (a === "--tenant-id") {
|
|
36
|
+
out.tenantId = String(argv[i + 1] ?? "");
|
|
37
|
+
i += 1;
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
if (a === "--protocol") {
|
|
41
|
+
out.protocol = String(argv[i + 1] ?? "");
|
|
42
|
+
i += 1;
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
if (a === "--api-key") {
|
|
46
|
+
out.apiKey = String(argv[i + 1] ?? "");
|
|
47
|
+
i += 1;
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
if (a === "--ops-token") {
|
|
51
|
+
out.opsToken = String(argv[i + 1] ?? "");
|
|
52
|
+
i += 1;
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
if (a === "--case") {
|
|
56
|
+
out.caseId = String(argv[i + 1] ?? "");
|
|
57
|
+
i += 1;
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
if (a === "--json-out") {
|
|
61
|
+
out.jsonOut = String(argv[i + 1] ?? "");
|
|
62
|
+
i += 1;
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
if (a === "--list") {
|
|
66
|
+
out.list = true;
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
if (a === "--help" || a === "-h") {
|
|
70
|
+
out.help = true;
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
throw new Error(`unknown argument: ${a}`);
|
|
74
|
+
}
|
|
75
|
+
return out;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function usage() {
|
|
79
|
+
// eslint-disable-next-line no-console
|
|
80
|
+
console.error("usage:");
|
|
81
|
+
console.error(
|
|
82
|
+
" node conformance/kernel-v0/run.mjs --ops-token <tok_opsw> [--base-url http://127.0.0.1:3000] [--tenant-id tenant_default] [--protocol 1.0] [--case <id>] [--json-out <path>] [--list]"
|
|
83
|
+
);
|
|
84
|
+
console.error("");
|
|
85
|
+
console.error("notes:");
|
|
86
|
+
console.error(" This conformance pack exercises the hosted control-plane API (holdback + disputes + deterministic adjustments).");
|
|
87
|
+
console.error(" It requires an ops token with ops_write scope for the current prototype.");
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function uniqueSuffix() {
|
|
91
|
+
return `${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function sleep(ms) {
|
|
95
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
async function readCases() {
|
|
99
|
+
const packDir = path.dirname(fileURLToPath(import.meta.url));
|
|
100
|
+
const fp = path.join(packDir, "cases.json");
|
|
101
|
+
const raw = await fs.readFile(fp, "utf8");
|
|
102
|
+
const doc = JSON.parse(raw);
|
|
103
|
+
if (doc?.schemaVersion !== "KernelConformanceCases.v0") {
|
|
104
|
+
throw new Error(`unsupported cases schemaVersion: ${doc?.schemaVersion ?? "null"}`);
|
|
105
|
+
}
|
|
106
|
+
return Array.isArray(doc.cases) ? doc.cases : [];
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
async function requestJson({ baseUrl, tenantId, protocol, apiKey, opsToken, method, pathname, body, idempotencyKey, headers: extraHeaders }) {
|
|
110
|
+
const url = new URL(pathname, baseUrl);
|
|
111
|
+
const headers = {
|
|
112
|
+
"content-type": "application/json",
|
|
113
|
+
"x-proxy-tenant-id": String(tenantId),
|
|
114
|
+
"x-settld-protocol": String(protocol),
|
|
115
|
+
"x-request-id": `conf_${Date.now().toString(36)}_${Math.random().toString(16).slice(2, 8)}`
|
|
116
|
+
};
|
|
117
|
+
if (idempotencyKey) headers["x-idempotency-key"] = String(idempotencyKey);
|
|
118
|
+
if (apiKey) headers.authorization = `Bearer ${String(apiKey)}`;
|
|
119
|
+
if (opsToken) headers["x-proxy-ops-token"] = String(opsToken);
|
|
120
|
+
if (extraHeaders && typeof extraHeaders === "object") {
|
|
121
|
+
for (const [key, value] of Object.entries(extraHeaders)) {
|
|
122
|
+
if (value === null || value === undefined || value === "") continue;
|
|
123
|
+
headers[String(key).toLowerCase()] = String(value);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
const res = await fetch(url.toString(), {
|
|
128
|
+
method,
|
|
129
|
+
headers,
|
|
130
|
+
body: body === undefined ? undefined : JSON.stringify(body)
|
|
131
|
+
});
|
|
132
|
+
const text = await res.text();
|
|
133
|
+
let parsed = null;
|
|
134
|
+
try {
|
|
135
|
+
parsed = text ? JSON.parse(text) : null;
|
|
136
|
+
} catch {
|
|
137
|
+
parsed = { raw: text };
|
|
138
|
+
}
|
|
139
|
+
if (!res.ok) {
|
|
140
|
+
const msg = parsed && typeof parsed === "object" ? (parsed?.message ?? parsed?.error ?? text ?? `HTTP ${res.status}`) : text;
|
|
141
|
+
const err = new Error(String(msg));
|
|
142
|
+
err.status = res.status;
|
|
143
|
+
err.body = parsed;
|
|
144
|
+
throw err;
|
|
145
|
+
}
|
|
146
|
+
return parsed;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function assert(cond, msg) {
|
|
150
|
+
if (!cond) throw new Error(msg);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function isSha256Hex(value) {
|
|
154
|
+
return typeof value === "string" && /^[0-9a-f]{64}$/.test(value);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function assertArtifactHash(artifact) {
|
|
158
|
+
assert(artifact && typeof artifact === "object" && !Array.isArray(artifact), "artifact must be an object");
|
|
159
|
+
assert(isSha256Hex(String(artifact.artifactHash ?? "")), "artifact.artifactHash must be sha256 hex");
|
|
160
|
+
// eslint-disable-next-line no-unused-vars
|
|
161
|
+
const { artifactHash, ...rest } = artifact;
|
|
162
|
+
const expected = computeArtifactHash(rest);
|
|
163
|
+
assert(String(artifactHash) === expected, "artifactHash mismatch (artifact body not canonical/reproducible)");
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
async function fetchArtifact({ opts, artifactId }) {
|
|
167
|
+
const out = await requestJson({
|
|
168
|
+
...opts,
|
|
169
|
+
method: "GET",
|
|
170
|
+
pathname: `/artifacts/${encodeURIComponent(artifactId)}`
|
|
171
|
+
});
|
|
172
|
+
if (out && typeof out === "object" && out.artifact && typeof out.artifact === "object") return out.artifact;
|
|
173
|
+
return out;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
function assertArbitrationCaseArtifact({ artifact, caseId, runId, disputeId, settlementId, expectedRevision, expectedStatus, expectedVerdictId, expectedVerdictHash }) {
|
|
177
|
+
assert(artifact && typeof artifact === "object" && !Array.isArray(artifact), "case artifact must be an object");
|
|
178
|
+
assert(String(artifact.schemaVersion ?? "") === "ArbitrationCase.v1", "case artifact schemaVersion mismatch");
|
|
179
|
+
assert(String(artifact.artifactType ?? "") === "ArbitrationCase.v1", "case artifact artifactType mismatch");
|
|
180
|
+
assert(String(artifact.caseId ?? "") === String(caseId), "case artifact caseId mismatch");
|
|
181
|
+
assert(String(artifact.runId ?? "") === String(runId), "case artifact runId mismatch");
|
|
182
|
+
assert(String(artifact.disputeId ?? "") === String(disputeId), "case artifact disputeId mismatch");
|
|
183
|
+
assert(String(artifact.settlementId ?? "") === String(settlementId), "case artifact settlementId mismatch");
|
|
184
|
+
if (expectedRevision !== null && expectedRevision !== undefined) {
|
|
185
|
+
assert(Number(artifact.revision) === Number(expectedRevision), "case artifact revision mismatch");
|
|
186
|
+
}
|
|
187
|
+
if (expectedStatus) {
|
|
188
|
+
assert(String(artifact.status ?? "").toLowerCase() === String(expectedStatus).toLowerCase(), "case artifact status mismatch");
|
|
189
|
+
}
|
|
190
|
+
if (expectedVerdictId) {
|
|
191
|
+
assert(String(artifact.verdictId ?? "") === String(expectedVerdictId), "case artifact verdictId mismatch");
|
|
192
|
+
}
|
|
193
|
+
if (expectedVerdictHash) {
|
|
194
|
+
assert(String(artifact.verdictHash ?? "") === String(expectedVerdictHash), "case artifact verdictHash mismatch");
|
|
195
|
+
}
|
|
196
|
+
assertArtifactHash(artifact);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
function assertArbitrationVerdictArtifact({ artifact, caseId, runId, disputeId, settlementId, expectedVerdictId, arbiterKeyId, arbiterPublicKeyPem }) {
|
|
200
|
+
assert(artifact && typeof artifact === "object" && !Array.isArray(artifact), "verdict artifact must be an object");
|
|
201
|
+
assert(String(artifact.schemaVersion ?? "") === "ArbitrationVerdict.v1", "verdict artifact schemaVersion mismatch");
|
|
202
|
+
assert(String(artifact.artifactType ?? "") === "ArbitrationVerdict.v1", "verdict artifact artifactType mismatch");
|
|
203
|
+
assert(String(artifact.caseId ?? "") === String(caseId), "verdict artifact caseId mismatch");
|
|
204
|
+
assert(String(artifact.runId ?? "") === String(runId), "verdict artifact runId mismatch");
|
|
205
|
+
assert(String(artifact.disputeId ?? "") === String(disputeId), "verdict artifact disputeId mismatch");
|
|
206
|
+
assert(String(artifact.settlementId ?? "") === String(settlementId), "verdict artifact settlementId mismatch");
|
|
207
|
+
assert(String(artifact.verdictId ?? "") === String(expectedVerdictId), "verdict artifact verdictId mismatch");
|
|
208
|
+
|
|
209
|
+
const sig = artifact.signature && typeof artifact.signature === "object" && !Array.isArray(artifact.signature) ? artifact.signature : null;
|
|
210
|
+
assert(sig, "verdict artifact signature missing");
|
|
211
|
+
assert(String(sig.algorithm ?? "") === "ed25519", "verdict artifact signature.algorithm must be ed25519");
|
|
212
|
+
assert(String(sig.signerKeyId ?? "") === String(arbiterKeyId), "verdict artifact signature.signerKeyId mismatch");
|
|
213
|
+
assert(isSha256Hex(String(sig.verdictHash ?? "")), "verdict artifact signature.verdictHash must be sha256 hex");
|
|
214
|
+
assert(typeof sig.signature === "string" && sig.signature.trim() !== "", "verdict artifact signature.signature missing");
|
|
215
|
+
|
|
216
|
+
const core = normalizeForCanonicalJson(
|
|
217
|
+
{
|
|
218
|
+
schemaVersion: "ArbitrationVerdict.v1",
|
|
219
|
+
verdictId: artifact.verdictId,
|
|
220
|
+
caseId: artifact.caseId,
|
|
221
|
+
tenantId: artifact.tenantId,
|
|
222
|
+
runId: artifact.runId,
|
|
223
|
+
settlementId: artifact.settlementId,
|
|
224
|
+
disputeId: artifact.disputeId,
|
|
225
|
+
arbiterAgentId: artifact.arbiterAgentId,
|
|
226
|
+
outcome: artifact.outcome,
|
|
227
|
+
releaseRatePct: artifact.releaseRatePct,
|
|
228
|
+
rationale: artifact.rationale,
|
|
229
|
+
evidenceRefs: Array.isArray(artifact.evidenceRefs) ? artifact.evidenceRefs : [],
|
|
230
|
+
issuedAt: artifact.issuedAt,
|
|
231
|
+
appealRef: artifact.appealRef ?? null
|
|
232
|
+
},
|
|
233
|
+
{ path: "$" }
|
|
234
|
+
);
|
|
235
|
+
const verdictHash = sha256Hex(canonicalJsonStringify(core));
|
|
236
|
+
assert(verdictHash === String(sig.verdictHash), "verdictHash mismatch (signature does not bind to artifact core)");
|
|
237
|
+
assert(
|
|
238
|
+
verifyHashHexEd25519({ hashHex: verdictHash, signatureBase64: String(sig.signature), publicKeyPem: arbiterPublicKeyPem }) === true,
|
|
239
|
+
"verdict signature verification failed"
|
|
240
|
+
);
|
|
241
|
+
|
|
242
|
+
assertArtifactHash(artifact);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function buildSignedArbitrationVerdictV1({
|
|
246
|
+
tenantId,
|
|
247
|
+
runId,
|
|
248
|
+
settlementId,
|
|
249
|
+
disputeId,
|
|
250
|
+
caseId,
|
|
251
|
+
arbiterAgentId,
|
|
252
|
+
signerKeyId,
|
|
253
|
+
signerPrivateKeyPem,
|
|
254
|
+
releaseRatePct,
|
|
255
|
+
rationale,
|
|
256
|
+
outcome
|
|
257
|
+
}) {
|
|
258
|
+
const issuedAt = new Date().toISOString();
|
|
259
|
+
const core = normalizeForCanonicalJson(
|
|
260
|
+
{
|
|
261
|
+
schemaVersion: "ArbitrationVerdict.v1",
|
|
262
|
+
verdictId: `avd_${sha256Hex(`conf:${caseId}:${issuedAt}`).slice(0, 16)}`,
|
|
263
|
+
caseId,
|
|
264
|
+
tenantId,
|
|
265
|
+
runId,
|
|
266
|
+
settlementId,
|
|
267
|
+
disputeId,
|
|
268
|
+
arbiterAgentId,
|
|
269
|
+
outcome,
|
|
270
|
+
releaseRatePct,
|
|
271
|
+
rationale,
|
|
272
|
+
evidenceRefs: [],
|
|
273
|
+
issuedAt,
|
|
274
|
+
appealRef: null
|
|
275
|
+
},
|
|
276
|
+
{ path: "$" }
|
|
277
|
+
);
|
|
278
|
+
const verdictHash = sha256Hex(canonicalJsonStringify(core));
|
|
279
|
+
const signature = signHashHexEd25519(verdictHash, signerPrivateKeyPem);
|
|
280
|
+
return { ...core, signerKeyId, signature };
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
async function runToolCallHoldbackDisputeCase({ opts, verdict }) {
|
|
284
|
+
const suffix = uniqueSuffix();
|
|
285
|
+
const payerAgentId = `agt_conf_payer_${suffix}`;
|
|
286
|
+
const payeeAgentId = `agt_conf_payee_${suffix}`;
|
|
287
|
+
const arbiterAgentId = `agt_conf_arbiter_${suffix}`;
|
|
288
|
+
|
|
289
|
+
const payerKeys = createEd25519Keypair();
|
|
290
|
+
const payeeKeys = createEd25519Keypair();
|
|
291
|
+
const arbiterKeys = createEd25519Keypair();
|
|
292
|
+
|
|
293
|
+
const arbiterKeyId = keyIdFromPublicKeyPem(arbiterKeys.publicKeyPem);
|
|
294
|
+
|
|
295
|
+
await requestJson({
|
|
296
|
+
...opts,
|
|
297
|
+
method: "POST",
|
|
298
|
+
pathname: "/agents/register",
|
|
299
|
+
idempotencyKey: `conf_${suffix}_register_payer`,
|
|
300
|
+
body: {
|
|
301
|
+
agentId: payerAgentId,
|
|
302
|
+
displayName: "Kernel Conformance Payer",
|
|
303
|
+
owner: { ownerType: "service", ownerId: "svc_conformance" },
|
|
304
|
+
capabilities: ["buyer"],
|
|
305
|
+
publicKeyPem: payerKeys.publicKeyPem
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
await requestJson({
|
|
309
|
+
...opts,
|
|
310
|
+
method: "POST",
|
|
311
|
+
pathname: "/agents/register",
|
|
312
|
+
idempotencyKey: `conf_${suffix}_register_payee`,
|
|
313
|
+
body: {
|
|
314
|
+
agentId: payeeAgentId,
|
|
315
|
+
displayName: "Kernel Conformance Payee",
|
|
316
|
+
owner: { ownerType: "service", ownerId: "svc_conformance" },
|
|
317
|
+
capabilities: ["seller"],
|
|
318
|
+
publicKeyPem: payeeKeys.publicKeyPem
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
const arbiterReg = await requestJson({
|
|
322
|
+
...opts,
|
|
323
|
+
method: "POST",
|
|
324
|
+
pathname: "/agents/register",
|
|
325
|
+
idempotencyKey: `conf_${suffix}_register_arbiter`,
|
|
326
|
+
body: {
|
|
327
|
+
agentId: arbiterAgentId,
|
|
328
|
+
displayName: "Kernel Conformance Arbiter",
|
|
329
|
+
owner: { ownerType: "service", ownerId: "svc_conformance" },
|
|
330
|
+
capabilities: ["arbiter"],
|
|
331
|
+
publicKeyPem: arbiterKeys.publicKeyPem
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
|
|
335
|
+
const arbiterKeyIdFromServer = arbiterReg?.keyId ?? arbiterReg?.agentIdentity?.keys?.keyId ?? null;
|
|
336
|
+
assert(!arbiterKeyIdFromServer || String(arbiterKeyIdFromServer) === arbiterKeyId, "arbiter keyId mismatch");
|
|
337
|
+
|
|
338
|
+
await requestJson({
|
|
339
|
+
...opts,
|
|
340
|
+
method: "POST",
|
|
341
|
+
pathname: `/agents/${encodeURIComponent(payerAgentId)}/wallet/credit`,
|
|
342
|
+
idempotencyKey: `conf_${suffix}_fund_payer`,
|
|
343
|
+
body: { amountCents: 25_000, currency: "USD" }
|
|
344
|
+
});
|
|
345
|
+
|
|
346
|
+
const agreementHash = sha256Hex(`conf:tc:agreement:${suffix}`);
|
|
347
|
+
const receiptHash = sha256Hex(`conf:tc:receipt:${suffix}`);
|
|
348
|
+
const createdAt = new Date().toISOString();
|
|
349
|
+
const challengeWindowMs = 800;
|
|
350
|
+
const holdbackBps = 2000;
|
|
351
|
+
|
|
352
|
+
const lock = await requestJson({
|
|
353
|
+
...opts,
|
|
354
|
+
method: "POST",
|
|
355
|
+
pathname: "/ops/tool-calls/holds/lock",
|
|
356
|
+
idempotencyKey: `conf_${suffix}_hold_lock`,
|
|
357
|
+
body: {
|
|
358
|
+
agreementHash,
|
|
359
|
+
receiptHash,
|
|
360
|
+
payerAgentId,
|
|
361
|
+
payeeAgentId,
|
|
362
|
+
amountCents: 10_000,
|
|
363
|
+
currency: "USD",
|
|
364
|
+
holdbackBps,
|
|
365
|
+
challengeWindowMs,
|
|
366
|
+
createdAt
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
const hold = lock?.hold ?? null;
|
|
370
|
+
assert(hold && typeof hold === "object", "hold lock response missing hold");
|
|
371
|
+
const holdHash = String(hold.holdHash ?? "");
|
|
372
|
+
assert(/^[0-9a-f]{64}$/.test(holdHash), "hold.holdHash must be sha256 hex");
|
|
373
|
+
|
|
374
|
+
const open = await requestJson({
|
|
375
|
+
...opts,
|
|
376
|
+
method: "POST",
|
|
377
|
+
pathname: "/tool-calls/arbitration/open",
|
|
378
|
+
idempotencyKey: `conf_${suffix}_open`,
|
|
379
|
+
body: {
|
|
380
|
+
agreementHash,
|
|
381
|
+
receiptHash,
|
|
382
|
+
holdHash,
|
|
383
|
+
openedByAgentId: verdict === "payer" ? payerAgentId : payeeAgentId,
|
|
384
|
+
arbiterAgentId,
|
|
385
|
+
summary: "Conformance dispute",
|
|
386
|
+
evidenceRefs: []
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
const arbitrationCase = open?.arbitrationCase ?? null;
|
|
390
|
+
assert(arbitrationCase && typeof arbitrationCase === "object", "open response missing arbitrationCase");
|
|
391
|
+
const caseId = String(arbitrationCase.caseId ?? "");
|
|
392
|
+
const disputeId = String(arbitrationCase.disputeId ?? "");
|
|
393
|
+
const settlementId = String(arbitrationCase.settlementId ?? "");
|
|
394
|
+
const runId = String(arbitrationCase.runId ?? "");
|
|
395
|
+
assert(caseId, "arbitrationCase.caseId missing");
|
|
396
|
+
assert(disputeId, "arbitrationCase.disputeId missing");
|
|
397
|
+
assert(settlementId, "arbitrationCase.settlementId missing");
|
|
398
|
+
assert(runId, "arbitrationCase.runId missing");
|
|
399
|
+
|
|
400
|
+
// Ensure the case artifact is vendored.
|
|
401
|
+
const caseArtifactId = `arbitration_case_${caseId}`;
|
|
402
|
+
assert(
|
|
403
|
+
open?.arbitrationCaseArtifact && typeof open.arbitrationCaseArtifact === "object" && String(open.arbitrationCaseArtifact.artifactId ?? "") === caseArtifactId,
|
|
404
|
+
"open response missing arbitrationCaseArtifact.artifactId"
|
|
405
|
+
);
|
|
406
|
+
await requestJson({
|
|
407
|
+
...opts,
|
|
408
|
+
method: "GET",
|
|
409
|
+
pathname: `/artifacts/${encodeURIComponent(caseArtifactId)}/status`
|
|
410
|
+
});
|
|
411
|
+
const caseArtifact = await fetchArtifact({ opts, artifactId: caseArtifactId });
|
|
412
|
+
assertArbitrationCaseArtifact({
|
|
413
|
+
artifact: caseArtifact,
|
|
414
|
+
caseId,
|
|
415
|
+
runId,
|
|
416
|
+
disputeId,
|
|
417
|
+
settlementId,
|
|
418
|
+
expectedRevision: 1,
|
|
419
|
+
expectedStatus: "under_review",
|
|
420
|
+
expectedVerdictId: null,
|
|
421
|
+
expectedVerdictHash: null
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
// Force the maintenance tick into the "window elapsed" branch, but ensure it blocks on the open arbitration case.
|
|
425
|
+
await sleep(challengeWindowMs + 25);
|
|
426
|
+
const tick = await requestJson({
|
|
427
|
+
...opts,
|
|
428
|
+
method: "POST",
|
|
429
|
+
pathname: "/ops/maintenance/tool-call-holdback/run",
|
|
430
|
+
idempotencyKey: `conf_${suffix}_tick`,
|
|
431
|
+
body: { dryRun: false, limit: 250 }
|
|
432
|
+
});
|
|
433
|
+
assert(tick && typeof tick === "object", "maintenance tick response missing");
|
|
434
|
+
assert(Number(tick.blocked ?? 0) >= 1, "maintenance tick should report blocked>=1");
|
|
435
|
+
assert(Array.isArray(tick.blockedCases), "maintenance tick should include blockedCases[]");
|
|
436
|
+
assert(
|
|
437
|
+
tick.blockedCases.some((row) => String(row?.holdHash ?? "") === holdHash && String(row?.caseId ?? "") === caseId),
|
|
438
|
+
"maintenance tick should include blockedCases entry for this hold+case"
|
|
439
|
+
);
|
|
440
|
+
|
|
441
|
+
const holdAfterTick = await requestJson({
|
|
442
|
+
...opts,
|
|
443
|
+
method: "GET",
|
|
444
|
+
pathname: `/ops/tool-calls/holds/${encodeURIComponent(holdHash)}`
|
|
445
|
+
});
|
|
446
|
+
assert(String(holdAfterTick?.hold?.status ?? "") === "held", "hold must remain held while case is open");
|
|
447
|
+
|
|
448
|
+
const releaseRatePct = verdict === "payer" ? 0 : 100;
|
|
449
|
+
const signedVerdict = buildSignedArbitrationVerdictV1({
|
|
450
|
+
tenantId: opts.tenantId,
|
|
451
|
+
runId,
|
|
452
|
+
settlementId,
|
|
453
|
+
disputeId,
|
|
454
|
+
caseId,
|
|
455
|
+
arbiterAgentId,
|
|
456
|
+
signerKeyId: arbiterKeyId,
|
|
457
|
+
signerPrivateKeyPem: arbiterKeys.privateKeyPem,
|
|
458
|
+
releaseRatePct,
|
|
459
|
+
rationale: verdict === "payer" ? "Refund holdback to payer." : "Release holdback to payee.",
|
|
460
|
+
outcome: verdict === "payer" ? "rejected" : "accepted"
|
|
461
|
+
});
|
|
462
|
+
|
|
463
|
+
const verdictRes = await requestJson({
|
|
464
|
+
...opts,
|
|
465
|
+
method: "POST",
|
|
466
|
+
pathname: "/tool-calls/arbitration/verdict",
|
|
467
|
+
idempotencyKey: `conf_${suffix}_verdict`,
|
|
468
|
+
body: { caseId, arbitrationVerdict: signedVerdict }
|
|
469
|
+
});
|
|
470
|
+
const verdictCaseArtifactId = verdictRes?.arbitrationCaseArtifact?.artifactId ?? null;
|
|
471
|
+
const verdictArtifactIdFromResponse = verdictRes?.arbitrationVerdictArtifact?.artifactId ?? null;
|
|
472
|
+
assert(
|
|
473
|
+
String(verdictCaseArtifactId ?? "") === `arbitration_case_${caseId}_r2`,
|
|
474
|
+
"verdict response missing arbitrationCaseArtifact.artifactId (expected revision 2)"
|
|
475
|
+
);
|
|
476
|
+
assert(
|
|
477
|
+
String(verdictArtifactIdFromResponse ?? "") === `arbitration_verdict_${signedVerdict.verdictId}`,
|
|
478
|
+
"verdict response missing arbitrationVerdictArtifact.artifactId"
|
|
479
|
+
);
|
|
480
|
+
const settlementAdjustment = verdictRes?.settlementAdjustment ?? null;
|
|
481
|
+
assert(settlementAdjustment && typeof settlementAdjustment === "object", "verdict response missing settlementAdjustment");
|
|
482
|
+
assert(
|
|
483
|
+
String(settlementAdjustment.adjustmentId ?? "") === `sadj_agmt_${agreementHash}_holdback`,
|
|
484
|
+
"settlementAdjustment.adjustmentId must follow deterministic pattern"
|
|
485
|
+
);
|
|
486
|
+
assert(
|
|
487
|
+
String(settlementAdjustment.kind ?? "") === (verdict === "payer" ? "holdback_refund" : "holdback_release"),
|
|
488
|
+
"settlementAdjustment.kind mismatch"
|
|
489
|
+
);
|
|
490
|
+
|
|
491
|
+
const holdAfterVerdict = await requestJson({
|
|
492
|
+
...opts,
|
|
493
|
+
method: "GET",
|
|
494
|
+
pathname: `/ops/tool-calls/holds/${encodeURIComponent(holdHash)}`
|
|
495
|
+
});
|
|
496
|
+
assert(
|
|
497
|
+
String(holdAfterVerdict?.hold?.status ?? "") === (verdict === "payer" ? "refunded" : "released"),
|
|
498
|
+
"hold status must be resolved on verdict"
|
|
499
|
+
);
|
|
500
|
+
|
|
501
|
+
// Ensure the verdict artifact is vendored.
|
|
502
|
+
const verdictArtifactId = `arbitration_verdict_${signedVerdict.verdictId}`;
|
|
503
|
+
await requestJson({
|
|
504
|
+
...opts,
|
|
505
|
+
method: "GET",
|
|
506
|
+
pathname: `/artifacts/${encodeURIComponent(verdictArtifactId)}/status`
|
|
507
|
+
});
|
|
508
|
+
await requestJson({
|
|
509
|
+
...opts,
|
|
510
|
+
method: "GET",
|
|
511
|
+
pathname: `/artifacts/${encodeURIComponent(verdictCaseArtifactId)}/status`
|
|
512
|
+
});
|
|
513
|
+
|
|
514
|
+
const verdictCaseArtifact = await fetchArtifact({ opts, artifactId: verdictCaseArtifactId });
|
|
515
|
+
assertArbitrationCaseArtifact({
|
|
516
|
+
artifact: verdictCaseArtifact,
|
|
517
|
+
caseId,
|
|
518
|
+
runId,
|
|
519
|
+
disputeId,
|
|
520
|
+
settlementId,
|
|
521
|
+
expectedRevision: 2,
|
|
522
|
+
expectedStatus: "closed",
|
|
523
|
+
expectedVerdictId: signedVerdict.verdictId,
|
|
524
|
+
expectedVerdictHash: String(verdictRes?.arbitrationVerdict?.verdictHash ?? "")
|
|
525
|
+
});
|
|
526
|
+
|
|
527
|
+
const verdictArtifact = await fetchArtifact({ opts, artifactId: verdictArtifactId });
|
|
528
|
+
assertArbitrationVerdictArtifact({
|
|
529
|
+
artifact: verdictArtifact,
|
|
530
|
+
caseId,
|
|
531
|
+
runId,
|
|
532
|
+
disputeId,
|
|
533
|
+
settlementId,
|
|
534
|
+
expectedVerdictId: signedVerdict.verdictId,
|
|
535
|
+
arbiterKeyId: arbiterKeyId,
|
|
536
|
+
arbiterPublicKeyPem: arbiterKeys.publicKeyPem
|
|
537
|
+
});
|
|
538
|
+
|
|
539
|
+
// Idempotency/race safety: submitting again should return the existing deterministic adjustment.
|
|
540
|
+
const verdictAgain = await requestJson({
|
|
541
|
+
...opts,
|
|
542
|
+
method: "POST",
|
|
543
|
+
pathname: "/tool-calls/arbitration/verdict",
|
|
544
|
+
idempotencyKey: `conf_${suffix}_verdict_again`,
|
|
545
|
+
body: { caseId, arbitrationVerdict: signedVerdict }
|
|
546
|
+
});
|
|
547
|
+
assert(verdictAgain?.alreadyExisted === true, "second verdict submission should return alreadyExisted=true");
|
|
548
|
+
assert(
|
|
549
|
+
String(verdictAgain?.settlementAdjustment?.adjustmentId ?? "") === `sadj_agmt_${agreementHash}_holdback`,
|
|
550
|
+
"second verdict submission must return same deterministic adjustmentId"
|
|
551
|
+
);
|
|
552
|
+
assert(
|
|
553
|
+
String(verdictAgain?.arbitrationCaseArtifact?.artifactId ?? "") === `arbitration_case_${caseId}_r2`,
|
|
554
|
+
"second verdict submission should include arbitrationCaseArtifact.artifactId"
|
|
555
|
+
);
|
|
556
|
+
assert(
|
|
557
|
+
String(verdictAgain?.arbitrationVerdictArtifact?.artifactId ?? "") === verdictArtifactId,
|
|
558
|
+
"second verdict submission should include arbitrationVerdictArtifact.artifactId"
|
|
559
|
+
);
|
|
560
|
+
|
|
561
|
+
return {
|
|
562
|
+
agreementHash,
|
|
563
|
+
receiptHash,
|
|
564
|
+
holdHash,
|
|
565
|
+
caseId,
|
|
566
|
+
disputeId,
|
|
567
|
+
settlementId,
|
|
568
|
+
runId,
|
|
569
|
+
adjustmentId: `sadj_agmt_${agreementHash}_holdback`
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
async function runMarketplaceRunReplayEvaluateCase({ opts }) {
|
|
574
|
+
const suffix = uniqueSuffix();
|
|
575
|
+
const payerAgentId = `agt_conf_mkt_payer_${suffix}`;
|
|
576
|
+
const payeeAgentId = `agt_conf_mkt_payee_${suffix}`;
|
|
577
|
+
const payerKeys = createEd25519Keypair();
|
|
578
|
+
const payeeKeys = createEd25519Keypair();
|
|
579
|
+
|
|
580
|
+
await requestJson({
|
|
581
|
+
...opts,
|
|
582
|
+
method: "POST",
|
|
583
|
+
pathname: "/agents/register",
|
|
584
|
+
idempotencyKey: `conf_${suffix}_register_mkt_payer`,
|
|
585
|
+
body: {
|
|
586
|
+
agentId: payerAgentId,
|
|
587
|
+
displayName: "Marketplace Conformance Payer",
|
|
588
|
+
owner: { ownerType: "service", ownerId: "svc_conformance" },
|
|
589
|
+
capabilities: ["buyer"],
|
|
590
|
+
publicKeyPem: payerKeys.publicKeyPem
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
await requestJson({
|
|
594
|
+
...opts,
|
|
595
|
+
method: "POST",
|
|
596
|
+
pathname: "/agents/register",
|
|
597
|
+
idempotencyKey: `conf_${suffix}_register_mkt_payee`,
|
|
598
|
+
body: {
|
|
599
|
+
agentId: payeeAgentId,
|
|
600
|
+
displayName: "Marketplace Conformance Payee",
|
|
601
|
+
owner: { ownerType: "service", ownerId: "svc_conformance" },
|
|
602
|
+
capabilities: ["seller"],
|
|
603
|
+
publicKeyPem: payeeKeys.publicKeyPem
|
|
604
|
+
}
|
|
605
|
+
});
|
|
606
|
+
await requestJson({
|
|
607
|
+
...opts,
|
|
608
|
+
method: "POST",
|
|
609
|
+
pathname: `/agents/${encodeURIComponent(payerAgentId)}/wallet/credit`,
|
|
610
|
+
idempotencyKey: `conf_${suffix}_fund_mkt_payer`,
|
|
611
|
+
body: { amountCents: 25_000, currency: "USD" }
|
|
612
|
+
});
|
|
613
|
+
|
|
614
|
+
const rfqId = `rfq_conf_replay_${suffix}`;
|
|
615
|
+
const bidId = `bid_conf_replay_${suffix}`;
|
|
616
|
+
|
|
617
|
+
await requestJson({
|
|
618
|
+
...opts,
|
|
619
|
+
method: "POST",
|
|
620
|
+
pathname: "/marketplace/rfqs",
|
|
621
|
+
idempotencyKey: `conf_${suffix}_rfq_create`,
|
|
622
|
+
body: {
|
|
623
|
+
rfqId,
|
|
624
|
+
title: "Kernel v0 marketplace replay conformance",
|
|
625
|
+
description: "Exercise run settlement replay-evaluate",
|
|
626
|
+
capability: "conformance.replay_evaluate",
|
|
627
|
+
posterAgentId: payerAgentId,
|
|
628
|
+
budgetCents: 10_000,
|
|
629
|
+
currency: "USD"
|
|
630
|
+
}
|
|
631
|
+
});
|
|
632
|
+
|
|
633
|
+
await requestJson({
|
|
634
|
+
...opts,
|
|
635
|
+
method: "POST",
|
|
636
|
+
pathname: `/marketplace/rfqs/${encodeURIComponent(rfqId)}/bids`,
|
|
637
|
+
idempotencyKey: `conf_${suffix}_bid_submit`,
|
|
638
|
+
body: {
|
|
639
|
+
bidId,
|
|
640
|
+
bidderAgentId: payeeAgentId,
|
|
641
|
+
amountCents: 10_000,
|
|
642
|
+
currency: "USD",
|
|
643
|
+
etaSeconds: 60,
|
|
644
|
+
note: "conformance bid"
|
|
645
|
+
}
|
|
646
|
+
});
|
|
647
|
+
|
|
648
|
+
const accepted = await requestJson({
|
|
649
|
+
...opts,
|
|
650
|
+
method: "POST",
|
|
651
|
+
pathname: `/marketplace/rfqs/${encodeURIComponent(rfqId)}/accept`,
|
|
652
|
+
idempotencyKey: `conf_${suffix}_accept`,
|
|
653
|
+
body: {
|
|
654
|
+
bidId,
|
|
655
|
+
payerAgentId,
|
|
656
|
+
acceptedByAgentId: payerAgentId,
|
|
657
|
+
settlement: { payerAgentId }
|
|
658
|
+
}
|
|
659
|
+
});
|
|
660
|
+
|
|
661
|
+
const run = accepted?.run ?? null;
|
|
662
|
+
const runIdRaw = run?.id ?? run?.runId ?? accepted?.runId ?? null;
|
|
663
|
+
const runId = runIdRaw ? String(runIdRaw) : "";
|
|
664
|
+
assert(runId, "accept response missing runId");
|
|
665
|
+
|
|
666
|
+
let prevChainHash = run?.lastChainHash ? String(run.lastChainHash) : "";
|
|
667
|
+
if (!prevChainHash) {
|
|
668
|
+
// Fetch the run if it wasn't returned.
|
|
669
|
+
const fetched = await requestJson({
|
|
670
|
+
...opts,
|
|
671
|
+
method: "GET",
|
|
672
|
+
pathname: `/agents/${encodeURIComponent(payeeAgentId)}/runs/${encodeURIComponent(runId)}`
|
|
673
|
+
});
|
|
674
|
+
prevChainHash = fetched?.run?.lastChainHash ? String(fetched.run.lastChainHash) : "";
|
|
675
|
+
}
|
|
676
|
+
assert(prevChainHash, "run lastChainHash missing (cannot append events)");
|
|
677
|
+
|
|
678
|
+
const evidence = await requestJson({
|
|
679
|
+
...opts,
|
|
680
|
+
method: "POST",
|
|
681
|
+
pathname: `/agents/${encodeURIComponent(payeeAgentId)}/runs/${encodeURIComponent(runId)}/events`,
|
|
682
|
+
idempotencyKey: `conf_${suffix}_evidence`,
|
|
683
|
+
headers: { "x-proxy-expected-prev-chain-hash": prevChainHash },
|
|
684
|
+
body: {
|
|
685
|
+
type: "EVIDENCE_ADDED",
|
|
686
|
+
payload: { evidenceRef: `evidence://conf/${runId}/output.json` }
|
|
687
|
+
}
|
|
688
|
+
});
|
|
689
|
+
prevChainHash = evidence?.run?.lastChainHash ? String(evidence.run.lastChainHash) : "";
|
|
690
|
+
assert(prevChainHash, "evidence append did not return next lastChainHash");
|
|
691
|
+
|
|
692
|
+
await requestJson({
|
|
693
|
+
...opts,
|
|
694
|
+
method: "POST",
|
|
695
|
+
pathname: `/agents/${encodeURIComponent(payeeAgentId)}/runs/${encodeURIComponent(runId)}/events`,
|
|
696
|
+
idempotencyKey: `conf_${suffix}_complete`,
|
|
697
|
+
headers: { "x-proxy-expected-prev-chain-hash": prevChainHash },
|
|
698
|
+
body: {
|
|
699
|
+
type: "RUN_COMPLETED",
|
|
700
|
+
payload: { outputRef: `evidence://conf/${runId}/output.json`, metrics: { latencyMs: 250 } }
|
|
701
|
+
}
|
|
702
|
+
});
|
|
703
|
+
|
|
704
|
+
const settlement = await requestJson({
|
|
705
|
+
...opts,
|
|
706
|
+
method: "GET",
|
|
707
|
+
pathname: `/runs/${encodeURIComponent(runId)}/settlement`
|
|
708
|
+
});
|
|
709
|
+
assert(settlement && typeof settlement === "object", "run settlement missing");
|
|
710
|
+
|
|
711
|
+
const replayEvaluate = await requestJson({
|
|
712
|
+
...opts,
|
|
713
|
+
method: "GET",
|
|
714
|
+
pathname: `/runs/${encodeURIComponent(runId)}/settlement/replay-evaluate`
|
|
715
|
+
});
|
|
716
|
+
assert(replayEvaluate && typeof replayEvaluate === "object", "replay-evaluate response missing");
|
|
717
|
+
assert(replayEvaluate?.comparisons?.kernelBindingsValid === true, "replay-evaluate kernelBindingsValid must be true");
|
|
718
|
+
assert(replayEvaluate?.comparisons?.policyDecisionMatchesStored === true, "replay-evaluate policyDecisionMatchesStored must be true");
|
|
719
|
+
assert(
|
|
720
|
+
replayEvaluate?.comparisons?.decisionRecordReplayCriticalMatchesStored === true,
|
|
721
|
+
"replay-evaluate decisionRecordReplayCriticalMatchesStored must be true"
|
|
722
|
+
);
|
|
723
|
+
|
|
724
|
+
return {
|
|
725
|
+
rfqId,
|
|
726
|
+
bidId,
|
|
727
|
+
runId,
|
|
728
|
+
settlementStatus: settlement?.settlement?.status ?? settlement?.status ?? null
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
async function main() {
|
|
733
|
+
const opts = parseArgs(process.argv.slice(2));
|
|
734
|
+
if (opts.help) {
|
|
735
|
+
usage();
|
|
736
|
+
process.exit(0);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
const cases = await readCases();
|
|
740
|
+
if (opts.list) {
|
|
741
|
+
for (const c of cases) {
|
|
742
|
+
// eslint-disable-next-line no-console
|
|
743
|
+
console.log(String(c?.id ?? ""));
|
|
744
|
+
}
|
|
745
|
+
process.exit(0);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
if (!opts.opsToken || String(opts.opsToken).trim() === "") {
|
|
749
|
+
usage();
|
|
750
|
+
throw new Error("--ops-token is required");
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
const selected = opts.caseId ? cases.filter((c) => String(c?.id ?? "") === String(opts.caseId)) : cases;
|
|
754
|
+
if (opts.caseId && selected.length === 0) throw new Error(`case not found: ${opts.caseId}`);
|
|
755
|
+
|
|
756
|
+
const requestOpts = {
|
|
757
|
+
baseUrl: opts.baseUrl,
|
|
758
|
+
tenantId: opts.tenantId,
|
|
759
|
+
protocol: opts.protocol,
|
|
760
|
+
apiKey: opts.apiKey,
|
|
761
|
+
opsToken: opts.opsToken
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
let pass = 0;
|
|
765
|
+
let fail = 0;
|
|
766
|
+
const results = [];
|
|
767
|
+
for (const c of selected) {
|
|
768
|
+
const id = String(c?.id ?? "");
|
|
769
|
+
try {
|
|
770
|
+
let details = null;
|
|
771
|
+
if (String(c?.kind ?? "") === "tool_call_holdback_dispute") {
|
|
772
|
+
const verdict = String(c?.verdict ?? "") === "payer" ? "payer" : "payee";
|
|
773
|
+
details = await runToolCallHoldbackDisputeCase({ opts: requestOpts, verdict });
|
|
774
|
+
} else if (String(c?.kind ?? "") === "marketplace_run_replay_evaluate") {
|
|
775
|
+
details = await runMarketplaceRunReplayEvaluateCase({ opts: requestOpts });
|
|
776
|
+
} else {
|
|
777
|
+
throw new Error(`unsupported kind: ${String(c?.kind ?? "")}`);
|
|
778
|
+
}
|
|
779
|
+
pass += 1;
|
|
780
|
+
results.push({ id, ok: true, details });
|
|
781
|
+
// eslint-disable-next-line no-console
|
|
782
|
+
console.log(`PASS ${id}`);
|
|
783
|
+
if (details && typeof details === "object" && details.agreementHash) {
|
|
784
|
+
const agreementHash = String(details.agreementHash);
|
|
785
|
+
// eslint-disable-next-line no-console
|
|
786
|
+
console.log(`INFO ${id} agreementHash=${agreementHash} holdHash=${details.holdHash} caseId=${details.caseId} adjustmentId=${details.adjustmentId}`);
|
|
787
|
+
// eslint-disable-next-line no-console
|
|
788
|
+
console.log(`INFO ${id} kernelExplorer=${opts.baseUrl.replace(/\/$/, "")}/ops/kernel/workspace?opsToken=${encodeURIComponent(opts.opsToken)}&agreementHash=${encodeURIComponent(agreementHash)}`);
|
|
789
|
+
}
|
|
790
|
+
if (details && typeof details === "object" && details.runId) {
|
|
791
|
+
const runId = String(details.runId);
|
|
792
|
+
// eslint-disable-next-line no-console
|
|
793
|
+
console.log(`INFO ${id} runId=${runId} replayEvaluate=${opts.baseUrl.replace(/\/$/, "")}/runs/${encodeURIComponent(runId)}/settlement/replay-evaluate`);
|
|
794
|
+
}
|
|
795
|
+
} catch (err) {
|
|
796
|
+
fail += 1;
|
|
797
|
+
results.push({ id, ok: false, error: { message: err?.message ?? String(err ?? "") }, details: err?.body ?? null });
|
|
798
|
+
// eslint-disable-next-line no-console
|
|
799
|
+
console.error(`FAIL ${id}: ${err?.message ?? String(err ?? "")}`);
|
|
800
|
+
if (err && typeof err === "object" && err.body) {
|
|
801
|
+
// eslint-disable-next-line no-console
|
|
802
|
+
console.error(JSON.stringify(err.body, null, 2));
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
// eslint-disable-next-line no-console
|
|
808
|
+
console.log(`summary: pass=${pass} fail=${fail}`);
|
|
809
|
+
|
|
810
|
+
if (opts.jsonOut && String(opts.jsonOut).trim() !== "") {
|
|
811
|
+
const fp = path.resolve(process.cwd(), String(opts.jsonOut));
|
|
812
|
+
const report = normalizeForCanonicalJson(
|
|
813
|
+
{
|
|
814
|
+
schemaVersion: "KernelConformanceReport.v0",
|
|
815
|
+
generatedAt: new Date().toISOString(),
|
|
816
|
+
baseUrl: opts.baseUrl,
|
|
817
|
+
tenantId: opts.tenantId,
|
|
818
|
+
protocol: opts.protocol,
|
|
819
|
+
results
|
|
820
|
+
},
|
|
821
|
+
{ path: "$" }
|
|
822
|
+
);
|
|
823
|
+
await fs.writeFile(fp, JSON.stringify(report, null, 2) + "\n", "utf8");
|
|
824
|
+
// eslint-disable-next-line no-console
|
|
825
|
+
console.log(`wrote ${fp}`);
|
|
826
|
+
}
|
|
827
|
+
process.exit(fail ? 1 : 0);
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
await main();
|