@consiliency/contract 0.2.2 → 0.6.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/README.md +41 -1
- package/conformance/vectors/authority-algorithm-confusion.json +62 -0
- package/conformance/vectors/authority-bad-signature.json +62 -0
- package/conformance/vectors/authority-cert-digest-mismatch.json +62 -0
- package/conformance/vectors/authority-chain-appended-still-verifies.json +72 -0
- package/conformance/vectors/authority-core-validity-expired.json +62 -0
- package/conformance/vectors/authority-forged-self-minted.json +62 -0
- package/conformance/vectors/authority-key-expired.json +62 -0
- package/conformance/vectors/authority-key-revoked.json +62 -0
- package/conformance/vectors/authority-missing-signature.json +57 -0
- package/conformance/vectors/authority-signer-approver-mismatch.json +62 -0
- package/conformance/vectors/authority-unknown-key-id.json +62 -0
- package/conformance/vectors/authority-valid.json +62 -0
- package/conformance/vectors/authority-wrong-key-valid-id.json +62 -0
- package/conformance/vectors/git-discipline-never-delete-human-refs.json +38 -0
- package/conformance/vectors/manifest-invalid-absolute-path.json +1 -1
- package/conformance/vectors/manifest-invalid-certified-maturity.json +2 -2
- package/conformance/vectors/manifest-invalid-path-and-ref.json +1 -1
- package/conformance/vectors/manifest-invalid-unknown-archetype.json +1 -1
- package/conformance/vectors/manifest-valid-baseline-only.json +7 -2
- package/conformance/vectors/manifest-valid-product.json +1 -1
- package/conformance/vectors/projections-index-pure-merge-deterministic.json +167 -0
- package/conformance/vectors/version-skew-compatible.json +3 -3
- package/conformance/vectors/version-skew-incompatible-warns.json +2 -2
- package/core/authority-canon/provenance.json +23 -0
- package/core/contract.json +14 -4
- package/core/registries/authority-key-registry.json +58 -0
- package/core/registries/maturity-labels.json +15 -3
- package/core/registries/pipeline-ref-classes.json +57 -0
- package/core/registries/required-documents.json +31 -15
- package/core/schemas/authority-event-protocol.schema.json +142 -0
- package/core/schemas/contract-version-status.schema.json +2 -2
- package/core/schemas/git-discipline-protocol.schema.json +150 -0
- package/core/schemas/manifest.schema.json +2 -2
- package/core/schemas/projections-index-v1.schema.json +226 -0
- package/core/schemas/version-skew-protocol.schema.json +3 -3
- package/package.json +1 -1
- package/src/authority.js +192 -0
- package/src/index.d.ts +15 -1
- package/src/index.js +9 -1
package/README.md
CHANGED
|
@@ -12,10 +12,41 @@ The Consiliency cross-repo **contract package** — the single, neutral rulebook
|
|
|
12
12
|
- the version-skew protocol
|
|
13
13
|
- **adoption + governance-scoping (CS-0.12)** — the adoption profile (a partial-adoption profile, not a boolean; its presence = consent to be governed), the governed-set allowlist-by-declaration, the default ignore-set registry, and the `present-nonconforming` / `foreign` / `unmanaged` governance labels
|
|
14
14
|
- **lease + inbox coordination (CS-0.10b)** — the `lease` (TTL + heartbeat + auto-expiry, soft/hard, repo/path-set/symbol scope), the append-only `lease_event` stream, the `lease_store` protocol (sole source of truth) and the `coordination_channel` inbox protocol (never authoritative)
|
|
15
|
+
- **projection discovery + git-discipline (Slice C0)** — the `projections.index.v1` schema (a deterministic pure-merge index of per-artifact projection manifests, no `generated_at`, so every driver reproduces byte-identical entries), the `git_discipline_protocol` (pipeline-owned ref classes, lease + write-footprint, merge policy, and the **NEVER-DELETE-HUMAN-REFS** invariant as a schema-level rule), and the `pipeline_ref_classes` registry both runtimes read to agree on ref ownership
|
|
16
|
+
- **interchangeability conformance (Slice X)** — `scripts/interchangeability/run_driver_equivalence.py` proves the pure-merge claim above isn't just asserted by this package's own reference mergers: it feeds the `projections-index-pure-merge-deterministic` vector through the real `spec-render/build_projections_index.py` producer and asserts byte-identical output, honestly scoped (see `scripts/interchangeability/README.md`)
|
|
17
|
+
- **authority-event contract core (XG-1 Slice 1)** — the single, cryptographically-authenticated `authority_event_protocol.v1` schema with the **core/chain signing split** (Portal signs the slot-independent `core`; spec appends `chain` OUTSIDE the signature and never re-signs), one **canonical-bytes algorithm** implementable in dependency-free JS on Node 20 (see [`docs/design/authority-event-canonical-bytes.md`](docs/design/authority-event-canonical-bytes.md)), the vendored digest-pinned `authority_key_registry.v1` **Ed25519 root of trust** (public keys only), an Ed25519 verify reference in both readers, and 13 conformance vectors — a valid event VERIFIES in both readers and every forgery class (bad/missing signature, unknown/attacker key_id, algorithm-confusion, signer↔approver mismatch, revoked/expired key, cert_digest mismatch) REJECTS
|
|
18
|
+
- **the certified label rescope (CS-1.4, XG-1 Slice 5)** — splits the single `certified` evidence label into `parity-certified` (byte-reproducible parity cert, no authority event — what CS proj-S certification ships today) and `authority-certified` (parity PLUS a verified, human-ratified authority event — reserved until the XG-1 authority loop lands end-to-end); `certified` survives only as a deprecated alias of `parity-certified`, never `authority-certified`, so existing producers/consumers keep validating (see [`docs/design/CS-1.4-certified-label-rescope.md`](docs/design/CS-1.4-certified-label-rescope.md))
|
|
15
19
|
|
|
16
20
|
Dual-published: **npm** [`@consiliency/contract`](https://www.npmjs.com/package/@consiliency/contract) + **PyPI** [`consiliency-contract`](https://pypi.org/project/consiliency-contract/), from shared JSON data + conformance vectors so the two language readers stay byte-identical.
|
|
17
21
|
|
|
18
|
-
> **Status — `0.
|
|
22
|
+
> **Status — `0.6.0` splits the `certified` evidence label into
|
|
23
|
+
> `parity-certified` (byte-parity cert, no authority event — what CS proj-S
|
|
24
|
+
> certification ships today) and `authority-certified` (parity PLUS a
|
|
25
|
+
> verified, human-ratified authority event — reserved until the XG-1
|
|
26
|
+
> authority loop lands end-to-end), keeping `certified` as a deprecated alias
|
|
27
|
+
> of `parity-certified` only, so existing producers/consumers keep validating
|
|
28
|
+
> (CS-1.4, XG-1 Slice 5; see
|
|
29
|
+
> [`docs/design/CS-1.4-certified-label-rescope.md`](docs/design/CS-1.4-certified-label-rescope.md)).
|
|
30
|
+
> `0.5.1` pins the authority canonical-bytes to spec **canon-core v2**
|
|
31
|
+
> (`canonical_bytes`, not a 4th canon — proven byte-identical + digest-pinned in
|
|
32
|
+
> `core/authority-canon/provenance.json`) and applies the settled XG-4
|
|
33
|
+
> domain-separation decision: the Ed25519 signature covers the authority-profile
|
|
34
|
+
> digest preimage `spec-canon:v2:authority\n ‖ canonical_bytes(core)`, converging
|
|
35
|
+
> to zero re-signing when canon-core adds the profile. `0.5.0` added the XG-1
|
|
36
|
+
> Slice 1 authority-event contract core: the
|
|
37
|
+
> `authority_event_protocol.v1` schema (core/chain signing split), the
|
|
38
|
+
> `authority_key_registry.v1` Ed25519 root of trust, the canonical-bytes interop
|
|
39
|
+
> algorithm + Ed25519 verify reference in both readers, and 13 forgery
|
|
40
|
+
> conformance vectors. `0.4.2` makes the `projections.index.v1` per-kind maturity caps
|
|
41
|
+
> two-sided: proj-code is `[presence-only, hash-checked]` and `proj-S-certified`
|
|
42
|
+
> is `[realized-edge-observed, certified]` (floor-revert), replacing the
|
|
43
|
+
> one-sided `not:certified` guard. `0.4.1` made the entry per-kind (proj-code
|
|
44
|
+
> pins a code commit + facts; `proj-S-certified` requires `source_S_digest`,
|
|
45
|
+
> no facts/commit). `0.4.0` added the Slice C0 projection-discovery +
|
|
46
|
+
> git-discipline contracts (`projections.index.v1`, `git_discipline_protocol`,
|
|
47
|
+
> `pipeline_ref_classes`) on top of the `0.3.0` required-document rebalance,
|
|
48
|
+
> the `0.2.0` CS-0.12 adoption/governance-scoping + CS-0.10b lease/inbox
|
|
49
|
+
> coordination, and the `0.1.0` Phase-0 L0 content.**
|
|
19
50
|
> The shared JSON data lives under `core/` and `conformance/`; npm and PyPI
|
|
20
51
|
> readers are intentionally thin loaders over those same bytes.
|
|
21
52
|
|
|
@@ -32,6 +63,9 @@ import {
|
|
|
32
63
|
loadRegistry,
|
|
33
64
|
loadSchema,
|
|
34
65
|
loadVector,
|
|
66
|
+
// authority-event core (XG-1 Slice 1)
|
|
67
|
+
canonicalCoreBytes,
|
|
68
|
+
verifyAuthorityEvent,
|
|
35
69
|
} from "@consiliency/contract";
|
|
36
70
|
```
|
|
37
71
|
|
|
@@ -47,6 +81,12 @@ from consiliency_contract import (
|
|
|
47
81
|
load_schema,
|
|
48
82
|
load_vector,
|
|
49
83
|
)
|
|
84
|
+
# authority-event core (XG-1 Slice 1); needs the optional `authority` extra
|
|
85
|
+
# (cryptography) only for signature verification.
|
|
86
|
+
from consiliency_contract.authority import (
|
|
87
|
+
canonical_core_bytes,
|
|
88
|
+
verify_authority_event,
|
|
89
|
+
)
|
|
50
90
|
```
|
|
51
91
|
|
|
52
92
|
## Verification
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-algorithm-confusion",
|
|
3
|
+
"description": "The event self-declares signature.scheme=hmac-sha256 while the registry key is ed25519 -> REJECT (algorithm_confusion). Verification trusts the REGISTRY scheme, never the event's. Schema-invalid (signature.scheme const is ed25519).",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a22636f6e73696c69656e63793a706f7274616c3a676f7665726e616e6365222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2264316630633064652d303030302d343030302d383030302d303030303030303030303031222c226576656e745f74797065223a22726174696679222c226b65795f6964223a22706f7274616c2d617574686f726974792d656432353531392d7631222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032372d30312d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032362d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "d1f0c0de-0000-4000-8000-000000000001",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "consiliency:portal:governance",
|
|
27
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2026-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2027-01-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "hmac-sha256",
|
|
40
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
41
|
+
"signature": "2e8a2de52db96b1d9f32406aee6b00ccea030fb495c2493720285ba176047d7ff2c73e29e85486d98f23cae4fedd6dd2ae71cdb627c803c2ad1ac3bee56de704"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"decision": {
|
|
46
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
47
|
+
"status": "rejected",
|
|
48
|
+
"maturity": "presence-only",
|
|
49
|
+
"findings": [
|
|
50
|
+
{
|
|
51
|
+
"code": "authority.algorithm_confusion",
|
|
52
|
+
"severity": "block",
|
|
53
|
+
"message": "Declared scheme disagrees with the registry key scheme."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"verifies": false,
|
|
59
|
+
"reason": "algorithm_confusion",
|
|
60
|
+
"schema_valid": false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-bad-signature",
|
|
3
|
+
"description": "A well-formed event whose signature bytes were altered -> REJECT (bad_signature).",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a22636f6e73696c69656e63793a706f7274616c3a676f7665726e616e6365222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2264316630633064652d303030302d343030302d383030302d303030303030303030303031222c226576656e745f74797065223a22726174696679222c226b65795f6964223a22706f7274616c2d617574686f726974792d656432353531392d7631222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032372d30312d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032362d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "d1f0c0de-0000-4000-8000-000000000001",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "consiliency:portal:governance",
|
|
27
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2026-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2027-01-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "ed25519",
|
|
40
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
41
|
+
"signature": "2e8a2de52db96b1d9f32406aee6b00ccea030fb495c2493720285ba176047d7ff2c73e29e85486d98f23cae4fedd6dd2ae71cdb627c803c2ad1ac3bee56de700"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"decision": {
|
|
46
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
47
|
+
"status": "rejected",
|
|
48
|
+
"maturity": "presence-only",
|
|
49
|
+
"findings": [
|
|
50
|
+
{
|
|
51
|
+
"code": "authority.bad_signature",
|
|
52
|
+
"severity": "block",
|
|
53
|
+
"message": "Signature does not verify over the canonical core."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"verifies": false,
|
|
59
|
+
"reason": "bad_signature",
|
|
60
|
+
"schema_valid": true
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-cert-digest-mismatch",
|
|
3
|
+
"description": "A valid event for one cert must NOT ratify a DIFFERENT cert (N4). core.cert_digest is validly signed, but the presented cert's digest differs -> REJECT (cert_digest_mismatch).",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "a6191cebaa8e6ab6dc938c3d981befaa15c4f21295bc1fa493b56efd4f51369a",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a22636f6e73696c69656e63793a706f7274616c3a676f7665726e616e6365222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2264316630633064652d303030302d343030302d383030302d303030303030303030303031222c226576656e745f74797065223a22726174696679222c226b65795f6964223a22706f7274616c2d617574686f726974792d656432353531392d7631222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032372d30312d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032362d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "d1f0c0de-0000-4000-8000-000000000001",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "consiliency:portal:governance",
|
|
27
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2026-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2027-01-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "ed25519",
|
|
40
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
41
|
+
"signature": "2e8a2de52db96b1d9f32406aee6b00ccea030fb495c2493720285ba176047d7ff2c73e29e85486d98f23cae4fedd6dd2ae71cdb627c803c2ad1ac3bee56de704"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"decision": {
|
|
46
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
47
|
+
"status": "rejected",
|
|
48
|
+
"maturity": "presence-only",
|
|
49
|
+
"findings": [
|
|
50
|
+
{
|
|
51
|
+
"code": "authority.cert_digest_mismatch",
|
|
52
|
+
"severity": "block",
|
|
53
|
+
"message": "Event cert_digest does not match the presented cert."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"verifies": false,
|
|
59
|
+
"reason": "cert_digest_mismatch",
|
|
60
|
+
"schema_valid": true
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-chain-appended-still-verifies",
|
|
3
|
+
"description": "The SAME valid event with spec's ledger `chain` block appended (entry/previous/root digests + inclusion proof). Because the signature covers only the core, the appended chain does NOT invalidate it -> still VERIFIES. Separation-of-powers: spec appends without re-signing.",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a22636f6e73696c69656e63793a706f7274616c3a676f7665726e616e6365222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2264316630633064652d303030302d343030302d383030302d303030303030303030303031222c226576656e745f74797065223a22726174696679222c226b65795f6964223a22706f7274616c2d617574686f726974792d656432353531392d7631222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032372d30312d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032362d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "d1f0c0de-0000-4000-8000-000000000001",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "consiliency:portal:governance",
|
|
27
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2026-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2027-01-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "ed25519",
|
|
40
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
41
|
+
"signature": "2e8a2de52db96b1d9f32406aee6b00ccea030fb495c2493720285ba176047d7ff2c73e29e85486d98f23cae4fedd6dd2ae71cdb627c803c2ad1ac3bee56de704"
|
|
42
|
+
},
|
|
43
|
+
"chain": {
|
|
44
|
+
"entry_digest": "8153e27e6133ec71499d6e09b192f851f4409abdf4999618d37a301de68791d3",
|
|
45
|
+
"previous_entry_digest": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
46
|
+
"root_digest": "1efbdfbe5f5c64ab0127fddf8aa4ee2b41e7b36aa54bf8b6616c896e5360ae92",
|
|
47
|
+
"inclusion_proof": {
|
|
48
|
+
"entry_digest": "8153e27e6133ec71499d6e09b192f851f4409abdf4999618d37a301de68791d3",
|
|
49
|
+
"previous_entry_digest": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
50
|
+
"root_digest": "1efbdfbe5f5c64ab0127fddf8aa4ee2b41e7b36aa54bf8b6616c896e5360ae92"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"decision": {
|
|
56
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
57
|
+
"status": "accepted",
|
|
58
|
+
"maturity": "presence-only",
|
|
59
|
+
"findings": [
|
|
60
|
+
{
|
|
61
|
+
"code": "authority.verified",
|
|
62
|
+
"severity": "info",
|
|
63
|
+
"message": "Chain-appended event still verifies over the core."
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"expected": {
|
|
68
|
+
"verifies": true,
|
|
69
|
+
"reason": "verified",
|
|
70
|
+
"schema_valid": true
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-core-validity-expired",
|
|
3
|
+
"description": "A valid signature by a current key, but the event's own validity window ended before `now` -> REJECT (core_validity_expired).",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a22636f6e73696c69656e63793a706f7274616c3a676f7665726e616e6365222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2264316630633064652d303030302d343030302d383030302d303030303030303030303031222c226576656e745f74797065223a22726174696679222c226b65795f6964223a22706f7274616c2d617574686f726974792d656432353531392d7631222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032352d30362d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032352d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "d1f0c0de-0000-4000-8000-000000000001",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "consiliency:portal:governance",
|
|
27
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2025-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2025-06-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "ed25519",
|
|
40
|
+
"key_id": "portal-authority-ed25519-v1",
|
|
41
|
+
"signature": "0e9cecee57bbedf660ef8cdcd58eea6f33e17811dbbf7f2b888e5733d0977fe1593473aa0f2804f7898670d58cb78ee8e25168e6d96855f0e317a99a4135da05"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"decision": {
|
|
46
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
47
|
+
"status": "rejected",
|
|
48
|
+
"maturity": "presence-only",
|
|
49
|
+
"findings": [
|
|
50
|
+
{
|
|
51
|
+
"code": "authority.core_validity_expired",
|
|
52
|
+
"severity": "block",
|
|
53
|
+
"message": "Authority event is outside its own validity window."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"verifies": false,
|
|
59
|
+
"reason": "core_validity_expired",
|
|
60
|
+
"schema_valid": true
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-forged-self-minted",
|
|
3
|
+
"description": "THE EXPLOIT: an attacker mints an event with their own key_id, own approver, own decision_id, and signs it with their own key (zero Portal). The keyless digest stack ACCEPTED this; the real signature stack REJECTs it because attacker-key-001 is not in the pinned registry (unknown_key_id).",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a2261747461636b65723a73656c662d617070726f766564222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2261747461636b65722d6465636973696f6e2d39393939222c226576656e745f74797065223a22726174696679222c226b65795f6964223a2261747461636b65722d6b65792d303031222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032372d30312d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032362d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "attacker-decision-9999",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "attacker:self-approved",
|
|
27
|
+
"key_id": "attacker-key-001",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2026-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2027-01-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "ed25519",
|
|
40
|
+
"key_id": "attacker-key-001",
|
|
41
|
+
"signature": "728fdb09c4c361d11025affdf9931d24ebf06e71b2b58d0999a9d2b2a1055c3a50265917f6e4fd1b957ed8dbf0fb9d46b83b586a24b73623aaf3506b2fa0800d"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"decision": {
|
|
46
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
47
|
+
"status": "rejected",
|
|
48
|
+
"maturity": "presence-only",
|
|
49
|
+
"findings": [
|
|
50
|
+
{
|
|
51
|
+
"code": "authority.unknown_key_id",
|
|
52
|
+
"severity": "block",
|
|
53
|
+
"message": "Signing key_id is not in the pinned authority-key registry."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"verifies": false,
|
|
59
|
+
"reason": "unknown_key_id",
|
|
60
|
+
"schema_valid": true
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-key-expired",
|
|
3
|
+
"description": "A valid signature by a key whose registry validity window ended before `now` -> REJECT (key_expired).",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a22636f6e73696c69656e63793a706f7274616c3a676f7665726e616e6365222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2264316630633064652d303030302d343030302d383030302d303030303030303030303031222c226576656e745f74797065223a22726174696679222c226b65795f6964223a22706f7274616c2d617574686f726974792d656432353531392d65787069726564222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032372d30312d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032362d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "d1f0c0de-0000-4000-8000-000000000001",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "consiliency:portal:governance",
|
|
27
|
+
"key_id": "portal-authority-ed25519-expired",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2026-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2027-01-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "ed25519",
|
|
40
|
+
"key_id": "portal-authority-ed25519-expired",
|
|
41
|
+
"signature": "1d0899a30d443571121be4c2ec431b6da15750ef9f2a92250ec35239b489fcfd9710650ec80892fdee9b0d2a0d651174b404d4eeef09537b4d2edb6403f42003"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"decision": {
|
|
46
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
47
|
+
"status": "rejected",
|
|
48
|
+
"maturity": "presence-only",
|
|
49
|
+
"findings": [
|
|
50
|
+
{
|
|
51
|
+
"code": "authority.key_expired",
|
|
52
|
+
"severity": "block",
|
|
53
|
+
"message": "Signing key is outside its registry validity window."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"verifies": false,
|
|
59
|
+
"reason": "key_expired",
|
|
60
|
+
"schema_valid": true
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "authority-key-revoked",
|
|
3
|
+
"description": "A valid signature by a key the registry marks revoked:true -> REJECT (key_revoked) despite the signature verifying.",
|
|
4
|
+
"input": {
|
|
5
|
+
"schema": "consiliency.authority_verification_scenario.v1",
|
|
6
|
+
"registry": "authority_key_registry",
|
|
7
|
+
"now": "2026-07-03T12:00:00Z",
|
|
8
|
+
"expected_cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
9
|
+
"canon_core_v2_bytes": "7b22617070726f766572223a22636f6e73696c69656e63793a706f7274616c3a676f7665726e616e6365222c2261756469656e6365223a7b2263616e6f6e5f76657273696f6e223a227632222c22656e76223a2270696c6f74222c226c696e65616765223a226d61696e222c227068617365223a22584731222c22706f6c6963795f65706f6368223a22323032365133222c227265706f223a22676f7665726e65642d706970656c696e65222c227375626772617068223a226772617068626173652e62756e646c652e64657465726d696e69737469632d6578706f7274227d2c22617574686f726974795f6576656e745f76657273696f6e223a2231222c22636572745f646967657374223a2231313038616164333662316531303864643266326135643838616466663562396461353936343761383263303039613533643732363061393537653362396465222c22637573746f64795f62696e64696e67223a7b2270686173655f6c6f6f705f6472697665725f616c6c6f776564223a66616c73657d2c226465636973696f6e5f6964223a2264316630633064652d303030302d343030302d383030302d303030303030303030303031222c226576656e745f74797065223a22726174696679222c226b65795f6964223a22706f7274616c2d617574686f726974792d656432353531392d726f74617465642d6f7574222c2270726f706f73616c5f726566223a22706f7274616c3a70726f706f73616c3a30303031222c227261746966795f726566223a22706f7274616c3a7261746966793a30303031222c2276616c6964697479223a7b226e6f745f6166746572223a22323032372d30312d30315430303a30303a30305a222c226e6f745f6265666f7265223a22323032362d30312d30315430303a30303a30305a227d7d",
|
|
10
|
+
"event": {
|
|
11
|
+
"schema": "consiliency.authority_event_protocol.v1",
|
|
12
|
+
"core": {
|
|
13
|
+
"authority_event_version": "1",
|
|
14
|
+
"event_type": "ratify",
|
|
15
|
+
"decision_id": "d1f0c0de-0000-4000-8000-000000000001",
|
|
16
|
+
"audience": {
|
|
17
|
+
"repo": "governed-pipeline",
|
|
18
|
+
"env": "pilot",
|
|
19
|
+
"lineage": "main",
|
|
20
|
+
"policy_epoch": "2026Q3",
|
|
21
|
+
"canon_version": "v2",
|
|
22
|
+
"phase": "XG1",
|
|
23
|
+
"subgraph": "graphbase.bundle.deterministic-export"
|
|
24
|
+
},
|
|
25
|
+
"cert_digest": "1108aad36b1e108dd2f2a5d88adff5b9da59647a82c009a53d7260a957e3b9de",
|
|
26
|
+
"approver": "consiliency:portal:governance",
|
|
27
|
+
"key_id": "portal-authority-ed25519-rotated-out",
|
|
28
|
+
"validity": {
|
|
29
|
+
"not_before": "2026-01-01T00:00:00Z",
|
|
30
|
+
"not_after": "2027-01-01T00:00:00Z"
|
|
31
|
+
},
|
|
32
|
+
"custody_binding": {
|
|
33
|
+
"phase_loop_driver_allowed": false
|
|
34
|
+
},
|
|
35
|
+
"proposal_ref": "portal:proposal:0001",
|
|
36
|
+
"ratify_ref": "portal:ratify:0001"
|
|
37
|
+
},
|
|
38
|
+
"signature": {
|
|
39
|
+
"scheme": "ed25519",
|
|
40
|
+
"key_id": "portal-authority-ed25519-rotated-out",
|
|
41
|
+
"signature": "abaa5f4f66e52733d38c492f12b0cc6616206dfd9d6ca10fa1857e3c10eaa5abc6e5c04c565563f58fdc26b88ccd34e3946c1a8d12c5334d85ca122e94156d05"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"decision": {
|
|
46
|
+
"schema": "consiliency.conformance_decision.v1",
|
|
47
|
+
"status": "rejected",
|
|
48
|
+
"maturity": "presence-only",
|
|
49
|
+
"findings": [
|
|
50
|
+
{
|
|
51
|
+
"code": "authority.key_revoked",
|
|
52
|
+
"severity": "block",
|
|
53
|
+
"message": "Signing key is revoked in the registry."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"verifies": false,
|
|
59
|
+
"reason": "key_revoked",
|
|
60
|
+
"schema_valid": true
|
|
61
|
+
}
|
|
62
|
+
}
|