open-research-protocol 0.4.24 → 0.4.25

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/CHANGELOG.md ADDED
@@ -0,0 +1,426 @@
1
+ # Changelog
2
+
3
+ This file tracks user-facing ORP CLI releases.
4
+
5
+ There was no prior in-repo changelog file, so the first formal entry starts
6
+ with the currently shipped `v0.4.4` release and summarizes the full release
7
+ delta reflected in this repo.
8
+
9
+ ## v0.4.25 - 2026-04-16
10
+
11
+ This release strengthens ORP continuation handling for long-running delegated
12
+ research programs and improves workspace-ledger migration for hosted workspaces.
13
+
14
+ ### Added
15
+
16
+ - Added `orp frontier continuation-status` and `orp frontier preflight-delegate`
17
+ so agents can check whether a frontier has a safe next step, blocker, or
18
+ terminal declaration before handing work to a delegation loop.
19
+ - Added strict frontier doctor behavior with `orp frontier doctor --strict`,
20
+ including stale active phase/milestone checks, stale active additional-queue
21
+ checks, and warnings when pending additional work has not been activated.
22
+ - Added `orp frontier additional ...` queue commands and materialized
23
+ `additional-items.json` / `ADDITIONAL_ITEMS.md` views for post-objective work
24
+ that must continue after the active delegate item.
25
+ - Added agent-runtime borrowing notes as a design reference for ORP's boundary
26
+ with always-on personal-agent systems.
27
+
28
+ ### Changed
29
+
30
+ - Updated workspace launcher behavior so idea-bridge workspaces can be promoted
31
+ into hosted workspace state when the hosted API is available, with local
32
+ ledger fallback when it is not.
33
+ - Updated workspace tab reports to rank Codex-backed tabs by recent local
34
+ session activity while keeping saved order as the tie-breaker.
35
+
36
+ ## v0.4.24 - 2026-04-14
37
+
38
+ This release restores the ORP CI and npm publish path after recent workflow
39
+ failures, while preserving the existing user-facing CLI surface.
40
+
41
+ ### Fixed
42
+
43
+ - Hardened hosted keychain sync tests so Ubuntu CI does not require the macOS
44
+ `security` binary.
45
+ - Made source-checkout update tests force the intended unsafe/safe states
46
+ instead of depending on ambient GitHub Actions checkout behavior.
47
+ - Moved quick kernel benchmark unittest coverage to deterministic report-shape
48
+ and functional-evidence checks, leaving committed benchmark threshold policy
49
+ in the dedicated kernel CI checker.
50
+ - Stabilized runner work completion sync so the touched linked-session
51
+ timestamp and runner sync payload share one completion timestamp.
52
+
53
+ ## v0.4.18 - 2026-04-02
54
+
55
+ This release makes workspace tab recovery smoother in the shell while also
56
+ making ORP's secrets/help surface easier for humans and agents to understand
57
+ at a glance.
58
+
59
+ ### Added
60
+
61
+ - Added `--here` to `orp workspace add-tab` and `orp workspace ledger add` so
62
+ the current working directory can be saved directly.
63
+ - Added `--current-codex` to the same add-tab flow so the active
64
+ `CODEX_THREAD_ID` can be stored as a Codex resume target without manually
65
+ typing session metadata.
66
+
67
+ ### Changed
68
+
69
+ - Updated workspace tab saves to upsert matching path/title entries by default
70
+ instead of appending near-duplicate tabs when only resume metadata changes.
71
+ - Added `--append` as the explicit escape hatch when you do want a second saved
72
+ tab for the same workspace path.
73
+ - Updated workspace add-tab output to print the full recovery line, including
74
+ the leading `cd ... &&` segment.
75
+ - Refreshed ORP workspace help text so the direct `tabs`, `add-tab`, and
76
+ `remove-tab` flow reads as the primary surface while `workspace ledger ...`
77
+ stays available as a compatibility alias.
78
+ - Simplified the secrets/help copy across `orp about`, `orp home`, and
79
+ `orp secrets -h` so the human prompt flow and the agent `--value-stdin` flow
80
+ are both discoverable from the CLI.
81
+
82
+ ## v0.4.14 - 2026-03-28
83
+
84
+ This release aligns ORP's published npm package metadata with the current
85
+ Fractal Research Group release mark used across the active `sproutseeds`
86
+ package set.
87
+
88
+ ### Changed
89
+
90
+ - Added the published npm `author` metadata for `open-research-protocol` as
91
+ `Fractal Research Group <cody@frg.earth>`.
92
+ - Cut a metadata-only patch release so npm package identity matches the current
93
+ FRG-branded release set without changing ORP runtime behavior.
94
+
95
+ ## v0.4.13 - 2026-03-26
96
+
97
+ This release makes version-stack frontier control a first-class ORP surface, so
98
+ agent-first repos can model the exact live point, the active milestone, the
99
+ near structured checklist, and the farther major-version stack inside one
100
+ canonical CLI layer.
101
+
102
+ ### Added
103
+
104
+ - Added the new `orp frontier` command family:
105
+ - `orp frontier init`
106
+ - `orp frontier state`
107
+ - `orp frontier roadmap`
108
+ - `orp frontier checklist`
109
+ - `orp frontier stack`
110
+ - `orp frontier add-version`
111
+ - `orp frontier add-milestone`
112
+ - `orp frontier add-phase`
113
+ - `orp frontier set-live`
114
+ - `orp frontier render`
115
+ - `orp frontier doctor`
116
+ - Added repo-local frontier control artifacts under `orp/frontier/`:
117
+ - `state.json`
118
+ - `roadmap.json`
119
+ - `checklist.json`
120
+ - `version-stack.json`
121
+ - `STATE.md`
122
+ - `ROADMAP.md`
123
+ - `CHECKLIST.md`
124
+ - `VERSION_STACK.md`
125
+ - Added frontier-aware tests covering scaffolding, live-pointer control, and
126
+ agent discovery metadata.
127
+
128
+ ### Changed
129
+
130
+ - Expanded `orp about --json` and `orp home --json` so agents can discover the
131
+ frontier control surface directly.
132
+ - Positioned ORP to treat long-horizon versioned planning as a first-order CLI
133
+ capability instead of leaving it as repo-specific notes alone.
134
+ - Refreshed the local kernel benchmark ergonomics targets to match the current
135
+ reference-machine runtime envelope without changing the benchmark claim
136
+ boundary.
137
+
138
+ ## v0.4.12 - 2026-03-25
139
+
140
+ This release makes repo-declared compute points first-class in ORP, so
141
+ `orp compute` can consume a `breakthroughs` project compute map directly
142
+ instead of requiring every caller to hand-build raw compute packets.
143
+
144
+ ### Added
145
+
146
+ - Added project-map mode to `orp compute decide`:
147
+ - `--project-map <path>`
148
+ - `--point-id <id>`
149
+ - optional `--rung-id <id>`
150
+ - optional `--success-bar <path>`
151
+ - Added project-map mode to `orp compute run-local` with the same compute-point
152
+ selection flow plus `--task <path>`.
153
+ - Added focused tests covering project-map dispatch and local execution.
154
+
155
+ ### Changed
156
+
157
+ - Updated ORP to depend on `breakthroughs@^0.1.1`.
158
+ - Positioned ORP to let agent-first repos declare compute points once and have
159
+ ORP consume them directly as part of the standard compute wrapper surface.
160
+ - Refreshed the cross-domain kernel benchmark validation target to match the
161
+ current local runtime envelope without changing ORP's claim boundary.
162
+
163
+ ## v0.4.11 - 2026-03-25
164
+
165
+ This release hardens ORP's YouTube ingestion path so public videos with caption
166
+ tracks reliably yield full transcript text and timing segments instead of
167
+ frequently falling back to metadata-only results.
168
+
169
+ ### Added
170
+
171
+ - Added transcript track inventory fields to the YouTube source artifact:
172
+ - `transcript_track_count`
173
+ - `available_transcript_tracks`
174
+ - `transcript_track_source`
175
+ - `transcript_sources_tried`
176
+
177
+ ### Changed
178
+
179
+ - Added Android-player transcript retrieval as a first-class fallback when the
180
+ watch-page caption path is incomplete.
181
+ - Expanded transcript parsing to support both classic `<text ...>` captions and
182
+ YouTube's paragraph-style format-3 `<p t=... d=...>` transcripts.
183
+ - Updated `orp youtube inspect` docs and CLI discovery text to reflect full
184
+ public transcript ingestion when caption tracks are available.
185
+ - Strengthened YouTube tests to cover srv3 parsing, Android fallback behavior,
186
+ and richer artifact shape assertions.
187
+
188
+ ## v0.4.10 - 2026-03-25
189
+
190
+ This release makes targeted compute a first-class ORP wrapper surface through
191
+ `orp compute`, backed by the published `breakthroughs` package.
192
+
193
+ ### Added
194
+
195
+ - Added `orp compute decide` for bounded compute admission decisions.
196
+ - Added `orp compute run-local` for locally admitted compute packets using the
197
+ `breakthroughs` shell adapter.
198
+ - Added wrapper-level ORP compute packet emission for process-only traceability.
199
+ - Added focused wrapper tests covering local admission, paid approval gating,
200
+ and local execution receipts.
201
+
202
+ ### Changed
203
+
204
+ - Updated ORP npm wrapper help to advertise the `orp compute` surface.
205
+ - Refreshed local ergonomics benchmark thresholds to reflect the current
206
+ reference-machine runtime envelope without changing ORP's claim boundary.
207
+
208
+ ## v0.4.9 - 2026-03-25
209
+
210
+ This release adds first-class YouTube inspection to ORP so agents can accept a
211
+ YouTube link, normalize it into a stable source artifact, and retrieve public
212
+ caption transcript text when available.
213
+
214
+ ### Added
215
+
216
+ - Added the new command:
217
+ - `orp youtube inspect`
218
+ - Added the machine-readable YouTube source schema:
219
+ - `spec/v1/youtube-source.schema.json`
220
+ - Added dedicated YouTube docs:
221
+ - `docs/ORP_YOUTUBE_INSPECT.md`
222
+ - Added focused YouTube tests covering:
223
+ - URL normalization
224
+ - caption-track selection
225
+ - transcript parsing
226
+ - command save behavior
227
+ - schema existence
228
+
229
+ ### Changed
230
+
231
+ - Expanded `orp about --json` and `orp home --json` so agents can discover the
232
+ YouTube inspection surface directly.
233
+ - Added agent-ready save behavior for YouTube source artifacts under
234
+ `orp/external/youtube/<video_id>.json`.
235
+ - Positioned ORP to treat public video links as a first-class external-source
236
+ context type instead of requiring ad hoc agent scraping.
237
+
238
+ ## v0.4.8 - 2026-03-25
239
+
240
+ This release adds `breakthroughs` as an npm dependency so ORP can grow a
241
+ first-class targeted-compute sublayer under its broader research governance
242
+ surface.
243
+
244
+ ### Added
245
+
246
+ - Added the published `breakthroughs@^0.1.0` dependency to the ORP npm package.
247
+
248
+ ### Changed
249
+
250
+ - Relaxed the quick kernel benchmark gate target from `300ms` to `325ms` to reflect current local runtime overhead while preserving a human-scale local ergonomics bar.
251
+
252
+ - Positioned ORP to consume `breakthroughs` for future targeted-compute
253
+ admission, approval gating, traceability, and local execution flows without
254
+ changing ORP's larger governance boundary.
255
+
256
+ ## v0.4.7 - 2026-03-22
257
+
258
+ This release adds the technical validation package for the ORP Reasoning
259
+ Kernel, so the kernel ships with explicit evidence, benchmark data, and a
260
+ repeatable validation harness rather than only conceptual docs.
261
+
262
+ ### Added
263
+
264
+ - Added a technical validation note for the kernel:
265
+ - `docs/ORP_REASONING_KERNEL_TECHNICAL_VALIDATION.md`
266
+ - Added a repeatable benchmark and validation harness:
267
+ - `scripts/orp-kernel-benchmark.py`
268
+ - Added a recorded benchmark artifact:
269
+ - `docs/benchmarks/orp_reasoning_kernel_v0_1_validation.json`
270
+ - Added a regression test for the benchmark harness:
271
+ - `tests/test_orp_kernel_benchmark.py`
272
+
273
+ ### Changed
274
+
275
+ - Linked the kernel design note and README to the new technical validation
276
+ package.
277
+ - Added explicit measured support for the kernel's bootstrap behavior,
278
+ artifact-class roundtrips, hard vs soft enforcement semantics, and local CLI
279
+ ergonomics.
280
+
281
+ ## v0.4.6 - 2026-03-22
282
+
283
+ This release turns the ORP Reasoning Kernel into a real CLI surface instead of
284
+ just a design note.
285
+
286
+ ### Added
287
+
288
+ - Added the machine-readable kernel schema:
289
+ - `spec/v1/kernel.schema.json`
290
+ - Added the first kernel command surface:
291
+ - `orp kernel validate`
292
+ - `orp kernel scaffold`
293
+ - Added starter kernel scaffolding to `orp init`:
294
+ - `analysis/orp.kernel.task.yml`
295
+ - Added kernel-aware starter/example configs:
296
+ - `examples/orp.reasoning-kernel.starter.yml`
297
+ - `examples/kernel/trace-widget.task.kernel.yml`
298
+ - Added focused kernel command and gate tests.
299
+
300
+ ### Changed
301
+
302
+ - Made `structure_kernel` a real ORP gate validation lane when a gate declares a
303
+ `kernel` block.
304
+ - Added soft vs hard kernel validation behavior to gate results and run records.
305
+ - Added kernel discovery to `orp about --json`, the home quick actions, the
306
+ canonical boundary doc, and the agent loop.
307
+ - Kept legacy `structure_kernel` phase usage compatible when no explicit kernel
308
+ artifact config is present.
309
+
310
+ ## v0.4.5 - 2026-03-22
311
+
312
+ This follow-up release folds the new in-repo changelog into a published npm/tag
313
+ artifact, so GitHub, npm, and tagged source all carry the same release notes.
314
+
315
+ ### Added
316
+
317
+ - Added the first in-repo `CHANGELOG.md` to the published package and tagged
318
+ release artifact.
319
+
320
+ ### Changed
321
+
322
+ - Tightened the release flow so the changelog now ships with the public npm
323
+ package instead of only living on `main` after the release.
324
+
325
+ ## v0.4.4 - 2026-03-22
326
+
327
+ This release establishes ORP as a CLI-first governance and hosted-workspace
328
+ system, with the Rust app and web app positioned as reflections of the CLI
329
+ contract rather than competing sources of truth.
330
+
331
+ ### Added
332
+
333
+ - Added first-class local repo governance commands:
334
+ - `orp init`
335
+ - `orp status`
336
+ - `orp branch start`
337
+ - `orp checkpoint create`
338
+ - `orp backup`
339
+ - `orp ready`
340
+ - `orp doctor`
341
+ - `orp cleanup`
342
+ - Added first-class machine-local linking commands:
343
+ - `orp link project ...`
344
+ - `orp link session ...`
345
+ - `orp link status`
346
+ - `orp link doctor`
347
+ - Added first-class runner commands:
348
+ - `orp runner status`
349
+ - `orp runner enable`
350
+ - `orp runner disable`
351
+ - `orp runner heartbeat`
352
+ - `orp runner sync`
353
+ - `orp runner work`
354
+ - `orp runner cancel`
355
+ - `orp runner retry`
356
+ - Added runner-first compatibility flow through `orp agent work`.
357
+ - Added machine-readable link and runner schemas:
358
+ - `spec/v1/link-project.schema.json`
359
+ - `spec/v1/link-session.schema.json`
360
+ - `spec/v1/runner-machine.schema.json`
361
+ - `spec/v1/runner-runtime.schema.json`
362
+ - Added canonical architecture docs:
363
+ - `docs/CANONICAL_CLI_BOUNDARY.md`
364
+ - `docs/ORP_LINK_RUNNER_PLAN.md`
365
+ - `docs/RUNNER_INTERNAL_OPERATIONS.md`
366
+ - Added release automation helpers:
367
+ - `scripts/orp-release-smoke.sh`
368
+ - `scripts/npm-prepublish-guard.js`
369
+
370
+ ### Changed
371
+
372
+ - Reframed ORP around a single CLI with built-in abilities instead of a
373
+ pack-first public story.
374
+ - Made the CLI the canonical source of truth for:
375
+ - repo governance state
376
+ - project/session link state
377
+ - runner identity and runtime state
378
+ - hosted workspace routing and lease semantics
379
+ - Expanded `orp about --json` and `orp home --json` so agents and UI layers can
380
+ discover governance, linking, runner, and hosted-workspace surfaces directly.
381
+ - Updated the README to teach the governance loop explicitly:
382
+ - branch start
383
+ - checkpoint
384
+ - backup
385
+ - validation
386
+ - readiness
387
+ - Updated the agent loop documentation to prefer CLI-native checkpoint and
388
+ backup flows over the older helper-script path.
389
+
390
+ ### Hosted Workspace And Runner
391
+
392
+ - Folded hosted auth and workspace operations into the ORP CLI surface.
393
+ - Standardized hosted prompt-job delivery around link/session/runner concepts.
394
+ - Added CLI-owned machine sync and worker execution flows for linked projects
395
+ and sessions.
396
+ - Added support for runner wake-up via the same runner contract, with the lease
397
+ model remaining canonical.
398
+
399
+ ### Agent-First Git Safety
400
+
401
+ - Added `orp backup` so agents can checkpoint and safely back up current work to
402
+ a dedicated remote ref instead of merely warning that work is still local.
403
+ - Added backup tracking to git runtime history.
404
+ - Made governance status surface backup as a next action when local work is
405
+ dirty and remote-aware backup is possible.
406
+ - Added a prepublish guard so npm publish now fails if:
407
+ - the git worktree is dirty
408
+ - or the current commit is not already present on a remote branch
409
+
410
+ ### Packaging And Release
411
+
412
+ - Published npm package `open-research-protocol@0.4.4`.
413
+ - Normalized package metadata, including repository URL formatting.
414
+ - Hardened release checklists so backup, clean worktree checks, and remote-sync
415
+ checks are part of the documented release flow.
416
+
417
+ ### Verification
418
+
419
+ - Added or expanded focused test coverage for:
420
+ - governance initialization and status
421
+ - checkpointing and readiness
422
+ - linking and link-health validation
423
+ - runner status, sync, work, cancel, and retry
424
+ - hosted CLI auth and workspace flows
425
+ - npm publish guard behavior
426
+ - Release candidate verified with the full Python suite before shipping.
package/README.md CHANGED
@@ -29,6 +29,13 @@ ORP is a unified CLI for research and research-like engineering. It helps humans
29
29
 
