@altnovatrail/contracts 0.19.13 → 0.19.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,8 @@
6
6
  // and the verdict, the tutor's words and marks, hints, the solution shown, and "Done" on a task
7
7
  // with a rubric — of a task of a module, and of a task from the learner's paper, whose attempts
8
8
  // `PaperService` begins. What each message means, what never reaches the device, and what a repeat
9
- // with the same idempotency key answers are the rules of contracts/README.md, section 15.
9
+ // with the same idempotency key answers are the rules of contracts/README.md for
10
+ // the contract between `app` and `api`.
10
11
 
11
12
  import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
12
13
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
@@ -327,7 +328,7 @@ export const ProblemKindSchema = /*@__PURE__*/
327
328
  enumDesc(file_novatrail_api_v1_attempt, 2);
328
329
 
329
330
  /**
330
- * What is wrong with the tutor's words: the closed set the person picks one word of (R123).
331
+ * What is wrong with the tutor's words: the closed set the person picks one word of.
331
332
  *
332
333
  * @generated from enum novatrail.api.v1.ProblemKind
333
334
  */
@@ -341,7 +342,7 @@ export const ActionSchema = /*@__PURE__*/
341
342
  enumDesc(file_novatrail_api_v1_attempt, 3);
342
343
 
343
344
  /**
344
- * Whose action a request is: the server tells kinds of action apart, not people (R04 api).
345
+ * Whose action a request is: the server tells kinds of action apart, not people.
345
346
  *
346
347
  * @generated from enum novatrail.api.v1.Action
347
348
  */
@@ -375,10 +376,10 @@ export const MarkKind = /*@__PURE__*/
375
376
  * solution shown or by "Done" says what comes next, `next`: an attempt begins by
376
377
  * `LearningService`. The engine's choice in `next` goes by the route to AI that the request
377
378
  * names, the own key's by the provider of its `own_key` or by its `own_key_provider`, or platform
378
- * AI's without either, as `ChooseNext` judges it (R84; R99). An attempt of a task from paper
379
- * (R162) has an item with one answer slot for each task its crop holds, from 1 to 20, no `next`,
379
+ * AI's without either, as `ChooseNext` judges it. An attempt of a task from paper
380
+ * has an item with one answer slot for each task its crop holds, from 1 to 20, no `next`,
380
381
  * and nothing to show: its key, the solver's or the AI's, the first submission derives, `api`
381
- * keeps it while the attempt is open, and it never reaches the device (R05).
382
+ * keeps it while the attempt is open, and it never reaches the device.
382
383
  *
383
384
  * @generated from service novatrail.api.v1.AttemptService
384
385
  */
@@ -7,7 +7,8 @@
7
7
  // answer carries; and the values that come both in answers and in the data of a refusal: why an
8
8
  // attempt was closed, how a lesson run ended, and the engine's choice, with the list of its reason
9
9
  // codes, which the adult's progress alone carries. What they mean, and how `app` reads a cause it
10
- // does not know, are the rules of contracts/README.md, section 15.
10
+ // does not know, are the rules of contracts/README.md for the
11
+ // contract between `app` and `api`.
11
12
 
12
13
  import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
13
14
  import type { Message } from "@bufbuild/protobuf";
