open-research-protocol 0.4.7 → 0.4.9

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 (50) hide show
  1. package/README.md +15 -0
  2. package/cli/orp.py +1158 -43
  3. package/docs/AGENT_LOOP.md +3 -0
  4. package/docs/ORP_REASONING_KERNEL_AGENT_PILOT.md +125 -0
  5. package/docs/ORP_REASONING_KERNEL_AGENT_REPLICATION.md +97 -0
  6. package/docs/ORP_REASONING_KERNEL_CANONICAL_CONTINUATION_PILOT.md +100 -0
  7. package/docs/ORP_REASONING_KERNEL_COMPARISON_PILOT.md +116 -0
  8. package/docs/ORP_REASONING_KERNEL_CONTINUATION_PILOT.md +86 -0
  9. package/docs/ORP_REASONING_KERNEL_EVALUATION_PLAN.md +261 -0
  10. package/docs/ORP_REASONING_KERNEL_EVIDENCE_MATRIX.md +131 -0
  11. package/docs/ORP_REASONING_KERNEL_EVOLUTION.md +123 -0
  12. package/docs/ORP_REASONING_KERNEL_PICKUP_PILOT.md +107 -0
  13. package/docs/ORP_REASONING_KERNEL_TECHNICAL_VALIDATION.md +140 -22
  14. package/docs/ORP_REASONING_KERNEL_V0_1.md +11 -0
  15. package/docs/ORP_YOUTUBE_INSPECT.md +97 -0
  16. package/docs/benchmarks/orp_reasoning_kernel_agent_pilot_v0_1.json +796 -0
  17. package/docs/benchmarks/orp_reasoning_kernel_agent_replication_task_smoke.json +487 -0
  18. package/docs/benchmarks/orp_reasoning_kernel_agent_replication_v0_1.json +1927 -0
  19. package/docs/benchmarks/orp_reasoning_kernel_agent_replication_v0_2.json +10217 -0
  20. package/docs/benchmarks/orp_reasoning_kernel_canonical_continuation_task_smoke.json +174 -0
  21. package/docs/benchmarks/orp_reasoning_kernel_canonical_continuation_v0_1.json +598 -0
  22. package/docs/benchmarks/orp_reasoning_kernel_comparison_v0_1.json +688 -0
  23. package/docs/benchmarks/orp_reasoning_kernel_continuation_task_smoke.json +150 -0
  24. package/docs/benchmarks/orp_reasoning_kernel_continuation_v0_1.json +448 -0
  25. package/docs/benchmarks/orp_reasoning_kernel_pickup_v0_1.json +594 -0
  26. package/docs/benchmarks/orp_reasoning_kernel_v0_1_validation.json +769 -41
  27. package/examples/README.md +2 -0
  28. package/examples/kernel/comparison/comparison-corpus.json +337 -0
  29. package/examples/kernel/comparison/next-task-continuation.json +55 -0
  30. package/examples/kernel/corpus/operations/habanero-routing.checkpoint.kernel.yml +12 -0
  31. package/examples/kernel/corpus/operations/runner-routing.policy.kernel.yml +9 -0
  32. package/examples/kernel/corpus/product/project-home.decision.kernel.yml +11 -0
  33. package/examples/kernel/corpus/research/kernel-handoff.experiment.kernel.yml +16 -0
  34. package/examples/kernel/corpus/research/lane-drift.hypothesis.kernel.yml +11 -0
  35. package/examples/kernel/corpus/software/trace-widget.task.kernel.yml +13 -0
  36. package/examples/kernel/corpus/writing/kernel-launch.result.kernel.yml +12 -0
  37. package/llms.txt +3 -0
  38. package/package.json +4 -1
  39. package/scripts/orp-kernel-agent-pilot.py +673 -0
  40. package/scripts/orp-kernel-agent-replication.py +307 -0
  41. package/scripts/orp-kernel-benchmark.py +471 -2
  42. package/scripts/orp-kernel-canonical-continuation.py +381 -0
  43. package/scripts/orp-kernel-ci-check.py +138 -0
  44. package/scripts/orp-kernel-comparison.py +592 -0
  45. package/scripts/orp-kernel-continuation-pilot.py +384 -0
  46. package/scripts/orp-kernel-pickup.py +401 -0
  47. package/spec/v1/kernel-extension.schema.json +96 -0
  48. package/spec/v1/kernel-proposal.schema.json +115 -0
  49. package/spec/v1/kernel.schema.json +2 -1
  50. package/spec/v1/youtube-source.schema.json +151 -0
