open-research-protocol 0.4.24 → 0.4.26

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,456 @@
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.26 - 2026-04-17
10
+
11
+ This release adds ORP-native project context and OpenAI research-loop support,
12
+ so agents can initialize a directory, keep its operating lens refreshed, and
13
+ use explicit high-reasoning or web-synthesis API calls only when the local
14
+ loop needs them.
15
+
16
+ ### Added
17
+
18
+ - Added `orp project refresh` and `orp project show` for `orp/project.json`,
19
+ a process-only project context lens that records authority surfaces,
20
+ directory signals, evolution policy, and research call timing.
21
+ - Added `orp research ask`, `orp research status`, and `orp research show` for
22
+ durable OpenAI research runs with dry-run planning by default and explicit
23
+ `--execute` live calls.
24
+ - Added a tiny `scripts/orp-mcp` stdio wrapper exposing the research commands
25
+ as MCP tools for Codex-like clients.
26
+ - Added versioned schemas for research runs and project context artifacts.
27
+ - Added `orp secrets keychain-add` so users can save a local machine OpenAI key
28
+ or other provider credential without relying on hosted secret storage.
29
+
30
+ ### Changed
31
+
32
+ - Updated `orp init`, `orp status`, `orp about`, and `orp home` to expose the
33
+ project context lifecycle as a first-class ORP surface.
34
+ - Documented the research timing rule: decompose locally first, call high
35
+ reasoning for ambiguous decision gates, call web synthesis for current public
36
+ facts and citations, and reserve Deep Research for heavier source conflicts
37
+ or literature-scale synthesis.
38
+
39
+ ## v0.4.25 - 2026-04-16
40
+
41
+ This release strengthens ORP continuation handling for long-running delegated
42
+ research programs and improves workspace-ledger migration for hosted workspaces.
43
+
44
+ ### Added
45
+
46
+ - Added `orp frontier continuation-status` and `orp frontier preflight-delegate`
47
+ so agents can check whether a frontier has a safe next step, blocker, or
48
+ terminal declaration before handing work to a delegation loop.
49
+ - Added strict frontier doctor behavior with `orp frontier doctor --strict`,
50
+ including stale active phase/milestone checks, stale active additional-queue
51
+ checks, and warnings when pending additional work has not been activated.
52
+ - Added `orp frontier additional ...` queue commands and materialized
53
+ `additional-items.json` / `ADDITIONAL_ITEMS.md` views for post-objective work
54
+ that must continue after the active delegate item.
55
+ - Added agent-runtime borrowing notes as a design reference for ORP's boundary
56
+ with always-on personal-agent systems.
57
+
58
+ ### Changed
59
+
60
+ - Updated workspace launcher behavior so idea-bridge workspaces can be promoted
61
+ into hosted workspace state when the hosted API is available, with local
62
+ ledger fallback when it is not.
63
+ - Updated workspace tab reports to rank Codex-backed tabs by recent local
64
+ session activity while keeping saved order as the tie-breaker.
65
+
66
+ ## v0.4.24 - 2026-04-14
67
+
68
+ This release restores the ORP CI and npm publish path after recent workflow
69
+ failures, while preserving the existing user-facing CLI surface.
70
+
71
+ ### Fixed
72
+
73
+ - Hardened hosted keychain sync tests so Ubuntu CI does not require the macOS
74
+ `security` binary.
75
+ - Made source-checkout update tests force the intended unsafe/safe states
76
+ instead of depending on ambient GitHub Actions checkout behavior.
77
+ - Moved quick kernel benchmark unittest coverage to deterministic report-shape
78
+ and functional-evidence checks, leaving committed benchmark threshold policy
79
+ in the dedicated kernel CI checker.
80
+ - Stabilized runner work completion sync so the touched linked-session
81
+ timestamp and runner sync payload share one completion timestamp.
82
+
83
+ ## v0.4.18 - 2026-04-02
84
+
85
+ This release makes workspace tab recovery smoother in the shell while also
86
+ making ORP's secrets/help surface easier for humans and agents to understand
87
+ at a glance.
88
+
89
+ ### Added
90
+
91
+ - Added `--here` to `orp workspace add-tab` and `orp workspace ledger add` so
92
+ the current working directory can be saved directly.
93
+ - Added `--current-codex` to the same add-tab flow so the active
94
+ `CODEX_THREAD_ID` can be stored as a Codex resume target without manually
95
+ typing session metadata.
96
+
97
+ ### Changed
98
+
99
+ - Updated workspace tab saves to upsert matching path/title entries by default
100
+ instead of appending near-duplicate tabs when only resume metadata changes.
101
+ - Added `--append` as the explicit escape hatch when you do want a second saved
102
+ tab for the same workspace path.
103
+ - Updated workspace add-tab output to print the full recovery line, including
104
+ the leading `cd ... &&` segment.
105
+ - Refreshed ORP workspace help text so the direct `tabs`, `add-tab`, and
106
+ `remove-tab` flow reads as the primary surface while `workspace ledger ...`
107
+ stays available as a compatibility alias.
108
+ - Simplified the secrets/help copy across `orp about`, `orp home`, and
109
+ `orp secrets -h` so the human prompt flow and the agent `--value-stdin` flow
110
+ are both discoverable from the CLI.
111
+
112
+ ## v0.4.14 - 2026-03-28
113
+
114
+ This release aligns ORP's published npm package metadata with the current
115
+ Fractal Research Group release mark used across the active `sproutseeds`
116
+ package set.
117
+
118
+ ### Changed
119
+
120
+ - Added the published npm `author` metadata for `open-research-protocol` as
121
+ `Fractal Research Group <cody@frg.earth>`.
122
+ - Cut a metadata-only patch release so npm package identity matches the current
123
+ FRG-branded release set without changing ORP runtime behavior.
124
+
125
+ ## v0.4.13 - 2026-03-26
126
+
127
+ This release makes version-stack frontier control a first-class ORP surface, so
128
+ agent-first repos can model the exact live point, the active milestone, the
129
+ near structured checklist, and the farther major-version stack inside one
130
+ canonical CLI layer.
131
+
132
+ ### Added
133
+
134
+ - Added the new `orp frontier` command family:
135
+ - `orp frontier init`
136
+ - `orp frontier state`
137
+ - `orp frontier roadmap`
138
+ - `orp frontier checklist`
139
+ - `orp frontier stack`
140
+ - `orp frontier add-version`
141
+ - `orp frontier add-milestone`
142
+ - `orp frontier add-phase`
143
+ - `orp frontier set-live`
144
+ - `orp frontier render`
145
+ - `orp frontier doctor`
146
+ - Added repo-local frontier control artifacts under `orp/frontier/`:
147
+ - `state.json`
148
+ - `roadmap.json`
149
+ - `checklist.json`
150
+ - `version-stack.json`
151
+ - `STATE.md`
152
+ - `ROADMAP.md`
153
+ - `CHECKLIST.md`
154
+ - `VERSION_STACK.md`
155
+ - Added frontier-aware tests covering scaffolding, live-pointer control, and
156
+ agent discovery metadata.
157
+
158
+ ### Changed
159
+
160
+ - Expanded `orp about --json` and `orp home --json` so agents can discover the
161
+ frontier control surface directly.
162
+ - Positioned ORP to treat long-horizon versioned planning as a first-order CLI
163
+ capability instead of leaving it as repo-specific notes alone.
164
+ - Refreshed the local kernel benchmark ergonomics targets to match the current
165
+ reference-machine runtime envelope without changing the benchmark claim
166
+ boundary.
167
+
168
+ ## v0.4.12 - 2026-03-25
169
+
170
+ This release makes repo-declared compute points first-class in ORP, so
171
+ `orp compute` can consume a `breakthroughs` project compute map directly
172
+ instead of requiring every caller to hand-build raw compute packets.
173
+
174
+ ### Added
175
+
176
+ - Added project-map mode to `orp compute decide`:
177
+ - `--project-map <path>`
178
+ - `--point-id <id>`
179
+ - optional `--rung-id <id>`
180
+ - optional `--success-bar <path>`
181
+ - Added project-map mode to `orp compute run-local` with the same compute-point
182
+ selection flow plus `--task <path>`.
183
+ - Added focused tests covering project-map dispatch and local execution.
184
+
185
+ ### Changed
186
+
187
+ - Updated ORP to depend on `breakthroughs@^0.1.1`.
188
+ - Positioned ORP to let agent-first repos declare compute points once and have
189
+ ORP consume them directly as part of the standard compute wrapper surface.
190
+ - Refreshed the cross-domain kernel benchmark validation target to match the
191
+ current local runtime envelope without changing ORP's claim boundary.
192
+
193
+ ## v0.4.11 - 2026-03-25
194
+
195
+ This release hardens ORP's YouTube ingestion path so public videos with caption
196
+ tracks reliably yield full transcript text and timing segments instead of
197
+ frequently falling back to metadata-only results.
198
+
199
+ ### Added
200
+
201
+ - Added transcript track inventory fields to the YouTube source artifact:
202
+ - `transcript_track_count`
203
+ - `available_transcript_tracks`
204
+ - `transcript_track_source`
205
+ - `transcript_sources_tried`
206
+
207
+ ### Changed
208
+
209
+ - Added Android-player transcript retrieval as a first-class fallback when the
210
+ watch-page caption path is incomplete.
211
+ - Expanded transcript parsing to support both classic `<text ...>` captions and
212
+ YouTube's paragraph-style format-3 `<p t=... d=...>` transcripts.
213
+ - Updated `orp youtube inspect` docs and CLI discovery text to reflect full
214
+ public transcript ingestion when caption tracks are available.
215
+ - Strengthened YouTube tests to cover srv3 parsing, Android fallback behavior,
216
+ and richer artifact shape assertions.
217
+
218
+ ## v0.4.10 - 2026-03-25
219
+
220
+ This release makes targeted compute a first-class ORP wrapper surface through
221
+ `orp compute`, backed by the published `breakthroughs` package.
222
+
223
+ ### Added
224
+
225
+ - Added `orp compute decide` for bounded compute admission decisions.
226
+ - Added `orp compute run-local` for locally admitted compute packets using the
227
+ `breakthroughs` shell adapter.
228
+ - Added wrapper-level ORP compute packet emission for process-only traceability.
229
+ - Added focused wrapper tests covering local admission, paid approval gating,
230
+ and local execution receipts.
231
+
232
+ ### Changed
233
+
234
+ - Updated ORP npm wrapper help to advertise the `orp compute` surface.
235
+ - Refreshed local ergonomics benchmark thresholds to reflect the current
236
+ reference-machine runtime envelope without changing ORP's claim boundary.
237
+
238
+ ## v0.4.9 - 2026-03-25
239
+
240
+ This release adds first-class YouTube inspection to ORP so agents can accept a
241
+ YouTube link, normalize it into a stable source artifact, and retrieve public
242
+ caption transcript text when available.
243
+
244
+ ### Added
245
+
246
+ - Added the new command:
247
+ - `orp youtube inspect`
248
+ - Added the machine-readable YouTube source schema:
249
+ - `spec/v1/youtube-source.schema.json`
250
+ - Added dedicated YouTube docs:
251
+ - `docs/ORP_YOUTUBE_INSPECT.md`
252
+ - Added focused YouTube tests covering:
253
+ - URL normalization
254
+ - caption-track selection
255
+ - transcript parsing
256
+ - command save behavior
257
+ - schema existence
258
+
259
+ ### Changed
260
+
261
+ - Expanded `orp about --json` and `orp home --json` so agents can discover the
262
+ YouTube inspection surface directly.
263
+ - Added agent-ready save behavior for YouTube source artifacts under
264
+ `orp/external/youtube/<video_id>.json`.
265
+ - Positioned ORP to treat public video links as a first-class external-source
266
+ context type instead of requiring ad hoc agent scraping.
267
+
268
+ ## v0.4.8 - 2026-03-25
269
+
270
+ This release adds `breakthroughs` as an npm dependency so ORP can grow a
271
+ first-class targeted-compute sublayer under its broader research governance
272
+ surface.
273
+
274
+ ### Added
275
+
276
+ - Added the published `breakthroughs@^0.1.0` dependency to the ORP npm package.
277
+
278
+ ### Changed
279
+
280
+ - 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.
281
+
282
+ - Positioned ORP to consume `breakthroughs` for future targeted-compute
283
+ admission, approval gating, traceability, and local execution flows without
284
+ changing ORP's larger governance boundary.
285
+
286
+ ## v0.4.7 - 2026-03-22
287
+
288
+ This release adds the technical validation package for the ORP Reasoning
289
+ Kernel, so the kernel ships with explicit evidence, benchmark data, and a
290
+ repeatable validation harness rather than only conceptual docs.
291
+
292
+ ### Added
293
+
294
+ - Added a technical validation note for the kernel:
295
+ - `docs/ORP_REASONING_KERNEL_TECHNICAL_VALIDATION.md`
296
+ - Added a repeatable benchmark and validation harness:
297
+ - `scripts/orp-kernel-benchmark.py`
298
+ - Added a recorded benchmark artifact:
299
+ - `docs/benchmarks/orp_reasoning_kernel_v0_1_validation.json`
300
+ - Added a regression test for the benchmark harness:
301
+ - `tests/test_orp_kernel_benchmark.py`
302
+
303
+ ### Changed
304
+
305
+ - Linked the kernel design note and README to the new technical validation
306
+ package.
307
+ - Added explicit measured support for the kernel's bootstrap behavior,
308
+ artifact-class roundtrips, hard vs soft enforcement semantics, and local CLI
309
+ ergonomics.
310
+
311
+ ## v0.4.6 - 2026-03-22
312
+
313
+ This release turns the ORP Reasoning Kernel into a real CLI surface instead of
314
+ just a design note.
315
+
316
+ ### Added
317
+
318
+ - Added the machine-readable kernel schema:
319
+ - `spec/v1/kernel.schema.json`
320
+ - Added the first kernel command surface:
321
+ - `orp kernel validate`
322
+ - `orp kernel scaffold`
323
+ - Added starter kernel scaffolding to `orp init`:
324
+ - `analysis/orp.kernel.task.yml`
325
+ - Added kernel-aware starter/example configs:
326
+ - `examples/orp.reasoning-kernel.starter.yml`
327
+ - `examples/kernel/trace-widget.task.kernel.yml`
328
+ - Added focused kernel command and gate tests.
329
+
330
+ ### Changed
331
+
332
+ - Made `structure_kernel` a real ORP gate validation lane when a gate declares a
333
+ `kernel` block.
334
+ - Added soft vs hard kernel validation behavior to gate results and run records.
335
+ - Added kernel discovery to `orp about --json`, the home quick actions, the
336
+ canonical boundary doc, and the agent loop.
337
+ - Kept legacy `structure_kernel` phase usage compatible when no explicit kernel
338
+ artifact config is present.
339
+
340
+ ## v0.4.5 - 2026-03-22
341
+
342
+ This follow-up release folds the new in-repo changelog into a published npm/tag
343
+ artifact, so GitHub, npm, and tagged source all carry the same release notes.
344
+
345
+ ### Added
346
+
347
+ - Added the first in-repo `CHANGELOG.md` to the published package and tagged
348
+ release artifact.
349
+
350
+ ### Changed
351
+
352
+ - Tightened the release flow so the changelog now ships with the public npm
353
+ package instead of only living on `main` after the release.
354
+
355
+ ## v0.4.4 - 2026-03-22
356
+
357
+ This release establishes ORP as a CLI-first governance and hosted-workspace
358
+ system, with the Rust app and web app positioned as reflections of the CLI
359
+ contract rather than competing sources of truth.
360
+
361
+ ### Added
362
+
363
+ - Added first-class local repo governance commands:
364
+ - `orp init`
365
+ - `orp status`
366
+ - `orp branch start`
367
+ - `orp checkpoint create`
368
+ - `orp backup`
369
+ - `orp ready`
370
+ - `orp doctor`
371
+ - `orp cleanup`
372
+ - Added first-class machine-local linking commands:
373
+ - `orp link project ...`
374
+ - `orp link session ...`
375
+ - `orp link status`
376
+ - `orp link doctor`
377
+ - Added first-class runner commands:
378
+ - `orp runner status`
379
+ - `orp runner enable`
380
+ - `orp runner disable`
381
+ - `orp runner heartbeat`
382
+ - `orp runner sync`
383
+ - `orp runner work`
384
+ - `orp runner cancel`
385
+ - `orp runner retry`
386
+ - Added runner-first compatibility flow through `orp agent work`.
387
+ - Added machine-readable link and runner schemas:
388
+ - `spec/v1/link-project.schema.json`
389
+ - `spec/v1/link-session.schema.json`
390
+ - `spec/v1/runner-machine.schema.json`
391
+ - `spec/v1/runner-runtime.schema.json`
392
+ - Added canonical architecture docs:
393
+ - `docs/CANONICAL_CLI_BOUNDARY.md`
394
+ - `docs/ORP_LINK_RUNNER_PLAN.md`
395
+ - `docs/RUNNER_INTERNAL_OPERATIONS.md`
396
+ - Added release automation helpers:
397
+ - `scripts/orp-release-smoke.sh`
398
+ - `scripts/npm-prepublish-guard.js`
399
+
400
+ ### Changed
401
+
402
+ - Reframed ORP around a single CLI with built-in abilities instead of a
403
+ pack-first public story.
404
+ - Made the CLI the canonical source of truth for:
405
+ - repo governance state
406
+ - project/session link state
407
+ - runner identity and runtime state
408
+ - hosted workspace routing and lease semantics
409
+ - Expanded `orp about --json` and `orp home --json` so agents and UI layers can
410
+ discover governance, linking, runner, and hosted-workspace surfaces directly.
411
+ - Updated the README to teach the governance loop explicitly:
412
+ - branch start
413
+ - checkpoint
414
+ - backup
415
+ - validation
416
+ - readiness
417
+ - Updated the agent loop documentation to prefer CLI-native checkpoint and
418
+ backup flows over the older helper-script path.
419
+
420
+ ### Hosted Workspace And Runner
421
+
422
+ - Folded hosted auth and workspace operations into the ORP CLI surface.
423
+ - Standardized hosted prompt-job delivery around link/session/runner concepts.
424
+ - Added CLI-owned machine sync and worker execution flows for linked projects
425
+ and sessions.
426
+ - Added support for runner wake-up via the same runner contract, with the lease
427
+ model remaining canonical.
428
+
429
+ ### Agent-First Git Safety
430
+
431
+ - Added `orp backup` so agents can checkpoint and safely back up current work to
432
+ a dedicated remote ref instead of merely warning that work is still local.
433
+ - Added backup tracking to git runtime history.
434
+ - Made governance status surface backup as a next action when local work is
435
+ dirty and remote-aware backup is possible.
436
+ - Added a prepublish guard so npm publish now fails if:
437
+ - the git worktree is dirty
438
+ - or the current commit is not already present on a remote branch
439
+
440
+ ### Packaging And Release
441
+
442
+ - Published npm package `open-research-protocol@0.4.4`.
443
+ - Normalized package metadata, including repository URL formatting.
444
+ - Hardened release checklists so backup, clean worktree checks, and remote-sync
445
+ checks are part of the documented release flow.
446
+
447
+ ### Verification
448
+
449
+ - Added or expanded focused test coverage for:
450
+ - governance initialization and status
451
+ - checkpointing and readiness
452
+ - linking and link-health validation
453
+ - runner status, sync, work, cancel, and retry
454
+ - hosted CLI auth and workspace flows
455
+ - npm publish guard behavior
456
+ - 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:
@@ -300,7 +307,7 @@ The practical model is:
300
307
 