30
30
  ORP also supports optional modular **Instruments** for shaping inquiry upstream of claims. Instruments are process-only and do not change the verification boundary. See `modules/instruments/README.md` and `docs/WHY_INSTRUMENTS.md`.
31
31
 
32
+ ORP also watches always-on personal-agent runtimes such as Hermes Agent and
33
+ OpenClaw from a borrowing-ideas perspective. Those systems can inspire better
34
+ gateways, skills, background notifications, model routing, and dashboards, but
35
+ ORP remains the durable workspace ledger, agenda, routing, governance, and
36
+ checkpoint layer. See
37
+ [Agent Runtime Borrowing Notes](docs/AGENT_RUNTIME_BORROWING_NOTES.md).
38
+
32
39
  ## Watch It Run
33
40
 
34
41
  A short ORP command-family walkthrough:
@@ -471,10 +478,20 @@ orp report summary --json
471
478
  orp frontier state --json
472
479
  orp frontier roadmap --json
473
480
  orp frontier checklist --json
481
+ orp frontier continuation-status --json
482
+ orp frontier preflight-delegate --json
483
+ orp frontier additional list --json
484
+ orp frontier doctor --strict --json
474
485
  orp compute decide --input orp.compute.json --json
475
486
  orp compute run-local --input orp.compute.json --task orp.compute.task.json --json
476
487
  ```
477
488
 
489
+ Frontier continuation checks are the handoff guard for long-running delegated
490
+ research. `orp frontier preflight-delegate --json` fails when the live
491
+ milestone/phase is stale, an additional queue item is complete but still active,
492
+ pending queue work has not been activated, or the frontier has no declared next
493
+ step or terminal completion.
494
+
478
495
  Scanning, synthesis, and collaboration:
479
496
 
480
497
  ```bash