@action-state-group/capsule-viewer 0.1.0 → 0.4.0

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.
Files changed (102) hide show
  1. package/README.md +74 -2
  2. package/dist/alias-interpreters.d.ts +18 -0
  3. package/dist/alias-interpreters.js +50 -0
  4. package/dist/alias-interpreters.js.map +1 -0
  5. package/dist/browser.d.ts +5 -2
  6. package/dist/browser.js +19 -5
  7. package/dist/browser.js.map +1 -1
  8. package/dist/builtin-manifests.d.ts +51 -0
  9. package/dist/builtin-manifests.js +196 -0
  10. package/dist/builtin-manifests.js.map +1 -0
  11. package/dist/chart-dataset.d.ts +23 -0
  12. package/dist/chart-dataset.js +191 -0
  13. package/dist/chart-dataset.js.map +1 -0
  14. package/dist/chart-spec.d.ts +130 -0
  15. package/dist/chart-spec.js +638 -0
  16. package/dist/chart-spec.js.map +1 -0
  17. package/dist/chart-view.d.ts +27 -0
  18. package/dist/chart-view.js +374 -0
  19. package/dist/chart-view.js.map +1 -0
  20. package/dist/compliance-styles.d.ts +1 -8
  21. package/dist/compliance-styles.js +40 -3
  22. package/dist/compliance-styles.js.map +1 -1
  23. package/dist/compliance-view.d.ts +41 -1
  24. package/dist/compliance-view.js +773 -303
  25. package/dist/compliance-view.js.map +1 -1
  26. package/dist/compliance.d.ts +33 -4
  27. package/dist/compliance.js +92 -13
  28. package/dist/compliance.js.map +1 -1
  29. package/dist/composed-styles.d.ts +12 -0
  30. package/dist/composed-styles.js +20 -0
  31. package/dist/composed-styles.js.map +1 -0
  32. package/dist/composed-view.d.ts +1 -1
  33. package/dist/composed-view.js +9 -2
  34. package/dist/composed-view.js.map +1 -1
  35. package/dist/contract-report-wording.d.ts +195 -0
  36. package/dist/contract-report-wording.js +1177 -0
  37. package/dist/contract-report-wording.js.map +1 -0
  38. package/dist/contract-report.d.ts +92 -0
  39. package/dist/contract-report.js +63 -0
  40. package/dist/contract-report.js.map +1 -0
  41. package/dist/core-strip.d.ts +38 -0
  42. package/dist/core-strip.js +183 -0
  43. package/dist/core-strip.js.map +1 -0
  44. package/dist/emitter-shell.html +181 -3
  45. package/dist/emitter.d.ts +36 -0
  46. package/dist/emitter.js +77 -4
  47. package/dist/emitter.js.map +1 -1
  48. package/dist/evidence-graph-view.d.ts +66 -7
  49. package/dist/evidence-graph-view.js +1483 -127
  50. package/dist/evidence-graph-view.js.map +1 -1
  51. package/dist/evidence-graph.iife.js +17741 -6812
  52. package/dist/frame-tokens.generated.d.ts +3 -0
  53. package/dist/frame-tokens.generated.js +5 -0
  54. package/dist/frame-tokens.generated.js.map +1 -0
  55. package/dist/index.d.ts +3 -0
  56. package/dist/index.js +5 -0
  57. package/dist/index.js.map +1 -1
  58. package/dist/outcome-report-presentation.d.ts +48 -0
  59. package/dist/outcome-report-presentation.js +90 -0
  60. package/dist/outcome-report-presentation.js.map +1 -0
  61. package/dist/outcome-report-styles.d.ts +1 -16
  62. package/dist/outcome-report-styles.js +48 -45
  63. package/dist/outcome-report-styles.js.map +1 -1
  64. package/dist/outcome-report-view.d.ts +75 -2
  65. package/dist/outcome-report-view.js +1063 -436
  66. package/dist/outcome-report-view.js.map +1 -1
  67. package/dist/presentation-builder.d.ts +70 -6
  68. package/dist/presentation-builder.js +198 -70
  69. package/dist/presentation-builder.js.map +1 -1
  70. package/dist/presentation-fragment.d.ts +129 -0
  71. package/dist/presentation-fragment.js +213 -0
  72. package/dist/presentation-fragment.js.map +1 -0
  73. package/dist/presentation-mount.d.ts +4 -2
  74. package/dist/presentation-mount.js +2 -1
  75. package/dist/presentation-mount.js.map +1 -1
  76. package/dist/presentation-registry.d.ts +277 -0
  77. package/dist/presentation-registry.js +416 -0
  78. package/dist/presentation-registry.js.map +1 -0
  79. package/dist/record-content.d.ts +68 -0
  80. package/dist/record-content.js +153 -0
  81. package/dist/record-content.js.map +1 -0
  82. package/dist/record-dating.d.ts +10 -0
  83. package/dist/record-dating.js +76 -0
  84. package/dist/record-dating.js.map +1 -0
  85. package/dist/report-front-styles.d.ts +9 -0
  86. package/dist/report-front-styles.js +43 -0
  87. package/dist/report-front-styles.js.map +1 -0
  88. package/dist/report-front.d.ts +56 -0
  89. package/dist/report-front.js +140 -0
  90. package/dist/report-front.js.map +1 -0
  91. package/dist/report-levels.d.ts +238 -0
  92. package/dist/report-levels.js +874 -0
  93. package/dist/report-levels.js.map +1 -0
  94. package/dist/report-provenance.d.ts +111 -0
  95. package/dist/report-provenance.js +535 -0
  96. package/dist/report-provenance.js.map +1 -0
  97. package/dist/viewer-build.d.ts +37 -0
  98. package/dist/viewer-build.js +29 -0
  99. package/dist/viewer-build.js.map +1 -0
  100. package/dist/wording/contract-report-eu-ai-act.en.json +319 -0
  101. package/dist/wording/contract-report-outcomes.en.json +418 -0
  102. package/package.json +6 -3