301
308
  ## Secrets Quick Start
302
309
 
303
- Today, ORP secrets use the hosted ORP secret inventory as the canonical store, with optional local macOS Keychain caching. That means the real first step for secrets is:
310
+ ORP secrets can live in the hosted ORP secret inventory, with optional local macOS Keychain caching, or directly in the local ORP Keychain registry when you need a machine-local store immediately. For hosted secrets, start with:
304
311
 
305
312
  ```bash
306
313
  orp auth login
@@ -328,6 +335,18 @@ For an agent or script, use stdin:
328
335
  printf '%s' 'sk-...' | orp secrets add --alias openai-primary --label "OpenAI Primary" --provider openai --value-stdin
329
336
  ```
330
337
 
338
+ For a local-only machine secret, use the ORP Keychain path:
339
+
340
+ ```bash
341
+ printf '%s' 'sk-...' | orp secrets keychain-add --alias openai-primary --label "OpenAI Primary" --provider openai --env-var-name OPENAI_API_KEY --value-stdin
342
+ ```
343
+
344
+ If the key is already in the current process environment:
345
+
346
+ ```bash
347
+ orp secrets keychain-add --alias openai-primary --label "OpenAI Primary" --provider openai --env-var-name OPENAI_API_KEY --from-env
348
+ ```
349
+
331
350
  If a service needs both a username and a secret, store the username with it:
