feat(assessment): add the review band of attempt signals and the disclosed collector

This commit is contained in:
shira committed 2026-10-08 23:04:57 +03:00
1 parent 68286af8b7
commit b3c6dc870b
124 files changed
+13522 -633

No files matched your search

@@ -63,7 +63,15 @@ schemas:
format: int32
minimum: 0
maximum: 2147483647
description: Byte count only. Clipboard or selection contents are not transmitted or retained.
description: >-
Size only; clipboard and selection contents are never transmitted or
retained. For `paste` it is the UTF-8 byte count of the pasted plain
text plus the byte size of pasted files, counted on the device from
the paste event. For `copy` and `cut` it is the selection length in
UTF-16 code units taken from the selection offsets of a form field,
or zero when the field offsets are unavailable; it is an approximate
size and the selected text is not read. The server applies no
conversion and treats the value as an order-of-magnitude indicator.
AssessmentFullscreenExitSignal:
type: object
additionalProperties: false
@@ -122,3 +130,48 @@ schemas:
description: Number of events stored from this batch; zero when saturated.
received_at:
$ref: "#/schemas/Timestamp"
AssessmentSignalNoticeVersion:
type: integer
format: int32
minimum: 1
maximum: 2147483647
description: >-
Version of the notice text about the collected signals. The client
shows the text of the version it knows and sends that version back when
the candidate confirms; a changed text gets a new version and needs a
new confirmation.
AssessmentSignalNotice:
type: object
description: >-
State of the notice about the signals that are collected during a real
assessment attempt. The acknowledgement is a record that the candidate
was informed. It is not a consent, grants no purpose, and neither
enables nor blocks signal storage; C3 remains the only consent that
the signal operation checks.
additionalProperties: false
required:
- notice_version
- acknowledged
- acknowledged_at
properties:
notice_version:
allOf:
- $ref: "#/schemas/AssessmentSignalNoticeVersion"
description: The version the server currently requires the candidate to acknowledge.
acknowledged:
type: boolean
description: True when the candidate acknowledged `notice_version`.
acknowledged_at:
description: Server time of the first acknowledgement of this version, or null.
oneOf:
- $ref: "#/schemas/Timestamp"
- type: "null"
AssessmentSignalNoticeAcknowledgement:
type: object
description: The notice version the candidate was shown and acknowledged.
additionalProperties: false
required:
- notice_version
properties:
notice_version:
$ref: "#/schemas/AssessmentSignalNoticeVersion"