open-research-protocol 0.4.31 → 0.4.33
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/AGENT_INTEGRATION.md +4 -2
- package/CHANGELOG.md +35 -0
- package/cli/orp.py +990 -10
- package/docs/AGENT_LOOP.md +6 -1
- package/docs/ORP_AUTONOMY_PROJECT_COMPILATION_MODEL.md +3 -2
- package/docs/RESEARCH_COUNCIL.md +20 -0
- package/package.json +1 -1
package/docs/AGENT_LOOP.md
CHANGED
|
@@ -13,10 +13,15 @@ read:
|
|
|
13
13
|
- Read `llms.txt`.
|
|
14
14
|
- Run `orp about --json`.
|
|
15
15
|
- Run `orp hygiene --json` before long delegation, after material writeback,
|
|
16
|
-
before
|
|
16
|
+
before remote side effects or unbudgeted paid compute, and whenever dirty
|
|
17
|
+
state grows unexpectedly.
|
|
17
18
|
If it reports `dirty_unclassified`, stop long-running expansion and classify
|
|
18
19
|
the paths, refresh generated surfaces, canonicalize useful scratch, or write a
|
|
19
20
|
blocker before continuing.
|
|
21
|
+
- Do not hard-stop solely because an OpenAI research lane is paid. Budgeted ORP
|
|
22
|
+
research may run when `orp research` spend preflight is within the configured
|
|
23
|
+
daily cap; stop for missing required spend policy, missing secret, cap
|
|
24
|
+
exhaustion, purchases, or non-ORP paid compute.
|
|
20
25
|
- If the task benefits from fresh concepting, tasteful interface work, or
|
|
21
26
|
exploratory reframing, run:
|
|
22
27
|
- `orp mode nudge sleek-minimal-progressive --json`
|
|
@@ -91,7 +91,7 @@ A true gate is not "the agent feels uncertain."
|
|
|
91
91
|
|
|
92
92
|
A true gate is a boundary like:
|
|
93
93
|
|
|
94
|
-
- spend or purchase
|
|
94
|
+
- unbudgeted spend or purchase
|
|
95
95
|
- outreach or counterparty contact
|
|
96
96
|
- provider/vendor selection with real consequences
|
|
97
97
|
- legal/oversight/compliance judgment
|
|
@@ -196,7 +196,7 @@ Bad candidates for automatic compilation:
|
|
|
196
196
|
|
|
197
197
|
- vague strategic narratives with no runnable command
|
|
198
198
|
- tasks that imply counterparty contact
|
|
199
|
-
- tasks that imply money
|
|
199
|
+
- tasks that imply unbudgeted money
|
|
200
200
|
- steps that promote support-only outputs into authority
|
|
201
201
|
|
|
202
202
|
## What ORP Should Emit
|
|
@@ -230,6 +230,7 @@ The controller benchmark experiment surfaced the exact shape:
|
|
|
230
230
|
2. compile the remaining pre-outreach tasks
|
|
231
231
|
3. keep drafts unsent
|
|
232
232
|
4. stop only when the next step would actually contact a counterparty or spend
|
|
233
|
+
outside a configured budget/preflight policy
|
|
233
234
|
5. emit a gate dossier
|
|
234
235
|
6. resume only after the human opens that gate
|
|
235
236
|
|
package/docs/RESEARCH_COUNCIL.md
CHANGED
|
@@ -102,6 +102,26 @@ printf '%s' '<openai-key>' | orp secrets keychain-add \
|
|
|
102
102
|
--json
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
+
## Spend Policy
|
|
106
|
+
|
|
107
|
+
The OpenAI research lanes are paid, but paid does not automatically mean human
|
|
108
|
+
hard stop. ORP treats them as budgeted provider calls when `openai-primary` has
|
|
109
|
+
a local spend policy and the lane passes spend preflight.
|
|
110
|
+
|
|
111
|
+
Set or update the local daily cap metadata like this:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
orp secrets keychain-spend-policy openai-primary \
|
|
115
|
+
--daily-spend-cap-usd 5 \
|
|
116
|
+
--dashboard-spend-cap-status unconfirmed \
|
|
117
|
+
--dashboard-url https://platform.openai.com/settings/organization/limits \
|
|
118
|
+
--json
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Live research should stop when the required spend policy is missing, the secret
|
|
122
|
+
is missing, the daily cap would be exceeded, or the work is unbudgeted provider
|
|
123
|
+
spend outside ORP research lanes.
|
|
124
|
+
|
|
105
125
|
## Fixtures
|
|
106
126
|
|
|
107
127
|
Provider outputs can be attached without spending live calls:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-research-protocol",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.33",
|
|
4
4
|
"description": "ORP CLI (Open Research Protocol): workspace ledgers, secrets, scheduling, governed execution, and agent-friendly research workflows.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fractal Research Group <cody@frg.earth>",
|