332
351
 
333
352
  ```bash
@@ -369,6 +388,7 @@ For secrets, the simplest plain-English rule is:
369
388
  - `orp secrets show ...` = inspect one saved key record
370
389
  - `orp secrets resolve ...` = get the key value for use right now
371
390
  - `orp secrets ensure ...` = use the saved key if it exists, otherwise create it
391
+ - `orp secrets keychain-add ...` = save or update a machine-local ORP secret in macOS Keychain
372
392
  - `orp secrets sync-keychain ...` = keep a secure local Mac copy too
373
393
 
374
394
  You can ignore `--env-var-name` at first. It is optional metadata like `OPENAI_API_KEY`, not the key itself.
@@ -437,6 +457,7 @@ orp workspace remove-tab main --path /absolute/path/to/project
437
457
  orp workspace sync main
438
458
  orp secrets list --json
439
459
  orp secrets ensure --alias openai-primary --provider openai --current-project --json
460
+ orp secrets keychain-add --alias openai-primary --provider openai --env-var-name OPENAI_API_KEY --value-stdin --json
440
461
  orp secrets sync-keychain openai-primary --json
441
462
  orp schedule add codex --name morning-summary --prompt "Summarize this repo" --json
442
463
  ```
@@ -471,10 +492,20 @@ orp report summary --json
471
492
  orp frontier state --json