@@ -153,7 +154,7 @@ export declare type Outcome = Message<"novatrail.api.v1.Outcome"> & {
153
154
  export declare const OutcomeSchema: GenMessage<Outcome>;
154
155
 
155
156
  /**
156
- * The limit of the learner's own key that ran out at its provider (R55 tutor).
157
+ * The limit of the learner's own key that ran out at its provider.
157
158
  *
158
159
  * @generated from message novatrail.api.v1.OwnKeyLimit
159
160
  */
@@ -181,7 +182,7 @@ export declare const OwnKeyLimitSchema: GenMessage<OwnKeyLimit>;
181
182
 
182
183
  /**
183
184
  * The engine's choice: what the learner is given next — a lesson, or a task outside a lesson — or
184
- * that there is nothing to give (concepts 12). A choice begins nothing: `app` opens a lesson by
185
+ * that there is nothing to give. A choice begins nothing: `app` opens a lesson by
185
186
  * `OpenLesson` and begins a task by `BeginAttempt`, each naming the choice. Its reason code is not
186
187
  * here: a child is not told it, and it goes to the adult's progress alone, `AttemptRecord`.
187
188
  *
@@ -206,8 +207,8 @@ export declare type EngineChoice = Message<"novatrail.api.v1.EngineChoice"> & {
206
207
  * Beside `CHOICE_KIND_NOTHING`, when the AI that checks the tasks is closed to the learner on the
207
208
  * route to AI that the request names and no task that a tap checks is left: `CAUSE_QUOTA`, with
208
209
  * when the next family day begins, `CAUSE_PLATFORM_LIMIT` or `CAUSE_NOT_ADMITTED`; on the own
209
- * key `CAUSE_NOT_ADMITTED` alone, since neither the quota nor the limit of platform AI closes it
210
- * (R84; R99). Absent when there is nothing to give for another reason, such as no module connected
210
+ * key `CAUSE_NOT_ADMITTED` alone, since neither the quota nor the limit of platform AI closes it.
211
+ * Absent when there is nothing to give for another reason, such as no module connected
211
212
  * with a current version.
212
213
  *
213
214
  * @generated from field: novatrail.api.v1.Outcome outcome = 3;
@@ -272,8 +273,8 @@ export declare type EndedSegments = Message<"novatrail.api.v1.EndedSegments"> &
272
273
  export declare const EndedSegmentsSchema: GenMessage<EndedSegments>;
273
274
 
274
275
  /**
275
- * Why a request was refused, or what a call of AI in it came to: one list for the whole contract
276
- * (R17 api). A refusal comes as the detail `Refusal` of an error of Connect, with the code that the
276
+ * Why a request was refused, or what a call of AI in it came to: one list for the whole contract.
277
+ * A refusal comes as the detail `Refusal` of an error of Connect, with the code that the
277
278
  * comment of each method gives it; an outcome comes in the answer, as `Outcome`. A cause that the
278
279
  * build of `app` does not know it reads by the code of the error, or as a call of AI that gave
279
280
  * nothing. A verdict's reason is no cause: it is the module format's and the observation's.
@@ -392,7 +393,7 @@ export enum Cause {
392
393
  * A learning request to show the solution, while the child's setting "ask before showing" is on:
393
394
  * the solution is shown by an action of an adult. Or a learning request on what an adult decides
394
395
  * at a profile whose consent an adult gave: the learner's own consent, its withdrawal, the
395
- * storage of works and the export (R136). Code `permission_denied`.
396
+ * storage of works and the export. Code `permission_denied`.
396
397
  *
397
398
  * @generated from enum value: CAUSE_ADULT_NEEDED = 13;
398
399
  */
@@ -407,7 +408,7 @@ export enum Cause {
407
408
 
408
409
  /**
409
410
  * The task has nothing to show by this request: a task with a rubric, which "Done" ends, and a
410
- * task from paper, whose solution is never shown (R162). Code `failed_precondition`.
411
+ * task from paper, whose solution is never shown. Code `failed_precondition`.
411
412
  *
412
413
  * @generated from enum value: CAUSE_NO_SHOWING = 15;
413
414
  */
@@ -504,7 +505,7 @@ export enum Cause {
504
505
  ALREADY_EXISTS = 26,
505
506
 
506
507
  /**
507
- * The deployment does not take learners from the country named (privacy 9, П-2). Code
508
+ * The deployment does not take learners from the country named (П-2). Code
508
509
  * `failed_precondition`.
509
510
  *
510
511
  * @generated from enum value: CAUSE_COUNTRY_NOT_ACCEPTED = 27;
@@ -514,8 +515,8 @@ export enum Cause {
514
515
  /**
515
516
  * The consent is not confirmed: a child's profile asked for by a consent of a parent that still
516
517
  * waits, or a learning request of a profile without consent — one that waits for the learner's
517
- * own consent or for a parent's form —, but for the requests on the consent itself, which section
518
- * 15 of contracts/README.md names; or the adult's correction of a module's level at such a
518
+ * own consent or for a parent's form —, but for the requests on the consent itself, which
519
+ * contracts/README.md names; or the adult's correction of a module's level at such a
519
520
  * profile. Code `failed_precondition`.
520
521
  *
521
522
  * @generated from enum value: CAUSE_NO_CONSENT = 28;
@@ -611,7 +612,7 @@ export enum Cause {
611
612
  /**
612
613
  * The account has as many consents that wait, without a profile, as `api` lets it have: one is
613
614
  * taken back by `CancelChildConsent`, or confirmed, before another is asked for. `api` holds the
614
- * number (R11 api). Code `resource_exhausted`, with no data.
615
+ * number. Code `resource_exhausted`, with no data.
615
616
  *
616
617
  * @generated from enum value: CAUSE_TOO_MANY_CONSENTS = 39;
617
618
  */
@@ -620,7 +621,7 @@ export enum Cause {
620
621
  /**
621
622
  * The age of the profile is to be given again before its next work: the country of a learner who
622
623
  * gave their own consent now asks for an older age of digital consent than the one the category
623
- * was given by (R134), but for the requests on the consent itself, which section 15 of
624
+ * was given by, but for the requests on the consent itself, which
624
625
  * contracts/README.md names; the adult's correction of a module's level at such a profile gets it
625
626
  * too. An adult gives it by `RestateAge`. Code `failed_precondition`.
626
627
  *
@@ -640,25 +641,25 @@ export enum Cause {
640
641
 
641
642
  /**
642
643
  * An action of an adult on the storage of works at a profile whose learner gave their own
643
- * consent: the learner decides it alone (R113; R116). Code `permission_denied`.
644
+ * consent: the learner decides it alone. Code `permission_denied`.
644
645
  *
645
646
  * @generated from enum value: CAUSE_LEARNER_DECIDES = 42;
646
647
  */
647
648
  LEARNER_DECIDES = 42,
648
649
 
649
650
  /**
650
- * A work put while the storage of the profile's works is off: `app` keeps it on the device alone
651
- * (R113). Code `failed_precondition`, with no data.
651
+ * A work put while the storage of the profile's works is off: `app` keeps it on the device alone.
652
+ * Code `failed_precondition`, with no data.
652
653
  *
653
654
  * @generated from enum value: CAUSE_STORAGE_OFF = 43;
654
655
  */
655
656
  STORAGE_OFF = 43,
656
657
 
657
658
  /**
658
- * A work larger than 4 MiB, as `StoredWork` counts it: `api` keeps none of it, and `app` keeps
659
- * it on the device alone (R113). Code `invalid_argument`, with no data. A `PutWork` message
660
- * larger than `api` reads gets `resource_exhausted` with no `Refusal` instead (contracts/README.md,
661
- * section 15): `app` reads it as this cause.
659
+ * A work larger than 4 MiB, as `StoredWork` counts it: `api` keeps none of it, and `app` keeps it
660
+ * on the device alone. Code `invalid_argument`, with no data. A `PutWork` message larger than
661
+ * `api` reads gets `resource_exhausted` with no `Refusal` instead (contracts/README.md): `app`
662
+ * reads it as this cause.
662
663
  *
663
664
  * @generated from enum value: CAUSE_WORK_TOO_LARGE = 44;
664
665
  */
@@ -667,7 +668,7 @@ export enum Cause {
667
668
  /**
668
669
  * A check of an own key beyond the checks that `api` lets an account make in a sliding window:
669
670
  * every check that is not refused before it counts, a provider closed with no call too. `api`
670
- * holds the number and the window (R78 api). The refusal holds when the next check opens. Code
671
+ * holds the number and the window. The refusal holds when the next check opens. Code
671
672
  * `resource_exhausted`.
672
673
  *
673
674
  * @generated from enum value: CAUSE_KEY_CHECKS_EXHAUSTED = 45;
@@ -678,7 +679,7 @@ export enum Cause {
678
679
  * The adult's correction of a module's level names a band that is neither the band of the level
679
680
  * nor one next to it, by the bands of the manifest of the module's current version: the level
680
681
  * has moved since `app` read it, or the module has no such band. `app` reads `GetSkillMap`
681
- * again and offers the bands next to the level it gives (R157). Code `failed_precondition`,
682
+ * again and offers the bands next to the level it gives. Code `failed_precondition`,
682
683
  * with no data.
683
684
  *
684
685
  * @generated from enum value: CAUSE_BAND_NOT_NEXT = 46;
@@ -688,7 +689,7 @@ export enum Cause {
688
689
  /**
689
690
  * A task from paper has no key: the solution of AI gave no one answer that a program can compare,
690
691
  * such as a proof, a drawing or several answers, so no verdict is given, "Couldn't check this
691
- * one", and the hints still are (R162). An outcome alone, of every submission of the attempt,
692
+ * one", and the hints still are. An outcome alone, of every submission of the attempt,
692
693
  * with no AI once the first gave it.
693
694
  *
694
695
  * @generated from enum value: CAUSE_NO_KEY = 47;
@@ -749,7 +750,7 @@ export enum LimitCause {
749
750
  export declare const LimitCauseSchema: GenEnum<LimitCause>;
750
751
 
751
752
  /**
752
- * Why an attempt was closed (architecture 3.5 api). An attempt that is not closed waits, whatever
753
+ * Why an attempt was closed. An attempt that is not closed waits, whatever
753
754
  * its submissions came to.
754
755
  *
755
756
  * @generated from enum novatrail.api.v1.CloseReason
@@ -860,7 +861,7 @@ export enum ChoiceKind {
860
861
  export declare const ChoiceKindSchema: GenEnum<ChoiceKind>;
861
862
 
862
863
  /**
863
- * Why the engine gave what it chose: its reason code (concepts 12; R29; R100). The adult sees it
864
+ * Why the engine gave what it chose: its reason code. The adult sees it
864
865
  * in the progress of a profile, and a child is not told it: no answer to a learning request
865
866
  * carries it. A choice has one code, that of the branch of the engine's rule that made it, a
866
867
  * lesson's as a task's, and `ChoiceKind` says what it gave. A value never changes its meaning: a
@@ -926,7 +927,7 @@ export enum ReasonCode {
926
927
 
927
928
  /**
928
929
  * The author's order: a skill with a rubric or without assessment comes next by the skill graph,
929
- * without the learner model (concepts 4).
930
+ * without the learner model.
930
931
  *
931
932
  * @generated from enum value: REASON_CODE_AUTHOR_ORDER = 7;
932
933
  */
@@ -956,7 +957,7 @@ export enum ReasonCode {
956
957
  export declare const ReasonCodeSchema: GenEnum<ReasonCode>;
957
958
 
958
959
  /**
959
- * Why a lesson run ended (concepts 5). A reason its build does not know `app` reads as an end other
960
+ * Why a lesson run ended. A reason its build does not know `app` reads as an end other
960
961
  * than `RUN_END_REASON_PASSED`, and erases the state of the lesson as at every end.
961
962
  *
962
963
  * @generated from enum novatrail.api.v1.RunEndReason
@@ -7,7 +7,8 @@
7
7
  // answer carries; and the values that come both in answers and in the data of a refusal: why an
8
8
  // attempt was closed, how a lesson run ended, and the engine's choice, with the list of its reason
9
9
  // codes, which the adult's progress alone carries. What they mean, and how `app` reads a cause it
10
- // does not know, are the rules of contracts/README.md, section 15.
10
+ // does not know, are the rules of contracts/README.md for the
11
+ // contract between `app` and `api`.
11
12
 
12
13
  import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
13
14
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
@@ -67,8 +68,8 @@ export const CauseSchema = /*@__PURE__*/
67
68
  enumDesc(file_novatrail_api_v1_cause, 0);
68
69
 
69
70
  /**
70
- * Why a request was refused, or what a call of AI in it came to: one list for the whole contract
71
- * (R17 api). A refusal comes as the detail `Refusal` of an error of Connect, with the code that the
71
+ * Why a request was refused, or what a call of AI in it came to: one list for the whole contract.
72
+ * A refusal comes as the detail `Refusal` of an error of Connect, with the code that the
72
73
  * comment of each method gives it; an outcome comes in the answer, as `Outcome`. A cause that the
73
74
  * build of `app` does not know it reads by the code of the error, or as a call of AI that gave
74
75
  * nothing. A verdict's reason is no cause: it is the module format's and the observation's.
@@ -99,7 +100,7 @@ export const CloseReasonSchema = /*@__PURE__*/
99
100
  enumDesc(file_novatrail_api_v1_cause, 2);
100
101
 
101
102
  /**
102
- * Why an attempt was closed (architecture 3.5 api). An attempt that is not closed waits, whatever
103
+ * Why an attempt was closed. An attempt that is not closed waits, whatever
103
104
  * its submissions came to.
104
105
  *
105
106
  * @generated from enum novatrail.api.v1.CloseReason
@@ -129,7 +130,7 @@ export const ReasonCodeSchema = /*@__PURE__*/
129
130
  enumDesc(file_novatrail_api_v1_cause, 4);
130
131
 
131
132
  /**
132
- * Why the engine gave what it chose: its reason code (concepts 12; R29; R100). The adult sees it
133
+ * Why the engine gave what it chose: its reason code. The adult sees it
133
134
  * in the progress of a profile, and a child is not told it: no answer to a learning request
134
135
  * carries it. A choice has one code, that of the branch of the engine's rule that made it, a
135
136
  * lesson's as a task's, and `ChoiceKind` says what it gave. A value never changes its meaning: a
@@ -149,7 +150,7 @@ export const RunEndReasonSchema = /*@__PURE__*/
149
150
  enumDesc(file_novatrail_api_v1_cause, 5);
150
151
 
151
152
  /**
152
- * Why a lesson run ended (concepts 5). A reason its build does not know `app` reads as an end other
153
+ * Why a lesson run ended. A reason its build does not know `app` reads as an end other
153
154
  * than `RUN_END_REASON_PASSED`, and erases the state of the lesson as at every end.
154
155
  *
155
156
  * @generated from enum novatrail.api.v1.RunEndReason
@@ -2,11 +2,12 @@
2
2
  // @generated from file novatrail/api/v1/debug.proto (package novatrail.api.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
- // The debug mode in the contract between `app` and `api` (R163): which models serve the calls of
5
+ // The debug mode in the contract between `app` and `api`: which models serve the calls of
6
6
  // AI of a task from paper, past the admission list, and what each call returned and cost, for an
7
7
  // account with the right of the mode. A method from an account without the right answers
8
8
  // `permission_denied` with no `Refusal`, and on a run with the stub of `tutor` `unimplemented`;
9
- // `app` then shows no debug button. Its rules are contracts/README.md, section 15.
9
+ // `app` then shows no debug button. Its rules are those of contracts/README.md for
10
+ // the contract between `app` and `api`.
10
11
 
11
12
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
12
13
  import type { Message } from "@bufbuild/protobuf";
@@ -57,7 +58,7 @@ export declare type GetDebugResponse = Message<"novatrail.api.v1.GetDebugRespons
57
58
 
58
59
  /**
59
60
  * The models of each call of a task from paper by the admission list of `tutor`, for an adult on
60
- * platform AI, one for each model in the order of their attempts (R164): what serves the call
61
+ * platform AI, one for each model in the order of their attempts: what serves the call
61
62
  * with no first model. A call the list admits no model for is absent.
62
63
  *
63
64
  * @generated from field: repeated novatrail.api.v1.DebugAdmitted admitted = 3;
@@ -169,15 +170,15 @@ export declare type DebugChoice = Message<"novatrail.api.v1.DebugChoice"> & {
169
170
  /**
170
171
  * The model of every call of a task from paper — the tasks found, the statement read, the
171
172
  * solution, the work read and the tutor's words —, one attempt each: absent, each call has its
172
- * models of the admission list of `tutor`, in turn (R164).
173
+ * models of the admission list of `tutor`, in turn.
173
174
  *
174
175
  * @generated from field: novatrail.api.v1.DebugModelChoice first = 1;
175
176
  */
176
177
  first?: DebugModelChoice | undefined;
177
178
 
178
179
  /**
179
- * A second reader of the work, beside the first model's reading, the two joined as a pair is
180
- * (R68): absent, one reader.
180
+ * A second reader of the work, beside the first model's reading, the two joined as a pair, where
181
+ * a place they read differently is unreadable: absent, one reader.
181
182
  *
182
183
  * @generated from field: novatrail.api.v1.DebugModelChoice second = 2;
183
184
  */
@@ -334,7 +335,7 @@ export declare type DebugAction = Message<"novatrail.api.v1.DebugAction"> & {
334
335
 
335
336
  /**
336
337
  * Beside two readers: whether a place of the work was read differently by them, and so is
337
- * unreadable (R68).
338
+ * unreadable.
338
339
  *
339
340
  * @generated from field: bool readers_differ = 5;
340
341
  */
@@ -476,7 +477,7 @@ export declare type DebugCall = Message<"novatrail.api.v1.DebugCall"> & {
476
477
 
477
478
  /**
478
479
  * The model's place among the attempts of its call, 1, 2 or 3: a later one is asked only when
479
- * the one before did not do (R164). 1 for the solver and for a model the debug mode chose.
480
+ * the one before did not do. 1 for the solver and for a model the debug mode chose.
480
481
  *
481
482
  * @generated from field: int32 attempt = 18;
482
483
  */
@@ -493,7 +494,7 @@ export declare const DebugCallSchema: GenMessage<DebugCall>;
493
494
  * A Check of a task from paper as the debug mode exports it, a case of the set of a task from
494
495
  * paper of the eval runner of `tutor`: the pictures its calls saw, what they gave, and the truth as
495
496
  * the developer says it. `app` writes it as the JSON of this message, a file a case; `tutor-eval`
496
- * reads a folder of such files as a set, whose truth is the developer's (R163).
497
+ * reads a folder of such files as a set, whose truth is the developer's.
497
498
  *
498
499
  * @generated from message novatrail.api.v1.DebugCase
499
500
  */
@@ -2,11 +2,12 @@
2
2
  // @generated from file novatrail/api/v1/debug.proto (package novatrail.api.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
- // The debug mode in the contract between `app` and `api` (R163): which models serve the calls of
5
+ // The debug mode in the contract between `app` and `api`: which models serve the calls of
6
6
  // AI of a task from paper, past the admission list, and what each call returned and cost, for an
7
7
  // account with the right of the mode. A method from an account without the right answers
8
8
  // `permission_denied` with no `Refusal`, and on a run with the stub of `tutor` `unimplemented`;
9
- // `app` then shows no debug button. Its rules are contracts/README.md, section 15.
9
+ // `app` then shows no debug button. Its rules are those of contracts/README.md for
10
+ // the contract between `app` and `api`.
10
11
 
11
12
  import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
12
13
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
@@ -4,7 +4,8 @@
4
4
 
5
5
  // The way from a module to a task in the contract between `app` and `api`: the engine's choice, the
6
6
  // beginning of an attempt and the open attempt, and lessons, which `api` leads by lesson runs. What
7
- // each message means is the rule of contracts/README.md, section 15.
7
+ // each message means is the rule of contracts/README.md for the contract
8
+ // between `app` and `api`.
8
9
 
9
10
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
10
11
  import type { Message } from "@bufbuild/protobuf";
@@ -50,7 +51,7 @@ export declare type ChooseNextRequest = Message<"novatrail.api.v1.ChooseNextRequ
50
51
  * The provider of the learner's own key, by its code in the admission table, without the key:
51
52
  * with a profile of its owner that checks the tasks by its own key, so that `api` judges the
52
53
  * engine's pool, and a choice of nothing, by that route, as `BeginAttempt` by the same route
53
- * would begin a task, though the request calls no AI. Empty on platform AI (R84; R99).
54
+ * would begin a task, though the request calls no AI. Empty on platform AI.
54
55
  *
55
56
  * @generated from field: string own_key_provider = 4;
56
57
  */
@@ -144,7 +145,7 @@ export declare type BeginAttemptRequest = Message<"novatrail.api.v1.BeginAttempt
144
145
  * route to AI for the checks of the beginning, and checks no quota; an engine's choice that a
145
146
  * refusal `CAUSE_RUN_ENDED` gives goes by the same route. Empty when platform AI checks it. Each
146
147
  * later request on the attempt that calls AI goes by the `own_key` it carries, or on platform AI
147
- * without one, and meets the quota there as an outcome (R84; R99).
148
+ * without one, and meets the quota there as an outcome.
148
149
  *
149
150
  * @generated from field: string own_key_provider = 6;
150
151
  */
@@ -352,7 +353,7 @@ export declare type OpenAttempt = Message<"novatrail.api.v1.OpenAttempt"> & {
352
353
 
353
354
  /**
354
355
  * On a task with a rubric: each submission, in order, with how it ended and when, without the
355
- * text read and the words of the feedback, which are nowhere on the server (R87).
356
+ * text read and the words of the feedback, which are nowhere on the server.
356
357
  *
357
358
  * @generated from field: repeated novatrail.api.v1.EssaySubmission essay_submissions = 8;
358
359
  */
@@ -362,7 +363,7 @@ export declare type OpenAttempt = Message<"novatrail.api.v1.OpenAttempt"> & {
362
363
  * The task's leading question as a hint asked for gave it, with the techniques, before the first
363
364
  * wrong answer or on a task with a rubric: empty when none was given, and when the task has none.
364
365
  * It is a closed field of the module format, so the open view of the task does not hold it, and
365
- * a device that goes on with the attempt shows it from here (R108).
366
+ * a device that goes on with the attempt shows it from here.
366
367
  *
367
368
  * @generated from field: string requested_leading_question = 9;
368
369
  */
@@ -426,7 +427,7 @@ export declare type OpenLessonRequest = Message<"novatrail.api.v1.OpenLessonRequ
426
427
  * The provider of the learner's own key, by its code in the admission table, without the key:
427
428
  * with a profile of its owner that checks the tasks by its own key, so that an engine's choice
428
429
  * that a refusal `CAUSE_RUN_ENDED` gives goes by that route, though the request calls no AI.
429
- * Empty on platform AI (R84; R99).
430
+ * Empty on platform AI.
430
431
  *
431
432
  * @generated from field: string own_key_provider = 3;
432
433
  */
@@ -483,7 +484,7 @@ export declare type GetLessonRunRequest = Message<"novatrail.api.v1.GetLessonRun
483
484
  * The provider of the learner's own key, by its code in the admission table, without the key:
484
485
  * with a profile of its owner that checks the tasks by its own key, so that an engine's choice
485
486
  * that a refusal `CAUSE_RUN_ENDED` gives goes by that route, though the request calls no AI.
486
- * Empty on platform AI (R84; R99).
487
+ * Empty on platform AI.
487
488
  *
488
489
  * @generated from field: string own_key_provider = 3;
489
490
  */
@@ -591,7 +592,7 @@ export declare type CompleteLessonRequest = Message<"novatrail.api.v1.CompleteLe
591
592
  * The provider of the learner's own key, by its code in the admission table, without the key:
592
593
  * with a profile of its owner that checks the tasks by its own key, so that the engine's choice
593
594
  * that the end of the run gives goes by that route, though the request calls no AI. Empty on
594
- * platform AI (R84; R99).
595
+ * platform AI.
595
596
  *
596
597
  * @generated from field: string own_key_provider = 3;
597
598
  */
@@ -695,15 +696,14 @@ export declare const LessonRunRefSchema: GenMessage<LessonRunRef>;
695
696
  * given again `CAUSE_AGE_NEEDED`, and a request whose form the contract refuses the code
696
697
  * `invalid_argument` with no `Refusal`. A profile has one open attempt of a task of a module: a new
697
698
  * one closes the one before `CLOSE_REASON_LEFT`, and leaves as they are the open attempts of tasks
698
- * from paper, which `PaperService` begins (R162). A lesson run goes on the package it began on, and
699
+ * from paper, which `PaperService` begins. A lesson run goes on the package it began on, and
699
700
  * every attempt of its task segments too. `app` keeps the place in a lesson and the state of its
700
701
  * demos by the key "lesson's full ID, package digest", beside the ID of the run: the state of
701
702
  * another run under the same key it drops, and it erases the state of the lesson at every end of
702
703
  * the run, in an answer or in a refusal. An engine's choice that an answer or a refusal gives goes
703
704
  * by the route to AI that the request names, the own key's by `own_key_provider` or platform AI's
704
705
  * without it, so that it gives nothing that `BeginAttempt` by the same route would refuse; a
705
- * profile not of the category `adult` that names a provider gets `CAUSE_KEY_NOT_FOR_PROFILE` (R84;
706
- * R99).
706
+ * profile not of the category `adult` that names a provider gets `CAUSE_KEY_NOT_FOR_PROFILE`.
707
707
  *
708
708
  * @generated from service novatrail.api.v1.LearningService
709
709
  */
@@ -753,7 +753,7 @@ export declare const LearningService: GenService<{
753
753
  * `WorkService.PutWork`, which `GetWork` gives back. Refusals: `CAUSE_NOT_FOUND`,
754
754
  * `CAUSE_ATTEMPT_CLOSED` with its close reason, and `CAUSE_PACKAGE_UNKNOWN`. An attempt of a task
755
755
  * from paper gets `invalid_argument`: it has no open view, and only the device that holds its
756
- * page goes on with it (R162). It repeats by the state of the attempt.
756
+ * page goes on with it. It repeats by the state of the attempt.
757
757
  *
758
758
  * @generated from rpc novatrail.api.v1.LearningService.GetOpenAttempt
759
759
  */
@@ -4,7 +4,8 @@
4
4
 
5
5
  // The way from a module to a task in the contract between `app` and `api`: the engine's choice, the
6
6
  // beginning of an attempt and the open attempt, and lessons, which `api` leads by lesson runs. What
7
- // each message means is the rule of contracts/README.md, section 15.
7
+ // each message means is the rule of contracts/README.md for the contract
8
+ // between `app` and `api`.
8
9
 
9
10
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
10
11
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
@@ -160,15 +161,14 @@ export const LessonRunRefSchema = /*@__PURE__*/
160
161
  * given again `CAUSE_AGE_NEEDED`, and a request whose form the contract refuses the code
161
162
  * `invalid_argument` with no `Refusal`. A profile has one open attempt of a task of a module: a new
162
163
  * one closes the one before `CLOSE_REASON_LEFT`, and leaves as they are the open attempts of tasks
163
- * from paper, which `PaperService` begins (R162). A lesson run goes on the package it began on, and
164
+ * from paper, which `PaperService` begins. A lesson run goes on the package it began on, and
164
165
  * every attempt of its task segments too. `app` keeps the place in a lesson and the state of its
165
166
  * demos by the key "lesson's full ID, package digest", beside the ID of the run: the state of
166
167
  * another run under the same key it drops, and it erases the state of the lesson at every end of
167
168
  * the run, in an answer or in a refusal. An engine's choice that an answer or a refusal gives goes
168
169
  * by the route to AI that the request names, the own key's by `own_key_provider` or platform AI's
169
170
  * without it, so that it gives nothing that `BeginAttempt` by the same route would refuse; a
170
- * profile not of the category `adult` that names a provider gets `CAUSE_KEY_NOT_FOR_PROFILE` (R84;
171
- * R99).
171
+ * profile not of the category `adult` that names a provider gets `CAUSE_KEY_NOT_FOR_PROFILE`.
172
172
  *
173
173
  * @generated from service novatrail.api.v1.LearningService
174
174
  */
@@ -5,8 +5,8 @@
5
5
  // The legal texts in the contract between `app` and `api`: the privacy policy, the terms of use
6
6
  // and the consents that `app` shows as its own pages, each in its current version and its next
7
7
  // one, with its gist in the language of the screen. The texts are those of the legal part,
8
- // `legal/` of `spec`, or of a self-hosted copy's operator. What each message means is the rule of contracts/README.md,
9
- // section 15.
8
+ // `legal/` of `spec`, or of a self-hosted copy's operator. What each message means is the rule of
9
+ // contracts/README.md for the contract between `app` and `api`.
10
10
 
11
11
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
12
12
  import type { Message } from "@bufbuild/protobuf";
@@ -24,7 +24,7 @@ export declare const file_novatrail_api_v1_legal: GenFile;
24
24
  export declare type GetLegalTextsRequest = Message<"novatrail.api.v1.GetLegalTextsRequest"> & {
25
25
  /**
26
26
  * The language of the screen that shows the texts, a well-formed tag of BCP 47, a field of the
27
- * message and not the header `Accept-Language` (R92): the language the gists and the
27
+ * message and not the header `Accept-Language`: the language the gists and the
28
28
  * translations come in. Empty asks for English.
29
29
  *
30
30
  * @generated from field: string interface_language = 1;
@@ -58,7 +58,7 @@ export declare type GetLegalTextsResponse = Message<"novatrail.api.v1.GetLegalTe
58
58
  * The next version of every text whose place is `app` that has one, in the same order: the
59
59
  * version that becomes current on the nearest day still to come, its version in force with the
60
60
  * highest number among those of that day. `app` shows it before it
61
- * applies, as the version that will apply from its day (R130). No request names it in a
61
+ * applies, as the version that will apply from its day. No request names it in a
62
62
  * consent: a consent names the current version.
63
63
  *
64
64
  * @generated from field: repeated novatrail.api.v1.LegalText next_texts = 2;
@@ -128,7 +128,7 @@ export declare type LegalText = Message<"novatrail.api.v1.LegalText"> & {
128
128
 
129
129
  /**
130
130
  * The translation of the version into the language asked, found as the gist is, when the version
131
- * has one (R141): Markdown as the body is, with no force of its own — the body in English is the
131
+ * has one: Markdown as the body is, with no force of its own — the body in English is the
132
132
  * one in force, and a consent names the version, never its translation. Empty when the version
133
133
  * has no translation into that language, and when English is asked.
134
134
  *
@@ -153,7 +153,7 @@ export declare const LegalTextSchema: GenMessage<LegalText>;
153
153
 
154
154
  /**
155
155
  * A version of a legal text that a person saw, which a request that gives a consent names and the
156
- * record of the consent keeps (R130; R136): the current version that `GetLegalTexts` gave. A text
156
+ * record of the consent keeps: the current version that `GetLegalTexts` gave. A text
157
157
  * with no version in force is named by no request, and a version that is not the current one gets
158
158
  * `CAUSE_TEXT_NOT_CURRENT`.
159
159
  *
@@ -182,7 +182,7 @@ export declare type LegalTextRef = Message<"novatrail.api.v1.LegalTextRef"> & {
182
182
  export declare const LegalTextRefSchema: GenMessage<LegalTextRef>;
183
183
 
184
184
  /**
185
- * The legal texts that `app` shows (R130). The method goes without a token and without the ID of a
185
+ * The legal texts that `app` shows. The method goes without a token and without the ID of a
186
186
  * profile, by Connect GET: the policy is read before signing in. It has the idempotency level
187
187
  * `NO_SIDE_EFFECTS`, and `app` calls it with no header — no `Connect-Timeout-Ms` either, which
188
188
  * would make the request not simple and send a preflight before it. It has no refusal of its own:
@@ -5,8 +5,8 @@
5
5
  // The legal texts in the contract between `app` and `api`: the privacy policy, the terms of use
6
6
  // and the consents that `app` shows as its own pages, each in its current version and its next
7
7
  // one, with its gist in the language of the screen. The texts are those of the legal part,
8
- // `legal/` of `spec`, or of a self-hosted copy's operator. What each message means is the rule of contracts/README.md,
9
- // section 15.
8
+ // `legal/` of `spec`, or of a self-hosted copy's operator. What each message means is the rule of
9
+ // contracts/README.md for the contract between `app` and `api`.
10
10
 
11
11
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
12
12
 
@@ -45,7 +45,7 @@ export const LegalTextRefSchema = /*@__PURE__*/
45
45
  messageDesc(file_novatrail_api_v1_legal, 3);
46
46
 
47
47
  /**
48
- * The legal texts that `app` shows (R130). The method goes without a token and without the ID of a
48
+ * The legal texts that `app` shows. The method goes without a token and without the ID of a
49
49
  * profile, by Connect GET: the policy is read before signing in. It has the idempotency level
50
50
  * `NO_SIDE_EFFECTS`, and `app` calls it with no header — no `Connect-Timeout-Ms` either, which
51
51
  * would make the request not simple and send a preflight before it. It has no refusal of its own:
@@ -4,7 +4,8 @@
4
4
 
5
5
  // The modules of a learner in the contract between `app` and `api`: the catalog of the modules a
6
6
  // profile may connect, and the modules connected to it, each by the digest of its current version.
7
- // What each message means is the rule of contracts/README.md, section 15.
7
+ // What each message means is the rule of contracts/README.md for the contract between
8
+ // `app` and `api`.
8
9
 
9
10
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
10
11
  import type { Message } from "@bufbuild/protobuf";
@@ -268,9 +269,9 @@ export declare const ConnectedModuleSchema: GenMessage<ConnectedModule>;
268
269
  export declare const ModuleService: GenService<{
269
270
  /**
270
271
  * The catalog: the modules of the pinned index of `api` whose current version suits the profile
271
- * by its audience, the age category of the profile (R63), connected ones too. The explanation
272
+ * by its audience, the age category of the profile, connected ones too. The explanation
272
273
  * language goes into no choice: the card of a module names it when it is not the language of the
273
- * screen (R92), and the adult chooses.
274
+ * screen, and the adult chooses.
274
275
  *
275
276
  * @generated from rpc novatrail.api.v1.ModuleService.ListCatalog
276
277
  */
@@ -4,7 +4,8 @@
4
4
 
5
5
  // The modules of a learner in the contract between `app` and `api`: the catalog of the modules a
6
6
  // profile may connect, and the modules connected to it, each by the digest of its current version.
7
- // What each message means is the rule of contracts/README.md, section 15.
7
+ // What each message means is the rule of contracts/README.md for the contract between
8
+ // `app` and `api`.
8
9
 
9
10
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
10
11
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";