agent-bios 0.19.3 → 0.20.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.
- package/DEPENDENCIES.md +62 -20
- package/INSTALL.md +1 -1
- package/README.md +16 -21
- package/claude/agents/frontier.md +1 -1
- package/claude/agents/sweep.md +2 -1
- package/claude/agents/workhorse.md +2 -2
- package/claude/guides/claude-prompting.md +494 -167
- package/claude/guides/cli-multi-model-workflow.md +8 -7
- package/claude/guides/gpt-prompting.md +241 -111
- package/claude/guides/session-distill-workflow.md +93 -43
- package/claude/guides/tooling-gotchas.md +3 -1
- package/codex/agents/reviewer.toml +2 -2
- package/codex/agents/sweep.toml +1 -1
- package/codex/agents/workhorse.toml +2 -2
- package/codex/guides/claude-prompting.md +494 -167
- package/codex/guides/cli-multi-model-workflow.md +8 -7
- package/codex/guides/gpt-prompting.md +241 -111
- package/codex/guides/session-distill-workflow.md +93 -43
- package/codex/guides/tooling-gotchas.md +3 -1
- package/compose/assemble.py +4 -1
- package/compose/canary.sh +8 -6
- package/compose/host_platform.py +158 -15
- package/compose/instructions-state.py +183 -41
- package/compose/instructions_app.py +2 -2
- package/compose/instructions_install.py +222 -27
- package/compose/instructions_session.py +250 -75
- package/compose/instructions_setup.py +6 -6
- package/compose/instructions_setup_cli.py +2 -36
- package/compose/instructions_setup_i18n.py +3 -3
- package/compose/instructions_store.py +160 -3
- package/compose/instructions_transaction.py +29 -5
- package/compose/instructions_ui_runtime.py +2 -2
- package/compose/setup/START.md +1 -1
- package/docs/advanced-launch.md +4 -0
- package/docs/releases/0.19.4.md +99 -0
- package/docs/releases/0.20.0.md +102 -0
- package/docs/setup.md +4 -4
- package/install.sh +54 -20
- package/launch/agent-launch.py +171 -22
- package/launch/agent-launch.toml +64 -29
- package/launch/agent-launch.zsh +104 -13
- package/launch/claude_subcommands.py +179 -0
- package/launch/provision-venv.sh +1 -1
- package/launch/shell_integration.py +7 -1
- package/learn/collect-learning.py +60 -9
- package/learn/migrate-learnings.py +70 -4
- package/learn/redact.py +2 -1
- package/package.json +37 -4
- package/provenance.json +1 -1
- package/session-cost.py +141 -18
- package/session-distill/coverage.json +6 -0
- package/session-distill/distill.py +2575 -0
- package/session-distill/grammar/__init__.py +0 -0
- package/session-distill/grammar/owner_lines.py +874 -0
- package/session-distill/originators.json +9 -0
- package/session-distill/packets/cross_review.md +31 -0
- package/session-distill/packets/form.md +86 -0
- package/session-distill/packets/judge.md +81 -0
- package/session-distill/packets/placement_contract.md +90 -0
- package/session-distill/packets/propose.md +124 -0
- package/session-distill/packets/read.md +57 -0
- package/session-distill/packets/reconsider.md +53 -0
- package/session-distill/packets/s7b.md +65 -0
- package/session-distill/packets/s9b.md +39 -0
- package/session-distill/packets/stitch.md +35 -0
- package/session-distill/packets/sweep.md +33 -0
- package/session-distill/runlib/__init__.py +0 -0
- package/session-distill/runlib/bound.py +1102 -0
- package/session-distill/runlib/breaker.py +467 -0
- package/session-distill/runlib/census.py +2347 -0
- package/session-distill/runlib/claims.py +420 -0
- package/session-distill/runlib/controls.py +902 -0
- package/session-distill/runlib/coverage.py +881 -0
- package/session-distill/runlib/declare.py +888 -0
- package/session-distill/runlib/delivery_evidence.py +1145 -0
- package/session-distill/runlib/derive.py +812 -0
- package/session-distill/runlib/destinations.py +3072 -0
- package/session-distill/runlib/dispatch.py +7939 -0
- package/session-distill/runlib/drift.py +1077 -0
- package/session-distill/runlib/entry.py +401 -0
- package/session-distill/runlib/evidence.py +890 -0
- package/session-distill/runlib/exposure.py +1162 -0
- package/session-distill/runlib/gate.py +2727 -0
- package/session-distill/runlib/gitread.py +79 -0
- package/session-distill/runlib/inventory.py +19624 -0
- package/session-distill/runlib/journal.py +1919 -0
- package/session-distill/runlib/ledger.py +3210 -0
- package/session-distill/runlib/ledger_compat.py +101 -0
- package/session-distill/runlib/ledger_migration.py +190 -0
- package/session-distill/runlib/lifecycle_intake.py +693 -0
- package/session-distill/runlib/lineage.py +454 -0
- package/session-distill/runlib/measures.py +249 -0
- package/session-distill/runlib/monitor.py +1180 -0
- package/session-distill/runlib/operations.py +522 -0
- package/session-distill/runlib/packet.py +838 -0
- package/session-distill/runlib/placement.py +1769 -0
- package/session-distill/runlib/projection.py +4090 -0
- package/session-distill/runlib/ranking.py +740 -0
- package/session-distill/runlib/receipts.py +200 -0
- package/session-distill/runlib/records.py +1965 -0
- package/session-distill/runlib/search.py +249 -0
- package/session-distill/runlib/sequencing.py +829 -0
- package/session-distill/runlib/sources.py +641 -0
- package/session-distill/runlib/stage_adjudicate.py +845 -0
- package/session-distill/runlib/stage_apply.py +1378 -0
- package/session-distill/runlib/stage_approvals.py +758 -0
- package/session-distill/runlib/stage_close.py +1220 -0
- package/session-distill/runlib/stage_confirm.py +929 -0
- package/session-distill/runlib/stage_delivery.py +3080 -0
- package/session-distill/runlib/stage_form.py +2576 -0
- package/session-distill/runlib/stage_judge.py +4248 -0
- package/session-distill/runlib/stage_propose.py +3307 -0
- package/session-distill/runlib/stage_read.py +5179 -0
- package/session-distill/runlib/stage_render.py +2739 -0
- package/session-distill/runlib/stage_retrieve.py +924 -0
- package/session-distill/runlib/stage_review_korean.py +1002 -0
- package/session-distill/runlib/stage_review_proposals.py +1292 -0
- package/session-distill/runlib/stagelock.py +412 -0
- package/session-distill/runlib/stop.py +1061 -0
- package/session-distill/runlib/targets.py +809 -0
- package/session-distill/runlib/usage.py +280 -0
- package/session-distill/runlib/validate.py +319 -0
- package/session-distill/runlib/views.py +4327 -0
- package/session-distill/schemas/adjudication.schema.json +35 -0
- package/session-distill/schemas/approval.schema.json +35 -0
- package/session-distill/schemas/census.schema.json +128 -0
- package/session-distill/schemas/checks.schema.json +207 -0
- package/session-distill/schemas/claim.schema.json +16 -0
- package/session-distill/schemas/confirmation.schema.json +24 -0
- package/session-distill/schemas/coverage.schema.json +66 -0
- package/session-distill/schemas/cross_review.schema.json +24 -0
- package/session-distill/schemas/event.schema.json +20 -0
- package/session-distill/schemas/evidence.schema.json +20 -0
- package/session-distill/schemas/expected_observation.schema.json +18 -0
- package/session-distill/schemas/form.schema.json +103 -0
- package/session-distill/schemas/intake.schema.json +71 -0
- package/session-distill/schemas/inventory.schema.json +872 -0
- package/session-distill/schemas/judge.schema.json +77 -0
- package/session-distill/schemas/ledger.schema.json +313 -0
- package/session-distill/schemas/observation.schema.json +16 -0
- package/session-distill/schemas/propose.schema.json +555 -0
- package/session-distill/schemas/read.schema.json +76 -0
- package/session-distill/schemas/reconsider.schema.json +122 -0
- package/session-distill/schemas/run.schema.json +150 -0
- package/session-distill/schemas/s7b.schema.json +200 -0
- package/session-distill/schemas/s9b.schema.json +28 -0
- package/session-distill/schemas/stitch.schema.json +25 -0
- package/session-distill/schemas/sweep.schema.json +25 -0
- package/session-distill/seats.json +149 -0
- package/session-distill/tables/allowed_pairs.json +257 -0
- package/session-distill/tables/controls.json +30 -0
- package/session-distill/tables/delivery_evidence.json +36 -0
- package/session-distill/tables/delivery_evidence_fixtures.json +731 -0
- package/session-distill/tables/destinations.json +684 -0
- package/session-distill/tables/drift_layers.json +68 -0
- package/session-distill/tables/exposure_rules.json +192 -0
- package/session-distill/tables/placement_rules.json +148 -0
- package/session-distill/tables/propose_fixtures.json +154 -0
- package/session-distill/tables/ranking.json +194 -0
- package/session-distill/tables/redundancy.json +10 -0
- package/session-distill/tables/structural_rules.json +44 -0
- package/session-distill/tables/transition_fixtures.json +398 -0
- package/session-distill/tables/transitions.json +69 -0
- package/session-distill/tables/unit_outcome.json +67 -0
- package/session-distill/tables/unit_outcome_fixtures.json +2364 -0
- package/wrappers/claude-run.sh +481 -33
- package/wrappers/claude_hermetic_evidence.py +1423 -0
- package/wrappers/codex-helm.sh +44 -13
- package/wrappers/codex-run.sh +183 -20
- package/wrappers/codex_frame_filter.py +1199 -0
- package/wrappers/codex_protocol.py +737 -0
- package/wrappers/jsonl_lines.py +65 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$comment": "design §4 (S4), §9, §7.4 (type G), D-20261020-71699d (the eight admission requirements): one formation over the window's events. Every event, claim, quote, session and cluster is named by the packet's own label of it (v, c, q, s, u), which code turns back into the stored id; a candidate and a rejected finding are named by labels the answer gives them (k, r). The partition of the events (each exactly once: a candidate's member, a rejected finding's, or a non-finding) and the type G anti-abstraction guard are checked by code (stage_form.answer_problems), which names what fails; this schema holds the shape.",
|
|
4
|
+
"title": "S4 formation",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["candidates", "rejected_findings", "non_findings"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"candidates": {"type": "array", "items": {"$ref": "#/$defs/candidate"}},
|
|
10
|
+
"rejected_findings": {"type": "array", "items": {"$ref": "#/$defs/rejected_finding"}},
|
|
11
|
+
"non_findings": {"type": "array", "items": {"$ref": "#/$defs/non_finding"}}
|
|
12
|
+
},
|
|
13
|
+
"$defs": {
|
|
14
|
+
"event": {"type": "string", "pattern": "^v[1-9][0-9]*(?![\\s\\S])"},
|
|
15
|
+
"event_ids": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"$ref": "#/$defs/event"}},
|
|
16
|
+
"candidate_event_ids": {
|
|
17
|
+
"$comment": "a candidate's events; code refuses an empty list except on a type G candidate distilled from a placed cluster, which cites that cluster's entries (CANDIDATE_WITHOUT_EVENTS; lead decision after X round 1, F2)",
|
|
18
|
+
"type": "array", "uniqueItems": true, "items": {"$ref": "#/$defs/event"}},
|
|
19
|
+
"entry_ids": {"type": "array", "uniqueItems": true, "items": {"type": "string", "pattern": "^u[1-9][0-9]*\\.[1-9][0-9]*(?![\\s\\S])"}},
|
|
20
|
+
"claim_ids": {"type": "array", "uniqueItems": true, "items": {"type": "string", "pattern": "^c[1-9][0-9]*(?![\\s\\S])"}},
|
|
21
|
+
"quote_ids": {"type": "array", "uniqueItems": true, "items": {"type": "string", "pattern": "^q[1-9][0-9]*(?![\\s\\S])"}},
|
|
22
|
+
"text": {"type": "string", "minLength": 1},
|
|
23
|
+
"requirement": {
|
|
24
|
+
"$comment": "what the candidate's claims and quotes show for one admission requirement; the judges mark it met or unmet later (design §6.4)",
|
|
25
|
+
"type": "object", "additionalProperties": false,
|
|
26
|
+
"required": ["basis", "claim_ids", "evidence_ids"],
|
|
27
|
+
"properties": {
|
|
28
|
+
"basis": {"$ref": "#/$defs/text"},
|
|
29
|
+
"claim_ids": {"$ref": "#/$defs/claim_ids"},
|
|
30
|
+
"evidence_ids": {"$ref": "#/$defs/quote_ids"}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"admission": {
|
|
34
|
+
"$comment": "D-20261020-71699d, purpose record 2026-10-20T1133 lines 45-67: all eight, each by its own name",
|
|
35
|
+
"type": "object", "additionalProperties": false,
|
|
36
|
+
"required": ["observed_event", "consequence", "causal_support", "recognizable_in_advance", "actionable", "bounded",
|
|
37
|
+
"positioned", "audience"],
|
|
38
|
+
"properties": {
|
|
39
|
+
"observed_event": {"$ref": "#/$defs/requirement"},
|
|
40
|
+
"consequence": {"$ref": "#/$defs/requirement"},
|
|
41
|
+
"causal_support": {"$ref": "#/$defs/requirement"},
|
|
42
|
+
"recognizable_in_advance": {"$ref": "#/$defs/requirement"},
|
|
43
|
+
"actionable": {"$ref": "#/$defs/requirement"},
|
|
44
|
+
"bounded": {"$ref": "#/$defs/requirement"},
|
|
45
|
+
"positioned": {"$ref": "#/$defs/requirement"},
|
|
46
|
+
"audience": {"$ref": "#/$defs/requirement"}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"tension": {
|
|
50
|
+
"$comment": "design §7.4: a type G candidate carries both sides of the tension, the preference ordering, what it now forbids and at least three instances: three claims, or - distilled from a placed cluster - three distinct entries of the cluster it names, whatever claims are beside them (lead decision after X round 1, F2; X round 2, F1), which let it be proposed and do not establish three independent lineages, so its evidence bar stays held; code refuses one without them (G_ANTI_ABSTRACTION), and refuses any of them on another type, where every list is empty and every text \"\" (TENSION_OUTSIDE_G). cluster is the label of the ledger cluster a G candidate distills, or \"\".",
|
|
51
|
+
"type": "object", "additionalProperties": false,
|
|
52
|
+
"required": ["sides", "ordering", "forbids", "instance_claim_ids", "instance_entry_ids", "cluster"],
|
|
53
|
+
"properties": {
|
|
54
|
+
"sides": {"type": "array", "items": {"type": "string"}},
|
|
55
|
+
"ordering": {"type": "string"},
|
|
56
|
+
"forbids": {"type": "string"},
|
|
57
|
+
"instance_claim_ids": {"$ref": "#/$defs/claim_ids"},
|
|
58
|
+
"instance_entry_ids": {"$ref": "#/$defs/entry_ids"},
|
|
59
|
+
"cluster": {"type": "string", "pattern": "^(u[1-9][0-9]*)?(?![\\s\\S])"}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"candidate": {
|
|
63
|
+
"$comment": "design §4 (S4): situation / action / exception, the eight admission fields, type A-G (PLACEMENT-FRAMEWORK.md); lesson is the one-line cluster name, as the v1 consolidator wrote it, kept (plan WP-09 Files)",
|
|
64
|
+
"type": "object", "additionalProperties": false,
|
|
65
|
+
"required": ["candidate_id", "lesson", "type", "situation", "action", "exception", "admission", "event_ids", "tension"],
|
|
66
|
+
"properties": {
|
|
67
|
+
"candidate_id": {"type": "string", "pattern": "^k[1-9][0-9]*(?![\\s\\S])"},
|
|
68
|
+
"lesson": {"$ref": "#/$defs/text"},
|
|
69
|
+
"type": {"type": "string", "enum": ["A", "B", "C", "D", "E", "F", "G"]},
|
|
70
|
+
"situation": {"$ref": "#/$defs/text"},
|
|
71
|
+
"action": {"$ref": "#/$defs/text"},
|
|
72
|
+
"exception": {"$ref": "#/$defs/text"},
|
|
73
|
+
"admission": {"$ref": "#/$defs/admission"},
|
|
74
|
+
"event_ids": {"$ref": "#/$defs/candidate_event_ids"},
|
|
75
|
+
"tension": {"$ref": "#/$defs/tension"}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"rejected_finding": {
|
|
79
|
+
"$comment": "design §9: a claim about what to do differently that fails an admission requirement at formation; it names each requirement it fails",
|
|
80
|
+
"type": "object", "additionalProperties": false,
|
|
81
|
+
"required": ["finding_id", "finding", "event_ids", "failed", "reason"],
|
|
82
|
+
"properties": {
|
|
83
|
+
"finding_id": {"type": "string", "pattern": "^r[1-9][0-9]*(?![\\s\\S])"},
|
|
84
|
+
"finding": {"$ref": "#/$defs/text"},
|
|
85
|
+
"event_ids": {"$ref": "#/$defs/event_ids"},
|
|
86
|
+
"failed": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string", "enum": [
|
|
87
|
+
"observed_event", "consequence", "causal_support", "recognizable_in_advance", "actionable", "bounded",
|
|
88
|
+
"positioned", "audience"]}},
|
|
89
|
+
"reason": {"$ref": "#/$defs/text"}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"non_finding": {
|
|
93
|
+
"$comment": "design §9: one of a fixed list of reasons; a duplicate names the event it duplicates, every other reason \"\", which code checks",
|
|
94
|
+
"type": "object", "additionalProperties": false,
|
|
95
|
+
"required": ["event_id", "reason", "duplicate_of"],
|
|
96
|
+
"properties": {
|
|
97
|
+
"event_id": {"$ref": "#/$defs/event"},
|
|
98
|
+
"reason": {"type": "string", "enum": ["no_consequence", "routine_step", "duplicate_of_another_event"]},
|
|
99
|
+
"duplicate_of": {"type": "string", "pattern": "^(v[1-9][0-9]*)?(?![\\s\\S])"}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$comment": "design §7.1 and §7.4, plan WP-09 Artifacts: intake.json, the lifecycle candidates code derives before formation, each with its source and an id of its own (<source>:<target>), and what the intake says beside them. Written by session-distill/runlib/lifecycle_intake.py; the sources equal stage_form.INTAKE_SOURCES (done-when 7).",
|
|
4
|
+
"title": "S4 lifecycle intake",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["window", "ledger", "candidates", "notes", "counts"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"window": {"type": "object", "additionalProperties": false, "required": ["start", "end", "tz"],
|
|
10
|
+
"properties": {"start": {"type": "string"}, "end": {"type": "string"}, "tz": {"type": "string"}}},
|
|
11
|
+
"ledger": {"type": "object", "additionalProperties": false, "required": ["sha256", "read"],
|
|
12
|
+
"properties": {"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}, "read": {"type": "string", "minLength": 1}}},
|
|
13
|
+
"candidates": {"type": "array", "items": {"$ref": "#/$defs/candidate"}},
|
|
14
|
+
"notes": {"type": "object", "additionalProperties": false, "required": ["obsolete_hint", "g_cluster_arc", "excluded_layers", "library_units"],
|
|
15
|
+
"properties": {"obsolete_hint": {"type": ["string", "null"]}, "g_cluster_arc": {"type": "string"},
|
|
16
|
+
"library_units": {"type": "object", "additionalProperties": false,
|
|
17
|
+
"required": ["eligible", "identical_copies_folded", "identical_groups", "below_min_keys"],
|
|
18
|
+
"properties": {"eligible": {"type": "integer", "minimum": 0},
|
|
19
|
+
"identical_copies_folded": {"type": "integer", "minimum": 0},
|
|
20
|
+
"identical_groups": {"type": "integer", "minimum": 0},
|
|
21
|
+
"below_min_keys": {"type": "integer", "minimum": 0}}},
|
|
22
|
+
"excluded_layers": {"type": "object", "additionalProperties": false,
|
|
23
|
+
"patternProperties": {"^[a-z_]+$": {"type": "object", "additionalProperties": false,
|
|
24
|
+
"required": ["operative_units", "reason"],
|
|
25
|
+
"properties": {"operative_units": {"type": "integer", "minimum": 0},
|
|
26
|
+
"reason": {"type": "string", "minLength": 1}}}}}}},
|
|
27
|
+
"counts": {"type": "object", "additionalProperties": false,
|
|
28
|
+
"required": ["due_decision", "legacy", "obsolete_hint", "redundancy_hint", "g_cluster"],
|
|
29
|
+
"properties": {"due_decision": {"type": "integer", "minimum": 0}, "legacy": {"type": "integer", "minimum": 0},
|
|
30
|
+
"obsolete_hint": {"type": "integer", "minimum": 0}, "redundancy_hint": {"type": "integer", "minimum": 0},
|
|
31
|
+
"g_cluster": {"type": "integer", "minimum": 0}}}
|
|
32
|
+
},
|
|
33
|
+
"$defs": {
|
|
34
|
+
"candidate": {
|
|
35
|
+
"type": "object", "additionalProperties": false,
|
|
36
|
+
"required": ["candidate_id", "source"],
|
|
37
|
+
"properties": {
|
|
38
|
+
"candidate_id": {"type": "string", "pattern": "^(due_decision|legacy|obsolete_hint|redundancy_hint|g_cluster):.+$"},
|
|
39
|
+
"source": {"type": "string", "enum": ["due_decision", "legacy", "obsolete_hint", "redundancy_hint", "g_cluster"]},
|
|
40
|
+
"target_entry": {"type": "string", "minLength": 1},
|
|
41
|
+
"target_unit": {"type": "string", "minLength": 1},
|
|
42
|
+
"target_units": {"type": "array", "minItems": 2, "items": {"type": "string", "minLength": 1}},
|
|
43
|
+
"match": {"type": "string", "enum": ["identical", "near"]},
|
|
44
|
+
"resolves": {"type": ["string", "null"]},
|
|
45
|
+
"entry_status": {"type": "string"},
|
|
46
|
+
"expiry": {"type": "string"},
|
|
47
|
+
"pending_intervention": {"type": "boolean"},
|
|
48
|
+
"occasions": {"type": "object", "additionalProperties": false, "required": ["instances", "resolution"],
|
|
49
|
+
"properties": {"instances": {"type": "array", "items": {"type": "object", "additionalProperties": false,
|
|
50
|
+
"required": ["occasion_locator", "exposure", "verdict", "basis"],
|
|
51
|
+
"properties": {"occasion_locator": {"type": "string"}, "exposure": {"type": "string"},
|
|
52
|
+
"verdict": {"type": "string"}, "basis": {"type": "string"}}}},
|
|
53
|
+
"resolution": {"type": ["string", "null"]}}},
|
|
54
|
+
"marks": {"type": "array", "items": {"type": "string", "minLength": 1}},
|
|
55
|
+
"type": {"type": ["string", "null"]},
|
|
56
|
+
"windows_without_match": {"type": "integer", "minimum": 3},
|
|
57
|
+
"similarity": {"type": "number"},
|
|
58
|
+
"entries": {"type": "array", "minItems": 3, "items": {"type": "string"}},
|
|
59
|
+
"lessons": {"type": "array", "items": {"type": "string"}},
|
|
60
|
+
"members": {"type": "array", "minItems": 3, "items": {"type": "object", "additionalProperties": false,
|
|
61
|
+
"required": ["entry", "lesson", "evidence", "independent_lineages"],
|
|
62
|
+
"properties": {"entry": {"type": "string", "minLength": 1}, "lesson": {"type": "string"},
|
|
63
|
+
"evidence": {"$comment": "the entry's evidence[] as the ledger holds it (schema 2's evidence_item)",
|
|
64
|
+
"type": "array", "items": {"type": "object", "additionalProperties": false,
|
|
65
|
+
"properties": {"claim_id": {"type": "string"}, "evidence_id": {"type": "string"},
|
|
66
|
+
"locator": {"type": "string"}, "session": {"type": "string"}}}},
|
|
67
|
+
"independent_lineages": {"type": ["integer", "string", "null"]}}}}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|