From bf193fc0fae88455d0eac7374b318330ba808439 Mon Sep 17 00:00:00 2001 From: Nimrod Busany Date: Fri, 27 Nov 2026 09:33:23 +0200 Subject: [PATCH 1/3] docs(contract): clarify reserved and not-produced process-record outcomes; runlineage certificates are not addressed by these routes Co-Authored-By: Claude Sonnet 5.5 --- ...fication-process-record-descriptions.changed.md | 1 + parity/python-js-sdk.json | 2 +- .../process_record_request_schema.json | 2 +- .../certification/process_records_endpoints.json | 14 +++++++------- 4 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 changelog.d/certification-process-record-descriptions.changed.md diff --git a/changelog.d/certification-process-record-descriptions.changed.md b/changelog.d/certification-process-record-descriptions.changed.md new file mode 100644 index 00000000..fe7731ef --- /dev/null +++ b/changelog.d/certification-process-record-descriptions.changed.md @@ -0,0 +1 @@ +- Clarified three descriptions in the certification process-record contract: the set-completeness unresolved identifiers and the candidate-not-retrievable outcome are reserved and not produced today (an unmappable historical configuration answers the declared closed 503), certificates carrying a runlineage reference are not addressed by these project-scoped routes, and the no-experiment-run-reference reason is not produced on these routes. Descriptions only; no shape change. diff --git a/parity/python-js-sdk.json b/parity/python-js-sdk.json index 04060676..52618f74 100644 --- a/parity/python-js-sdk.json +++ b/parity/python-js-sdk.json @@ -399,7 +399,7 @@ "sdk032Surface": "Manifest Python pin advanced from d56e4353 to 6e8e4a54 (origin/develop, the SDK 0.32.0 release candidate) to cover two root exports the js-public-parity gate flagged unclassified on Traigent/Traigent#2861. requirement (traigent.runtime.decorator) is the runtime latency requirement decorator; traigent-js origin/main and origin/develop both export requirement from src/runtime/index.ts and list it in tests/integration/fixtures/api-surface.snapshot.json, so it is classified matched and added to requiredRootExports next to require. SnapshotBindingError (traigent.utils.exceptions) is the typed error of the Python opt-in snapshot store (S0 before dispatch, S1 from the terminal result, online G1); traigent-js has no snapshot store and no export of it (zero occurrences in src or its api-surface snapshot), so it is classified deferred-backlog, Python-only for now with no open JS design and no ticket. Owner may re-bucket." }, "schemaRefresh": { - "lastSchemaFileSha": "e1336def76c4e9122fd14a4a4ccd8abb370e7a196a93fabecfabba6e270290c4", + "lastSchemaFileSha": "31ece564174941e09dd43723ab4f588d6f28f1fa09b6ec8c2df9cfd9f8988596", "schemaFileCount": 692, "note": "Auto-stamped by scripts/refresh_parity.py. Do not hand-edit this block." } diff --git a/traigent_schema/schemas/certification/process_record_request_schema.json b/traigent_schema/schemas/certification/process_record_request_schema.json index 60d1b339..776dfe57 100644 --- a/traigent_schema/schemas/certification/process_record_request_schema.json +++ b/traigent_schema/schemas/certification/process_record_request_schema.json @@ -8,7 +8,7 @@ "type": "string", "maxLength": 47, "pattern": "^bsn:[A-Za-z0-9_-]{43}(?![\\s\\S])", - "description": "Use the build_session_ref returned when the certificate build session was created. These routes cover issuances created through a certificate build session. A certificate that carries a runlineage: reference is not addressed here and stays on the existing certification routes. Prepare echoes the same reference. Resolve it within the named project." + "description": "Use the build_session_ref returned when the certificate build session was created. These routes cover issuances created through a certificate build session. A certificate that carries a runlineage: reference is not addressed by these project-scoped routes. Prepare echoes the same reference. Resolve it within the named project." }, "Sha256Reference": { "allOf": [{"$ref": "./certification_common_v0_schema.json#/definitions/Sha256Digest"}], diff --git a/traigent_schema/schemas/certification/process_records_endpoints.json b/traigent_schema/schemas/certification/process_records_endpoints.json index 7e18fc5f..bd78fd17 100644 --- a/traigent_schema/schemas/certification/process_records_endpoints.json +++ b/traigent_schema/schemas/certification/process_records_endpoints.json @@ -150,7 +150,7 @@ "name": "process_record_ref", "in": "path", "required": true, - "description": "Use the build_session_ref issued for this project. An issuance created through a certificate build session can be retrieved with that same reference without calling prepare. A certificate carrying a runlineage: reference stays on the existing certification routes.", + "description": "Use the build_session_ref issued for this project. An issuance created through a certificate build session can be retrieved with that same reference without calling prepare. A certificate carrying a runlineage: reference is not addressed by these project-scoped routes.", "schema": {"$ref": "./process_record_request_schema.json#/definitions/ProcessRecordReference"} } ], @@ -389,7 +389,7 @@ "name": "process_record_ref", "in": "path", "required": true, - "description": "Use the build_session_ref issued for this project, also echoed by prepare. A certificate carrying a runlineage: reference stays on the existing certification routes.", + "description": "Use the build_session_ref issued for this project, also echoed by prepare. A certificate carrying a runlineage: reference is not addressed by these project-scoped routes.", "schema": {"$ref": "./process_record_request_schema.json#/definitions/ProcessRecordReference"} } ], @@ -1041,7 +1041,7 @@ "supplement_present": {"type": "boolean"}, "assessment_state": {"enum": ["assessed", "not_assessed"]}, "outcome": { - "enum": [ + "description": "The value candidate_not_retrievable is reserved and not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ "non_dominated_within_scope", "dominated_within_scope", "no_comparable_peers", @@ -1091,7 +1091,7 @@ }, "front_status": {"enum": ["asserted", "withheld_dominated", "not_assessed"]}, "withheld_reason": { - "enum": [ + "description": "The value candidate_not_retrievable is reserved and not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ "dominated_by_member", "candidate_not_comparable", "no_comparable_peers", @@ -1113,7 +1113,7 @@ "properties": { "named": {"type": "integer", "minimum": 0}, "resolved": {"type": "integer", "minimum": 0}, - "unresolved_ids": {"type": "array", "items": {"$ref": "#/components/schemas/FrontClaimRecordReference"}}, + "unresolved_ids": {"description": "Reserved. Not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead.", "type": "array", "items": {"$ref": "#/components/schemas/FrontClaimRecordReference"}}, "attested": {"const": false} } }, @@ -1158,7 +1158,7 @@ }, { "properties": { - "outcome": {"const": "candidate_not_retrievable"}, + "outcome": {"const": "candidate_not_retrievable", "description": "Reserved. Not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead."}, "headline": { "const": "The selection receipt named a configuration whose record no longer resolves, so no comparison was possible. Nothing is wrong with the objectives; the evidence for the selected configuration itself is gone." } @@ -1258,7 +1258,7 @@ "additionalProperties": false, "required": ["reason", "detail"], "properties": { - "reason": {"const": "no_experiment_run_reference"}, + "reason": {"const": "no_experiment_run_reference", "description": "Not produced on these routes, because a finalized build session always carries its experiment run."}, "detail": { "const": "No experiment run was named for this issuance, so no selection receipt or candidate records could be located." }, From 729aec91b61ea3e465f0632c05f4f4424bb414c3 Mon Sep 17 00:00:00 2001 From: Nimrod Busany Date: Fri, 27 Nov 2026 11:31:27 +0200 Subject: [PATCH 2/3] docs(contract): describe unresolved_ids and candidate_not_retrievable as they behave Co-Authored-By: Claude Sonnet 5.5 --- .../certification-process-record-descriptions.changed.md | 2 +- parity/python-js-sdk.json | 2 +- .../schemas/certification/process_records_endpoints.json | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog.d/certification-process-record-descriptions.changed.md b/changelog.d/certification-process-record-descriptions.changed.md index fe7731ef..2615984c 100644 --- a/changelog.d/certification-process-record-descriptions.changed.md +++ b/changelog.d/certification-process-record-descriptions.changed.md @@ -1 +1 @@ -- Clarified three descriptions in the certification process-record contract: the set-completeness unresolved identifiers and the candidate-not-retrievable outcome are reserved and not produced today (an unmappable historical configuration answers the declared closed 503), certificates carrying a runlineage reference are not addressed by these project-scoped routes, and the no-experiment-run-reference reason is not produced on these routes. Descriptions only; no shape change. +- Clarified three descriptions in the certification process-record contract: the set-completeness unresolved identifiers are always present and normally empty, the candidate-not-retrievable outcome is returned only for an outcome recorded at issuance whose references still resolve (an unresolvable historical configuration answers the declared closed 503), certificates carrying a runlineage reference are not addressed by these project-scoped routes, and the no-experiment-run-reference reason is not produced on these routes. Descriptions only; no shape change. diff --git a/parity/python-js-sdk.json b/parity/python-js-sdk.json index 52618f74..d3d4baec 100644 --- a/parity/python-js-sdk.json +++ b/parity/python-js-sdk.json @@ -399,7 +399,7 @@ "sdk032Surface": "Manifest Python pin advanced from d56e4353 to 6e8e4a54 (origin/develop, the SDK 0.32.0 release candidate) to cover two root exports the js-public-parity gate flagged unclassified on Traigent/Traigent#2861. requirement (traigent.runtime.decorator) is the runtime latency requirement decorator; traigent-js origin/main and origin/develop both export requirement from src/runtime/index.ts and list it in tests/integration/fixtures/api-surface.snapshot.json, so it is classified matched and added to requiredRootExports next to require. SnapshotBindingError (traigent.utils.exceptions) is the typed error of the Python opt-in snapshot store (S0 before dispatch, S1 from the terminal result, online G1); traigent-js has no snapshot store and no export of it (zero occurrences in src or its api-surface snapshot), so it is classified deferred-backlog, Python-only for now with no open JS design and no ticket. Owner may re-bucket." }, "schemaRefresh": { - "lastSchemaFileSha": "31ece564174941e09dd43723ab4f588d6f28f1fa09b6ec8c2df9cfd9f8988596", + "lastSchemaFileSha": "d8b21a179febc37629f4cf6d9f4e71386a5a79ba524bbe700d67b50343753238", "schemaFileCount": 692, "note": "Auto-stamped by scripts/refresh_parity.py. Do not hand-edit this block." } diff --git a/traigent_schema/schemas/certification/process_records_endpoints.json b/traigent_schema/schemas/certification/process_records_endpoints.json index bd78fd17..ee1e4598 100644 --- a/traigent_schema/schemas/certification/process_records_endpoints.json +++ b/traigent_schema/schemas/certification/process_records_endpoints.json @@ -1041,7 +1041,7 @@ "supplement_present": {"type": "boolean"}, "assessment_state": {"enum": ["assessed", "not_assessed"]}, "outcome": { - "description": "The value candidate_not_retrievable is reserved and not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ + "description": "Returned only for an outcome recorded at issuance whose references still resolve; an unresolvable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ "non_dominated_within_scope", "dominated_within_scope", "no_comparable_peers", @@ -1091,7 +1091,7 @@ }, "front_status": {"enum": ["asserted", "withheld_dominated", "not_assessed"]}, "withheld_reason": { - "description": "The value candidate_not_retrievable is reserved and not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ + "description": "Returned only for an outcome recorded at issuance whose references still resolve; an unresolvable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ "dominated_by_member", "candidate_not_comparable", "no_comparable_peers", @@ -1113,7 +1113,7 @@ "properties": { "named": {"type": "integer", "minimum": 0}, "resolved": {"type": "integer", "minimum": 0}, - "unresolved_ids": {"description": "Reserved. Not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead.", "type": "array", "items": {"$ref": "#/components/schemas/FrontClaimRecordReference"}}, + "unresolved_ids": {"description": "Always present. Normally empty: while historical configuration identities cannot be mapped, a historical configuration that cannot be resolved makes retrieve answer the declared closed 503 instead of listing it here.", "type": "array", "items": {"$ref": "#/components/schemas/FrontClaimRecordReference"}}, "attested": {"const": false} } }, @@ -1158,7 +1158,7 @@ }, { "properties": { - "outcome": {"const": "candidate_not_retrievable", "description": "Reserved. Not produced until historical configuration identities can be mapped; today an unmappable historical configuration makes retrieve answer the declared closed 503 instead."}, + "outcome": {"const": "candidate_not_retrievable", "description": "Returned only for an outcome recorded at issuance whose references still resolve; an unresolvable historical configuration makes retrieve answer the declared closed 503 instead."}, "headline": { "const": "The selection receipt named a configuration whose record no longer resolves, so no comparison was possible. Nothing is wrong with the objectives; the evidence for the selected configuration itself is gone." } From 902535b757a0b9619400fb839cae601a82e800d3 Mon Sep 17 00:00:00 2001 From: Nimrod Busany Date: Fri, 27 Nov 2026 11:35:54 +0200 Subject: [PATCH 3/3] docs(contract): name the qualified values and describe stored reasons precisely Co-Authored-By: Claude Sonnet 5.5 --- .../certification-process-record-descriptions.changed.md | 2 +- parity/python-js-sdk.json | 2 +- .../schemas/certification/process_records_endpoints.json | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog.d/certification-process-record-descriptions.changed.md b/changelog.d/certification-process-record-descriptions.changed.md index 2615984c..175ed864 100644 --- a/changelog.d/certification-process-record-descriptions.changed.md +++ b/changelog.d/certification-process-record-descriptions.changed.md @@ -1 +1 @@ -- Clarified three descriptions in the certification process-record contract: the set-completeness unresolved identifiers are always present and normally empty, the candidate-not-retrievable outcome is returned only for an outcome recorded at issuance whose references still resolve (an unresolvable historical configuration answers the declared closed 503), certificates carrying a runlineage reference are not addressed by these project-scoped routes, and the no-experiment-run-reference reason is not produced on these routes. Descriptions only; no shape change. +- Clarified descriptions in the certification process-record contract: the set-completeness unresolved identifiers are always present when set completeness is present and list configurations recorded as unresolved at issuance that can be referenced at retrieval; the candidate_not_retrievable value is returned only for an outcome recorded at issuance whose references still resolve (an unresolvable historical configuration answers the declared closed 503); certificates carrying a runlineage reference are not addressed by these project-scoped routes; and the no_experiment_run_reference reason is never generated for new finalizations on these routes but can still be returned when a stored assessment carries it. Descriptions only; no shape change. diff --git a/parity/python-js-sdk.json b/parity/python-js-sdk.json index d3d4baec..6474b185 100644 --- a/parity/python-js-sdk.json +++ b/parity/python-js-sdk.json @@ -399,7 +399,7 @@ "sdk032Surface": "Manifest Python pin advanced from d56e4353 to 6e8e4a54 (origin/develop, the SDK 0.32.0 release candidate) to cover two root exports the js-public-parity gate flagged unclassified on Traigent/Traigent#2861. requirement (traigent.runtime.decorator) is the runtime latency requirement decorator; traigent-js origin/main and origin/develop both export requirement from src/runtime/index.ts and list it in tests/integration/fixtures/api-surface.snapshot.json, so it is classified matched and added to requiredRootExports next to require. SnapshotBindingError (traigent.utils.exceptions) is the typed error of the Python opt-in snapshot store (S0 before dispatch, S1 from the terminal result, online G1); traigent-js has no snapshot store and no export of it (zero occurrences in src or its api-surface snapshot), so it is classified deferred-backlog, Python-only for now with no open JS design and no ticket. Owner may re-bucket." }, "schemaRefresh": { - "lastSchemaFileSha": "d8b21a179febc37629f4cf6d9f4e71386a5a79ba524bbe700d67b50343753238", + "lastSchemaFileSha": "5d3e6046e87944acf6a7f3663b9f97e43472ee9db56a7acb380cb25126f000b9", "schemaFileCount": 692, "note": "Auto-stamped by scripts/refresh_parity.py. Do not hand-edit this block." } diff --git a/traigent_schema/schemas/certification/process_records_endpoints.json b/traigent_schema/schemas/certification/process_records_endpoints.json index ee1e4598..19910d76 100644 --- a/traigent_schema/schemas/certification/process_records_endpoints.json +++ b/traigent_schema/schemas/certification/process_records_endpoints.json @@ -1041,7 +1041,7 @@ "supplement_present": {"type": "boolean"}, "assessment_state": {"enum": ["assessed", "not_assessed"]}, "outcome": { - "description": "Returned only for an outcome recorded at issuance whose references still resolve; an unresolvable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ + "description": "The value candidate_not_retrievable is returned only for an outcome recorded at issuance whose references still resolve; an unresolvable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ "non_dominated_within_scope", "dominated_within_scope", "no_comparable_peers", @@ -1091,7 +1091,7 @@ }, "front_status": {"enum": ["asserted", "withheld_dominated", "not_assessed"]}, "withheld_reason": { - "description": "Returned only for an outcome recorded at issuance whose references still resolve; an unresolvable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ + "description": "The value candidate_not_retrievable is returned only for an outcome recorded at issuance whose references still resolve; an unresolvable historical configuration makes retrieve answer the declared closed 503 instead.", "enum": [ "dominated_by_member", "candidate_not_comparable", "no_comparable_peers", @@ -1113,7 +1113,7 @@ "properties": { "named": {"type": "integer", "minimum": 0}, "resolved": {"type": "integer", "minimum": 0}, - "unresolved_ids": {"description": "Always present. Normally empty: while historical configuration identities cannot be mapped, a historical configuration that cannot be resolved makes retrieve answer the declared closed 503 instead of listing it here.", "type": "array", "items": {"$ref": "#/components/schemas/FrontClaimRecordReference"}}, + "unresolved_ids": {"description": "Always present when set_completeness is present. Lists configurations recorded as unresolved at issuance that can be referenced at retrieval. If a referenced configuration cannot be mapped at retrieval, retrieve answers the declared closed 503 instead.", "type": "array", "items": {"$ref": "#/components/schemas/FrontClaimRecordReference"}}, "attested": {"const": false} } }, @@ -1258,7 +1258,7 @@ "additionalProperties": false, "required": ["reason", "detail"], "properties": { - "reason": {"const": "no_experiment_run_reference", "description": "Not produced on these routes, because a finalized build session always carries its experiment run."}, + "reason": {"const": "no_experiment_run_reference", "description": "New finalizations on these routes never generate this reason, because finalize takes the experiment run from the finalized build session; retrieve can still return it when a stored assessment carries it."}, "detail": { "const": "No experiment run was named for this issuance, so no selection receipt or candidate records could be located." },