| Internet-Draft | learnlog | October 2026 |
| Srivastava | Expires 23 April 2027 | [Page] |
This document proposes Learnlog as an assistance capture profile for measuring AI scaffolding, with xAPI and Caliper bindings. Its motivation is Quantum Learning Machines' work on QLM Measure. The profile defines what assistance was requested, offered, generated, transmitted, displayed, or accepted; what an instrument captured; which facts remain unknown; and which assertions were observed, self-reported, or inferred. Existing logging ecosystems can carry these definitions. Their reviewed base specifications do not, by themselves, require this particular combined agreement on assistance, achieved capture, unavailable information, and mapping provenance. Existing AI and tutoring profiles already cover important parts of the domain. For discussion, the document also proposes event families beyond assistance, among them prediction, revision, recall after a delay, stated confidence, and agency.¶
The document retains the existing Learnlog event file representation, hash chains, optional signed heads, and verifiable redaction as an optional carrier. An implementation can use the assistance profile without producing that file representation. Experimental companion software constructs importer-observation records in xAPI and Caliper while preserving source assistance assertions separately. The implementation does not establish independent interoperability, truthful or complete capture, independent learning, or scientific equivalence across products. The core file format is unchanged in this revision.¶
This note is to be removed before publishing as an RFC.¶
This individual Internet-Draft is a working proposal for discussion, not an IETF-approved standard. Since revision -02, Learnlog is positioned primarily as an assistance capture profile with xAPI and Caliper bindings. The existing file representation is optional. The companion implementation is experimental, and its importer-observation mode is not a direct reconstruction of learner actions. All 20 core sourcecode blocks, the core hash algorithm, Appendix A test vectors, and the previously versioned companion definitions are preserved. Revision -03 adds an offered assistance state, rules for observed, self-reported, and inferred assertions, an informative account of three released research datasets, and proposed event families beyond assistance. It changes no core sourcecode block, hash computation, or test vector. This revision makes no first-profile, exhaustive-gap, scientific-equivalence, certification, or superiority claim. Appendix C, Appendix D, and Appendix E record changes, Appendix F lists open questions, and Appendix B describes implementation limits.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 23 April 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Learnlog is proposed as an assistance capture profile for measuring AI scaffolding, with xAPI and Caliper bindings. A request for a hint, an answer generated by software, and a hint displayed to a learner are different observations. Combining them under a single count of "help" can change the question an analysis answers. Interpreting a learner's work also requires knowing the instrument's observation boundary: a record from one application does not establish whether the learner used another tool. The profile makes these distinctions explicit so that producers and readers can examine them without reconstructing their meaning separately for every export.¶
The proposal originated in Quantum Learning Machines' internal work on measuring AI scaffolding while building QLM Measure. The company made the assistance contract an internal logging requirement for its products and decided to open the definitions and logging approach for wider review. This origin is the author's account of development motivation, not a community needs survey or evidence that every QLM product conforms. The working repository remains private; the decision to open the work does not establish a completed public release.¶
The profile has two layers: domain definitions and capture requirements (Section 2), and versioned bindings to existing logging ecosystems (Section 2.6). xAPI and Caliper supply carrier models; Learnlog specifies the assistance agreement that the proposed bindings carry. The file representation in the remaining sections is an optional compatibility carrier for deployments that need its integrity and redaction behavior. An external product can retain its native log format; a supported transformer adapter can produce the profile representation.¶
The intended use is prospective instrumentation of learning and assessment activity, including AI assistance. Recording a state when the producing system observes it can preserve evidence that a later export cannot recreate. Retrospective transformation can retain source distinctions and disclose missing information, but it cannot manufacture absent display events, model versions, capture windows, or evidence about external AI. A log supports inspection of assisted performance; it does not establish independent ability, a learning effect, or the applicability of a prior study.¶
The existing Learnlog file representation has the following properties:¶
The structure of files, records, and event schemas follows qlog [QLOG], which defines structured logging for network protocols. This document adds integrity rules and the members that a record of learning needs.¶
The proposed assistance requirements are stated in Section 2. This working revision does not yet define a complete assistance-profile conformance target; unpublished companion files do not supply normative requirements. The file, event, integrity, serialization, and registration requirements elsewhere apply when the optional Learnlog file representation is used. A carrier binding also needs to satisfy its own ecosystem's requirements. A claim about one layer does not establish conformance to the others.¶
This document defines:¶
The following are out of scope:¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
Data structures are defined in the Concise Data Definition Language (CDDL) [RFC8610]. Examples are in JSON [RFC8259]. Some figures wrap long lines as described in [RFC8792].¶
This document uses the following terms:¶
This section specifies the proposed assistance agreement and its claim boundaries. It is a versioned companion contract, not new required members of the core CDDL. The experimental payload identified as urn:learnlog:proposal:assistance-capture:0.1.0 uses schema_version 0.1.0-draft. It is not an IETF-registered schema. Independent implementation and methodological validation remain pending. The older qlm:assistance-context:0.1.0 companion profile remains a distinct, unchanged definition; this contract does not silently revise its meaning.¶
A producer implementing the proposed assistance requirements MUST preserve the assistance, capture, knowledge-state, and provenance distinctions defined in this section. It MUST identify the payload version and carrier binding. It MUST NOT replace unavailable information with a guessed observed value or silently discard required information during transformation. A binding that cannot preserve required information MUST reject the conversion or report the loss without claiming lossless preservation. Passing these checks establishes structural consistency under the stated rules, not that an asserted event occurred.¶
The supplied companion schema and consistency checker are informative reference-implementation artifacts. They are not unpublished normative dependencies. A future complete conformance target needs a fixed, independently retrievable specification of its schema, consistency rules, and bindings, with version and change control. Until then, implementations can report the particular checks performed but cannot claim complete assistance-profile conformance to this draft. The prepared review package includes the exact reference files and a SHA-256 manifest for inspection; this does not establish public availability.¶
The xAPI Profiles specification already provides controlled vocabularies, statement templates, and patterns [XAPI-PROFILES]. Caliper defines event and entity models with extensibility [CALIPER]. Domain work also exists: Rustici Software has proposed an AI xAPI profile [RUSTICI-AI], and GIFT documents xAPI statements for tutoring interactions, learner state, and environment adaptations [GIFT-XAPI]. Learnlog therefore makes no claim that assistance logging, domain profiling, or semantic interoperability is new, or that existing ecosystems cannot represent the necessary information.¶
The retrieved draft version 0.1.0 of the AI-Mediated Learning Interactions Profile from inXsol LLC / TLA Toolbox [TLA-AI] has direct conceptual overlap: it defines requested AI scaffolds, received AI responses, incorporated AI output, assisted and independent submission concepts, and model-version context. These are existing proposed domain definitions, not an empty vocabulary space for Learnlog to fill. Their presence does not establish that any particular submission was independent; that assertion still needs evidence about its observation boundary.¶
DataShop's Tutor Message format guide [DATASHOP-FORMAT] also defines paired help-request and tutor-response messages, with hint identifiers and ordering information. Separating a learner's request from a tutor's response therefore predates this proposal. Learnlog's candidate contribution concerns an explicit combined contract for assistance meaning, achieved capture, unavailable information, and mapping provenance; its value needs to be established against such existing work.¶
The bounded gap is that the reviewed base specifications do not by themselves require this particular combined agreement: distinct assistance lifecycle observations; a declared instrument and achieved capture boundary; explicit unavailable-information states; and provenance for mappings used in a proposed combined measurement. Profiles can supply such requirements. The proposal is to make them reusable and inspectable across products, then test their usefulness. A profile-by-profile comparison may reveal overlap, a better existing home, or requirements to remove. A separate file format is not necessary merely to express this agreement.¶
A contract needs to define the subject of each assertion, its observation unit, the instrument that supplied it, and the evidence for that assertion. The prototype distinguishes these source-supported observations:¶
For example, a learner requests a hint, the server generates text, and the interface displays it. There are three observed lifecycle actions. A count of requests can be one, a count of generated responses can be one, and a count of displays can be one; adding these counts does not establish three help episodes. A fourth event saying that the learner read or learned from the hint would require its own evidence. If the request and generated text are recorded but display is unobserved, observed display remains unavailable. A later analyst cannot fill that gap using the successful generation alone.¶
A count of requests leaves out assistance that a system started on its own. Two products with the same number of requests can differ in how much help learners received, so a comparison needs offered assistance to be visible as its own state. The third release in Section 2.7 gives an example of probable system-started help that a request count misses.¶
These states are proposed companion-contract concepts, not additions to the core event registry. The existing assist:help_requested and assist:scaffold_provided names and CDDL are retained. The meaning of an absent request link was revised in this revision as explicitly described in Section 7.2; unchanged syntax does not imply unchanged semantics. A new lifecycle state needs an explicit versioned event definition or binding; it cannot be inserted as an undeclared core event or equated with scaffold provision without a justified mapping.¶
The proposed contract requires a capture instrument identifier, explicit information about which assistance states that instrument can observe, the systems and event classes inside its boundary, exclusions, an observation window, and achieved coverage. Relevant product and model identity or revision information also needs an explicit knowledge state. Capability and planned capture describe what an instrument could or intended to collect; achieved coverage describes what was captured within the stated boundary and window. One does not establish the other.¶
A claim of complete capture applies only within an explicitly stated boundary and observation window, with supporting evidence. It does not include an uninstrumented browser tab, another device, or external AI unless those are explicitly inside the demonstrated boundary. A source's completeness claim remains a source assertion. Independent checks against actual product behavior are needed to assess its accuracy. The prototype can check required fields and evidence references; it cannot establish that a producer's coverage claim is true.¶
The contract does not require raw conversations, prompts, or assistance content. A deployment should collect the minimum evidence needed for its declared purpose, use scoped identifiers, and control access and retention (Section 12). Optional source references and context can support audit without making full learner text mandatory.¶
The prototype represents important assertions with an explicit knowledge state, an explanation, and evidence references. Its current states are observed, not_collected, not_reported, not_reviewed, unknown, and not_applicable. An observed value needs supporting evidence. An unavailable state must not carry a guessed observed value. These states remain candidates for review and are not asserted to be an exhaustive measurement taxonomy.¶
not_reviewed means the relevant material has not yet been examined for this assertion. not_reported requires a documented review of specified material that did not report the information. not_collected needs evidence about the capture process; silence in an export does not establish that the original system failed to collect it. unknown records an unresolved fact when a narrower supported state is unavailable. not_applicable needs a reason tied to the assertion. Review scope and evidence need to accompany these distinctions.¶
A valid record with zero displayed events therefore supports a zero only for a question whose boundary, capture evidence, inclusion rules, and denominator justify that interpretation. Otherwise, the display count may be unavailable. A missing model version remains unavailable; a transformation must not invent one from a product name or assumed release date. Data availability, a researcher's review status, and whether a study applies to a new setting are separate questions.¶
The basis of an assertion is separate from its knowledge state. This revision proposes three bases:¶
A producer implementing the proposed assistance requirements MUST record the basis of every assistance-profile assertion. An assertion without a recorded basis has an unknown basis; it is not thereby observed. An inferred assertion MUST identify the detector, model, rule, or coder; its version; the output and its scale; and the classes of input evidence it used. When the inputs are not known, they MUST carry an explicit knowledge state (Section 2.4), such as unknown or, after a documented review, not_reported, instead of being left out. An inferred assertion SHOULD also identify when the inference was made and any validation it rests on. An inferred or self-reported value MUST NOT be recorded as, or converted into, an observed value, and MUST NOT replace an observed value for the same assertion. A stated confidence and an inferred confidence for the same response are two assertions.¶
The input declaration matters when an inferred state is compared with the events it may have been computed from. If a detector's inputs include assistance events, comparing its output with assistance counts partly compares the detector with its own input. A reader can judge that only when the inputs are declared. A prediction that a learner needs help is inferred; an offer of help made because of that prediction is observed as offered (Section 2.2). An emotional state estimated from interaction logs is inferred, while a learner's answer to an emotion prompt is self-reported.¶
A classification computed from several events, such as a display followed by another request within five minutes, is an analytical result, not a new observation. It is an inferred assertion made by a rule, so the requirements above apply: it needs a versioned rule, its time window and anchor, and references to the events it used, and it MUST NOT be recorded as observed.¶
The experimental bindings carry the full assistance capture payload in documented xAPI and Caliper extension locations. The xAPI materials include a draft profile with a statement template. The Caliper materials identify the applicable event model and extension requirements. The binding identifiers use example.org as unpublished draft identifiers; they are not registered or deployed vocabulary endpoints. These bindings are implementation work within established ecosystems, not a new transport protocol.¶
The draft xAPI profile identifier is https://example.org/learnlog/proposal/assistance-capture-profile, with corrected binding version 0.1.1-draft. The capture payload version remains 0.1.0-draft. It reuses the Activity Streams create verb and defines a template for creating an observation record. The current xAPI encoding targets the legacy 1.0.3 statement shape [XAPI103]; it does not claim conformance to IEEE xAPI 2.0. The Caliper 1.2 encoding uses the General Profile's base Event, a SoftwareApplication actor, Created action, and DigitalResource object, with the profile payload in event extensions. It uses the standard transport envelope without adding custom envelope properties.¶
The xAPI caller supplies an explicit account-system homepage URL and account name separately from the importer software identifier. The bounded implementation supports HTTP(S) homepages; an arbitrary importer URN is not an account homepage. Account ownership is a caller assertion, not an authenticated fact. The constructor omits Statement version. Its reader accepts stable 1.0.x Statement versions, including the 1.0.0 supplied by an LRS when absent. Statement version is distinct from the HTTP X-Experience-API-Version header. These rules follow the legacy Statement specification [XAPI103].¶
The implemented mode records an importer's creation of an observation record for a source record. Its carrier actor identifies the importer, and its carrier time identifies creation of that observation record. The source assistance assertion, its source-scoped subject identifier when available, and its native time and unavailable-information states remain inside the payload. An importing application MUST NOT invent a learner identity or substitute creation time for an unknown source action time. A server generation record does not thereby become a learner's use of a tool. Example source observations are synthetic. Live executions need the actual importer identity and creation time; fixture values do not describe an actual product or learner.¶
An importer-observation binding is useful when a retrospective source lacks the actor or time required by a native-action carrier model. It does not reconstruct a native learner event. An analyst MUST use the source assistance assertions and their evidence when counting assistance; counting carrier import events instead answers a different question. A future native-action binding needs separately justified mappings and adequate source evidence.¶
The companion software constructs complete records and performs local validation, round-trip, and rejection checks for this limited mode. Its verification reports identify the exact records, rules, and tool versions checked. Those checks do not establish certified carrier conformance, live learning-record-store exchange, preservation of original integrity guarantees, or independent cross-product interoperability. The separate evaluation toolkit's experimental encodings concern their own frozen profile and do not establish conformance to this new contract.¶
A binding to the existing Learnlog representation must use declared extension points and versioned event definitions, while preserving the current core CDDL and integrity rules. Existing records keep their original commitments. Transcoding a record does not preserve its original signature by default; a transformation needs to retain the original artifact and state any lost guarantees. Common serialization and matching names do not establish scientific equivalence. Any pooled measurement still needs an operational definition, unit, denominator, capture requirements, and a supported comparability decision.¶
This subsection is informative. The author applied the stage distinctions of Section 2.2 to three released research datasets [LEARNLOG-PREPRINT]: hint requests to an AI next-step hint tool in a programming course [HINTS-DATA], chat queries in an instrumented programming environment [IDETRACE], and problem records from a mathematics tutor [ASSISTMENTS]. The episode scripts and their aggregate outputs are public [LEARNLOG-EPISODES]. Links between stages come from the scripts' rules; the sources declare no such links. The results describe three releases, not products in general.¶
The scripts also compute derived classes of the kind described in Section 2.5: help requested and not displayed; displayed and then requested again within five minutes (524 of 738 displays in the first release and 41 of 59 in the second); displayed with no recorded follow-up action; never requested; classified by rule as steps given by the system; and a paste with no copy inside the tool in the preceding ten minutes (291 of 1,826 pastes in the first release's activity file, which is not linked to its hint records). A paste without a prior copy can indicate outside material; it does not establish the use of external AI. Each class depends on a chosen window and anchor, which the scripts state.¶
This subsection is informative. It proposes, for discussion, how the rules of this section could apply to other events in a learning record. It defines no event type, registers no namespace, and adds no member to the core CDDL. Each family needs a versioned event definition, a worked dataset, and review before it is specified. Only the assistance family has data behind it in this revision (Section 2.7). The inferred items below name what a separate estimate format would hold; consistent with Section 1.1, this document does not record estimates of what a learner knows. A score in the Test family is an observed scoring outcome, not such an estimate.¶
The same rules would apply to every family. An event names the stage it records; states its basis (Section 2.5); sits inside a declared capture boundary (Section 2.3); keeps unavailable information distinct from zero (Section 2.4); and identifies the assistance policy and the assistance observed before it in the same activity. A record is about one subject, so its entries are already linked. Linking events in different records to the same learner would need to be explicit and declared, use scoped identifiers, and rest on consent the deployment holds (Section 7.1, Section 12); it would never be assumed from matching identifiers. A carrier binding would need an equivalent rule for statements or events that it does not already tie to one subject. The mechanism is an open issue (Appendix F).¶
confidence member predates Section 2.5; under this proposal it would carry a self-reported basis and its timing.¶
Delayed recall shows why linking matters. A school cannot say that a misunderstanding was fixed and stayed fixed unless the later check is linked to the same learner, the delay is declared, and the help available at both times is known. Each of those is a privacy decision as well as a measurement decision, so the proposal would make linking explicit and consent-based.¶
Confidence and agency each need two measurements. Calibration, the agreement between stated confidence and correctness, is computed from a confidence report and a scored response; it is an analytical result, not an event. Confidence given after feedback answers a different question from confidence given before it, and the two are not pooled. A change in agency between the start and end of a session is computed from two reports; an end report that is missing because the learner left early is unavailable, not unchanged.¶
Together these families would let one record show what a learner predicted, tried, explained, changed, defended, chose, carried to a new task, and remembered, with the help in effect at each point and the learner's own confidence and sense of control alongside. That is a proposal. Whether one profile should hold all of these families, or whether existing xAPI or Caliper profiles are a better home for some of them, is an open issue (Appendix F).¶
A log file holds one or more records. A record holds a header and a sequence of entries. Each entry holds one event.¶
log file
+-- record
+-- header what the record is about
+-- entry 1 one event and its hashes
+-- entry 2
+-- ...
+-- signed heads signed statements of the latest entry
Each entry holds the hash of its event and the hash of the entry before it. The first entry holds the hash of the header, and every entry hash covers that hash as well. A change to the header or to an earlier entry therefore changes every later entry hash. A producer can sign a statement of the latest entry hash, which gives a verifier a fixed point to check against.¶
+--------+ +---------+ +---------+ +---------+
| header |<------| entry 1 |<------| entry 2 |<------| entry 3 |
+--------+ prev +---------+ prev +---------+ prev +---------+
hash | hash | hash |
event hash event hash event hash
| | |
event 1 event 2 (redacted)
An entry commits to the hash of its event. The event itself can be removed later, and the chain still verifies (Section 8.3).¶
Event types live in namespaces that event schemas define. This document defines schemas for three namespaces that are not tied to one subject area. Other schemas are identified by URI.¶
A log file takes one of two forms. A contained file holds one or more records (Section 4.1). A sequential file holds one record and grows by appending (Section 4.2). Both forms hold the members of the log-file group, as in Section 3 of [QLOG].¶
LearnlogFile = {
log-file,
records: [+ Record]
}
log-file = (
file_schema: text,
serialization_format: text,
? title: text,
? description: text
)
file_schema:serialization_format:title, description:No hash covers these members. A producer SHOULD write file_schema and serialization_format within the first 256 octets of a file, as Section 3 of [QLOG] also asks, so that a tool can identify the file from its start.¶
The CDDL in this document has two root rules, LearnlogFile and LearnlogFileSeq. A third rule, SeqItem, describes each later element of a sequential file.¶
A LearnlogFile is one JSON text that holds one or more records. It suits export and exchange. Its file schema URI is urn:ietf:params:learnlog:file:contained.¶
The records in a file are verified one at a time. They can come from different producers and describe different subjects.¶
A LearnlogFileSeq holds one record and grows by appending. It suits a log that is written while the learner works. Its file schema URI is urn:ietf:params:learnlog:file:sequential.¶
LearnlogFileSeq = {
log-file,
record: RecordStart
}
; every element after the first
SeqItem = Entry / SignedHead
The first element of a sequential file is the LearnlogFileSeq object. Every later element is a SeqItem. An element with a seq member is an Entry. Any other element with a head member is a SignedHead. Entries appear in order of seq. A producer writes a SignedHead after the entry that it names, and a reader accepts one at any position.¶
The Entry elements, in file order, are the entries of the record, and the SignedHead elements are its signed heads. In a sequential file, event_schemas lists the schemas known when the file is started.¶
A registered file schema uses a URN of the form urn:ietf:params:learnlog:file:<identifier> (Section 13.2). Any other file schema uses a URI that its definer controls and MUST NOT use that URN form. Such a URI is not registered.¶
A record holds a header and the entries about one subject, written by one producer.¶
record-start = (
header: RecordHeader,
event_schemas: [+ text],
? truncated: Truncation
)
RecordStart = { record-start }
Record = {
record-start,
entries: [* Entry],
? signed_heads: [+ SignedHead]
}
header:event_schemas:truncated:entries:seq (Section 5.2).¶
signed_heads:The CDDL in this document defines what a producer writes. A reader MUST ignore a member that it does not recognize, wherever the member appears. A hash or a signature covers such a member only in a header, an event, or a head. A producer SHOULD NOT add members anywhere else.¶
The header states what a record is about and is fixed when the record is created.¶
RecordHeader = {
record_id: text,
subject: text,
hash_alg: HashAlg,
created: Timestamp,
? producer: Producer,
* text => any
}
Producer = {
name: text,
? version: text,
* text => any
}
HashAlg = "sha-256" / text
; lowercase hexadecimal
HashValue = text .regexp "([0-9a-f][0-9a-f])+"
; RFC 3339, UTC only
Timestamp = text .regexp
"[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}([.][0-9]{1,9})?Z"
record_id:subject:hash_alg:sha-256 [FIPS180].¶
created:producer:A header MAY hold other members. The record hash (Section 8.2) covers every member, so a change to the header changes the record hash and every entry hash.¶
A Timestamp is a date and time in the format of [RFC3339], in UTC, with an uppercase T and the suffix Z. The pattern in Figure 6 admits some impossible values, such as month 13. A Timestamp MUST also be a valid date and time. The second 60 is valid only in the time 23:59:60. A HashValue is the whole output of the hash named by hash_alg, written as two lowercase hexadecimal digits for each octet.¶
Entry = {
seq: Seq,
time: Timestamp,
event_hash: HashValue,
prev_hash: HashValue,
entry_hash: HashValue,
( event: Event // redacted: true )
}
; a position in a record, from 1 to (2^53)-1
Seq = 1..9007199254740991
seq:seq 1. Each later entry has the seq of its predecessor plus 1. A Seq is an integer of at least 1 and below 2^53.¶
time:seq. Values of time SHOULD NOT decrease from one entry to the next.¶
event_hash:prev_hash:entry_hash:event:redacted:event, when the event was removed (Section 8.3).¶
An entry holds exactly one of event and redacted.¶
A producer appends an entry when the event occurs, or as soon after as it can. A written entry keeps its position and its hashes. This document permits two changes to the entries of a record. Redaction removes an event, and a party that kept the event can put it back (Section 8.3). Truncation removes the oldest entries (Section 5.3).¶
A historical import needs to identify the action that the new event actually records. When a profile records an importer observing a source row, time is the time of that import observation, not an invented date for the original classroom action. The source timestamp, its precision, its clock basis, and any relative offset belong in the profile-defined provenance. An unavailable absolute source time remains unknown. The importer is the actor of an import-observation event; a quoted speaker is a separately identified source participant. A profile that instead represents the original action needs sufficient source evidence for the original actor and occurrence time and needs to state how that evidence was obtained. Neither construction turns a retrospective import into a contemporaneous observation by the original system.¶
A holder can remove the oldest entries of a record, for example to meet a retention limit. The truncated member then holds the seq and entry_hash of the last entry that was removed.¶
Truncation = {
seq: Seq,
entry_hash: HashValue
}
The first remaining entry has a seq of truncated.seq plus 1 and a prev_hash equal to truncated.entry_hash.¶
A record can be truncated more than once. The truncated member then names the last entry removed overall. A holder can remove every entry, which leaves entries empty.¶
A signed head that names an entry before truncated.seq can no longer be compared with an entry, and a holder MAY remove it. A holder SHOULD keep every other signed head.¶
A verifier cannot check the entries that were removed. A change to the header still shows in the remaining entries, because every entry hash covers the record hash (Section 8.2). Section 11.1 states what such a check establishes.¶
An event describes one action: something the learner did, or something another party did that bears on the learner's work.¶
Event = $Event
event-type<Name, Data> = {
name: Name,
salt: Salt,
data: Data,
? actor: Party,
? to: Party,
? session: text,
? activity: Activity,
? instrument: Instrument,
* text => any
}
; 22 or more characters of the base64url alphabet
Salt = text .regexp "[A-Za-z0-9_-]{22,}"
The event-type rule is a CDDL generic. An event type is an instance of the rule that fixes the name and the type of data. The $Event socket collects the instances (Section 6.5).¶
name:salt:data:actor:to:session:activity:instrument:An event MAY hold other members. The event hash covers every member of the event.¶
A Party describes who acted or who was addressed.¶
Party = {
role: Role,
? kind: "human" / "software",
? id: text,
* text => any
}
Role = "learner" / "instructor" / "assistant" / "peer" /
"guardian" / "system" / text
The role member has one of these values:¶
learner:id is the subject of the record.¶
instructor:assistant:peer:guardian:system:Other values MAY be used.¶
The kind member states whether the party is a person (human) or a program (software). When the member is absent, a learner, peer, or guardian is a person, and a system is a program. The member is REQUIRED with any other role. The CDDL in Figure 10 does not express this rule.¶
The id member identifies a party other than the subject. For a person, the value is pseudonymous and follows Section 12.1. For a program, the value names the program.¶
Table 1 shows how some common parties are described.¶
| Party | role | kind |
|---|---|---|
| A teacher working with the learner | instructor | human |
| An intelligent tutoring system | instructor | software |
| A general AI chat assistant | assistant | software |
| A classmate | peer | human |
When the actor is a program, the instrument member (Section 6.3) describes the model or the version that produced the data.¶
The meaning of an event can depend on the task it belongs to. A producer SHOULD include activity in every event that belongs to a task.¶
Activity = {
id: text,
? version: text,
? variant: text,
* text => any
}
The instrument member states how the data of an event came to be. A reader needs it to weigh an event that a model wrote or judged.¶
Instrument = {
source: "deterministic" / "model" / "human" / text,
? model: text,
? config_hash: HashValue,
? parameters: { * text => any },
? validated: bool,
* text => any
}
The source member has one of these values:¶
deterministic:model:human:Other values MAY be used. The remaining members are:¶
model:config_hash:parameters:validated:An event without an instrument member makes no statement about how its data was produced.¶
The producer.version member identifies recording software; instrument.model identifies the model or program that produced the event data. Keeping these identifiers distinct lets a reader inspect changes in either. A configuration hash identifies retained octets; it does not make those octets available, show that the named configuration was executed, or make a probabilistic output reproducible. The validated member reports a deterministic acceptance check, not empirical validation of educational effectiveness or a learner's knowledge.¶
Event types are grouped in namespaces, as in Section 8 of [QLOG]. An event schema is a document that defines a namespace or extends one. The name of an event is the namespace identifier, a colon, and the type identifier. Each identifier starts with a letter from a to z and continues with such letters, digits, or underscores.¶
Each event schema has a URI. A registered schema uses the form urn:ietf:params:learnlog:events:<namespace> (Section 13.3). A schema that extends a namespace adds a fragment identifier to the URI of that namespace. Any other schema uses a URI that its definer controls and MUST NOT use that URN form. A URI that contains a domain name SHOULD include a month and year in the form mmyyyy. Section 8.1 of [QLOG] gives the same rule, to avoid problems when a domain name changes ownership.¶
A record can hold an event whose schema a tool does not know. Such an event does not match the CDDL that the tool has. Verification (Section 8.5) checks its hashes like any others and does not depend on its schema.¶
An event schema adds each of its event types to the $Event socket. The lines below, taken from the example schema in Appendix A.1, define the event type sim:prediction_committed.¶
$Event /= event-type<"sim:prediction_committed",
SimPredictionCommitted>
¶
Each data type in this document ends with a group socket named after the type, such as $$dialog-message-extension. A later schema can add members to the data type through that socket.¶
The points below apply to any event schema.¶
instrument member.¶
seq.¶
This subsection gives non-normative guidance. It adds no core fields or event types. A companion profile can use the extension points of the header and events to state context needed by a particular deployment. The profile needs its own identifier, version, and public specification. Event-schema URIs follow Section 6.4. A profile identifier is not a registration in the registries requested by this document.¶
A profile can distinguish practice, assessment, and other activity stages; identify the policy that permitted or prohibited specified assistance; and bind that policy to the relevant actor, task, stage, and period. Permission to use assistance in an activity is separate from consent to collect, use, or disclose data (Section 7.1). Neither can be inferred from the other. A policy assertion also does not establish compliance.¶
A profile can state which channels, sessions, activities, and periods the producer planned to observe, which it asserts it captured, and which it excluded. Planned capture and achieved capture are different assertions. A missing assistance event does not demonstrate that no assistance occurred. Outside applications, other devices, between-session use, a capture interruption, and unavailable content can leave relevant exposure unknown. Describing a gap does not establish that AI was used in that gap.¶
The header is fixed when a record is created (Section 5.1). A plan stated there is not a later completion report. A change in stage, applicable policy, model, configuration, or observation coverage can be represented by starting another record with the new context, or by an explicitly defined extension carried in a hashed event. A profile using such an extension needs to define its effective scope and how events refer to the context. This document defines no runtime context-update or capture-completion event, and modifying an existing header changes the hash commitments.¶
A profile can require the existing actor, activity, session, and instrument members in particular events. It can also identify where retained content or configuration is available to an authorized reviewer. A hash or content reference alone does not give that reviewer the semantic content needed to classify a scaffold, and access can be limited by Section 12. Profiles need to distinguish missing information from information that has not been reviewed.¶
Conditions such as whether AI changed practice, comparison-group exposure, or grading usually require evidence beyond one record. Condition assessments and judgments about the applicability of educational research belong in separately specified analytical records. Those records can refer to the relevant learnlog record and entries, state the reviewed scope and comparators, and preserve unresolved questions. The core verifier does not endorse those judgments or decide whether a study needs to be repeated.¶
A concrete assistance or import profile needs to publish the following as versioned, machine-readable definitions with examples and validation rules:¶
The separate experimental companion profile qlm:assistance-context:0.1.0, version 0.1.0, is distributed with the revision -02 preparation materials. Its machine-readable definition is assistance-context-v0.1.0.json, with event schemas research-import-v2.json and assistance-lifecycle-v1.json. It defines importer observations of source-declared assistance states, per-event context with unknown defaults, and explicit mapping limits. It does not implement a capture-completion event. It is not an IETF-registered schema, is not a normative dependency of this document, and has not received independent semantic validation. Its identifier and version must accompany data that claim to use it. A deployment should publish an immutable specification and schema location before asking unrelated implementations to interoperate. A local file path or unpublished identifier does not establish public availability.¶
The informative inventory below contains 16 candidate AI-related conditions for reviewing a study and a target setting. The labels come from the project's proposed condition crosswalk version 0.1.0; they are not core event types. It is optional analytical guidance, not a validated exhaustive taxonomy, a required set of event fields, or evidence that any condition occurred. A condition needs its own supporting evidence and explicit uncertainty. Research applicability assessments and recommendations to repeat a study remain outside core verification.¶
This inventory reproduces candidate labels only. The earlier crosswalk targets an older draft, so its field selectors are not incorporated here as current requirements. Applying a condition requires a documented task, observation boundary, and supporting evidence; the label alone cannot establish occurrence, a learning effect, or a need to repeat a study.¶
This section defines event schemas for three namespaces that are not tied to one subject area: consent, assist, and dialog.¶
The schema URI is urn:ietf:params:learnlog:events:consent. The namespace has two event types, consent:granted and consent:withdrawn. Both carry the same data.¶
ConsentChange = {
scopes: [+ ConsentScope],
? ref: text,
* $$consent-change-extension
}
ConsentScope = "instruction" / "research" / "export" / text
$Event /= event-type<"consent:granted", ConsentChange>
$Event /= event-type<"consent:withdrawn", ConsentChange>
scopes:ref:This document defines three scopes. Other values MAY be used.¶
instruction:research:export:The actor of a consent event is the party that gave or withdrew consent, for example a guardian.¶
A consent event records that consent was given or withdrawn, as the producer observed it. This document does not define how consent is obtained or how a producer acts on it.¶
A scope is in effect from a consent:granted event that names it until a later consent:withdrawn event that names it. A reader cannot tell which scopes are in effect when a consent event may be among the entries that were redacted or removed. For that reason, a holder SHOULD NOT redact a consent event.¶
The schema URI is urn:ietf:params:learnlog:events:assist. The namespace records the help that the producer observed. A reader can treat an action by the learner that follows a scaffold in the same activity as possibly assisted.¶
assist:help_requested:to member of the event names the party that was asked.¶
assist:scaffold_provided:actor member, because an absent actor would mean the subject.¶
The core assist:scaffold_provided event asserts that the producer observed support being given to the learner; it does not establish that the learner read, heard, used, understood, or learned from it. Content generated internally but not given to the learner is not, on that fact alone, a provided scaffold. Profiles can define separate observations for generation, transmission, delivery, and display, and state which evidence supports each. Those stages cannot be inferred from one another or counted as separate help episodes without a measurement rule. A provider's source label such as "hint" remains a source assertion unless its meaning and mapping have been reviewed.¶
The change to the interpretation of an absent request is a semantic revision, even though the CDDL and hash computations are unchanged. Consumers of historical records need to consult the source's applicable schema or profile revision and retain any explicit original assertion that a scaffold was unsolicited. They must not treat a revision -01 producer's missing link as an independently established observation of request origin, nor silently rewrite old records to add a new commitment.¶
AssistHelpRequested = {
? type: ScaffoldType,
* $$assist-help-requested-extension
}
AssistScaffoldProvided = {
type: ScaffoldType,
? request: Seq,
? level: uint .ge 1,
? reveals_answer: bool,
? modality: "text" / "speech" / text,
? content: text,
? content_ref: text,
? content_hash: HashValue,
* $$assist-scaffold-provided-extension
}
ScaffoldType = "socratic" / "probing" / "metacognitive" /
"scaffolding" / "explain" / "hint" /
"demonstrate" / text
$Event /= event-type<"assist:help_requested", AssistHelpRequested>
$Event /= event-type<"assist:scaffold_provided",
AssistScaffoldProvided>
In AssistHelpRequested, type is the kind of help that was asked for, when the interface distinguishes kinds. The members of AssistScaffoldProvided are:¶
type:request:The seq of the entry that this scaffold answers, such as an assist:help_requested entry or a dialog:message entry. An absent value means that this event contains no request link. It does not by itself distinguish unsolicited assistance from a request that was not observed, imported, or linked. A profile can record those cases explicitly. This clarification supersedes the inference from an absent link in revision -01.¶
level:The delivery-order position of the scaffold among those given for the current activity, starting at 1. This is not automatically the source product's authored hint depth, pedagogical difficulty, or amount of support. A source-native hint index needs a separate profile-defined field unless a documented mapping establishes that the meanings coincide. If the delivery position is unknown, omit level.¶
reveals_answer:modality:text.¶
content:content_ref:content_hash:content is left out. An event MUST NOT hold both content and content_hash.¶
| Value | Meaning |
|---|---|
| socratic | An open question that leads the learner toward an idea |
| probing | A question about an assumption the learner made |
| metacognitive | A prompt about the learner's own approach |
| scaffolding | The problem broken into parts |
| explain | A direct explanation |
| hint | A hint |
| demonstrate | A worked example |
Other values MAY be used.¶
A producer SHOULD record every scaffold given to the learner, requested or not. The actor member identifies the provider.¶
Help can arrive as a turn in a conversation. A producer that knows a turn to be help records it as assist:scaffold_provided, with the words in content or their hash in content_hash, and writes no dialog:message for that turn. When a producer cannot tell whether a turn is help, it records the turn as dialog:message (Section 7.3). The replies of a general chat assistant are an example.¶
Consider a task that asks a learner to solve 2x + 3 = 11 and explain the approach. An AI assistant might say, "Before calculating, describe your plan and how you will check whether it worked." An assist:scaffold_provided event could describe this as type equal to metacognitive, with reveals_answer equal to false and the words in content. The actor identifies a software assistant, and the activity, session, and instrument identify the task and producing model.¶
In a different hypothetical history, the assistant says, "Subtract 3 from both sides to get 2x = 8, then divide both sides by 2, so x = 4." The event could instead use type equal to explain and reveals_answer equal to true. These examples illustrate existing members; they are not measurements of learning and introduce no new event type.¶
If a subject-area schema records a learner response after either scaffold, the sequence can distinguish the two recorded assistance histories. It cannot establish the learner's internal reasoning, when internal retrieval took place, whether another source was used, or which assistance caused a later outcome. A declaration of type or reveals_answer remains a producer assertion. A reviewer needs the relevant content and task to inspect it. An applicability assessment comparing this activity with a classroom intervention needs additional evidence and separately stated assumptions.¶
The schema URI is urn:ietf:params:learnlog:events:dialog. The namespace has one event type, dialog:message, which is one turn in an exchange between the subject and another party. The actor is the party that produced the turn, and to names the party addressed.¶
DialogMessage = {
? modality: "text" / "speech" / text,
? content: text,
? content_hash: HashValue,
? reply_to: Seq,
* $$dialog-message-extension
}
$Event /= event-type<"dialog:message", DialogMessage>
modality:text.¶
content:content_hash:content is left out. An event MUST NOT hold both content and content_hash.¶
reply_to:seq of the entry that this turn answers.¶
A producer SHOULD include activity when the exchange takes place during a task. A reader can then treat a turn by another party as possible help.¶
The words of a turn can hold personal data, and Section 12 applies. When software transcribes speech, the event SHOULD carry an instrument member that identifies the transcriber.¶
Hashes are computed over a canonical form, so that two implementations produce the same octets for the same value. The canonical form of a JSON value is its serialization under the JSON Canonicalization Scheme (JCS) [RFC8785], encoded in UTF-8.¶
The following rules apply to a whole log file, including the parts that no hash covers:¶
A serialization other than JSON (Section 9.3) is mapped to the JSON data model first. Hashes are always computed over the canonical JSON form.¶
In this section, H(x) is the hash named by hash_alg, applied to the octets x and written in lowercase hexadecimal. C(v) is the canonical form of the JSON value v.¶
record hash = H(C(header))
event_hash = H(C(event))
prev_hash = record hash in the entry with seq 1
= entry_hash of the preceding entry, otherwise
entry_hash = H(C({ "record_hash": record hash,
"seq": seq, "time": time,
"event_hash": event_hash,
"prev_hash": prev_hash }))
header object.¶
event_hash is the hash of the event object with all its members.¶
prev_hash of the entry with seq 1 is the record hash. In every other entry, it is the entry_hash of the entry before it.¶
entry_hash is the hash of an object with exactly five members. The member record_hash holds the record hash. The other four are the seq, time, event_hash, and prev_hash of the entry.¶
content_hash or config_hash holds the hash of a string of octets. For text, the octets are its UTF-8 encoding. For other content, the producer chooses the octets.¶
Every entry hash covers the record hash. An entry that is moved to a record with another header therefore fails step 4e of Section 8.5, even after the entries before it are removed (Section 5.3).¶
A header and an event each require members that the object hashed for an entry lacks. The canonical form of that object therefore differs from the canonical form of any header or event.¶
A holder redacts an entry by removing its event member and adding the member redacted with the value true. No other member changes.¶
The entry hash is computed from event_hash, without the event itself. Every hash in the record therefore still verifies, and so does every signed head.¶
The salt is removed with the event. A party that does not have the salt cannot confirm a guess at the event from event_hash (Section 11.7).¶
Redaction leaves seq, time, and the hashes of the entry in place. A holder that needs to remove those as well truncates the record (Section 5.3) or deletes it.¶
A verifier reports which entries are redacted. Redaction does not cause a check to fail.¶
Only a party that kept the event can restore it. A restored event is checked against event_hash like any other.¶
A head names the latest entry of a record at some moment. A producer signs a head so that a verifier can authenticate the record up to that entry.¶
SignedHead = {
head: Head,
signature: text
}
Head = {
record_hash: HashValue,
seq: Seq,
entry_hash: HashValue,
time: Timestamp,
* text => any
}
record_hash:seq, entry_hash:seq and entry_hash of the entry that the head names.¶
time:The signature member is a JSON Web Signature (JWS) [RFC7515] in the compact serialization with detached content (Appendix F of [RFC7515]). The JWS payload is the canonical form of the head object. The value of signature is therefore the encoded protected header, two periods, and the encoded signature.¶
alg and kid and MUST NOT contain crit.¶
alg MUST name a digital signature algorithm that uses a public key. The value none and MAC algorithms such as HS256 MUST NOT be used. Implementations MUST support ES256 [RFC7518].¶
kid MUST be the JWK Thumbprint [RFC7638] of the public key, computed with SHA-256 and encoded in base64url without padding.¶
To check a signature, a verifier computes the canonical form of head, encodes it in base64url, places it between the two periods, and verifies the result as a JWS. A verifier uses each key it trusts with exactly one algorithm (Section 3.1 of [RFC8725]).¶
A producer SHOULD sign a head at the end of each session and whenever a record leaves its control.¶
This document does not define how a verifier obtains the public key or decides to trust it. A key that travels in the file itself shows nothing about who signed.¶
A verifier is configured with the public keys it trusts and, for each key, the one signature algorithm it accepts. A verifier MUST report the result that the steps below define. Any procedure that gives the same result is acceptable.¶
Read the file.¶
file_schema names a file schema that the verifier knows and that fits the serialization. Check that a contained file holds a records array with at least one element, and that the first element of a sequential file holds a record object.¶
A verifier MUST reject a file when its JSON text fails this step, or when the first element of a sequential file does. None of its records is verified. A later element of a sequential file that fails step 1b is discarded (Section 9.2). Steps 2 to 5 apply to each record of a file that passes.¶
Check the header.¶
header is an object, that record_id, subject, and hash_alg are strings, and that created is a Timestamp.¶
hash_alg, the outcome for the record is "unsupported" and no further step applies. A verifier MUST NOT support an algorithm whose output is shorter than 256 bits.¶
seq to 1 and the expected link to the record hash. If truncated is present, check that truncated.seq is a Seq and that truncated.entry_hash is a HashValue. The expected seq is then truncated.seq plus 1, and the expected link is truncated.entry_hash.¶
Check that entries is an array. For each entry, in order:¶
seq is a Seq, that time is a Timestamp, and that event_hash, prev_hash, and entry_hash are HashValues. Check that the entry holds exactly one of event and redacted.¶
seq equals the expected seq.¶
prev_hash equals the expected link.¶
event is present, check that it is an object, that its name has the form given in Section 6.4, that its salt matches the Salt pattern of Figure 9, and that its data is an object. Then check that the hash of the event equals event_hash. If redacted is present, check that its value is true.¶
entry_hash.¶
entry_hash and add 1 to the expected seq.¶
If signed_heads is present, check that it is an array. For each signed head:¶
head is an object in which record_hash and entry_hash are HashValues, seq is a Seq, and time is a Timestamp. Check that signature consists of two base64url strings, neither of them empty, joined by two periods. Check that the first string decodes to a JSON object that conforms to I-JSON. Check that this object holds the strings alg and kid, that alg is not none, and that crit is absent.¶
head.record_hash equals the record hash.¶
head.seq is no greater than the seq of the last entry. A greater value shows that entries are missing from the end of the record. For a record without entries, the comparison uses truncated.seq, or 0 when the record is not truncated.¶
seq that the head names, check that head.entry_hash equals its entry_hash. If head.seq equals truncated.seq, check that head.entry_hash equals truncated.entry_hash. A head with a lower seq names an entry that was removed, and this check does not apply to it.¶
kid, check that alg is the algorithm it accepts for that key, and verify the signature with that key as Section 8.4 describes. If the verifier trusts no such key, the signature is not checked.¶
Section 5.1 and Section 5.2 define the terms Timestamp, HashValue, and Seq. A member that this document does not define is ignored in every step, apart from its part in a hash or a signature.¶
Once a check in steps 2 to 5 fails, the outcome is settled, and a verifier MAY stop.¶
The result for a record has these parts:¶
seq among the heads that had an entry hash to compare in step 5d and a signature that verified in step 5e, together with the kid of a head that names it. This part is absent when no head qualifies. Entries up to that seq were in the record when the holder of that key signed. Later entries are consistent and unauthenticated.¶
seq of each redacted entry.¶
truncated.seq, when the record is truncated. The entries up to that seq were not checked.¶
A verifier reports the following conditions, and they leave the outcome unchanged:¶
time that is earlier than the one before it, with the two compared as instants;¶
Verification does not use title, description, serialization_format, or event_schemas. The data of an event is not checked against an event schema, and an event of an unknown type is handled like any other. A tool MAY validate events against the schemas it knows and report the result separately.¶
A consistent record agrees with itself. A verified head ties the entries up to its seq to a key. Section 11.1 states what these results establish and what they leave open.¶
The structures in this document are defined in CDDL. Section 11 of [QLOG] takes the same approach and maps its structures to JSON and to JSON text sequences. This document defines the same two serializations. Hashes always use the canonical JSON form (Section 8.1).¶
Where this document defines a member as an integer, a producer writes the number without a fraction or an exponent. A reader compares numbers by value.¶
A LearnlogFile is serialized as a JSON text [RFC8259] in UTF-8. The media type is application/learnlog+json, which is also the value of serialization_format. The file extension is .learnlog.¶
A LearnlogFileSeq is serialized as a JSON text sequence [RFC7464]. Each element is preceded by a record separator (0x1E) and followed by a line feed (0x0A). The media type is application/learnlog+json-seq, which is also the value of serialization_format. The file extension is .slearnlog.¶
A producer can add an entry or a signed head to a sequential file without rewriting what came before. Redaction and truncation rewrite the file. In Figure 18, <RS> stands for the record separator and most values are left out.¶
<RS>{"file_schema":"urn:ietf:params:learnlog:file:sequential",
"serialization_format":"application/learnlog+json-seq",
"record":{"header":{...},"event_schemas":[...]}}
<RS>{"seq":1,"time":"2026-10-07T14:00:05Z","event":{...},
"event_hash":"...","prev_hash":"...","entry_hash":"..."}
<RS>{"seq":2,"time":"2026-10-07T14:01:10Z","event":{...},
"event_hash":"...","prev_hash":"...","entry_hash":"..."}
<RS>{"head":{...},"signature":"..."}
A crash can leave the last element of a file cut off. A reader MUST discard an element that is cut off (Section 2.3 of [RFC7464]) or that fails step 1b of Section 8.5. The same applies to a parsed element that has neither the seq nor the head discriminator. An object containing seq is recognized as an Entry; otherwise an object containing head is recognized as a SignedHead (Section 4.2). A recognized object that passes step 1b but fails the structural checks in step 4 or 5 MUST make the record inconsistent; it MUST NOT be discarded as an unrecognized element. When the first element is unusable, the file is rejected. When an entry is discarded, the entries after it fail verification.¶
Other serializations MAY be defined, for example one in CBOR. A serialization MUST map every structure to the JSON data model without loss, because hashes are computed over the canonical JSON form (Section 8.1).¶
A record that verifies as consistent has entries that agree with one another and with the header. Consistency alone does not show who wrote the record or that nothing was replaced. Anyone who holds a record without a signed head can change an event and recompute every later hash.¶
A signed head limits this. Take a party without the signing key that changes the seq, time, or event of an entry at or before the head. The head stays valid only when the change is a redaction, the restoring of a redacted event, or a truncation (Section 11.3). After any other such change, a verifier that trusts the key reports the record as inconsistent, or as unauthenticated when the head was removed as well.¶
Neither property shows that events took place as recorded. A producer can write an event that is false. Verification establishes at most that the signed entries were not changed by a party without the key.¶
No hash covers title, description, or event_schemas. The same holds for a member that this document does not define, unless it sits in a header, an event, or a head. A reader cannot rely on those values.¶
A holder can remove the latest entries of a record together with any signed head that covers them. What remains verifies. A verifier detects the removal only if it knows a later head from another source. This document defines no way to exchange heads.¶
Any holder can redact an event or truncate a record, and the result still verifies. A verifier reports which entries are redacted and whether the record is truncated. What the missing events said, and who removed them, stays unknown to the verifier.¶
A reader that draws a conclusion from the absence of an event SHOULD treat each redacted or removed entry as a possible instance of that event. A redacted entry inside an activity may have been a scaffold. A redacted or removed entry may have been a withdrawal of consent.¶
The producer holds the signing key, so it can rewrite a record and sign a new head. Detection requires that another party received a head before the rewrite. A time stamping authority [RFC3161] can provide evidence that a head existed before a given time. This document does not define how to use one. The time of a head is a statement by the signer and proves nothing about when the head was signed.¶
A signature that verifies shows that the holder of a trusted key signed a head. Any trusted key authenticates any record. A verifier that trusts the keys of several producers needs to know which producer each key belongs to. The result of verification names the key for that purpose.¶
A signature shows that the holder of a key signed a head. When the producer runs on a device that the learner controls, the learner may control the key. A verifier needs to know where signing took place before it treats a record as evidence about that learner.¶
An event can have few possible values. Without a salt, a party could hash each candidate and compare the result with event_hash. The salt prevents this only if it is unpredictable and is deleted with the event. A producer MUST NOT reuse a salt and MUST NOT derive one from the content of the event.¶
The position and time of a redacted entry stay visible, as do the entries around it. Together they can suggest what was removed.¶
Members named content_hash and config_hash carry no salt. A party can test a guess at a short or predictable text against such a hash. Redaction of the event removes these members with it.¶
A hash covers the name of an event. No hash covers event_schemas, the list that ties a namespace to a schema URI. For a registered namespace (Section 13.3), the name alone identifies the schema. For any other namespace, a holder can replace the URI in the list, and with it the apparent meaning of the events. A reader that depends on such events needs to know the schemas of the producer from another source.¶
For a private vocabulary or companion profile, a producer SHOULD place the schema or profile identifier, version, digest algorithm, and digest of the exact specification or schema bytes in a header extension before creating entries. The header hash already covers such an extension; no change to Section 8.2 is needed. The profile needs to define the digest scope and retrieval rules. A reader should check the protected binding rather than rely only on the unprotected event_schemas list. A digest commits to bytes, not to the correctness, availability, or equivalence of their meaning. Existing records without such bindings remain unchanged and require external knowledge; this revision does not retrofit commitments into old records.¶
The integrity of a record rests on the collision resistance of the hash algorithm. A checksum or any other function that is not a cryptographic hash MUST NOT be used.¶
All hashes in a record use one algorithm, so a record cannot move to another. A producer that needs a new algorithm starts a new record.¶
Two parsers that read the same text differently can disagree about a hash, or agree about a hash while they hold different values. Sections 4, 6, and 8.2 of [RFC8259] describe three such cases: member names that are not unique, numbers beyond the range or precision of a double, and strings with unpaired surrogates. The rules in Section 8.1 address these cases, and step 1 of Section 8.5 applies them before any hash is computed.¶
A log file can come from a source that is not trusted. Implementations need limits on file size, nesting depth, and string length.¶
A record describes the behavior of a person in detail, and that person can be a child. The considerations of [RFC6973] apply. This section covers points that are specific to this format.¶
The subject member, and the id member of a party that is a person, MUST NOT hold a name, an email address, or an identifier taken from another system, such as a student number.¶
A RECOMMENDED construction is HMAC [RFC2104] with SHA-256 over the internal identifier, under a secret key that the producer keeps, with at least 128 bits of the output retained. A hash without a key is not sufficient, because identifiers can be guessed and hashed.¶
The subject identifier is part of the header and stays fixed for the life of a record. Every party that receives the record sees the same identifier and can link the record to other copies.¶
A record can describe instructors, peers, and guardians, and a dialog event can hold their words. The data is then about them as well. Their identifiers follow Section 12.1.¶
Redaction removes the content of an event. The entry retains a commitment and a producer-reported time. It does not establish that an action occurred or that the time is accurate. Copies of the content in other events, or outside the record, are not affected.¶
The event_hash of a redacted entry remains as well. A party that kept a copy of the event can still show that the event belonged to the record. Truncation or deletion of the record removes that hash.¶
Redaction may not be enough after consent is withdrawn. Truncation or deletion of the record removes more. Unless it is redacted or removed, the consent:withdrawn event remains in the record as the trace of the withdrawal.¶
The actions and times in a record can be combined with other data about a person. Sections 5.2.1 and 5.2.2 of [RFC6973] describe how such correlation can lead to identification. A record SHOULD be treated as personal data whatever identifiers it carries.¶
The kid of a signed head is the same in every record signed with one key. A key used only for one learner can link that learner's records despite different subject identifiers. A device-specific key groups that device's records and may cover several learners. A deployment-wide key groups the deployment's records but does not by itself distinguish one learner from another. Other metadata can still support linkage.¶
Records SHOULD be encrypted in transit and at rest. Access to them SHOULD be controlled and logged. A holder SHOULD set a retention period.¶
A learner can be a child. This document does not address compliance with any law.¶
Inferred emotional states, stated confidence, and agency reports (Section 2.8) can be sensitive, especially for children. A deployment that collects them needs a declared purpose. An inferred state about one learner carries the uncertainty of its detector and does not establish that learner's state.¶
IANA is requested to register the following in the "IETF URN Sub-namespace for Registered Protocol Parameter Identifiers" registry [RFC3553]:¶
IANA is requested to create the "learnlog File Schema URIs" registry at https://www.iana.org/assignments/learnlog. The registration policy is Expert Review [RFC8126]. The expert checks that the URI has the form given in Section 4.3 and that a public specification defines the file schema. An entry holds a file schema URI, a description, and a reference. The initial entries are:¶
IANA is requested to create the "learnlog Event Schema URIs" registry at the same location. The registration policy is Expert Review [RFC8126]. The expert checks the following:¶
An entry holds an event schema URI, a namespace, the event types, a description, and a reference. The initial entries are:¶
IANA is requested to register the following media types [RFC6838].¶
This appendix shows one record in full. Every hash in it can be recomputed from the text of this document.¶
The example uses a private event schema with the namespace sim and the URI https://example.org/102026/sim. It defines two event types for a simulation.¶
SimPredictionCommitted = {
prediction: text,
? confidence: "guess" / "fairly_sure" / "certain",
* $$sim-prediction-committed-extension
}
SimExplanationFiled = {
explanation: text,
* $$sim-explanation-filed-extension
}
$Event /= event-type<"sim:prediction_committed",
SimPredictionCommitted>
$Event /= event-type<"sim:explanation_filed", SimExplanationFiled>
The file in Figure 20 holds one record with eight entries and one signed head. Entry 4 is a hint from a tutoring system. Entries 5 and 6 are an exchange with an AI chat assistant. Entry 7 is a spoken hint from a teacher, transcribed by software.¶
The content_hash and config_hash values are hashes of the texts in Table 3. Each text is one line, with single spaces between words and no line ending.¶
| Entry | Member | Text |
|---|---|---|
| 4 | content_hash | Look for a number that divides both 12 and 16. |
| 4 | config_hash | example tutor configuration 7 |
| 6 | content_hash | Simplifying a ratio means dividing both parts by the same number. |
| 6 | config_hash | example chat configuration 3 |
The explanation in entry 8 holds the character U+00BE, written in the figure as an escape. In the canonical form, that character is the two octets C2 BE.¶
=============== NOTE: '\' line wrapping per RFC 8792 ================
{
"file_schema": "urn:ietf:params:learnlog:file:contained",
"serialization_format": "application/learnlog+json",
"title": "Example record",
"records": [
{
"header": {
"record_id": "66a921d7-55be-4589-afcc-84ea4d2c26ef",
"subject": "L-fdda6e0e3413590a303a3737d4176389",
"hash_alg": "sha-256",
"created": "2026-10-07T14:00:00Z",
"producer": {"name": "example-sim", "version": "1.4.0"}
},
"event_schemas": [
"urn:ietf:params:learnlog:events:consent",
"urn:ietf:params:learnlog:events:assist",
"urn:ietf:params:learnlog:events:dialog",
"https://example.org/102026/sim"
],
"entries": [
{
"seq": 1,
"time": "2026-10-07T14:00:05Z",
"event": {
"name": "consent:granted",
"salt": "SUe3daeuE7ZsSfKRHA9RkQ",
"actor": {"role": "guardian", "kind": "human"},
"data": {"scopes": ["instruction", "research"]}
},
"event_hash": "0e144a6edfb39ded22fab2dba4f60a69dc9fc72cdfe\
7006ab78001e5ac11deef",
"prev_hash": "dcfc869849b6088bb8cba0761987f4fa90a181335e20\
a95b120bb0e8dfcd5556",
"entry_hash": "ff3f6b48ed7a77379e68a08f6a0c2bfa71bdc757671\
ceb88d905e5d307638433"
},
{
"seq": 2,
"time": "2026-10-07T14:01:10Z",
"event": {
"name": "sim:prediction_committed",
"salt": "yqUo0sZAN2gYAhADsPJjKw",
"session": "s-01",
"activity": {
"id": "https://example.org/activities/ratio-mixing",
"version": "2.0",
"variant": "seed-8675309"
},
"data": {
"prediction": "3:4",
"confidence": "fairly_sure"
}
},
"event_hash": "1b878146c3e51d20d0411979dc7fbac81da5fd08846\
9a725b9afcf8395c2a518",
"prev_hash": "ff3f6b48ed7a77379e68a08f6a0c2bfa71bdc757671c\
eb88d905e5d307638433",
"entry_hash": "ac64c6867336279286d1837e60312b56b106978d648\
db62360f211306d65b6e5"
},
{
"seq": 3,
"time": "2026-10-07T14:01:42Z",
"event": {
"name": "assist:help_requested",
"salt": "eKmBaP2uRROEiC4HVbWZfA",
"to": {
"role": "instructor",
"kind": "software",
"id": "example-tutor"
},
"session": "s-01",
"activity": {
"id": "https://example.org/activities/ratio-mixing",
"version": "2.0",
"variant": "seed-8675309"
},
"data": {"type": "hint"}
},
"event_hash": "5485100233e98c7bca12183cf9f9da23ee91f8bb029\
d82e46ddab320661cc51b",
"prev_hash": "ac64c6867336279286d1837e60312b56b106978d648d\
b62360f211306d65b6e5",
"entry_hash": "afa914e1952ca0d6878b901e32279a09f1462f252df\
b3f289ea846c63b048e06"
},
{
"seq": 4,
"time": "2026-10-07T14:01:43.200Z",
"event": {
"name": "assist:scaffold_provided",
"salt": "DgQiQwSuZLoHwnBLIox60g",
"actor": {
"role": "instructor",
"kind": "software",
"id": "example-tutor"
},
"session": "s-01",
"activity": {
"id": "https://example.org/activities/ratio-mixing",
"version": "2.0",
"variant": "seed-8675309"
},
"instrument": {
"source": "model",
"model": "example-tutor-2026-09",
"config_hash": "c9f3b7ca43165de9e1df7bc7ec6cff14e7498d\
a4250a6df8e8f1885a9b4aeea8",
"parameters": {"temperature": 0.2}
},
"data": {
"type": "hint",
"request": 3,
"level": 1,
"reveals_answer": false,
"content_hash": "86c2216ed616d2d0097475056db432d1f9f76\
e1ac5e712742157a3fe64ded70d"
}
},
"event_hash": "b4bd1e82ee9019fb8ece8ab96192a64fdc953fc9ab2\
7b2d046664ac8525cc789",
"prev_hash": "afa914e1952ca0d6878b901e32279a09f1462f252dfb\
3f289ea846c63b048e06",
"entry_hash": "3b8fb5a69bc9701329888b081538f1cc243a2fadb14\
8f6fc2f619de4f7671f61"
},
{
"seq": 5,
"time": "2026-10-07T14:02:30Z",
"event": {
"name": "dialog:message",
"salt": "HySIGmOXiD_e0G3jppGMVg",
"to": {
"role": "assistant",
"kind": "software",
"id": "example-chat"
},
"session": "s-01",
"activity": {
"id": "https://example.org/activities/ratio-mixing",
"version": "2.0",
"variant": "seed-8675309"
},
"data": {
"modality": "text",
"content": "What does simplifying a ratio mean?"
}
},
"event_hash": "a83a6d085d8ae61dfe3b3783ecaea3c51d52588d7a4\
c2182245236b2b0b7d2dd",
"prev_hash": "3b8fb5a69bc9701329888b081538f1cc243a2fadb148\
f6fc2f619de4f7671f61",
"entry_hash": "4cf6025ac1e0aa85ed8a9f1e3c678f544a73319d1e0\
8eecb3fbe6ae695b65a2d"
},
{
"seq": 6,
"time": "2026-10-07T14:02:33.500Z",
"event": {
"name": "dialog:message",
"salt": "wf_VFXE_2WNouptIJguFuQ",
"actor": {
"role": "assistant",
"kind": "software",
"id": "example-chat"
},
"session": "s-01",
"activity": {
"id": "https://example.org/activities/ratio-mixing",
"version": "2.0",
"variant": "seed-8675309"
},
"instrument": {
"source": "model",
"model": "example-chat-2026-08",
"config_hash": "fcfd5153bc5c0d1f52417f66ab078c749eb21f\
4cebb5504cf274821a79a17aa5"
},
"data": {
"modality": "text",
"reply_to": 5,
"content_hash": "fb4ede48d160a985aeca77af68fcc7abdc3af\
cdbff6781574146ecd02c2b45ed"
}
},
"event_hash": "0d8d14d15cb3a606a857e86fc4fbe838a9ec11dfa3e\
bdb73a5eef53bbb96d4c9",
"prev_hash": "4cf6025ac1e0aa85ed8a9f1e3c678f544a73319d1e08\
eecb3fbe6ae695b65a2d",
"entry_hash": "43f068599a10f02217bc7287ca082d99818aa1fd92f\
a3e12115cf1a7d5bfc23b"
},
{
"seq": 7,
"time": "2026-10-07T14:03:05Z",
"event": {
"name": "assist:scaffold_provided",
"salt": "lMgpY68f-AMZ-mEMbfR3cg",
"actor": {
"role": "instructor",
"kind": "human",
"id": "T-c1a8a3a416c9098d21b2baf451464304"
},
"session": "s-01",
"activity": {
"id": "https://example.org/activities/ratio-mixing",
"version": "2.0",
"variant": "seed-8675309"
},
"instrument": {
"source": "model",
"model": "example-transcriber-1"
},
"data": {
"type": "hint",
"level": 2,
"reveals_answer": false,
"modality": "speech",
"content": "Try it with the smaller numbers first."
}
},
"event_hash": "3e305baf5a3fad47f1e9c3d412d799fdd18926ff159\
169a26034af74e6214f91",
"prev_hash": "43f068599a10f02217bc7287ca082d99818aa1fd92fa\
3e12115cf1a7d5bfc23b",
"entry_hash": "4a0646f97bb877a347b7ba98eb6d1a7d9e0e3e0978e\
d5706b0e07b7ef6ec4668"
},
{
"seq": 8,
"time": "2026-10-07T14:04:20Z",
"event": {
"name": "sim:explanation_filed",
"salt": "y0_vEXCW8JNMCBA0MnLr2w",
"session": "s-01",
"activity": {
"id": "https://example.org/activities/ratio-mixing",
"version": "2.0",
"variant": "seed-8675309"
},
"data": {
"explanation": "12 out of 16 is \u00be. Both divide b\
y 4."
}
},
"event_hash": "3689aa3e1f8fdea9494f10a9607ffd84db805ad0475\
f57077129a34cd8ebb5d0",
"prev_hash": "4a0646f97bb877a347b7ba98eb6d1a7d9e0e3e0978ed\
5706b0e07b7ef6ec4668",
"entry_hash": "d2b47063f53bcce905ef687c5f7f1c3f008078d0a3e\
ece78d2bc54bf8c1ca5b5"
}
],
"signed_heads": [
{
"head": {
"record_hash": "dcfc869849b6088bb8cba0761987f4fa90a18133\
5e20a95b120bb0e8dfcd5556",
"seq": 8,
"entry_hash": "d2b47063f53bcce905ef687c5f7f1c3f008078d0a\
3eece78d2bc54bf8c1ca5b5",
"time": "2026-10-07T14:04:21Z"
},
"signature": "eyJhbGciOiJFUzI1NiIsImtpZCI6IkNPSWFUYTctOFoz\
VElOYmhBOFJjczZmcjAyWlRERzExMzM3MVQzR01aUlUifQ..9SbLqNvt-_gfXkz4sYqC\
znBecvxy1YojXXOujGN2pdy5jJ7IZOOw37pxBsrdjr7K4p52Rqlo4va5MGFbP5vVWg"
}
]
}
]
}
The canonical form of the header is:¶
=============== NOTE: '\' line wrapping per RFC 8792 ================
{"created":"2026-10-07T14:00:00Z","hash_alg":"sha-256","producer":{"\
name":"example-sim","version":"1.4.0"},"record_id":"66a921d7-55be-45\
89-afcc-84ea4d2c26ef","subject":"L-fdda6e0e3413590a303a3737d4176389"}
¶
Its SHA-256 hash is the record hash, which is also the prev_hash of entry 1:¶
dcfc869849b6088bb8cba0761987f4fa90a181335e20a95b120bb0e8dfcd5556¶
The canonical form of the event in entry 2 is:¶
=============== NOTE: '\' line wrapping per RFC 8792 ================
{"activity":{"id":"https://example.org/activities/ratio-mixing","var\
iant":"seed-8675309","version":"2.0"},"data":{"confidence":"fairly_s\
ure","prediction":"3:4"},"name":"sim:prediction_committed","salt":"y\
qUo0sZAN2gYAhADsPJjKw","session":"s-01"}
¶
Its hash is the event_hash of entry 2:¶
1b878146c3e51d20d0411979dc7fbac81da5fd088469a725b9afcf8395c2a518¶
The canonical form of the object that is hashed for entry 2 is:¶
=============== NOTE: '\' line wrapping per RFC 8792 ================
{"event_hash":"1b878146c3e51d20d0411979dc7fbac81da5fd088469a725b9afc\
f8395c2a518","prev_hash":"ff3f6b48ed7a77379e68a08f6a0c2bfa71bdc75767\
1ceb88d905e5d307638433","record_hash":"dcfc869849b6088bb8cba0761987f\
4fa90a181335e20a95b120bb0e8dfcd5556","seq":2,"time":"2026-10-07T14:0\
1:10Z"}
¶
Its hash is the entry_hash of entry 2:¶
ac64c6867336279286d1837e60312b56b106978d648db62360f211306d65b6e5¶
The head was signed with the private key that matches this public key:¶
{
"kty": "EC",
"crv": "P-256",
"x": "hLOF5epJKOENr_YLdw3iuvlSeuuUdVewL1BqcNtOKYw",
"y": "PwQdWqmdT3_EOKIQvttI8kFeZLUePMifTFD5CpM-1WY"
}
¶
The JWK Thumbprint of the key, used as kid, is:¶
COIaTa7-8Z3TINbhA8Rcs6fr02ZTDG113371T3GMZRU¶
The protected header is:¶
{"alg":"ES256","kid":"COIaTa7-8Z3TINbhA8Rcs6fr02ZTDG113371T3GMZRU"}
¶
The JWS payload is the canonical form of the head:¶
=============== NOTE: '\' line wrapping per RFC 8792 ================
{"entry_hash":"d2b47063f53bcce905ef687c5f7f1c3f008078d0a3eece78d2bc5\
4bf8c1ca5b5","record_hash":"dcfc869849b6088bb8cba0761987f4fa90a18133\
5e20a95b120bb0e8dfcd5556","seq":8,"time":"2026-10-07T14:04:21Z"}
¶
The value of signature in the file is:¶
=============== NOTE: '\' line wrapping per RFC 8792 ================ eyJhbGciOiJFUzI1NiIsImtpZCI6IkNPSWFUYTctOFozVElOYmhBOFJjczZmcjAyWlRE\ RzExMzM3MVQzR01aUlUifQ..9SbLqNvt-_gfXkz4sYqCznBecvxy1YojXXOujGN2pdy5\ jJ7IZOOw37pxBsrdjr7K4p52Rqlo4va5MGFbP5vVWg¶
The private key is not given here, so an implementation cannot reproduce this value. The value can be verified with the public key above.¶
After entry 8 is redacted, it reads as shown below. Every hash in the record and the signed head verify as before.¶
=============== NOTE: '\' line wrapping per RFC 8792 ================
{
"seq": 8,
"time": "2026-10-07T14:04:20Z",
"redacted": true,
"event_hash": "3689aa3e1f8fdea9494f10a9607ffd84db805ad0475f5707712\
9a34cd8ebb5d0",
"prev_hash": "4a0646f97bb877a347b7ba98eb6d1a7d9e0e3e0978ed5706b0e0\
7b7ef6ec4668",
"entry_hash": "d2b47063f53bcce905ef687c5f7f1c3f008078d0a3eece78d2b\
c54bf8c1ca5b5"
}
¶
If entries 1 to 5 are removed from the original record instead, the record gains the member shown below and its first remaining entry is entry 6. The signed head still verifies.¶
=============== NOTE: '\' line wrapping per RFC 8792 ================
{
"truncated": {
"seq": 5,
"entry_hash": "4cf6025ac1e0aa85ed8a9f1e3c678f544a73319d1e08eecb3\
fbe6ae695b65a2d"
}
}
¶
The record above has few values that separate the canonical form of [RFC8785] from other compact JSON output with sorted member names. The JSON text in Figure 21 has more of them. It holds numbers in several spellings, a control character, and two member names whose order by UTF-16 code unit differs from their order by code point.¶
{
"numbers": [1e21, 1.0, 0.000001, 1e-7, -0, 0.2, 4.50, 2E-3,
333333333.33333329],
"string": "\u000f\u00be/\"\\\n",
"\ud83d\ude00": 1,
"\ufb33": 2,
"a": null,
"A": true
}
In the canonical form, the member names appear in the order A, a, numbers, string, U+1F600, U+FB33. The numbers appear as 1e+21, 1, 0.000001, 1e-7, 0, 0.2, 4.5, 0.002, and 333333333.3333333. The canonical form has 131 octets, shown here in hexadecimal:¶
7b 22 41 22 3a 74 72 75 65 2c 22 61 22 3a 6e 75 6c 6c 2c 22 6e 75 6d 62 65 72 73 22 3a 5b 31 65 2b 32 31 2c 31 2c 30 2e 30 30 30 30 30 31 2c 31 65 2d 37 2c 30 2c 30 2e 32 2c 34 2e 35 2c 30 2e 30 30 32 2c 33 33 33 33 33 33 33 33 33 2e 33 33 33 33 33 33 33 5d 2c 22 73 74 72 69 6e 67 22 3a 22 5c 75 30 30 30 66 c2 be 2f 5c 22 5c 5c 5c 6e 22 2c 22 f0 9f 98 80 22 3a 31 2c 22 ef ac b3 22 3a 32 7d¶
The SHA-256 hash of those octets is:¶
afbc268398163c4f856a4d881d1eb85ba85b85e609c8473a11ebaf56cf28a0d1¶
This section is to be removed before publishing as an RFC.¶
This section records the status of known implementations at the time of writing, as described in [RFC7942].¶
The following description of qlm-measure version 0.7.0 is retained from revision -00. It is an earlier implementation and does not establish conformance to this revision. qlm-measure version 0.7.0 (Quantum Learning Machines; TypeScript and Python; Apache 2.0 license; https://github.com/QuantumLearningMachines/qlm-measure) writes and verifies records that it labels schema 0.3. This document was derived from that format. Both chain entries by hash and allow an event to be redacted. Both place consent events in the chain. The differences are:¶
seq and prev_hash.¶
Quantum Learning Machines plans to extend qlm-measure so that it writes records in the format of this document.¶
A local Learnlog AI Use Profile v0.1.0 prototype adds proposed context fields, condition-assessment sidecars, two entirely synthetic examples, and a Python reference checker. It checks a subset consisting of contained, unsigned SHA-256 records without redaction or truncation and the example-profile constraints. It does not verify signatures, establish full CDDL conformance, or implement runtime context-update and capture-completion events. The examples contain no participant observations or learning-effect measurements. The prototype is not an independent implementation or an interoperability result. No public publication location is specified in this revision.¶
The revision -02 preparation materials add an experimental assistance and import profile, together with source-specific transformer mappings and a downloadable pipeline. The profile distinguishes source-declared lifecycle observations and binds its definitions through existing header extension points. Released transcript turns and participant summaries remain different observation units; synthetic lifecycle fixtures are labeled as such. These materials do not demonstrate independently reviewed cross-product scaffolding measurement, full core conformance, or an improvement in research decisions. Their execution and source-fidelity checks are implementation evidence, not semantic or educational-effect validation.¶
The 18 October working materials add the assistance capture profile identified in Section 2, a JSON Schema, local Python validation, synthetic examples, a draft xAPI profile, and complete experimental xAPI and Caliper importer-observation encodings. Their executable checks concern the stated encoding mode and record the exact scope of validation. They do not establish that a carrier record is a native learner action. These additions leave the previously versioned companion profile and the core Learnlog representation unchanged. Structural, round-trip, and negative-case checks do not establish truthful capture, independent implementation, fewer measurement errors, lower integration effort, certification, or adoption.¶
The intended adoption path is through the transformer. External products can retain their native formats and need not adopt Learnlog, xAPI, or Caliper. An adapter can produce profile records when available source facts and a documented mapping support those assertions; an optional carrier binding packages the result. QLM's internal logging requirement for its own products is separate. The research adapters supplied with the existing demo use their earlier frozen profile; the new carrier encodings do not make those adapters conform to this assistance capture profile. A supported adapter for the new profile needs its own source-fidelity and mapping tests. The transformer cannot recover assistance or capture facts that the source did not record. Additional instrumentation is needed when a proposed measure requires missing observations.¶
For revision -03, two episode scripts apply the stage rules to three released research datasets and publish only aggregate counts [LEARNLOG-EPISODES]. They are analysis scripts for Section 2.7, not a profile implementation, and their mappings have not been independently reviewed.¶
This section is to be removed before publishing as an RFC.¶
This section is to be removed before publishing as an RFC.¶
This section is to be removed before publishing as an RFC.¶
This section is to be removed before publishing as an RFC.¶
session and activity are carried on each applicable event; both members are optional in the base Event definition. Section 7.5 of [QLOG] lets a trace state such values once, as common fields. An equivalent here would have to fit the rule that each event is hashed by itself.¶
content_hash and config_hash members carry no salt (Section 11.7).¶
The unprotected event_schemas list remains unchanged. Independent review is needed for private profile binding conventions, immutable publication, digest scope, and behavior when a required definition is unavailable.¶
assist:scaffold_provided that records initiation explicitly.¶