472
493
  orp frontier roadmap --json
473
494
  orp frontier checklist --json
495
+ orp frontier continuation-status --json
496
+ orp frontier preflight-delegate --json
497
+ orp frontier additional list --json
498
+ orp frontier doctor --strict --json
474
499
  orp compute decide --input orp.compute.json --json
475
500
  orp compute run-local --input orp.compute.json --task orp.compute.task.json --json
476
501
  ```
477
502
 
503
+ Frontier continuation checks are the handoff guard for long-running delegated
504
+ research. `orp frontier preflight-delegate --json` fails when the live
505
+ milestone/phase is stale, an additional queue item is complete but still active,
506
+ pending queue work has not been activated, or the frontier has no declared next
507
+ step or terminal completion.
508
+
478
509
  Scanning, synthesis, and collaboration:
479
510
 
480
511
  ```bash
@@ -513,6 +544,7 @@ The bridge package lives at `packages/lifeops-orp/`.
513
544
  Stable artifact paths:
514
545
 
515
546
  - `orp/state.json`
547
+ - `orp/project.json`
516
548
  - `orp/artifacts/<run_id>/RUN.json`
517
549
  - `orp/artifacts/<run_id>/RUN_SUMMARY.md`
518
550
  - `orp/packets/<packet_id>.json`
