You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3c26883
Browse filesBrowse the repository at this point in the historyBrowse files
docs(acp): reconcile not_checked reason sets and separate verification axes (#130)
Documents the CG-OBS/1 vs Appendix A reason-set discrepancy as an open reconciliation item, adds three-check separation (receipt/bytes/reader authorization), and updates the fixture manifest/spec to carry the reconciliation explicitly. No silent remapping.
Co-authored-by: EslaM-X <eslam@coreguard.dev>
Copy file name to clipboardExpand all lines: docs/ACP-VERIFICATION-PROFILE-V1-DRAFT.md
+23-11Lines changed: 23 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,22 +70,34 @@ Two consequences are load-bearing:
70
70
- A `verified` outcome with `observed_digest = null` is invalid. Verification is a statement about bytes that were read.
71
71
- A `reason` outside `not_checked` is invalid. A finding is described by `detail`; a non-event is described by a reason.
72
72
73
+
**Three checks that must not be collapsed:**
74
+
75
+
| Check | Question | Not the same as |
76
+
|---|---|---|
77
+
|**Receipt/record verification**| Does the record satisfy the profile/schema/binding checks it claims? | Bytes being intact |
78
+
|**Bytes/integrity verification**| Do the bytes read now match the digest/bytes the record committed to? | The record being semantically valid or the described work happening |
79
+
|**Reader/principal authorization**| Was this observer allowed to read/evaluate this scope at this time? | Receipt validity or byte integrity |
80
+
81
+
A `not_checked` caused by access refusal is an authorization/read event, not a receipt failure and not a byte-integrity failure. Implementations and profiles should name which check produced which outcome.
82
+
73
83
---
74
84
75
85
## 4. The reason set, frozen
76
86
77
-
`not_checked` is the one outcome whose remedy depends entirely on why, so the profile fixes the six causes that actually occur:
87
+
`not_checked` is the one outcome whose remedy depends entirely on why, so the reason set is frozen. A profile MUST NOT introduce a new reason without a version bump, and MUST NOT use a free-text reason.
78
88
79
-
| Reason | Remedy |
80
-
|---|---|
81
-
|`not_attempted`| nothing to fix on the record — nobody tried |
82
-
|`access_refused`| re-scope the caller, or read with another identity |
83
-
|`access_revoked`| the credential is gone; obtain access again |
84
-
|`outside_scope`| this verifier never claims that layer |
85
-
|`unsupported_family`| a build limitation, named as one |
86
-
|`schema_not_implemented`| upgrade the parser, then re-read |
87
-
88
-
A profile MUST NOT introduce a seventh without a version bump, and MUST NOT use a free-text reason.
89
+
**Reconciliation note (open, to resolve before ACP submission/meeting):** the current draft carries two six-reason sets that must be reconciled into one normative set or an explicitly mapped pair.
90
+
91
+
| Set | Reasons | Where used |
92
+
|---|---|---|
93
+
|**CG-OBS/1 reference implementation**|`not_attempted`, `access_refused`, `access_revoked`, `outside_scope`, `unsupported_family`, `schema_not_implemented`|`packages/agent-commerce/observations.mjs`, current ledger/join implementation and tests |
94
+
|**ACP compact profile text (Appendix A, wired as-is)**|`access_refused`, `unsupported_family`, `schema_not_implemented`, `outside_scope`, `provenance_not_present`, `not_yet_materialized`| Appendix A / issue #59 comment 7144044159 |
**Appendix A only:**`provenance_not_present`, `not_yet_materialized`.
99
+
100
+
**Working interpretation (draft, not ratified):**`provenance_not_present` and `not_yet_materialized` describe record/provenance availability states; `not_attempted` and `access_revoked` describe observer/access lifecycle states. These may be different axes rather than competing labels. Before meeting/submission, we should publish one normative table that either (a) unifies them into one frozen set with clear definitions, or (b) splits them into two named fields (e.g. `reason` + `access_state`/`availability_state`) with no silent remapping. No implementation should guess a mapping.
Copy file name to clipboardExpand all lines: docs/AER1-ACP-INTEROP-FIXTURE.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,11 @@ An implementation may publish its own observer column over the same 143 rows, jo
32
32
-**No execution language** for fixture reads. Reading 143 vectors is 143 reads, not 143 runs.
33
33
-**No gap-filling.** A column may only claim per-vector comparison where a per-vector verdict is actually measured. Family-level-only lines remain unclaimed.
34
34
-**Widening rule.** When a per-vector kit emit lands for the remaining families, the column widens on evidence and the divergence count stays honest wherever it lands.
35
+
-**Three checks, never collapsed.** Receipt/record verification, bytes/integrity verification, and reader/principal authorization are different checks. An access refusal is not a receipt failure and not a byte-integrity failure.
36
+
37
+
## Reason-set reconciliation (open)
38
+
39
+
The CG-OBS/1 reference implementation and the Appendix A compact profile text currently use different six-reason `not_checked` sets. The overlap is `access_refused`, `outside_scope`, `unsupported_family`, `schema_not_implemented`. CG-OBS/1 also has `not_attempted`, `access_revoked`; Appendix A also has `provenance_not_present`, `not_yet_materialized`. This is recorded openly in the manifest and must be reconciled before ACP submission/meeting: either one normative frozen set, or two named fields with no silent remapping.
Copy file name to clipboardExpand all lines: docs/aer1-acp-interop-fixture.json
+25-9Lines changed: 25 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,25 @@
19
19
"absent",
20
20
"unresolvable_record"
21
21
],
22
-
"notCheckedReasons": [
23
-
"access_refused",
24
-
"unsupported_family",
25
-
"schema_not_implemented",
26
-
"outside_scope",
27
-
"provenance_not_present",
28
-
"not_yet_materialized"
29
-
],
22
+
"notCheckedReasons": {
23
+
"cgObs1Reference": [
24
+
"not_attempted",
25
+
"access_refused",
26
+
"access_revoked",
27
+
"outside_scope",
28
+
"unsupported_family",
29
+
"schema_not_implemented"
30
+
],
31
+
"appendixAProfileText": [
32
+
"access_refused",
33
+
"unsupported_family",
34
+
"schema_not_implemented",
35
+
"outside_scope",
36
+
"provenance_not_present",
37
+
"not_yet_materialized"
38
+
],
39
+
"reconciliation": "Open before ACP submission/meeting: unify into one normative set or split into named fields with no silent remapping. Overlap: access_refused,outside_scope,unsupported_family,schema_not_implemented."
40
+
},
30
41
"runLevelOutcomesUntouched": true
31
42
},
32
43
"observers": [
@@ -58,7 +69,12 @@
58
69
"noExecutionLanguageForFixtureReads": true,
59
70
"scopeMustBePrinted": true,
60
71
"wideningRule": "When a per-vector kit emit lands for remaining families, the column widens on evidence and the divergence count stays honest wherever it lands.",
61
-
"comparisonRule": "An observer column may only claim per-vector comparison where that per-vector verdict is actually measured; family-level-only lines remain unclaimed."
72
+
"comparisonRule": "An observer column may only claim per-vector comparison where that per-vector verdict is actually measured; family-level-only lines remain unclaimed.",
0 commit comments