@@ -0,0 +1,418 @@
1
+ {
2
+ "wording_pack_version": "aac.wording-pack/v0",
3
+ "id": "capsule-viewer/contract-report/outcomes@2",
4
+ "locale": "en",
5
+ "entries": {
6
+ "layout.grouping": "lines",
7
+ "lines.title": "Outcome report",
8
+ "lines.share": "{count} of {total}",
9
+ "lines.share.percent": "{p}%",
10
+ "lines.tier.judged": "judged",
11
+ "lines.tier.recomputed": "recomputed",
12
+ "lines.tier.unknown": "tier unknown — no claims observed",
13
+ "lines.tier.mixed": "tier differs across conversations",
14
+ "lines.wording.unstated": "Wording not stated: no report in this bundle states it.",
15
+ "lines.wording.mixed": "Wording not shown: the reports in this bundle state different wordings.",
16
+ "lines.wording-note.sealed": "Rule wording as sealed in the judge's reports (the text the judge was given).",
17
+ "lines.wording-note.unstated": "Rule wording not stated: the reports in this bundle do not state it.",
18
+ "lines.wording-note.partly": "Rule wording as sealed in the judge's reports; where the reports do not state it (or disagree), marked as such.",
19
+ "lines.edited.title": "Producer's note (presentation extension), not evidence",
20
+ "lines.producer-note.kicker": "Producer's note · presentation text, not evidence",
21
+ "lines.producer-note.source": "Carried on this bundle's outcome-report/v1 presentation extension, outside the signed records: no claim backs this note and no number on this page is computed from it. Everything below is drawn only from the verified bundle.",
22
+ "lines.pf.verdict.met": "met",
23
+ "lines.pf.verdict.not_met": "not met",
24
+ "lines.pf.verdict.not_evaluable": "not evaluable",
25
+ "lines.pf.verdict.failed": "failed verification",
26
+ "lines.pf.verdict.unsupported": "unsupported",
27
+ "lines.pf.verdict.not_applicable": "not applicable",
28
+ "lines.pf.verdict.no_claim": "no claim",
29
+ "lines.no-note.withheld": "Not in this bundle: the judge's report is withheld.",
30
+ "lines.no-note.mismatch": "Not shown: the report in this bundle does not match what was sealed.",
31
+ "lines.no-note.unreadable": "Not shown: the report in this bundle cannot be read.",
32
+ "lines.no-note.invalid": "Not shown: the report capsule in this bundle is missing or does not check out.",
33
+ "lines.no-note.none": "The judge left no note.",
34
+ "lines.count.0": "zero",
35
+ "lines.count.1": "one",
36
+ "lines.count.2": "two",
37
+ "lines.count.3": "three",
38
+ "lines.count.4": "four",
39
+ "lines.count.5": "five",
40
+ "lines.count.6": "six",
41
+ "lines.count.7": "seven",
42
+ "lines.count.8": "eight",
43
+ "lines.count.9": "nine",
44
+ "lines.count.10": "ten",
45
+ "lines.count.11": "eleven",
46
+ "lines.count.12": "twelve",
47
+ "lines.sentence.na": "{n} did not apply.",
48
+ "lines.sentence.resolved.one": "Resolved: the {n} rule that applied was met.",
49
+ "lines.sentence.resolved.other": "Resolved: all {n} rules that applied were met.",
50
+ "lines.sentence.missed": "Missed: {misses} of {applied} {rule} that applied {was} not met ({names}).",
51
+ "lines.word.rule.one": "rule",
52
+ "lines.word.rule.other": "rules",
53
+ "lines.word.was.one": "was",
54
+ "lines.word.was.other": "were",
55
+ "lines.sentence.undecided.none": "Could not decide: this bundle holds no rule result for this conversation.",
56
+ "lines.sentence.undecided.gaps": "Could not decide: no rule result was \"not met\", and this bundle holds no rule result for {names}.",
57
+ "lines.sentence.undecided.gap-note": " This bundle holds no rule result for {names}.",
58
+ "lines.sentence.undecided": "Could not decide: no rule result was \"not met\", but the judge could not decide {names}. The records do not show whether {thatRuleWas} met.",
59
+ "lines.sentence.unverified": "Could not verify: no rule result was \"not met\", but {clause}{undecidedNote}",
60
+ "lines.sentence.unverified.undecided-note": " The judge could not decide {names}.",
61
+ "lines.sentence.unverified.failed": "the claim for {names} failed verification",
62
+ "lines.sentence.unverified.unsupported": "the evidence cited for {names} is not in this bundle",
63
+ "lines.word.that-rule-was.one": "that rule was",
64
+ "lines.word.that-rule-was.other": "those rules were",
65
+ "lines.sentence.nothing-applied": "No rule applied to this conversation, so nothing was checked. It is neither resolved nor missed.",
66
+ "lines.why.missed": "not met: {names}",
67
+ "lines.why.unverified": "failed verification or evidence missing: {names}",
68
+ "lines.why.undecided.none": "no rule result in this bundle",
69
+ "lines.why.undecided": "could not decide: {names}",
70
+ "lines.why.nothing-applied": "no rule applied",
71
+ "lines.why.resolved": "every rule that applied was met",
72
+ "lines.why.resolved-out-of-scope.one": "{n} criterion met or not applicable and {oos} out of scope",
73
+ "lines.why.resolved-out-of-scope.other": "{n} criteria met or not applicable and {oos} out of scope",
74
+ "lines.h.rule-by-rule": "Rule by rule",
75
+ "lines.col.rule": "Rule",
76
+ "lines.col.result": "Result",
77
+ "lines.col.note": "The judge's note",
78
+ "lines.note.not-applicable": "This rule did not come up in this conversation.",
79
+ "lines.gap.wording.mixed": "The rule wording is not shown: the reports in this bundle state different wordings.",
80
+ "lines.gap.wording.none": "The rule wording is not in this bundle.",
81
+ "lines.pf.case": "Case",
82
+ "lines.pf.case-record.from-claims": "{record} (cited by every claim of this conversation; the reports that name it are withheld)",
83
+ "lines.pf.dated-by": "Dated by",
84
+ "lines.pf.judge-pin": "Judge pin",
85
+ "lines.pf.judge-pin.recomputed": "{digest} = {model}, prompt {prompt}, axes {axes} (recomputed on this page)",
86
+ "lines.pf.h.each-report": "Each rule's sealed report",
87
+ "lines.pf.col.rule": "Rule",
88
+ "lines.pf.col.verdict": "Sealed verdict",
89
+ "lines.pf.col.p": "P",
90
+ "lines.pf.col.report": "Report capsule (book record)",
91
+ "lines.pf.col.rationale": "Rationale, as sealed",
92
+ "lines.pf.no-claim": "no claim: Result v0 carries none for a rule that did not apply",
93
+ "lines.pf.not-cited": "not cited",
94
+ "lines.pf.derived": "P is the probability the judge gave the verdict it returned. The judge's note is derived from its probabilities; the judge returns no free-text reasoning and cites no turn of the conversation.",
95
+ "lines.pf.sealed-rationale": "P is the probability the judge gave the verdict it returned, where its sealed rationale states one. A note that is not the judge's probability line is shown as sealed.",
96
+ "lines.pf.recompute": "To recompute: read each report above from the book, check its digest, and take the AND of the {verdicts} (a rule that did not apply passes; a conversation where nothing applied is not resolved). To re-judge, run the pinned judge on the case record and compare.",
97
+ "lines.pf.verdicts.one": "one verdict",
98
+ "lines.pf.verdicts.other": "{n} verdicts",
99
+ "lines.pin.differs": "differs across the cited reports, so none is shown",
100
+ "lines.pin.not-stated": "not stated",
101
+ "lines.list.empty": "no conversations",
102
+ "lines.why-missed.h": "Why conversations missed",
103
+ "lines.why-missed.structured": "Each reason is the reason code the producer sealed in the judge's report, by its label in the terms; a conversation with no labelled code is listed under the first rule it did not meet.",
104
+ "lines.why-missed.unstructured": "No report in this bundle carries a labelled reason code, so each conversation is listed under the first rule it did not meet.",
105
+ "lines.why-missed.reason": "{reason} · {count}",
106
+ "lines.pack-line": "{id} v{version}",
107
+ "lines.meta.pack": "Outcomes pack",
108
+ "lines.meta.locked": "Terms locked: {locked}",
109
+ "lines.meta.period": "Period",
110
+ "lines.meta.no-conversations": "no conversations",
111
+ "lines.meta.sealed": "Sealed",
112
+ "lines.meta.conversations": "Conversations",
113
+ "lines.meta.what-checked": "What was checked",
114
+ "lines.meta.what-checked.text": "Each conversation against {rules} in {groups}: {questions}. A conversation is resolved when every rule that applies to it is met, and at least one applies.",
115
+ "lines.meta.rules.one": "{n} rule",
116
+ "lines.meta.rules.other": "{n} rules",
117
+ "lines.meta.groups.one": "{n} group",
118
+ "lines.meta.groups.other": "{n} groups",
119
+ "lines.lines.col.conversations": "Conversations",
120
+ "lines.line.resolved": "Resolved",
121
+ "lines.line.resolved.help": "Every rule that applied was met.",
122
+ "lines.line.missed": "Missed",
123
+ "lines.line.missed.help": "At least one rule was not met.",
124
+ "lines.line.undecided": "Neither resolved nor missed",
125
+ "lines.line.undecided.help": "No rule result was \"not met\", but the judge could not decide a rule, or no rule applied. The records do not show whether those rules were met. Neither resolved nor missed.",
126
+ "lines.line.unverified": "Could not verify",
127
+ "lines.line.unverified.help": "No rule result was \"not met\", but a claim failed verification or the evidence it cites is not in this bundle, so the records do not say whether that rule was met. Neither resolved nor missed.",
128
+ "lines.line.held": "Held for a person to decide",
129
+ "lines.line.held.help": "A person's spot check disagreed with a resolved result.",
130
+ "lines.line.added": "Added after a person's check",
131
+ "lines.line.added.help": "a person's spot check graded a missed result as resolved",
132
+ "lines.drill.show.one": "Show the {n} conversation",
133
+ "lines.drill.show.other": "Show the {n} conversations",
134
+ "lines.na-note.one": "{n} rule check did not apply to the conversation and count as met beside a met rule.",
135
+ "lines.na-note.other": "{n} rule checks did not apply to the conversation and count as met beside a met rule.",
136
+ "lines.rules.h": "Results rule by rule",
137
+ "lines.rules.lede": "How many conversations met each rule. Open a rule to read the conversations where it was not met.",
138
+ "lines.rules.col.undecided": "could not decide",
139
+ "lines.rules.col.unverified": "failed verification or evidence missing",
140
+ "lines.rules.expand.na.one": "Did not apply to {n} conversation.",
141
+ "lines.rules.expand.na.other": "Did not apply to {n} conversations.",
142
+ "lines.rules.not-run.h": "Not covered by this run",
143
+ "lines.rules.not-run": "not covered",
144
+ "lines.cal.h": "Day by day",
145
+ "lines.cal.lede": "Resolved conversations per day, cited by this bundle's claims.",
146
+ "lines.cal.lede.dated": "Resolved conversations per day, by each conversation's own date, cited by this bundle's claims.",
147
+ "lines.cal.source-says": "source says",
148
+ "lines.cal.tz": "timezone not stated",
149
+ "lines.cal.sealed": "sealed {span}",
150
+ "lines.cal.policy-changed": "policy changed",
151
+ "lines.hc.h": "Human spot checks",
152
+ "lines.hc.lede": "Re-grades by a person, as this bundle's re-grade records state them.",
153
+ "lines.hc.none": "No human re-grade records in this bundle.",
154
+ "lines.hc.col.week": "Week",
155
+ "lines.hc.col.agreed": "Agreed",
156
+ "lines.hc.col.held": "Held",
157
+ "lines.hc.col.added": "Added",
158
+ "lines.hc.agreed": "{k} of {n}",
159
+ "lines.terms.h": "The terms: what counts as resolved",
160
+ "lines.terms.lede": "Every term below is read from the sealed claims and reports in this bundle, or marked \"not stated\".",
161
+ "lines.terms.lede.agreed": "Every term below is read from the sealed claims and reports in this bundle, or marked \"not stated\". Agreed with the counterparty: {agreement}.",
162
+ "lines.terms.version": "Version",
163
+ "lines.terms.version.value": "{version} (from the claims' contract_ref)",
164
+ "lines.terms.locked": "Locked",
165
+ "lines.terms.outcome": "The outcome",
166
+ "lines.terms.criterion": "{text} ({tier})",
167
+ "lines.ran.h": "What ran",
168
+ "lines.ran.contract": "Contract",
169
+ "lines.ran.judge-model": "Judge model",
170
+ "lines.ran.judge-pin": "Judge pin digest",
171
+ "lines.ran.judge-pin.recomputed": "{digest} (recomputed from the model, prompt, axes and sampling params shown here)",
172
+ "lines.ran.judge-prompt": "Judge prompt digest",
173
+ "lines.ran.judge-axes": "Judge axes digest",
174
+ "lines.ran.agent": "Agent / test suite / human-check protocol",
175
+ "lines.ran.agent.value": "not stated — this evaluation-report/v1 shape carries none of these fields",
176
+ "lines.ran.components-mismatch": "the judge pin components the reports carry do not recompute to the sealed judge pin digest — they are not shown",
177
+ "lines.ran.lock": "The judge pin digest covers model id, judge prompt and axes, and sampling params (capsulectl judge pin). It does not cover the human-check protocol name: this bundle seals no method lock, and this card never implies one exists.",
178
+ "lines.ran.pin-mismatch": "what ran varies across the cited reports — the values above are drawn only when every one agrees, and are omitted ('not stated') here because they do not",
179
+ "lines.vd.lede": "Repeat offline with the open-source verifier.",
180
+ "lines.vd.note": "This bundle's own checkpoint — an append-only Merkle Mountain Range over the sealed records — not a month-level RFC 6962 tree computed in the browser. Repeat this check offline with the open-source verifier.",
181
+ "lines.rp.toggle": "Proofs for this report: the terms, what ran, and how to verify the whole bundle",
182
+ "lines.rp.tamper": "This report is drawn only when this page's checks let the records be shown: there is no interactive \"try tampering\" control, because this viewer never shows content first and checks second. Tamper with any sealed claim, record, or checkpoint in the underlying bundle and this report is not drawn: the page shows the red \"✗ This bundle did not verify: do not rely on it\" callout, the checks that failed and each record's id and status, with no record content.",
183
+ "lines.verdict.met": "met",
184
+ "lines.verdict.not_met": "not met",
185
+ "lines.verdict.not_applicable": "did not apply",
186
+ "lines.verdict.failed": "failed verification",
187
+ "lines.verdict.unsupported": "evidence missing",
188
+ "lines.verdict.not_evaluable.judged": "could not decide",
189
+ "lines.verdict.not_evaluable.unjudged": "could not decide",
190
+ "lines.verdict.not_evaluable.withheld": "could not decide",
191
+ "lines.verdict.not_evaluable.unavailable": "could not decide",
192
+ "lines.status.resolved": "resolved",
193
+ "lines.status.missed": "missed",
194
+ "lines.status.nothing-applied": "no rule applied",
195
+ "lines.status.unverified": "could not verify",
196
+ "lines.status.undecided.judged": "could not decide",
197
+ "lines.status.undecided.unjudged": "could not decide",
198
+ "lines.status.undecided.none": "could not decide",
199
+ "lines.status.undecided.withheld": "could not decide",
200
+ "lines.status.undecided.unavailable": "could not decide",
201
+ "judge.note.sure": "The judge gave this verdict a probability of {p}%.",
202
+ "case.label": "task {task}",
203
+ "case.label.trial": "task {task}, trial {trial}",
204
+ "chat.role.user": "User",
205
+ "chat.role.assistant": "Agent",
206
+ "chat.role.tool": "Tool result",
207
+ "chat.role.system": "Instructions given to the agent",
208
+ "chat.absent": "The conversation is not in this bundle. It is sealed in the case record {record}, which this report does not disclose, so this page cannot show it.",
209
+ "chat.record.not-stated": "(not stated)",
210
+ "chat.not-shown": "The conversation is not shown: {reason}.",
211
+ "chat.not-shown.default-reason": "the transcript in this bundle does not check against the case the judge read",
212
+ "chat.lede": "{messages} messages, {calls}. {state} Tool results are shown as sealed; JSON is only indented, and only where indenting changes nothing else. Tool arguments are shown as the report model hands them over, re-serialised, so a number JSON cannot hold exactly may already be rounded.",
213
+ "chat.calls.one": "{n} tool call",
214
+ "chat.calls.other": "{n} tool calls",
215
+ "chat.state.cited": "The conversation of the case every claim cites. The judge's reports are withheld, so which conversation the judge read is not shown.",
216
+ "chat.state.verified": "The exact conversation the judge read, checked on this page (see the proofs).",
217
+ "chat.called": "called ",
218
+ "chat.close": "Close the conversation",
219
+ "chat.in-records": "In the records",
220
+ "chat.read": "Read the conversation",
221
+ "card.not-stated": "not stated",
222
+ "card.span": "{from} – {to}",
223
+ "card.span.unknown": "unknown",
224
+ "card.basis.source": "source says (backfilled record; the source's own timestamp, self-attested)",
225
+ "card.basis.record": "the case record's own timestamp",
226
+ "card.basis.judged": "the day the judgments were sealed (no case record date to read)",
227
+ "card.dating.sealed": "Sealed {span}.",
228
+ "card.dating.source": "Dates are the source's own timestamps for backfilled records (\"source says\"), as given, not when the records were sealed.",
229
+ "card.dating.record": "The period is when the conversations happened (each case record's own time, as given), not when they were judged.",
230
+ "card.dating.mixed": "Dates are each conversation's own date, as given, not when the judgments were sealed:",
231
+ "card.dating.mixed.source": "{n} backfilled by the source's own timestamp (\"source says\");",
232
+ "card.dating.mixed.record": "{n} by the case record's own timestamp;",
233
+ "card.dating.mixed.judged": "{n} with no case record date to read, by the day they were judged.",
234
+ "card.dating.self-attested": "A backfilled record's source time is self-attested: carrying it does not make it witnessed.",
235
+ "card.dating.tz": "Timezone not stated on {count} of {total}; no zone is assumed.",
236
+ "card.h.conversation": "The conversation",
237
+ "card.proofs.toggle": "Proofs: record ids, digests and the judge pin",
238
+ "card.gap.notes.withheld": "The judge's notes are not in this bundle: its reports are withheld.",
239
+ "card.gap.notes.unread": "The judge's notes are not shown: some reports in this bundle do not match what was sealed, cannot be read, or do not check out.",
240
+ "card.gap.notes.some-withheld": "The judge's notes are not in this bundle: some of its reports are withheld.",
241
+ "card.gap.notes.none": "The judge left no notes.",
242
+ "card.pf.case-record": "Case record",
243
+ "card.pf.case-record.not-stated": "not stated by the reports",
244
+ "card.pf.dated": "{date}: {basis}",
245
+ "card.pf.dated.no-zone": "{date} (timezone not stated): {basis}",
246
+ "card.pf.imported": "Imported",
247
+ "card.pf.judged-sealed": "Judged and sealed",
248
+ "card.pf.result-capsule": "Result capsule",
249
+ "card.pf.transcript-record": "Transcript record",
250
+ "card.pf.input-digest": "Case input digest",
251
+ "card.pf.input-digest.verified": "{digest} (the transcript's digest equals what the judged case committed to, checked on this page)",
252
+ "card.pf.input-digest.cited": "{digest} (the case every claim cites; the judge's reports are withheld, so which conversation the judge read is not shown)",
253
+ "card.pf.transcript": "Transcript",
254
+ "card.pf.transcript.absent": "not in this bundle",
255
+ "card.pf.transcript.not-shown": "not shown: {reason}",
256
+ "card.pf.transcript.default-reason": "does not check",
257
+ "card.pf.wording": "Words",
258
+ "card.pf.wording.default": "wording pack {id}, built into this viewer (wording_sha256 {sha256})",
259
+ "card.pf.wording.supplied.layered": "wording pack {id} (wording_sha256 {sha256}), supplied with the page over the built-in {baseId} (wording_sha256 {baseSha256})",
260
+ "card.pin.withheld": "the judge's reports that state it are withheld ({count} of {total})",
261
+ "card.pin.unread": "{count} of {total} reports in this bundle do not match what was sealed, cannot be read, or do not check out",
262
+ "card.pin.not-in-bundle": "not in this bundle: {reasons}",
263
+ "card.vd.h": "Verification details",
264
+ "card.vd.bundle-digest": "Bundle digest",
265
+ "card.vd.checkpoint-root": "Checkpoint root",
266
+ "card.vd.checkpoint-size": "Checkpoint size",
267
+ "card.vd.uncomputable": "uncomputable",
268
+ "card.vd.absent": "absent",
269
+ "prov.of": "{count} of {total}",
270
+ "prov.judge.label": "Judged by",
271
+ "prov.judge.none": "not stated: no result in this bundle cites a report",
272
+ "prov.judge.model.does-not-recompute": "model not shown (the model the reports state does not recompute to the pin)",
273
+ "prov.judge.model.differs": "model not shown (the reports with this pin state different models)",
274
+ "prov.judge.model.partly-stated": "model not shown (some reports with this pin state no model)",
275
+ "prov.judge.model.not-stated": "model not stated",
276
+ "prov.judge.pin": "{model}, pinned, pin {pin} ({of} results)",
277
+ "prov.judge.all-withheld": "not in this bundle: the judge's reports are withheld ({of})",
278
+ "prov.judge.some-withheld": "the reports for {of} results are withheld, so their judge is not in this bundle",
279
+ "prov.judge.not-carried": "the reports for {of} results are not in this bundle, so their judge is not stated",
280
+ "prov.judge.unread": "{of} reports do not match what was sealed, cannot be read, or do not check out",
281
+ "prov.judge.checker": "{checker} ({count})",
282
+ "prov.judge.checker-not-stated": "checker not stated ({count})",
283
+ "prov.judge.recomputed": "{of} results recomputed, not judged: {by}",
284
+ "prov.judge.unnamed": "judge not stated for {of} results",
285
+ "prov.judge.nothing": "not stated in this bundle",
286
+ "prov.witness.label": "Witnessed by",
287
+ "prov.witness.stated": "{witnesses}: stated by the bundle, not checked here.",
288
+ "prov.witness.verified": "{witnesses}: receipt checked here, and it verifies.",
289
+ "prov.witness.invalid": "not witnessed: the witness check failed.",
290
+ "prov.witness.failed": "{witnesses}: checked here, and does not verify.",
291
+ "prov.witness.invalid.findings": "The check states: {findings}.",
292
+ "prov.witness.failed-entry": "{witness} (reason: {reason})",
293
+ "prov.witness.invalid.unreadable.one": "{n} entry in its witness list cannot be read.",
294
+ "prov.witness.invalid.unreadable.other": "{n} entries in its witness list cannot be read.",
295
+ "prov.witness.none": "not stated in this bundle: it carries no witness receipt for its checkpoint.",
296
+ "prov.witness.entry": "{witness} (tree size {size})",
297
+ "prov.witness.receipt-not-stated": "a receipt, witness not stated",
298
+ "prov.witness.stubs.one": "{n} placeholder, not receipts",
299
+ "prov.witness.stubs.other": "{n} placeholders, not receipts",
300
+ "prov.witness.malformed.one": "{n} entry that cannot be read",
301
+ "prov.witness.malformed.other": "{n} entries that cannot be read",
302
+ "prov.witness.besides": "It also carries {others}.",
303
+ "prov.witness.both": "{a} and {b}",
304
+ "prov.witness.log": "log {log}",
305
+ "prov.witness.size": "size {size}",
306
+ "prov.witness.root": "root {root}",
307
+ "prov.witness.about": "The checkpoint: {facts}.",
308
+ "prov.witness.about.unchecked": "The checkpoint: {facts}; this page did not check its signature.",
309
+ "prov.witness.about.unsigned": "The checkpoint: {facts}; the bundle carries no signature for it.",
310
+ "prov.verifier.label": "Verified by",
311
+ "prov.brief.judge.stated": "judge pinned",
312
+ "prov.brief.judge.mixed": "several judge pins",
313
+ "prov.brief.judge.withheld": "judge withheld",
314
+ "prov.brief.judge.not-stated": "judge not stated",
315
+ "prov.brief.judge.mock": "mock judge",
316
+ "prov.brief.witness.stated": "witness receipt in this bundle",
317
+ "prov.brief.witness.verified": "witness receipt checked here",
318
+ "prov.brief.witness.partly-checked": "witness receipts partly checked here",
319
+ "prov.brief.witness.invalid": "witness check failed",
320
+ "prov.brief.witness.mixed": "witness receipts partly unreadable",
321
+ "prov.brief.witness.not-stated": "no witness receipt in this bundle",
322
+ "prov.brief.verifier.stated": "checked by this page",
323
+ "prov.brief.verifier.not-stated": "checker not stated",
324
+ "prov.verifier.text": "{ran}. {built}",
325
+ "prov.verifier.ran": "this page's code: {viewer} {viewerVersion} at {commit}, verifier {verifier} {verifierVersion}",
326
+ "prov.verifier.ran.cll": "this page's code: {viewer} {viewerVersion} at {commit}, verifier {verifier} {verifierVersion} with cll {cll}",
327
+ "prov.verifier.commit.not-stated": "commit not stated",
328
+ "prov.verifier.ran.not-stated": "this page's code; its viewer and verifier versions are not stated",
329
+ "prov.verifier.built.not-stated": "The tool that built this bundle is not stated in it.",
330
+ "prov.verifier.built": "The bundle's own report, which this page does not check, names the tool that built it as {producer}, {version}.",
331
+ "prov.verifier.version": "version {version}",
332
+ "prov.verifier.version.not-stated": "version not stated",
333
+ "lines.verdict.out_of_scope": "out of scope",
334
+ "lines.pf.verdict.out_of_scope": "out of scope",
335
+ "lines.sentence.out-of-scope": "{n} judged out of scope (did not arise).",
336
+ "lines.oos-note.one": "{n} rule check was judged out of scope (did not arise): counted on its own, never as met.",
337
+ "lines.oos-note.other": "{n} rule checks were judged out of scope (did not arise): counted on their own, never as met.",
338
+ "grade.self-attested": "self-attested",
339
+ "grade.witnessed": "witnessed",
340
+ "grade.countersigned": "countersigned",
341
+ "sufficiency.satisfied": "satisfied",
342
+ "sufficiency.gap": "gap",
343
+ "sufficiency.insufficient": "insufficient",
344
+ "sufficiency.unknown": "unknown",
345
+ "status.satisfied": "satisfied",
346
+ "status.insufficient": "insufficient",
347
+ "status.not_found": "not found",
348
+ "status.not_committed": "not committed",
349
+ "status.withheld": "withheld",
350
+ "status.contradicted": "contradicted",
351
+ "status.not_applicable": "not applicable",
352
+ "status.unknown": "unknown",
353
+ "card.pf.assurance": "Assurance (as sealed on the claim)",
354
+ "card.pf.assurance.line": "tier {tier} · grade {grade} · sufficiency {sufficiency} · carrier status {status}",
355
+ "card.wording.refused": "The wording pack supplied with this page was refused, so this card is drawn with the viewer's built-in words only.",
356
+ "card.pf.wording.refused": "a wording pack supplied with the page (wording_sha256 {sha256}) was refused: {reason}. Only the built-in {baseId} (wording_sha256 {baseSha256}) was applied.",
357
+ "card.wording.refused.digest": "its bytes do not hash to its wording_sha256",
358
+ "card.wording.refused.shape": "it is not an aac.wording-pack/v0 object",
359
+ "card.wording.refused.fit": "it does not fit this card's words",
360
+ "front.mock": "Verdicts are from a mock judge and are placeholders.",
361
+ "front.agg.evaluated": "{evaluations} of {requirements}",
362
+ "front.agg.evaluations.one": "{n} evaluation",
363
+ "front.agg.evaluations.other": "{n} evaluations",
364
+ "front.agg.requirements.one": "{n} requirement",
365
+ "front.agg.requirements.other": "{n} requirements",
366
+ "front.agg.unknown.one": "{n} evaluation with an unknown result",
367
+ "front.agg.unknown.other": "{n} evaluations with an unknown result",
368
+ "front.agg.later.one": "{n} evaluation not yet in force",
369
+ "front.agg.later.other": "{n} evaluations not yet in force",
370
+ "front.agg.mismatch": "count mismatch: the claims give {recomputed}",
371
+ "front.agg.as-of": "In force as of {date}.",
372
+ "front.agg.copied.both": "The dates and the out-of-scope switch are copied from the contract, not re-checked here.",
373
+ "front.agg.copied.dates": "The dates are copied from the contract, not re-checked here.",
374
+ "front.agg.copied.switch": "The out-of-scope switch is copied from the contract, not re-checked here.",
375
+ "prov.brief.judge.partial": "judge pinned for some results",
376
+ "front.agg.excluded": "{excluded} excluded as not applicable",
377
+ "front.agg.bucket.met": "Met (evaluations)",
378
+ "front.agg.bucket.not_met": "Not met (evaluations)",
379
+ "front.agg.bucket.not_evaluable": "Not evaluable (evaluations)",
380
+ "front.agg.bucket.out_of_scope": "Out of scope (evaluations)",
381
+ "front.agg.of": "of {n}",
382
+ "front.check.h": "Check this report yourself",
383
+ "front.check.key": "Producer key",
384
+ "front.check.log": "Log",
385
+ "front.check.root": "Checkpoint root · size",
386
+ "front.check.records": "Records in this bundle",
387
+ "front.check.s1": "Keep a copy of the bundle this page shows.",
388
+ "front.check.s2": "Run the open-source verifier on it, offline.",
389
+ "front.check.s3.receipt": "Compare the checkpoint root above with the root the witness receipt in this bundle names.",
390
+ "front.check.s3.none": "This bundle carries no witness receipt. If you can get the log's checkpoint for this size on your own, compare its root with the one above.",
391
+ "front.check.s4": "Open any row above to see the sealed records it cites.",
392
+ "front.findings.label": "Producer's findings · presentation text, not evidence",
393
+ "evidence.show": "Show evidence",
394
+ "evidence.show.for": "Show evidence: {what}",
395
+ "evidence.records": "The records the claims behind this number cite, each a link to its entry in this bundle's records",
396
+ "evidence.not-in-bundle": "not disclosed in this bundle; this page does not fetch it",
397
+ "evidence.no-evidence.one": "{n} counted from a claim that cites no evidence",
398
+ "evidence.no-evidence.other": "{n} counted from claims that cite no evidence",
399
+ "chart.population.one": "{n} record",
400
+ "chart.population.other": "{n} records",
401
+ "chart.window": "{from} to {to} (UTC)",
402
+ "chart.derived": "Derived from this report's records, not evidence itself",
403
+ "chart.not_run": "Not run",
404
+ "chart.no_runs": "This report's plan does not say which days ran, so a day with no records reads 0",
405
+ "chart.table.caption": "The values in this chart",
406
+ "chart.count": "Count",
407
+ "chart.sum": "Sum of",
408
+ "chart.evidence.records": "The records this value counts, each a link to its entry in this bundle's records",
409
+ "chart.evidence.none": "Nothing counted: no record in this report's data falls here",
410
+ "chart.refused": "This chart was not drawn: its spec does not match the report's data ({reason}).",
411
+ "evidence.uncited.one": "{n} counted with no claim: this page's own reading, with no evidence to show",
412
+ "evidence.uncited.other": "{n} counted with no claim: this page's own reading, with no evidence to show",
413
+ "evidence.label.unsupported": "Unsupported: no record its claims cite is disclosed in this bundle",
414
+ "evidence.label.no-evidence": "Unsupported: its claims cite no evidence",
415
+ "evidence.label.interpretation": "Interpretation: this page's own reading; no claim cites evidence for it",
416
+ "front.findings.h": "Findings"
417
+ }
418
+ }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@action-state-group/capsule-viewer",
3
- "version": "0.1.0",
3
+ "version": "0.4.0",
4
4
  "description": "capsule-viewer page emitter and presentation builder, under the Agent Action Capsule presentation contract",
5
5
  "license": "Apache-2.0 AND BSD-3-Clause",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist",
9
+ "vendor",
9
10
  "README.md",
10
11
  "LICENSE",
11
12
  "LICENSE-BSD-3-Clause"
@@ -31,17 +32,19 @@
31
32
  "emitter:iife": "node scripts/build-iife.mjs"
32
33
  },
33
34
  "dependencies": {
34
- "@action-state-group/agent-action-capsule": "0.1.1",
35
- "@action-state-group/cll": "0.2.1"
35
+ "@action-state-group/agent-action-capsule": "0.10.0",
36
+ "@action-state-group/cll": "0.3.0"
36
37
  },
37
38
  "devDependencies": {
38
39
  "@types/jsdom": "30.0.0",
39
40
  "@types/node": "22.20.2",
41
+ "ajv": "8.17.1",
40
42
  "esbuild": "0.28.2",
41
43
  "jsdom": "26.1.0",
42
44
  "playwright-core": "1.64.0",
43
45
  "prettier": "3.6.2",
44
46
  "typescript": "7.0.2",
47
+ "vega-lite": "5.23.0",
45
48
  "vitest": "4.1.11"
46
49
  },
47
50
  "repository": {