@@ -525,26 +557,28 @@ Stable artifact paths:
525
557
  1. Copy this folder into your repo (recommended location: `orp/`).
526
558
  2. Link to `orp/PROTOCOL.md` from your repo `README.md`.
527
559
  3. Customize **Canonical Paths** inside `orp/PROTOCOL.md` to match your repo layout.
528
- 4. Run `orp init` in the repo root to establish ORP governance.
560
+ 4. Run `orp init` in the repo root to establish ORP governance and create `orp/project.json`.
529
561
  5. If you keep many repos under one umbrella directory, run `orp agents root set /absolute/path/to/projects` once and let `orp init --projects-root /absolute/path/to/projects` link each child repo back to that parent guidance.
530
562
  6. Use `orp agents audit` whenever you want to confirm `AGENTS.md` and `CLAUDE.md` are still aligned without overwriting human notes.
531
- 7. Use `orp status`, `orp branch start`, `orp checkpoint create`, and `orp backup` as the default implementation loop.
532
- 8. Use the templates for all new claims and verifications.
533
- 9. Optional (agent users): integrate ORP into your agent’s primary instruction file (see `orp/AGENT_INTEGRATION.md`).
563
+ 7. Use `orp project refresh --json` after adding or changing roadmap, spec, agent-guidance, docs, manifest, or command-surface files.
564
+ 8. Use `orp status`, `orp branch start`, `orp checkpoint create`, and `orp backup` as the default implementation loop.
565
+ 9. Use the templates for all new claims and verifications.
566
+ 10. Optional (agent users): integrate ORP into your agent’s primary instruction file (see `orp/AGENT_INTEGRATION.md`).
534
567
 