@@ -0,0 +1,151 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://openresearchprotocol.com/spec/v1/youtube-source.schema.json",
4
+ "title": "ORP YouTube Source Artifact",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "kind",
10
+ "retrieved_at_utc",
11
+ "source_url",
12
+ "canonical_url",
13
+ "video_id",
14
+ "title",
15
+ "author_name",
16
+ "author_url",
17
+ "thumbnail_url",
18
+ "channel_id",
19
+ "description",
20
+ "duration_seconds",
21
+ "published_at",
22
+ "playability_status",
23
+ "transcript_available",
24
+ "transcript_language",
25
+ "transcript_track_name",
26
+ "transcript_kind",
27
+ "transcript_fetch_mode",
28
+ "transcript_text",
29
+ "transcript_segments",
30
+ "warnings",
31
+ "text_bundle"
32
+ ],
33
+ "properties": {
34
+ "schema_version": {
35
+ "type": "string",
36
+ "const": "1.0.0"
37
+ },
38
+ "kind": {
39
+ "type": "string",
40
+ "const": "youtube_source"
41
+ },
42
+ "retrieved_at_utc": {
43
+ "type": "string"
44
+ },
45
+ "source_url": {
46
+ "type": "string"
47
+ },
48
+ "canonical_url": {
49
+ "type": "string"
50
+ },
51
+ "video_id": {
52
+ "type": "string",
53
+ "pattern": "^[A-Za-z0-9_-]{11}$"
54
+ },
55
+ "title": {
56
+ "type": "string"
57
+ },
58
+ "author_name": {
59
+ "type": "string"
60
+ },
61
+ "author_url": {
62
+ "type": "string"
63
+ },
64
+ "thumbnail_url": {
65
+ "type": "string"
66
+ },
67
+ "channel_id": {
68
+ "type": "string"
69
+ },
70
+ "description": {
71
+ "type": "string"
72
+ },
73
+ "duration_seconds": {
74
+ "type": [
75
+ "integer",
76
+ "null"
77
+ ],
78
+ "minimum": 0
79
+ },
80
+ "published_at": {
81
+ "type": "string"
82
+ },
83
+ "playability_status": {
84
+ "type": "string"
85
+ },
86
+ "transcript_available": {
87
+ "type": "boolean"
88
+ },
89
+ "transcript_language": {
90
+ "type": "string"
91
+ },
92
+ "transcript_track_name": {
93
+ "type": "string"
94
+ },
95
+ "transcript_kind": {
96
+ "type": "string",
97
+ "enum": [
98
+ "manual",
99
+ "auto",
100
+ "none"
101
+ ]
102
+ },
103
+ "transcript_fetch_mode": {
104
+ "type": "string",
105
+ "enum": [
106
+ "json3",
107
+ "xml",
108
+ "unavailable",
109
+ "none",
110
+ "missing_track_url"
111
+ ]
112
+ },
113
+ "transcript_text": {
114
+ "type": "string"
115
+ },
116
+ "transcript_segments": {
117
+ "type": "array",
118
+ "items": {
119
+ "type": "object",
120
+ "additionalProperties": false,
121
+ "required": [
122
+ "start_ms",
123
+ "duration_ms",
124
+ "text"
125
+ ],
126
+ "properties": {
127
+ "start_ms": {
128
+ "type": "integer",
129
+ "minimum": 0
130
+ },
131
+ "duration_ms": {
132
+ "type": "integer",
133
+ "minimum": 0
134
+ },
135
+ "text": {
136
+ "type": "string"
137
+ }
138
+ }
139
+ }
140
+ },
141
+ "warnings": {
142
+ "type": "array",
143
+ "items": {
144
+ "type": "string"
145
+ }
146
+ },
147
+ "text_bundle": {
148
+ "type": "string"
149
+ }
150
+ }
151
+ }