535
568
  ## Quick start (new project)
536
569
 
537
570
  1. Copy this folder into a new project directory.
538
571
  2. If you keep projects under one umbrella directory, run `orp agents root set /absolute/path/to/projects` once from anywhere.
539
- 3. Run `orp init` immediately so the repo starts ORP-governed and scaffolds or updates `AGENTS.md` and `CLAUDE.md`.
572
+ 3. Run `orp init` immediately so the repo starts ORP-governed, scaffolds or updates `AGENTS.md` and `CLAUDE.md`, and creates `orp/project.json`.
540
573
  4. Edit `PROTOCOL.md` to define your canonical paths and claim labels.
541
- 5. Run `orp agents audit` to confirm the repo-level agent files are aligned and still preserving human notes.
542
- 6. Start implementation on a work branch with `orp branch start`.
543
- 7. Create regular checkpoint commits with `orp checkpoint create`.
544
- 8. Use `orp backup` whenever you want ORP to capture current work to a dedicated remote backup ref.
545
- 9. Validate promotable task/decision/hypothesis artifacts with `orp kernel validate <path> --json`.
546
- 10. Start by adding one small claim + verification record using the templates.
547
- 11. Optional (agent users): integrate ORP into your agent’s primary instruction file (see `AGENT_INTEGRATION.md`).
574
+ 5. Run `orp project refresh --json` whenever the directory gains new roadmap, spec, docs, manifest, or command-surface files.
575
+ 6. Run `orp agents audit` to confirm the repo-level agent files are aligned and still preserving human notes.
576
+ 7. Start implementation on a work branch with `orp branch start`.
577
+ 8. Create regular checkpoint commits with `orp checkpoint create`.
578
+ 9. Use `orp backup` whenever you want ORP to capture current work to a dedicated remote backup ref.
579
+ 10. Validate promotable task/decision/hypothesis artifacts with `orp kernel validate <path> --json`.
580
+ 11. Start by adding one small claim + verification record using the templates.
581
+ 12. Optional (agent users): integrate ORP into your agent’s primary instruction file (see `AGENT_INTEGRATION.md`).
548
582
 
549
583
  **Activation is procedural/social, not runtime:** nothing “turns on” automatically. ORP works only if contributors follow it.
550
584