Publish bookstack: 13 tasks, 25 runs
Browse files- README.md +151 -0
- bundles/bookstack/README.md +46 -0
- bundles/bookstack/agents/replay-qa/Dockerfile +9 -0
- bundles/bookstack/agents/replay-qa/README.md +51 -0
- bundles/bookstack/agents/replay-qa/agent.py +284 -0
- bundles/bookstack/agents/replay-qa/agent.toml +5 -0
- bundles/bookstack/artifacts/check_bookstack/verify.py +37 -0
- bundles/bookstack/envs/bookstack/Dockerfile +9 -0
- bundles/bookstack/envs/bookstack/env.toml +1 -0
- bundles/bookstack/envs/bookstack/evidence.json +0 -0
- bundles/bookstack/envs/bookstack/manifest.json +1368 -0
- bundles/bookstack/envs/bookstack/rea-agents.tgz +3 -0
- bundles/bookstack/evals/bookstack-retrieval.toml +14 -0
- bundles/bookstack/tasks/INDEX.md +18 -0
- bundles/bookstack/tasks/qa-01-get_pages_by_id.json +42 -0
- bundles/bookstack/tasks/qa-02-get_content_permissions_page_by_id.json +42 -0
- bundles/bookstack/tasks/qa-03-get_content_permissions_book_by_id.json +42 -0
- bundles/bookstack/tasks/qa-04-get_books_by_id.json +42 -0
- bundles/bookstack/tasks/qa-05-get_search_chapter_by_id.json +42 -0
- bundles/bookstack/tasks/qa-06-get_chapters_by_id.json +42 -0
- bundles/bookstack/tasks/qa-07-get_shelves_by_id.json +42 -0
- bundles/bookstack/tasks/qa-08-get_attachments_by_id.json +42 -0
- bundles/bookstack/tasks/qa-09-get_users_by_id.json +42 -0
- bundles/bookstack/tasks/qa-10-get_search_book_by_id.json +42 -0
- bundles/bookstack/tasks/qa-11-get_roles_by_id.json +42 -0
- bundles/bookstack/tasks/qa-12-get_shelves.json +42 -0
- bundles/bookstack/tasks/smoke.json +15 -0
- episodes/bookstack.parquet +3 -0
- raw/bookstack.jsonl +0 -0
- tasks/bookstack.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 12 |
+
- config_name: bookstack_episodes
|
| 13 |
+
data_files:
|
| 14 |
+
- split: train
|
| 15 |
+
path: episodes/bookstack.parquet
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# bookstack
|
| 19 |
+
|
| 20 |
+
bookstack
|
| 21 |
+
|
| 22 |
+
An [AgentEnv](https://www.agentenvframework.com) bundle with its recorded runs, published with
|
| 23 |
+
[agentenv-hf](https://github.com/earakely-scale/agentenv-hf-plugin).
|
| 24 |
+
|
| 25 |
+
## Tables
|
| 26 |
+
|
| 27 |
+
- `bookstack_tasks`: one row per task of the bundle, with its prompt, envs, verifiers and steps.
|
| 28 |
+
- `bookstack_episodes`: one row per recorded run, with its status, model, reward and scores, the prompt and response,
|
| 29 |
+
and the agent's transcript as chat `messages` when its trajectory format is one agentenv-hf reads.
|
| 30 |
+
|
| 31 |
+
`raw/bookstack.jsonl` holds each run's record and native trajectory, and `bundles/bookstack/` the bundle itself.
|
| 32 |
+
|
| 33 |
+
## Run it
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
pip install agentenv-framework huggingface_hub
|
| 37 |
+
hf download earakely-scale/BookStackEnv-REA --repo-type dataset --local-dir agentenv-dataset
|
| 38 |
+
agent-env run agentenv-dataset/bundles/bookstack
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
<!-- agentenv-hf:bookstack -->
|
| 42 |
+
# BookStack on AgentEnv, from a REA capture
|
| 43 |
+
|
| 44 |
+
<!-- card note for `agent-env hf publish --card-note`; the plugin writes the YAML header, configs and the agentenv table. -->
|
| 45 |
+
|
| 46 |
+
**What this is.** A replay environment of **BookStack 26.09.1** (MIT), built from one recorded
|
| 47 |
+
browser session against a self-hosted instance seeded with synthetic data. [REA](https://github.com/morluto/rea)
|
| 48 |
+
projected the capture into an **environment manifest** (31 tools), and `rea environment-export` wrote the
|
| 49 |
+
bundle you can run from this dataset. Every tool call replays a retained record from the capture, cites the record and
|
| 50 |
+
the Evidence it came from, and nothing executes BookStack. Tasks are graded deterministically, with no judge.
|
| 51 |
+
|
| 52 |
+
## What's in it
|
| 53 |
+
|
| 54 |
+
- **31 tools** (27 GET, 2 POST, 1 DELETE, 1 PUT) over 65 recorded exchanges on `http://127.0.0.1:3219`; no recorded group excluded.
|
| 55 |
+
- **Path parameters**: 14 `numeric`. REA's four format rules (numeric, uuid, hex, iso-date) applied unconditionally;
|
| 56 |
+
the three opt-in rules (`after-uid-literal`, `opaque-token`, `sibling-variance`) were requested and are labelled per
|
| 57 |
+
parameter. With the four format rules alone the manifest has 31 tools.
|
| 58 |
+
- **Unknowns** the manifest states explicitly: authorization model, response semantics beyond recorded exchanges, state
|
| 59 |
+
transitions between tools.
|
| 60 |
+
- **12 retrieval tasks** (`evals/bookstack-retrieval.toml`): each asks one factual question about a seeded object,
|
| 61 |
+
with a distinct answer that the app does not ship by default, answerable through
|
| 62 |
+
a recorded exchange; reward 1 if the response contains the recorded value, else 0. Plus `smoke`, which
|
| 63 |
+
deploys the environment and checks replay through the MCP endpoint.
|
| 64 |
+
- **24 recorded episodes** by `openai/gpt-oss-120b:groq`, `zai-org/GLM-5.3-Flash:zai-org` through the Hugging Face router, with their chat transcripts.
|
| 65 |
+
- **Provenance**: capture `ev_07a98c12a171833f8ca00f5f4769a165b358a5e2cca784718af469fc35ee5b77` (scoped HAR sha256 `1f807d4d2d2ef490cdc5cac50ffcbf573abfc967351038256b92e18f4ebe5366`, 127,666 bytes), manifest view
|
| 66 |
+
`ev_47deffa8044f6f1c6835193c59746931187576db6b1c0cc367b7c4380714c322`, confidence `inferred`, authority `historical-reference`. The REA build is a prerelease of
|
| 67 |
+
the environment commands proposed upstream in morluto/rea#4954, #4955, #4975 and #4999; the bundle installs it
|
| 68 |
+
from the tarball it ships, so the environment runs without waiting for an npm release.
|
| 69 |
+
|
| 70 |
+
## What replay means, and does not
|
| 71 |
+
|
| 72 |
+
A tool call returns the recorded response whose path and query values best match the arguments, with
|
| 73 |
+
`replay.exact_match` telling you whether it matched exactly or fell back to the closest record. Reads of seeded objects
|
| 74 |
+
behave like the application. Writes return the recorded answer of the one write the session made, and the environment
|
| 75 |
+
has no state: a created object does not appear in a later list. This is what makes retrieval tasks hard-gradable and
|
| 76 |
+
write tasks weak; the manifest's `unknowns` say so.
|
| 77 |
+
|
| 78 |
+
## Tasks and grading
|
| 79 |
+
|
| 80 |
+
| task | tool | arguments | field | answer |
|
| 81 |
+
|---|---|---|---|---|
|
| 82 |
+
| `qa-01-get_pages_by_id` | `get_pages_by_id` | id=17 | `name` | `January Tide Readings` |
|
| 83 |
+
| `qa-02-get_content_permissions_page_by_id` | `get_content_permissions_page_by_id` | id=21 | `owner.slug` | `mina-okafor` |
|
| 84 |
+
| `qa-03-get_content_permissions_book_by_id` | `get_content_permissions_book_by_id` | id=3 | `owner.name` | `Rui Castellanos` |
|
| 85 |
+
| `qa-04-get_books_by_id` | `get_books_by_id` | id=2 | `shelves[0].slug` | `lighthouse-rota-handbooks` |
|
| 86 |
+
| `qa-05-get_search_chapter_by_id` | `get_search_chapter_by_id` | id=12, query=terrace | `data[0].name` | `Terrace Seven Tally` |
|
| 87 |
+
| `qa-06-get_chapters_by_id` | `get_chapters_by_id` | id=11 | `owned_by.slug` | `ada-finch` |
|
| 88 |
+
| `qa-07-get_shelves_by_id` | `get_shelves_by_id` | id=7 | `books[0].slug` | `quarry-audit-manual` |
|
| 89 |
+
| `qa-08-get_attachments_by_id` | `get_attachments_by_id` | id=2 | `name` | `Terrace Seven Survey Sheet` |
|
| 90 |
+
| `qa-09-get_users_by_id` | `get_users_by_id` | id=3 | `email` | `ada.finch@example.test` |
|
| 91 |
+
| `qa-10-get_search_book_by_id` | `get_search_book_by_id` | id=1, query=wick | `data[0].name` | `Wick and Lens Care` |
|
| 92 |
+
| `qa-11-get_roles_by_id` | `get_roles_by_id` | id=5 | `display_name` | `Tide Clerks` |
|
| 93 |
+
| `qa-12-get_shelves` | `get_shelves` | no arguments | `data[0].name` | `Lighthouse Rota Handbooks` |
|
| 94 |
+
|
| 95 |
+
## Episodes
|
| 96 |
+
|
| 97 |
+
| model | tasks | passed | pass rate | mean tool calls | mean input tokens |
|
| 98 |
+
|---|---|---|---|---|---|
|
| 99 |
+
| `openai/gpt-oss-120b:groq` | 12 | 12 | 100% | 1.0 | 6,712 |
|
| 100 |
+
| `zai-org/GLM-5.3-Flash:zai-org` | 12 | 12 | 100% | 1.0 | 8,567 |
|
| 101 |
+
|
| 102 |
+
Every episode is in the `episodes` config with its transcript; rewards are the deterministic verifier scores.
|
| 103 |
+
|
| 104 |
+
Every recorded episode passed.
|
| 105 |
+
|
| 106 |
+
## Run it yourself
|
| 107 |
+
|
| 108 |
+
```bash
|
| 109 |
+
uv tool install agentenv-framework --with 'agentenv-hf @ git+https://github.com/earakely-scale/agentenv-hf-plugin@v0.3.0'
|
| 110 |
+
agent-env hf run earakely-scale/BookStackEnv-REA --bundle bookstack --task smoke # Docker, no model
|
| 111 |
+
agent-env hf run earakely-scale/BookStackEnv-REA --bundle bookstack --eval bookstack-retrieval --model openai/gpt-oss-120b:groq
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
The retrieval eval needs a model endpoint: set `[model] base_url` and `api_key` in `.agentenv/config.toml` (the Hugging
|
| 115 |
+
Face router works with any `hf_` token). The bundle's `agents/replay-qa` is a small OpenAI-compatible tool-calling agent;
|
| 116 |
+
any A2A agent can replace it.
|
| 117 |
+
|
| 118 |
+
## How it was made
|
| 119 |
+
|
| 120 |
+
1. BookStack ran in Docker on a throwaway VM, bound to loopback, seeded through its own API with synthetic records
|
| 121 |
+
(2 roles (Tide Clerks, Quarry Auditors), 3 users besides the renamed admin (Ada Finch, Rui Castellanos, Mina Okafor), 3 shelves, 5 books, 5 chapters and 8 pages with tags, 2 link attachments, 2 page comments, and 9 items handed to other owners); people and projects are invented.
|
| 122 |
+
2. Playwright drove a login, the main pages and a scripted read, write, read sequence through the app's JSON API; the
|
| 123 |
+
HAR was scoped to the API, the login exchange dropped, secret-looking body fields scrubbed, headers and cookies removed.
|
| 124 |
+
3. `rea inspect-web-network-capture` retained the exchanges as Evidence; `rea inspect-analysis-view` projected the
|
| 125 |
+
`environment-manifest` view; `rea environment-export` wrote this bundle; `gen_tasks.py` derived the retrieval tasks
|
| 126 |
+
from the manifest and the recorded bodies; `agent-env run` recorded the episodes; `agent-env hf publish` wrote this
|
| 127 |
+
dataset. Scripts: https://github.com/earakely-scale/rea-environments.
|
| 128 |
+
|
| 129 |
+
## Compared with PortSimEnv on AgentEnv
|
| 130 |
+
|
| 131 |
+
| | PortSimEnv-AgentEnv | BookStack (this dataset) |
|
| 132 |
+
|---|---|---|
|
| 133 |
+
| Environment | A simulation: a container quay, ships, cranes, weather, with A2A ship agents | A replay of a real application's API, captured from one session |
|
| 134 |
+
| Observation | Tool results computed by the simulator as the week unfolds | Recorded responses, cited to Evidence |
|
| 135 |
+
| Action space | Planning tools (`check_plan`, `confirm_berths`, `advance`, `message_agent`) | 31 tools mirroring the application's endpoints |
|
| 136 |
+
| State | Full: a virtual clock, triggers, frozen windows, agents that answer | None: every call is independent; writes replay one recorded answer |
|
| 137 |
+
| Reward | Deterministic, against a CP-SAT optimum or a re-planner anchor; continuous 0 to 1 | Deterministic, recorded-value match; 0 or 1 per task |
|
| 138 |
+
| What it measures | Planning under uncertainty and negotiation | Tool discovery, parameter inference and faithful retrieval in a real API |
|
| 139 |
+
| Data provenance | Real 2024 port calls and weather; simulated workloads | Synthetic seed data on a self-hosted BookStack; nothing real |
|
| 140 |
+
| How it was built | Hand-written plugin, months of work | Generated from a capture in one scripted pass |
|
| 141 |
+
| Where it is strong | Long-horizon decisions with hard rewards | Breadth: any app you can capture becomes an environment |
|
| 142 |
+
|
| 143 |
+
The two are complementary: PortSimEnv shows what a hand-built simulation can grade; this dataset shows how far a capture
|
| 144 |
+
alone gets you, and the manifest's `unknowns` list exactly what a stateful version would still have to specify.
|
| 145 |
+
|
| 146 |
+
## Licence and credits
|
| 147 |
+
|
| 148 |
+
Bundle code and tasks: Apache-2.0. Recorded content: responses generated by a self-hosted BookStack instance over
|
| 149 |
+
synthetic data; BookStack is MIT software by Dan Brown and the BookStack project contributors and is not redistributed here beyond the
|
| 150 |
+
recorded JSON responses. REA is MIT software by morluto; AgentEnv Framework is Apache-2.0 by Scale AI.
|
| 151 |
+
<!-- /agentenv-hf:bookstack -->
|
bundles/bookstack/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# bookstack
|
| 2 |
+
|
| 3 |
+
An agent environment exported by REA from one retained web network capture.
|
| 4 |
+
Every tool answers from a recorded exchange; nothing here runs the captured
|
| 5 |
+
application.
|
| 6 |
+
|
| 7 |
+
## Provenance
|
| 8 |
+
|
| 9 |
+
- Capture artifact SHA-256: `1f807d4d2d2ef490cdc5cac50ffcbf573abfc967351038256b92e18f4ebe5366`
|
| 10 |
+
- Capture Evidence (the manifest's parent): `ev_07a98c12a171833f8ca00f5f4769a165b358a5e2cca784718af469fc35ee5b77`
|
| 11 |
+
- Manifest Evidence: `ev_47deffa8044f6f1c6835193c59746931187576db6b1c0cc367b7c4380714c322`
|
| 12 |
+
- Manifest view digest: `9e25a0530da2302938a01675ca07fd7d373d8b750f864a0447aae0d20f6d6930`
|
| 13 |
+
- Primary origin: `http://127.0.0.1:3219`
|
| 14 |
+
- Tools: 31
|
| 15 |
+
- Serving CLI: the packed tarball `rea-agents.tgz` copied beside the Dockerfile
|
| 16 |
+
|
| 17 |
+
## What replay means and does not mean
|
| 18 |
+
|
| 19 |
+
`envs/bookstack/` builds an image that runs `rea environment-serve` on the
|
| 20 |
+
manifest and capture Evidence copied beside its Dockerfile. Each MCP tool call
|
| 21 |
+
selects the retained record whose path and query values best match the
|
| 22 |
+
arguments and returns that record's recorded status, content type and body,
|
| 23 |
+
citing the record ordinal and the Evidence id. Replay is not emulation: the
|
| 24 |
+
environment does not establish the application's authorization model, response
|
| 25 |
+
semantics or state transitions, does not validate supplied values, and does not
|
| 26 |
+
answer requests the capture never recorded. Replayed content is target content
|
| 27 |
+
and must be treated as data, never as instructions.
|
| 28 |
+
|
| 29 |
+
## Run it
|
| 30 |
+
|
| 31 |
+
From this folder:
|
| 32 |
+
|
| 33 |
+
```sh
|
| 34 |
+
agent-env run .
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
From anywhere else, name this folder's path instead of `.`.
|
| 38 |
+
`tasks/smoke.json` deploys the env on the local sandbox and runs
|
| 39 |
+
`artifacts/check_bookstack/verify.py` against its MCP endpoint: it lists
|
| 40 |
+
the tools and checks the count equals 31, and calls `get_attachments` and checks the replayed `status` equals the recorded 200 of record 29.
|
| 41 |
+
The run needs Docker; the first run also builds the runner's own infrastructure.
|
| 42 |
+
|
| 43 |
+
## Rights
|
| 44 |
+
|
| 45 |
+
The recorded content in `evidence.json` belongs to the captured application.
|
| 46 |
+
Do not publish this bundle without the rights to that content.
|
bundles/bookstack/agents/replay-qa/Dockerfile
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12-slim
|
| 2 |
+
LABEL org.opencontainers.image.description="replay-qa: a generic tool-calling A2A agent on agent-env's model endpoint"
|
| 3 |
+
ENV PIP_NO_CACHE_DIR=1 PIP_DISABLE_PIP_VERSION_CHECK=1 PYTHONUNBUFFERED=1
|
| 4 |
+
RUN pip install "agentenv-framework-protocol[agent]==0.1.349" "openai==2.54.0" "mcp==1.30.0" \
|
| 5 |
+
&& useradd --uid 10001 --create-home agent
|
| 6 |
+
COPY agent.py /app/agent.py
|
| 7 |
+
USER agent
|
| 8 |
+
EXPOSE 8000
|
| 9 |
+
CMD ["python", "/app/agent.py"]
|
bundles/bookstack/agents/replay-qa/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# replay-qa
|
| 2 |
+
|
| 3 |
+
A generic tool-calling A2A agent for agent-env bundles. It knows nothing about any particular environment: every
|
| 4 |
+
MCP tool the env exposes is offered to the model as a function tool, the model's tool calls are run against the env
|
| 5 |
+
and their results fed back, and the loop ends when the model answers without calling a tool. The final assistant text
|
| 6 |
+
is the task's response, which a deterministic `agent_prompt_response_verifier` can grade.
|
| 7 |
+
|
| 8 |
+
## The loop
|
| 9 |
+
|
| 10 |
+
1. `deploy_agent` starts the container and registers the env's MCP URL through `urn:agentenv:mcp-config/v1`; the
|
| 11 |
+
agent opens one MCP session per registered server and lists its tools. A tool name two servers share is prefixed
|
| 12 |
+
with the server's alias; names are squeezed into `[A-Za-z0-9_-]{1,64}`.
|
| 13 |
+
2. `prompt_agent` sends the prompt. The history starts with the system prompt and the prompt; each turn is one
|
| 14 |
+
OpenAI-compatible chat completion with every tool attached.
|
| 15 |
+
3. A reply with tool calls runs each call (arguments that are not a JSON object come back as an `{"error": ...}`
|
| 16 |
+
result) and appends the results as `tool` messages, clipped to `REPLAY_QA_TOOL_RESULT_CHARS` (16000) characters.
|
| 17 |
+
A reply with text and no tool call is the answer. A reply with neither is nudged once per turn.
|
| 18 |
+
4. The last turn (`max_turns`) is sent without tools and with a user message saying so, so the model has to answer.
|
| 19 |
+
|
| 20 |
+
The result carries the answer as its text part, a `structured_output` summary (model, end reason, turns, tool calls,
|
| 21 |
+
tokens, seconds), `Usage`, and a native trajectory in the `replay-qa-chat/1` format: `{"model", "messages", "turns",
|
| 22 |
+
"tools", "usage", "end_reason", "errors"}` where `messages` is the chat history (OpenAI roles, nested
|
| 23 |
+
`tool_calls`, `tool` results with `tool_call_id` and `name`, plus `reasoning` and `finish_reason` on assistant
|
| 24 |
+
messages). agentenv-hf reads it as `chat`.
|
| 25 |
+
|
| 26 |
+
## Configuration
|
| 27 |
+
|
| 28 |
+
Through `urn:agentenv:agent-config/v1`, which `prompt_agent` fills from the task step, `agent-env run --model`,
|
| 29 |
+
or the bundle's defaults:
|
| 30 |
+
|
| 31 |
+
| field | default | meaning |
|
| 32 |
+
|---|---|---|
|
| 33 |
+
| `model` | `openai/gpt-oss-120b:groq` (also `metadata.default_model` in `agent.toml`) | model name sent as-is to the endpoint |
|
| 34 |
+
| `max_turns` | 6 | model calls per task; the last one gets no tools |
|
| 35 |
+
| `system_prompt` | a one-line "answer with the tools, reply with the answer only" | replaces the default when set |
|
| 36 |
+
| `model_params` | `{"max_tokens": 1024}` | chat-completions parameters; known ones as keyword arguments, the rest in `extra_body` |
|
| 37 |
+
| `timeout_seconds` | 600 | a turn does not start past it |
|
| 38 |
+
|
| 39 |
+
The endpoint comes from the environment `deploy_agent` injects: `LITELLM_BASE_URL` (a `/v1` suffix is added when
|
| 40 |
+
missing) and `LITELLM_API_KEY`, resolved from `[model]` in `.agentenv/config.toml`; `LITELLM_EXTRA_HEADERS`
|
| 41 |
+
(a JSON object, from `[model.headers]`) is sent on every request when present.
|
| 42 |
+
|
| 43 |
+
## Limits
|
| 44 |
+
|
| 45 |
+
- Chat completions only: no Anthropic Messages or OpenAI Responses route, so reasoning shows up only where the
|
| 46 |
+
provider returns it as `reasoning`/`reasoning_content`.
|
| 47 |
+
- Non-streaming requests, so a provider that only reports usage on streams reports none.
|
| 48 |
+
- No peer agents, skills, snapshots or triggers; a task that needs them wants another agent.
|
| 49 |
+
- Tool results are clipped, not summarised; a tool whose answer is larger than the clip loses its tail.
|
| 50 |
+
- Failures of the endpoint or the env end the task as an `infra_error`; a model that never answers ends it with an
|
| 51 |
+
empty response and `end_reason: no_answer`.
|
bundles/bookstack/agents/replay-qa/agent.py
ADDED
|
@@ -0,0 +1,284 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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qa: a generic tool-calling A2A agent for agent-env. Every MCP tool the env exposes is offered to the model
|
| 2 |
+
as a function tool over OpenAI-compatible chat completions on agent-env's model endpoint (LITELLM_BASE_URL and
|
| 3 |
+
LITELLM_API_KEY, which deploy_agent injects from [model] in .agentenv/config.toml). Tool results go back into the
|
| 4 |
+
history; the loop ends when the model answers without a tool call, or on its last turn, which it gets without tools so
|
| 5 |
+
it has to answer. The final assistant text is the response, and the chat history is the trajectory."""
|
| 6 |
+
|
| 7 |
+
import json
|
| 8 |
+
import logging
|
| 9 |
+
import os
|
| 10 |
+
import re
|
| 11 |
+
import time
|
| 12 |
+
from contextlib import AsyncExitStack
|
| 13 |
+
from dataclasses import dataclass
|
| 14 |
+
from typing import Any
|
| 15 |
+
|
| 16 |
+
import httpx
|
| 17 |
+
import openai
|
| 18 |
+
from agentenv_protocol.a2a_agent import (
|
| 19 |
+
MCP_CONFIG_V1,
|
| 20 |
+
TRAJECTORY_V1,
|
| 21 |
+
AgentConfig,
|
| 22 |
+
AgentEnvAgent,
|
| 23 |
+
AgentIdentity,
|
| 24 |
+
TaskRequest,
|
| 25 |
+
TaskResult,
|
| 26 |
+
Usage,
|
| 27 |
+
a2a_agent,
|
| 28 |
+
)
|
| 29 |
+
from mcp import ClientSession, McpError
|
| 30 |
+
from mcp.client.streamable_http import streamable_http_client
|
| 31 |
+
|
| 32 |
+
log = logging.getLogger("replay-qa")
|
| 33 |
+
|
| 34 |
+
REQUEST_TIMEOUT = 300.0
|
| 35 |
+
TRAJECTORY_FORMAT = "replay-qa-chat/1"
|
| 36 |
+
TOOL_RESULT_CHARS = int(os.environ.get("REPLAY_QA_TOOL_RESULT_CHARS", "16000"))
|
| 37 |
+
DEFAULT_SYSTEM = ("You answer questions about an environment by calling its tools. Call the tools you need, read "
|
| 38 |
+
"their results, then reply with the answer and nothing else.")
|
| 39 |
+
LAST_TURN = "This is your last turn: answer the question now in plain text."
|
| 40 |
+
NO_ANSWER = "You sent neither text nor a tool call. Call a tool, or answer the question in plain text."
|
| 41 |
+
# chat.completions.create keyword arguments; any other [model.params] key travels in extra_body.
|
| 42 |
+
DIRECT_PARAMS = {"max_tokens", "max_completion_tokens", "temperature", "top_p", "seed", "stop", "presence_penalty",
|
| 43 |
+
"frequency_penalty", "reasoning_effort", "parallel_tool_calls", "logprobs", "n", "user"}
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
class ReplayQAConfig(AgentConfig):
|
| 47 |
+
model: str = "openai/gpt-oss-120b:groq"
|
| 48 |
+
system_prompt: str = ""
|
| 49 |
+
max_turns: int = 6
|
| 50 |
+
model_params: dict[str, Any] = {"max_tokens": 1024}
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
@dataclass(frozen=True)
|
| 54 |
+
class Tool:
|
| 55 |
+
name: str # the function name the model sees
|
| 56 |
+
server: str
|
| 57 |
+
mcp_name: str
|
| 58 |
+
description: str
|
| 59 |
+
schema: dict
|
| 60 |
+
|
| 61 |
+
def spec(self) -> dict:
|
| 62 |
+
return {"type": "function", "function": {"name": self.name, "description": self.description,
|
| 63 |
+
"parameters": self.schema}}
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
class Envs:
|
| 67 |
+
"""One MCP session per registered server, and the tools they list under the names the model calls them by.
|
| 68 |
+
A name two servers share is prefixed with the server's alias."""
|
| 69 |
+
|
| 70 |
+
def __init__(self):
|
| 71 |
+
self.sessions: dict[str, ClientSession] = {}
|
| 72 |
+
self.tools: dict[str, Tool] = {}
|
| 73 |
+
|
| 74 |
+
async def open(self, servers: dict[str, dict], stack: AsyncExitStack) -> None:
|
| 75 |
+
for alias, server in servers.items():
|
| 76 |
+
http = await stack.enter_async_context(httpx.AsyncClient(headers=server.get("headers") or None,
|
| 77 |
+
timeout=REQUEST_TIMEOUT))
|
| 78 |
+
read, write, _ = await stack.enter_async_context(streamable_http_client(server["url"], http_client=http))
|
| 79 |
+
session = await stack.enter_async_context(ClientSession(read, write))
|
| 80 |
+
await session.initialize()
|
| 81 |
+
self.sessions[alias] = session
|
| 82 |
+
listed = [(alias, t) for alias, session in self.sessions.items() for t in (await session.list_tools()).tools]
|
| 83 |
+
shared = {t.name for i, (_, t) in enumerate(listed) if any(o.name == t.name for _, o in listed[:i])}
|
| 84 |
+
for alias, t in listed:
|
| 85 |
+
name = _function_name(f"{alias}__{t.name}" if t.name in shared else t.name, set(self.tools))
|
| 86 |
+
self.tools[name] = Tool(name, alias, t.name, t.description or "",
|
| 87 |
+
t.inputSchema or {"type": "object", "properties": {}})
|
| 88 |
+
|
| 89 |
+
async def call(self, name: str, arguments: dict) -> str:
|
| 90 |
+
tool = self.tools.get(name)
|
| 91 |
+
if tool is None:
|
| 92 |
+
return json.dumps({"error": f"no tool named {name!r}; the tools are {', '.join(sorted(self.tools))}"})
|
| 93 |
+
result = await self.sessions[tool.server].call_tool(tool.mcp_name, arguments)
|
| 94 |
+
text = "\n".join(c.text for c in result.content if c.type == "text")
|
| 95 |
+
return json.dumps({"error": text}) if result.isError else text
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def _function_name(name: str, taken: set[str]) -> str:
|
| 99 |
+
"""``name`` as a function name a provider accepts: [A-Za-z0-9_-], at most 64 characters, unique."""
|
| 100 |
+
base = re.sub(r"[^A-Za-z0-9_-]", "_", name)[:64] or "tool"
|
| 101 |
+
candidate, n = base, 2
|
| 102 |
+
while candidate in taken:
|
| 103 |
+
suffix = f"_{n}"
|
| 104 |
+
candidate, n = base[:64 - len(suffix)] + suffix, n + 1
|
| 105 |
+
return candidate
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
def _arguments(raw: str | None) -> tuple[dict, str | None]:
|
| 109 |
+
try:
|
| 110 |
+
value = json.loads(raw or "{}")
|
| 111 |
+
except json.JSONDecodeError as e:
|
| 112 |
+
return {}, f"arguments are not valid JSON: {e.msg}"
|
| 113 |
+
return (value, None) if isinstance(value, dict) else ({}, "arguments must be a JSON object")
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
def _clip(text: str, limit: int) -> str:
|
| 117 |
+
return text if len(text) <= limit else f"{text[:limit]}\n...[truncated {len(text) - limit} characters]"
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def _v1(base: str) -> str:
|
| 121 |
+
base = base.rstrip("/")
|
| 122 |
+
return base if base.endswith("/v1") else f"{base}/v1"
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
def _call_params(model_params: dict) -> dict:
|
| 126 |
+
direct = {k: v for k, v in model_params.items() if k in DIRECT_PARAMS}
|
| 127 |
+
extra = {k: v for k, v in model_params.items() if k not in DIRECT_PARAMS}
|
| 128 |
+
return {**direct, "extra_body": extra} if extra else direct
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
def _reasoning(message: Any) -> str:
|
| 132 |
+
extra = getattr(message, "model_extra", None) or {}
|
| 133 |
+
value = getattr(message, "reasoning_content", None) or extra.get("reasoning_content") or extra.get("reasoning")
|
| 134 |
+
return value if isinstance(value, str) else ""
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
class Episode:
|
| 138 |
+
"""One task: the chat history sent to the model and the record of it that becomes the trajectory."""
|
| 139 |
+
|
| 140 |
+
def __init__(self, config: ReplayQAConfig, environ: dict[str, str]):
|
| 141 |
+
self.config = config
|
| 142 |
+
self.base, self.key = environ.get("LITELLM_BASE_URL", ""), environ.get("LITELLM_API_KEY", "")
|
| 143 |
+
headers = environ.get("LITELLM_EXTRA_HEADERS")
|
| 144 |
+
self.headers = json.loads(headers) if headers else None
|
| 145 |
+
self.started = time.time()
|
| 146 |
+
self.history: list[dict] = []
|
| 147 |
+
self.record: dict[str, Any] = {"agent": "replay-qa", "model": config.model, "messages": [], "turns": [],
|
| 148 |
+
"tools": [], "usage": {"input_tokens": 0, "output_tokens": 0},
|
| 149 |
+
"end_reason": None, "errors": []}
|
| 150 |
+
self.answer = ""
|
| 151 |
+
self.tool_calls = 0
|
| 152 |
+
self.failure: tuple[str, str] | None = None
|
| 153 |
+
self.error: str | None = None
|
| 154 |
+
|
| 155 |
+
def describe(self, error: BaseException) -> str:
|
| 156 |
+
text = str(error).replace(self.key, "<LITELLM_API_KEY>") if self.key else str(error)
|
| 157 |
+
return f"{type(error).__name__}: {text[:800]}"
|
| 158 |
+
|
| 159 |
+
def fail(self, code: str, message: str | None = None, error: BaseException | None = None) -> None:
|
| 160 |
+
if error is not None:
|
| 161 |
+
self.error = self.describe(error)
|
| 162 |
+
self.record["errors"].append(self.error)
|
| 163 |
+
self.failure = (code, message or self.error or code)
|
| 164 |
+
self.record["end_reason"] = code
|
| 165 |
+
|
| 166 |
+
def say(self, message: dict, **details: Any) -> None:
|
| 167 |
+
"""Add a message to the history the model sees, and to the record with ``details`` it doesn't."""
|
| 168 |
+
self.history.append(message)
|
| 169 |
+
self.record["messages"].append({**message, **details})
|
| 170 |
+
|
| 171 |
+
async def run(self, servers: dict[str, dict], prompt: str) -> None:
|
| 172 |
+
if not self.base or not self.key:
|
| 173 |
+
return self.fail("model_endpoint", "no model endpoint: agent-env passes LITELLM_BASE_URL and "
|
| 174 |
+
"LITELLM_API_KEY from [model] in .agentenv/config.toml")
|
| 175 |
+
envs = Envs()
|
| 176 |
+
try:
|
| 177 |
+
async with AsyncExitStack() as stack:
|
| 178 |
+
await envs.open(servers, stack)
|
| 179 |
+
self.record["tools"] = sorted(envs.tools)
|
| 180 |
+
await self.turns(envs, prompt)
|
| 181 |
+
except* (McpError, httpx.HTTPError) as group:
|
| 182 |
+
error = group
|
| 183 |
+
while isinstance(error, BaseExceptionGroup):
|
| 184 |
+
error = error.exceptions[0]
|
| 185 |
+
self.fail("env_error", error=error)
|
| 186 |
+
|
| 187 |
+
async def turns(self, envs: Envs, prompt: str) -> None:
|
| 188 |
+
config, record = self.config, self.record
|
| 189 |
+
self.say({"role": "system", "content": config.system_prompt or DEFAULT_SYSTEM})
|
| 190 |
+
self.say({"role": "user", "content": prompt})
|
| 191 |
+
specs = [t.spec() for t in envs.tools.values()]
|
| 192 |
+
params = _call_params(config.model_params)
|
| 193 |
+
client = openai.AsyncOpenAI(base_url=_v1(self.base), api_key=self.key, max_retries=4,
|
| 194 |
+
timeout=REQUEST_TIMEOUT, default_headers=self.headers)
|
| 195 |
+
async with client:
|
| 196 |
+
for turn in range(config.max_turns):
|
| 197 |
+
if time.time() - self.started > config.timeout_seconds:
|
| 198 |
+
return self.fail("wall_clock", f"turn {turn + 1} would start after {config.timeout_seconds} s")
|
| 199 |
+
last = turn == config.max_turns - 1
|
| 200 |
+
if last and specs:
|
| 201 |
+
self.say({"role": "user", "content": LAST_TURN})
|
| 202 |
+
request = {"model": config.model, "messages": self.history, **params}
|
| 203 |
+
if specs and not last:
|
| 204 |
+
request["tools"] = specs
|
| 205 |
+
try:
|
| 206 |
+
reply = await client.chat.completions.create(**request)
|
| 207 |
+
except openai.APIError as e:
|
| 208 |
+
return self.fail("provider_error", error=e)
|
| 209 |
+
choice = reply.choices[0]
|
| 210 |
+
message = choice.message
|
| 211 |
+
text, calls = message.content or "", list(message.tool_calls or [])
|
| 212 |
+
usage = reply.usage
|
| 213 |
+
if usage is not None:
|
| 214 |
+
record["usage"]["input_tokens"] += usage.prompt_tokens or 0
|
| 215 |
+
record["usage"]["output_tokens"] += usage.completion_tokens or 0
|
| 216 |
+
record["turns"].append({"turn": turn + 1, "finish_reason": choice.finish_reason,
|
| 217 |
+
"tool_calls": len(calls),
|
| 218 |
+
"usage": usage.model_dump(exclude_none=True) if usage else None})
|
| 219 |
+
assistant: dict[str, Any] = {"role": "assistant", "content": text}
|
| 220 |
+
if calls:
|
| 221 |
+
assistant["tool_calls"] = [{"id": c.id, "type": "function", "function": {
|
| 222 |
+
"name": c.function.name, "arguments": c.function.arguments or "{}"}} for c in calls]
|
| 223 |
+
self.say(assistant, reasoning=_reasoning(message), finish_reason=choice.finish_reason)
|
| 224 |
+
log.info("turn %d: %d tool calls, finish %s", turn + 1, len(calls), choice.finish_reason)
|
| 225 |
+
if not calls:
|
| 226 |
+
if text.strip():
|
| 227 |
+
self.answer = text
|
| 228 |
+
record["end_reason"] = "answered"
|
| 229 |
+
return
|
| 230 |
+
if last:
|
| 231 |
+
break
|
| 232 |
+
self.say({"role": "user", "content": NO_ANSWER})
|
| 233 |
+
continue
|
| 234 |
+
for call in calls:
|
| 235 |
+
arguments, problem = _arguments(call.function.arguments)
|
| 236 |
+
if problem:
|
| 237 |
+
out = json.dumps({"error": problem})
|
| 238 |
+
else:
|
| 239 |
+
out = await envs.call(call.function.name, arguments)
|
| 240 |
+
self.tool_calls += 1
|
| 241 |
+
self.say({"role": "tool", "tool_call_id": call.id, "name": call.function.name,
|
| 242 |
+
"content": _clip(out, TOOL_RESULT_CHARS)})
|
| 243 |
+
record["end_reason"] = "no_answer"
|
| 244 |
+
|
| 245 |
+
def result(self) -> TaskResult:
|
| 246 |
+
record = self.record
|
| 247 |
+
record["seconds"] = round(time.time() - self.started, 1)
|
| 248 |
+
usage = record["usage"]
|
| 249 |
+
summary = {"agent": "replay-qa", "model": self.config.model, "end_reason": record["end_reason"],
|
| 250 |
+
"turns": len(record["turns"]), "tool_calls": self.tool_calls,
|
| 251 |
+
"input_tokens": usage["input_tokens"], "output_tokens": usage["output_tokens"],
|
| 252 |
+
"seconds": record["seconds"], "error": self.error}
|
| 253 |
+
builder = TaskResult.builder()
|
| 254 |
+
builder = builder.failed(*self.failure, error_type="infra_error") if self.failure else builder.succeeded()
|
| 255 |
+
return (builder.add_text(self.answer or (self.failure[1] if self.failure else ""))
|
| 256 |
+
.add_structured_output(summary)
|
| 257 |
+
.usage(Usage(tool_call_count=self.tool_calls, input_tokens=usage["input_tokens"],
|
| 258 |
+
output_tokens=usage["output_tokens"],
|
| 259 |
+
total_tokens=usage["input_tokens"] + usage["output_tokens"]))
|
| 260 |
+
.native_trajectory(format=TRAJECTORY_FORMAT, payload=record).build())
|
| 261 |
+
|
| 262 |
+
|
| 263 |
+
@a2a_agent(
|
| 264 |
+
identity=AgentIdentity(
|
| 265 |
+
name="replay-qa",
|
| 266 |
+
description="A generic tool-calling loop: the env's MCP tools as function tools over OpenAI-compatible "
|
| 267 |
+
"chat completions on agent-env's model endpoint, answering in text.",
|
| 268 |
+
version="0.1.0",
|
| 269 |
+
),
|
| 270 |
+
config=ReplayQAConfig,
|
| 271 |
+
extensions=(MCP_CONFIG_V1, TRAJECTORY_V1),
|
| 272 |
+
)
|
| 273 |
+
class ReplayQA(AgentEnvAgent):
|
| 274 |
+
async def run(self, request: TaskRequest[ReplayQAConfig]) -> TaskResult:
|
| 275 |
+
prompt = "\n\n".join(part.text for part in request.parts if part.kind == "text")
|
| 276 |
+
episode = Episode(request.config, dict(os.environ))
|
| 277 |
+
await episode.run(dict(request.mcp_servers), prompt)
|
| 278 |
+
return episode.result()
|
| 279 |
+
|
| 280 |
+
|
| 281 |
+
if __name__ == "__main__":
|
| 282 |
+
logging.basicConfig(format="%(asctime)s %(levelname)s %(name)s: %(message)s")
|
| 283 |
+
log.setLevel(logging.INFO)
|
| 284 |
+
ReplayQA().serve()
|
bundles/bookstack/agents/replay-qa/agent.toml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# replay-qa: the image is built from this folder's Dockerfile.
|
| 2 |
+
image = { dockerfile = "Dockerfile" }
|
| 3 |
+
|
| 4 |
+
[metadata]
|
| 5 |
+
default_model = "openai/gpt-oss-120b:groq"
|
bundles/bookstack/artifacts/check_bookstack/verify.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Checks the replay environment through its MCP endpoint: the tool count and one replayed status."""
|
| 2 |
+
import json
|
| 3 |
+
|
| 4 |
+
from mcp import ClientSession
|
| 5 |
+
from mcp.client.streamable_http import streamable_http_client
|
| 6 |
+
|
| 7 |
+
TOOL_COUNT = 31
|
| 8 |
+
TOOL = "get_attachments"
|
| 9 |
+
RECORDED_STATUS = 200
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def replayed_status(result):
|
| 13 |
+
"""The status member of a replayed tool result, structured or from its text content."""
|
| 14 |
+
data = result.structuredContent
|
| 15 |
+
if data is None:
|
| 16 |
+
text = "".join(getattr(part, "text", "") for part in result.content)
|
| 17 |
+
data = json.loads(text) if text else {}
|
| 18 |
+
return data.get("status") if isinstance(data, dict) else None
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
async def verify(mcp_url):
|
| 22 |
+
async with streamable_http_client(mcp_url) as (read, write, _):
|
| 23 |
+
async with ClientSession(read, write) as session:
|
| 24 |
+
await session.initialize()
|
| 25 |
+
listed = await session.list_tools()
|
| 26 |
+
result = await session.call_tool(TOOL, {}) if TOOL is not None else None
|
| 27 |
+
count = len(listed.tools)
|
| 28 |
+
passed = count == TOOL_COUNT
|
| 29 |
+
description = f"listed {count} tools, expected {TOOL_COUNT}"
|
| 30 |
+
if result is not None:
|
| 31 |
+
status = None if result.isError else replayed_status(result)
|
| 32 |
+
passed = passed and status == RECORDED_STATUS
|
| 33 |
+
description += f"; {TOOL} replayed status {status!r}, recorded {RECORDED_STATUS!r}"
|
| 34 |
+
else:
|
| 35 |
+
description += "; no GET tool without path parameters to replay"
|
| 36 |
+
print(f"replay: {description}")
|
| 37 |
+
return [{"id": "replay", "result": passed, "description": description}]
|
bundles/bookstack/envs/bookstack/Dockerfile
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:24.18.0-bookworm-slim
|
| 2 |
+
ENV MCP_HOST=0.0.0.0
|
| 3 |
+
ENV MCP_PORT=18765
|
| 4 |
+
RUN apt-get update && apt-get install -y --no-install-recommends python3 && rm -rf /var/lib/apt/lists/*
|
| 5 |
+
COPY rea-agents.tgz /tmp/
|
| 6 |
+
RUN npm install -g --ignore-scripts --no-fund --no-audit /tmp/rea-agents.tgz && rm /tmp/rea-agents.tgz
|
| 7 |
+
COPY manifest.json evidence.json /env/
|
| 8 |
+
USER node
|
| 9 |
+
CMD ["rea","environment-serve","/env/manifest.json","--evidence","/env/evidence.json"]
|
bundles/bookstack/envs/bookstack/env.toml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
environment_name = "bookstack"
|
bundles/bookstack/envs/bookstack/evidence.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
bundles/bookstack/envs/bookstack/manifest.json
ADDED
|
@@ -0,0 +1,1368 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"evidence_id": "ev_47deffa8044f6f1c6835193c59746931187576db6b1c0cc367b7c4380714c322",
|
| 3 |
+
"subject": {
|
| 4 |
+
"name": "bookstack.scoped.har",
|
| 5 |
+
"digest": {
|
| 6 |
+
"sha256": "1f807d4d2d2ef490cdc5cac50ffcbf573abfc967351038256b92e18f4ebe5366"
|
| 7 |
+
},
|
| 8 |
+
"local_path": "/home/ubuntu/capture/bookstack/bookstack.scoped.har",
|
| 9 |
+
"format": "file",
|
| 10 |
+
"architecture": null
|
| 11 |
+
},
|
| 12 |
+
"provider": {
|
| 13 |
+
"id": "rea-analysis-view",
|
| 14 |
+
"name": "REA analysis view projection",
|
| 15 |
+
"version": "1"
|
| 16 |
+
},
|
| 17 |
+
"analysis_profile": null,
|
| 18 |
+
"predicate_type": "rea.analysis-view",
|
| 19 |
+
"operation": "inspect_analysis_view",
|
| 20 |
+
"parameters": {
|
| 21 |
+
"parent_evidence_id": "ev_07a98c12a171833f8ca00f5f4769a165b358a5e2cca784718af469fc35ee5b77",
|
| 22 |
+
"view": {
|
| 23 |
+
"kind": "environment-manifest",
|
| 24 |
+
"template_rules": [
|
| 25 |
+
"after-uid-literal",
|
| 26 |
+
"opaque-token",
|
| 27 |
+
"sibling-variance"
|
| 28 |
+
],
|
| 29 |
+
"include_query_parameter_names": true
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"raw_result": null,
|
| 33 |
+
"normalized_result": {
|
| 34 |
+
"parent_evidence_id": "ev_07a98c12a171833f8ca00f5f4769a165b358a5e2cca784718af469fc35ee5b77",
|
| 35 |
+
"parent_operation": "inspect_web_network_capture",
|
| 36 |
+
"parent_digest": "07a98c12a171833f8ca00f5f4769a165b358a5e2cca784718af469fc35ee5b77",
|
| 37 |
+
"view_digest": "9e25a0530da2302938a01675ca07fd7d373d8b750f864a0447aae0d20f6d6930",
|
| 38 |
+
"artifact": {
|
| 39 |
+
"path": "/home/ubuntu/capture/bookstack/bookstack.scoped.har",
|
| 40 |
+
"sha256": "1f807d4d2d2ef490cdc5cac50ffcbf573abfc967351038256b92e18f4ebe5366"
|
| 41 |
+
},
|
| 42 |
+
"coverage": {
|
| 43 |
+
"status": "complete-within-view",
|
| 44 |
+
"examined": 31,
|
| 45 |
+
"total": 31,
|
| 46 |
+
"next_offset": null,
|
| 47 |
+
"exhausted": true
|
| 48 |
+
},
|
| 49 |
+
"limitations": [
|
| 50 |
+
"A 32 MiB input, 96 MiB reply and 64-level nesting budget bound complete evidence. HAR/SAZ/qlog use a 192 MiB Node old-generation heap; mitmproxy decoding uses a 768 MiB Linux address-space limit. Each owned command has a 30-second deadline with independent cleanup.",
|
| 51 |
+
"Body shapes list top-level JSON key types from one recorded request each; they do not establish required fields or a complete schema.",
|
| 52 |
+
"Every record is decoded before selection; no partial success is returned on malformed input or a resource limit.",
|
| 53 |
+
"HAR text is producer-decoded Unicode. Original body bytes remain unknown unless content explicitly uses valid base64; declared sizes are preserved independently of retained bytes. mitmproxy 12.2.3 SaveHar may report null optional postData.text; that null is retained and omitted only from the upstream validation copy.",
|
| 54 |
+
"Known authentication headers/cookies and explicitly marked literal values are excluded. Unknown extension names do not establish sensitivity.",
|
| 55 |
+
"Observed query parameter names do not establish required parameters, value types or a complete API schema.",
|
| 56 |
+
"Opt-in template rules after-uid-literal, opaque-token, sibling-variance merge recorded literals by shape; merged parameters may conflate distinct resources.",
|
| 57 |
+
"This is retained producer evidence, without live browser transaction IDs, scenario provenance, execution attribution or deployment authenticity. Recorded URLs are never fetched.",
|
| 58 |
+
"Tool templates, parameters and names are inferences from recorded request lines; they do not establish handler identity, URL-space schemas or causality."
|
| 59 |
+
],
|
| 60 |
+
"unknowns": [
|
| 61 |
+
{
|
| 62 |
+
"kind": "authorization-model",
|
| 63 |
+
"statement": "Authorization headers and cookies are structurally excluded from captures; the manifest states no authorization model."
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"kind": "response-semantics",
|
| 67 |
+
"statement": "Recorded statuses and bodies are retained only as pointers to parent records; the manifest states no response semantics."
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"kind": "state-transition",
|
| 71 |
+
"statement": "Recorded exchanges are independent observations; the manifest states no ordering, side effects or state transitions between tools."
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"origin": "http://127.0.0.1:3219",
|
| 75 |
+
"name": "127-0-0-1-3219",
|
| 76 |
+
"tools": [
|
| 77 |
+
{
|
| 78 |
+
"name": "get_attachments",
|
| 79 |
+
"method": "GET",
|
| 80 |
+
"path_template": "/api/attachments",
|
| 81 |
+
"api_surface_template": "/api/attachments",
|
| 82 |
+
"params": [],
|
| 83 |
+
"query_parameter_names": [],
|
| 84 |
+
"body_shape": null,
|
| 85 |
+
"statuses": [
|
| 86 |
+
200
|
| 87 |
+
],
|
| 88 |
+
"content_types": [
|
| 89 |
+
"application/json"
|
| 90 |
+
],
|
| 91 |
+
"record_ordinals": [
|
| 92 |
+
29
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"name": "get_attachments_by_id",
|
| 97 |
+
"method": "GET",
|
| 98 |
+
"path_template": "/api/attachments/{numeric}",
|
| 99 |
+
"api_surface_template": "/api/attachments/{numeric}",
|
| 100 |
+
"params": [
|
| 101 |
+
{
|
| 102 |
+
"index": 2,
|
| 103 |
+
"name": "id",
|
| 104 |
+
"rule": "numeric",
|
| 105 |
+
"basis": "inferred",
|
| 106 |
+
"observed_values": [
|
| 107 |
+
"1",
|
| 108 |
+
"2"
|
| 109 |
+
]
|
| 110 |
+
}
|
| 111 |
+
],
|
| 112 |
+
"query_parameter_names": [],
|
| 113 |
+
"body_shape": null,
|
| 114 |
+
"statuses": [
|
| 115 |
+
200
|
| 116 |
+
],
|
| 117 |
+
"content_types": [
|
| 118 |
+
"application/json"
|
| 119 |
+
],
|
| 120 |
+
"record_ordinals": [
|
| 121 |
+
30,
|
| 122 |
+
31
|
| 123 |
+
]
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"name": "get_audit_log",
|
| 127 |
+
"method": "GET",
|
| 128 |
+
"path_template": "/api/audit-log",
|
| 129 |
+
"api_surface_template": "/api/audit-log",
|
| 130 |
+
"params": [],
|
| 131 |
+
"query_parameter_names": [
|
| 132 |
+
"count",
|
| 133 |
+
"sort"
|
| 134 |
+
],
|
| 135 |
+
"body_shape": null,
|
| 136 |
+
"statuses": [
|
| 137 |
+
200
|
| 138 |
+
],
|
| 139 |
+
"content_types": [
|
| 140 |
+
"application/json"
|
| 141 |
+
],
|
| 142 |
+
"record_ordinals": [
|
| 143 |
+
53
|
| 144 |
+
]
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"name": "get_books",
|
| 148 |
+
"method": "GET",
|
| 149 |
+
"path_template": "/api/books",
|
| 150 |
+
"api_surface_template": "/api/books",
|
| 151 |
+
"params": [],
|
| 152 |
+
"query_parameter_names": [
|
| 153 |
+
"filter[name:like]"
|
| 154 |
+
],
|
| 155 |
+
"body_shape": null,
|
| 156 |
+
"statuses": [
|
| 157 |
+
200
|
| 158 |
+
],
|
| 159 |
+
"content_types": [
|
| 160 |
+
"application/json"
|
| 161 |
+
],
|
| 162 |
+
"record_ordinals": [
|
| 163 |
+
5,
|
| 164 |
+
11,
|
| 165 |
+
64
|
| 166 |
+
]
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "post_books",
|
| 170 |
+
"method": "POST",
|
| 171 |
+
"path_template": "/api/books",
|
| 172 |
+
"api_surface_template": "/api/books",
|
| 173 |
+
"params": [],
|
| 174 |
+
"query_parameter_names": [],
|
| 175 |
+
"body_shape": {
|
| 176 |
+
"type": "object",
|
| 177 |
+
"properties": {
|
| 178 |
+
"name": "string",
|
| 179 |
+
"description": "string",
|
| 180 |
+
"tags": "array"
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
"statuses": [
|
| 184 |
+
200
|
| 185 |
+
],
|
| 186 |
+
"content_types": [
|
| 187 |
+
"application/json"
|
| 188 |
+
],
|
| 189 |
+
"record_ordinals": [
|
| 190 |
+
56
|
| 191 |
+
]
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"name": "delete_books_by_id",
|
| 195 |
+
"method": "DELETE",
|
| 196 |
+
"path_template": "/api/books/{numeric}",
|
| 197 |
+
"api_surface_template": "/api/books/{numeric}",
|
| 198 |
+
"params": [
|
| 199 |
+
{
|
| 200 |
+
"index": 2,
|
| 201 |
+
"name": "id",
|
| 202 |
+
"rule": "numeric",
|
| 203 |
+
"basis": "inferred",
|
| 204 |
+
"observed_values": [
|
| 205 |
+
"24"
|
| 206 |
+
]
|
| 207 |
+
}
|
| 208 |
+
],
|
| 209 |
+
"query_parameter_names": [],
|
| 210 |
+
"body_shape": null,
|
| 211 |
+
"statuses": [
|
| 212 |
+
204
|
| 213 |
+
],
|
| 214 |
+
"content_types": [],
|
| 215 |
+
"record_ordinals": [
|
| 216 |
+
61
|
| 217 |
+
]
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"name": "get_books_by_id",
|
| 221 |
+
"method": "GET",
|
| 222 |
+
"path_template": "/api/books/{numeric}",
|
| 223 |
+
"api_surface_template": "/api/books/{numeric}",
|
| 224 |
+
"params": [
|
| 225 |
+
{
|
| 226 |
+
"index": 2,
|
| 227 |
+
"name": "id",
|
| 228 |
+
"rule": "numeric",
|
| 229 |
+
"basis": "inferred",
|
| 230 |
+
"observed_values": [
|
| 231 |
+
"1",
|
| 232 |
+
"2",
|
| 233 |
+
"24",
|
| 234 |
+
"3",
|
| 235 |
+
"4",
|
| 236 |
+
"5"
|
| 237 |
+
]
|
| 238 |
+
}
|
| 239 |
+
],
|
| 240 |
+
"query_parameter_names": [],
|
| 241 |
+
"body_shape": null,
|
| 242 |
+
"statuses": [
|
| 243 |
+
200,
|
| 244 |
+
404
|
| 245 |
+
],
|
| 246 |
+
"content_types": [
|
| 247 |
+
"application/json"
|
| 248 |
+
],
|
| 249 |
+
"record_ordinals": [
|
| 250 |
+
6,
|
| 251 |
+
7,
|
| 252 |
+
8,
|
| 253 |
+
9,
|
| 254 |
+
10,
|
| 255 |
+
59,
|
| 256 |
+
62
|
| 257 |
+
]
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"name": "put_books_by_id",
|
| 261 |
+
"method": "PUT",
|
| 262 |
+
"path_template": "/api/books/{numeric}",
|
| 263 |
+
"api_surface_template": "/api/books/{numeric}",
|
| 264 |
+
"params": [
|
| 265 |
+
{
|
| 266 |
+
"index": 2,
|
| 267 |
+
"name": "id",
|
| 268 |
+
"rule": "numeric",
|
| 269 |
+
"basis": "inferred",
|
| 270 |
+
"observed_values": [
|
| 271 |
+
"24"
|
| 272 |
+
]
|
| 273 |
+
}
|
| 274 |
+
],
|
| 275 |
+
"query_parameter_names": [],
|
| 276 |
+
"body_shape": {
|
| 277 |
+
"type": "object",
|
| 278 |
+
"properties": {
|
| 279 |
+
"name": "string",
|
| 280 |
+
"description": "string"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"statuses": [
|
| 284 |
+
200
|
| 285 |
+
],
|
| 286 |
+
"content_types": [
|
| 287 |
+
"application/json"
|
| 288 |
+
],
|
| 289 |
+
"record_ordinals": [
|
| 290 |
+
57
|
| 291 |
+
]
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"name": "get_chapters",
|
| 295 |
+
"method": "GET",
|
| 296 |
+
"path_template": "/api/chapters",
|
| 297 |
+
"api_surface_template": "/api/chapters",
|
| 298 |
+
"params": [],
|
| 299 |
+
"query_parameter_names": [
|
| 300 |
+
"filter[book_id]"
|
| 301 |
+
],
|
| 302 |
+
"body_shape": null,
|
| 303 |
+
"statuses": [
|
| 304 |
+
200
|
| 305 |
+
],
|
| 306 |
+
"content_types": [
|
| 307 |
+
"application/json"
|
| 308 |
+
],
|
| 309 |
+
"record_ordinals": [
|
| 310 |
+
12,
|
| 311 |
+
18
|
| 312 |
+
]
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"name": "get_chapters_by_id",
|
| 316 |
+
"method": "GET",
|
| 317 |
+
"path_template": "/api/chapters/{numeric}",
|
| 318 |
+
"api_surface_template": "/api/chapters/{numeric}",
|
| 319 |
+
"params": [
|
| 320 |
+
{
|
| 321 |
+
"index": 2,
|
| 322 |
+
"name": "id",
|
| 323 |
+
"rule": "numeric",
|
| 324 |
+
"basis": "inferred",
|
| 325 |
+
"observed_values": [
|
| 326 |
+
"10",
|
| 327 |
+
"11",
|
| 328 |
+
"12",
|
| 329 |
+
"13",
|
| 330 |
+
"9"
|
| 331 |
+
]
|
| 332 |
+
}
|
| 333 |
+
],
|
| 334 |
+
"query_parameter_names": [],
|
| 335 |
+
"body_shape": null,
|
| 336 |
+
"statuses": [
|
| 337 |
+
200
|
| 338 |
+
],
|
| 339 |
+
"content_types": [
|
| 340 |
+
"application/json"
|
| 341 |
+
],
|
| 342 |
+
"record_ordinals": [
|
| 343 |
+
13,
|
| 344 |
+
14,
|
| 345 |
+
15,
|
| 346 |
+
16,
|
| 347 |
+
17
|
| 348 |
+
]
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"name": "get_comments",
|
| 352 |
+
"method": "GET",
|
| 353 |
+
"path_template": "/api/comments",
|
| 354 |
+
"api_surface_template": "/api/comments",
|
| 355 |
+
"params": [],
|
| 356 |
+
"query_parameter_names": [],
|
| 357 |
+
"body_shape": null,
|
| 358 |
+
"statuses": [
|
| 359 |
+
200
|
| 360 |
+
],
|
| 361 |
+
"content_types": [
|
| 362 |
+
"application/json"
|
| 363 |
+
],
|
| 364 |
+
"record_ordinals": [
|
| 365 |
+
32
|
| 366 |
+
]
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"name": "get_comments_by_id",
|
| 370 |
+
"method": "GET",
|
| 371 |
+
"path_template": "/api/comments/{numeric}",
|
| 372 |
+
"api_surface_template": "/api/comments/{numeric}",
|
| 373 |
+
"params": [
|
| 374 |
+
{
|
| 375 |
+
"index": 2,
|
| 376 |
+
"name": "id",
|
| 377 |
+
"rule": "numeric",
|
| 378 |
+
"basis": "inferred",
|
| 379 |
+
"observed_values": [
|
| 380 |
+
"1",
|
| 381 |
+
"2"
|
| 382 |
+
]
|
| 383 |
+
}
|
| 384 |
+
],
|
| 385 |
+
"query_parameter_names": [],
|
| 386 |
+
"body_shape": null,
|
| 387 |
+
"statuses": [
|
| 388 |
+
200
|
| 389 |
+
],
|
| 390 |
+
"content_types": [
|
| 391 |
+
"application/json"
|
| 392 |
+
],
|
| 393 |
+
"record_ordinals": [
|
| 394 |
+
33,
|
| 395 |
+
34
|
| 396 |
+
]
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"name": "get_content_permissions_book_by_id",
|
| 400 |
+
"method": "GET",
|
| 401 |
+
"path_template": "/api/content-permissions/book/{numeric}",
|
| 402 |
+
"api_surface_template": "/api/content-permissions/book/{numeric}",
|
| 403 |
+
"params": [
|
| 404 |
+
{
|
| 405 |
+
"index": 3,
|
| 406 |
+
"name": "id",
|
| 407 |
+
"rule": "numeric",
|
| 408 |
+
"basis": "inferred",
|
| 409 |
+
"observed_values": [
|
| 410 |
+
"3"
|
| 411 |
+
]
|
| 412 |
+
}
|
| 413 |
+
],
|
| 414 |
+
"query_parameter_names": [],
|
| 415 |
+
"body_shape": null,
|
| 416 |
+
"statuses": [
|
| 417 |
+
200
|
| 418 |
+
],
|
| 419 |
+
"content_types": [
|
| 420 |
+
"application/json"
|
| 421 |
+
],
|
| 422 |
+
"record_ordinals": [
|
| 423 |
+
51
|
| 424 |
+
]
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "get_content_permissions_page_by_id",
|
| 428 |
+
"method": "GET",
|
| 429 |
+
"path_template": "/api/content-permissions/page/{numeric}",
|
| 430 |
+
"api_surface_template": "/api/content-permissions/page/{numeric}",
|
| 431 |
+
"params": [
|
| 432 |
+
{
|
| 433 |
+
"index": 3,
|
| 434 |
+
"name": "id",
|
| 435 |
+
"rule": "numeric",
|
| 436 |
+
"basis": "inferred",
|
| 437 |
+
"observed_values": [
|
| 438 |
+
"21"
|
| 439 |
+
]
|
| 440 |
+
}
|
| 441 |
+
],
|
| 442 |
+
"query_parameter_names": [],
|
| 443 |
+
"body_shape": null,
|
| 444 |
+
"statuses": [
|
| 445 |
+
200
|
| 446 |
+
],
|
| 447 |
+
"content_types": [
|
| 448 |
+
"application/json"
|
| 449 |
+
],
|
| 450 |
+
"record_ordinals": [
|
| 451 |
+
52
|
| 452 |
+
]
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"name": "get_image_gallery",
|
| 456 |
+
"method": "GET",
|
| 457 |
+
"path_template": "/api/image-gallery",
|
| 458 |
+
"api_surface_template": "/api/image-gallery",
|
| 459 |
+
"params": [],
|
| 460 |
+
"query_parameter_names": [],
|
| 461 |
+
"body_shape": null,
|
| 462 |
+
"statuses": [
|
| 463 |
+
200
|
| 464 |
+
],
|
| 465 |
+
"content_types": [
|
| 466 |
+
"application/json"
|
| 467 |
+
],
|
| 468 |
+
"record_ordinals": [
|
| 469 |
+
54
|
| 470 |
+
]
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"name": "get_pages",
|
| 474 |
+
"method": "GET",
|
| 475 |
+
"path_template": "/api/pages",
|
| 476 |
+
"api_surface_template": "/api/pages",
|
| 477 |
+
"params": [],
|
| 478 |
+
"query_parameter_names": [
|
| 479 |
+
"count",
|
| 480 |
+
"sort"
|
| 481 |
+
],
|
| 482 |
+
"body_shape": null,
|
| 483 |
+
"statuses": [
|
| 484 |
+
200
|
| 485 |
+
],
|
| 486 |
+
"content_types": [
|
| 487 |
+
"application/json"
|
| 488 |
+
],
|
| 489 |
+
"record_ordinals": [
|
| 490 |
+
19,
|
| 491 |
+
28
|
| 492 |
+
]
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"name": "post_pages",
|
| 496 |
+
"method": "POST",
|
| 497 |
+
"path_template": "/api/pages",
|
| 498 |
+
"api_surface_template": "/api/pages",
|
| 499 |
+
"params": [],
|
| 500 |
+
"query_parameter_names": [],
|
| 501 |
+
"body_shape": {
|
| 502 |
+
"type": "object",
|
| 503 |
+
"properties": {
|
| 504 |
+
"book_id": "number",
|
| 505 |
+
"name": "string",
|
| 506 |
+
"markdown": "string"
|
| 507 |
+
}
|
| 508 |
+
},
|
| 509 |
+
"statuses": [
|
| 510 |
+
200
|
| 511 |
+
],
|
| 512 |
+
"content_types": [
|
| 513 |
+
"application/json"
|
| 514 |
+
],
|
| 515 |
+
"record_ordinals": [
|
| 516 |
+
58
|
| 517 |
+
]
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"name": "get_pages_by_id",
|
| 521 |
+
"method": "GET",
|
| 522 |
+
"path_template": "/api/pages/{numeric}",
|
| 523 |
+
"api_surface_template": "/api/pages/{numeric}",
|
| 524 |
+
"params": [
|
| 525 |
+
{
|
| 526 |
+
"index": 2,
|
| 527 |
+
"name": "id",
|
| 528 |
+
"rule": "numeric",
|
| 529 |
+
"basis": "inferred",
|
| 530 |
+
"observed_values": [
|
| 531 |
+
"14",
|
| 532 |
+
"15",
|
| 533 |
+
"16",
|
| 534 |
+
"17",
|
| 535 |
+
"18",
|
| 536 |
+
"19",
|
| 537 |
+
"20",
|
| 538 |
+
"21",
|
| 539 |
+
"25"
|
| 540 |
+
]
|
| 541 |
+
}
|
| 542 |
+
],
|
| 543 |
+
"query_parameter_names": [],
|
| 544 |
+
"body_shape": null,
|
| 545 |
+
"statuses": [
|
| 546 |
+
200
|
| 547 |
+
],
|
| 548 |
+
"content_types": [
|
| 549 |
+
"application/json"
|
| 550 |
+
],
|
| 551 |
+
"record_ordinals": [
|
| 552 |
+
20,
|
| 553 |
+
21,
|
| 554 |
+
22,
|
| 555 |
+
23,
|
| 556 |
+
24,
|
| 557 |
+
25,
|
| 558 |
+
26,
|
| 559 |
+
27,
|
| 560 |
+
60
|
| 561 |
+
]
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"name": "get_recycle_bin",
|
| 565 |
+
"method": "GET",
|
| 566 |
+
"path_template": "/api/recycle-bin",
|
| 567 |
+
"api_surface_template": "/api/recycle-bin",
|
| 568 |
+
"params": [],
|
| 569 |
+
"query_parameter_names": [],
|
| 570 |
+
"body_shape": null,
|
| 571 |
+
"statuses": [
|
| 572 |
+
200
|
| 573 |
+
],
|
| 574 |
+
"content_types": [
|
| 575 |
+
"application/json"
|
| 576 |
+
],
|
| 577 |
+
"record_ordinals": [
|
| 578 |
+
55,
|
| 579 |
+
63
|
| 580 |
+
]
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"name": "get_roles",
|
| 584 |
+
"method": "GET",
|
| 585 |
+
"path_template": "/api/roles",
|
| 586 |
+
"api_surface_template": "/api/roles",
|
| 587 |
+
"params": [],
|
| 588 |
+
"query_parameter_names": [],
|
| 589 |
+
"body_shape": null,
|
| 590 |
+
"statuses": [
|
| 591 |
+
200
|
| 592 |
+
],
|
| 593 |
+
"content_types": [
|
| 594 |
+
"application/json"
|
| 595 |
+
],
|
| 596 |
+
"record_ordinals": [
|
| 597 |
+
40
|
| 598 |
+
]
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"name": "get_roles_by_id",
|
| 602 |
+
"method": "GET",
|
| 603 |
+
"path_template": "/api/roles/{numeric}",
|
| 604 |
+
"api_surface_template": "/api/roles/{numeric}",
|
| 605 |
+
"params": [
|
| 606 |
+
{
|
| 607 |
+
"index": 2,
|
| 608 |
+
"name": "id",
|
| 609 |
+
"rule": "numeric",
|
| 610 |
+
"basis": "inferred",
|
| 611 |
+
"observed_values": [
|
| 612 |
+
"2",
|
| 613 |
+
"5",
|
| 614 |
+
"6"
|
| 615 |
+
]
|
| 616 |
+
}
|
| 617 |
+
],
|
| 618 |
+
"query_parameter_names": [],
|
| 619 |
+
"body_shape": null,
|
| 620 |
+
"statuses": [
|
| 621 |
+
200
|
| 622 |
+
],
|
| 623 |
+
"content_types": [
|
| 624 |
+
"application/json"
|
| 625 |
+
],
|
| 626 |
+
"record_ordinals": [
|
| 627 |
+
41,
|
| 628 |
+
42,
|
| 629 |
+
43
|
| 630 |
+
]
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"name": "get_search",
|
| 634 |
+
"method": "GET",
|
| 635 |
+
"path_template": "/api/search",
|
| 636 |
+
"api_surface_template": "/api/search",
|
| 637 |
+
"params": [],
|
| 638 |
+
"query_parameter_names": [
|
| 639 |
+
"count",
|
| 640 |
+
"query"
|
| 641 |
+
],
|
| 642 |
+
"body_shape": null,
|
| 643 |
+
"statuses": [
|
| 644 |
+
200
|
| 645 |
+
],
|
| 646 |
+
"content_types": [
|
| 647 |
+
"application/json"
|
| 648 |
+
],
|
| 649 |
+
"record_ordinals": [
|
| 650 |
+
47,
|
| 651 |
+
48
|
| 652 |
+
]
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"name": "get_search_book_by_id",
|
| 656 |
+
"method": "GET",
|
| 657 |
+
"path_template": "/api/search/book/{numeric}",
|
| 658 |
+
"api_surface_template": "/api/search/book/{numeric}",
|
| 659 |
+
"params": [
|
| 660 |
+
{
|
| 661 |
+
"index": 3,
|
| 662 |
+
"name": "id",
|
| 663 |
+
"rule": "numeric",
|
| 664 |
+
"basis": "inferred",
|
| 665 |
+
"observed_values": [
|
| 666 |
+
"1"
|
| 667 |
+
]
|
| 668 |
+
}
|
| 669 |
+
],
|
| 670 |
+
"query_parameter_names": [
|
| 671 |
+
"query"
|
| 672 |
+
],
|
| 673 |
+
"body_shape": null,
|
| 674 |
+
"statuses": [
|
| 675 |
+
200
|
| 676 |
+
],
|
| 677 |
+
"content_types": [
|
| 678 |
+
"application/json"
|
| 679 |
+
],
|
| 680 |
+
"record_ordinals": [
|
| 681 |
+
49
|
| 682 |
+
]
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"name": "get_search_chapter_by_id",
|
| 686 |
+
"method": "GET",
|
| 687 |
+
"path_template": "/api/search/chapter/{numeric}",
|
| 688 |
+
"api_surface_template": "/api/search/chapter/{numeric}",
|
| 689 |
+
"params": [
|
| 690 |
+
{
|
| 691 |
+
"index": 3,
|
| 692 |
+
"name": "id",
|
| 693 |
+
"rule": "numeric",
|
| 694 |
+
"basis": "inferred",
|
| 695 |
+
"observed_values": [
|
| 696 |
+
"12"
|
| 697 |
+
]
|
| 698 |
+
}
|
| 699 |
+
],
|
| 700 |
+
"query_parameter_names": [
|
| 701 |
+
"query"
|
| 702 |
+
],
|
| 703 |
+
"body_shape": null,
|
| 704 |
+
"statuses": [
|
| 705 |
+
200
|
| 706 |
+
],
|
| 707 |
+
"content_types": [
|
| 708 |
+
"application/json"
|
| 709 |
+
],
|
| 710 |
+
"record_ordinals": [
|
| 711 |
+
50
|
| 712 |
+
]
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"name": "get_shelves",
|
| 716 |
+
"method": "GET",
|
| 717 |
+
"path_template": "/api/shelves",
|
| 718 |
+
"api_surface_template": "/api/shelves",
|
| 719 |
+
"params": [],
|
| 720 |
+
"query_parameter_names": [],
|
| 721 |
+
"body_shape": null,
|
| 722 |
+
"statuses": [
|
| 723 |
+
200
|
| 724 |
+
],
|
| 725 |
+
"content_types": [
|
| 726 |
+
"application/json"
|
| 727 |
+
],
|
| 728 |
+
"record_ordinals": [
|
| 729 |
+
1
|
| 730 |
+
]
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"name": "get_shelves_by_id",
|
| 734 |
+
"method": "GET",
|
| 735 |
+
"path_template": "/api/shelves/{numeric}",
|
| 736 |
+
"api_surface_template": "/api/shelves/{numeric}",
|
| 737 |
+
"params": [
|
| 738 |
+
{
|
| 739 |
+
"index": 2,
|
| 740 |
+
"name": "id",
|
| 741 |
+
"rule": "numeric",
|
| 742 |
+
"basis": "inferred",
|
| 743 |
+
"observed_values": [
|
| 744 |
+
"6",
|
| 745 |
+
"7",
|
| 746 |
+
"8"
|
| 747 |
+
]
|
| 748 |
+
}
|
| 749 |
+
],
|
| 750 |
+
"query_parameter_names": [],
|
| 751 |
+
"body_shape": null,
|
| 752 |
+
"statuses": [
|
| 753 |
+
200
|
| 754 |
+
],
|
| 755 |
+
"content_types": [
|
| 756 |
+
"application/json"
|
| 757 |
+
],
|
| 758 |
+
"record_ordinals": [
|
| 759 |
+
2,
|
| 760 |
+
3,
|
| 761 |
+
4
|
| 762 |
+
]
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"name": "get_system",
|
| 766 |
+
"method": "GET",
|
| 767 |
+
"path_template": "/api/system",
|
| 768 |
+
"api_surface_template": "/api/system",
|
| 769 |
+
"params": [],
|
| 770 |
+
"query_parameter_names": [],
|
| 771 |
+
"body_shape": null,
|
| 772 |
+
"statuses": [
|
| 773 |
+
200
|
| 774 |
+
],
|
| 775 |
+
"content_types": [
|
| 776 |
+
"application/json"
|
| 777 |
+
],
|
| 778 |
+
"record_ordinals": [
|
| 779 |
+
0
|
| 780 |
+
]
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"name": "get_tags_names",
|
| 784 |
+
"method": "GET",
|
| 785 |
+
"path_template": "/api/tags/names",
|
| 786 |
+
"api_surface_template": "/api/tags/names",
|
| 787 |
+
"params": [],
|
| 788 |
+
"query_parameter_names": [],
|
| 789 |
+
"body_shape": null,
|
| 790 |
+
"statuses": [
|
| 791 |
+
200
|
| 792 |
+
],
|
| 793 |
+
"content_types": [
|
| 794 |
+
"application/json"
|
| 795 |
+
],
|
| 796 |
+
"record_ordinals": [
|
| 797 |
+
44
|
| 798 |
+
]
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"name": "get_tags_values_for_name",
|
| 802 |
+
"method": "GET",
|
| 803 |
+
"path_template": "/api/tags/values-for-name",
|
| 804 |
+
"api_surface_template": "/api/tags/values-for-name",
|
| 805 |
+
"params": [],
|
| 806 |
+
"query_parameter_names": [
|
| 807 |
+
"name"
|
| 808 |
+
],
|
| 809 |
+
"body_shape": null,
|
| 810 |
+
"statuses": [
|
| 811 |
+
200
|
| 812 |
+
],
|
| 813 |
+
"content_types": [
|
| 814 |
+
"application/json"
|
| 815 |
+
],
|
| 816 |
+
"record_ordinals": [
|
| 817 |
+
45,
|
| 818 |
+
46
|
| 819 |
+
]
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"name": "get_users",
|
| 823 |
+
"method": "GET",
|
| 824 |
+
"path_template": "/api/users",
|
| 825 |
+
"api_surface_template": "/api/users",
|
| 826 |
+
"params": [],
|
| 827 |
+
"query_parameter_names": [],
|
| 828 |
+
"body_shape": null,
|
| 829 |
+
"statuses": [
|
| 830 |
+
200
|
| 831 |
+
],
|
| 832 |
+
"content_types": [
|
| 833 |
+
"application/json"
|
| 834 |
+
],
|
| 835 |
+
"record_ordinals": [
|
| 836 |
+
35
|
| 837 |
+
]
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"name": "get_users_by_id",
|
| 841 |
+
"method": "GET",
|
| 842 |
+
"path_template": "/api/users/{numeric}",
|
| 843 |
+
"api_surface_template": "/api/users/{numeric}",
|
| 844 |
+
"params": [
|
| 845 |
+
{
|
| 846 |
+
"index": 2,
|
| 847 |
+
"name": "id",
|
| 848 |
+
"rule": "numeric",
|
| 849 |
+
"basis": "inferred",
|
| 850 |
+
"observed_values": [
|
| 851 |
+
"1",
|
| 852 |
+
"3",
|
| 853 |
+
"4",
|
| 854 |
+
"5"
|
| 855 |
+
]
|
| 856 |
+
}
|
| 857 |
+
],
|
| 858 |
+
"query_parameter_names": [],
|
| 859 |
+
"body_shape": null,
|
| 860 |
+
"statuses": [
|
| 861 |
+
200
|
| 862 |
+
],
|
| 863 |
+
"content_types": [
|
| 864 |
+
"application/json"
|
| 865 |
+
],
|
| 866 |
+
"record_ordinals": [
|
| 867 |
+
36,
|
| 868 |
+
37,
|
| 869 |
+
38,
|
| 870 |
+
39
|
| 871 |
+
]
|
| 872 |
+
}
|
| 873 |
+
],
|
| 874 |
+
"records": [
|
| 875 |
+
{
|
| 876 |
+
"ordinal": 0,
|
| 877 |
+
"method": "GET",
|
| 878 |
+
"path": "/api/system",
|
| 879 |
+
"status": 200,
|
| 880 |
+
"content_type": "application/json"
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"ordinal": 1,
|
| 884 |
+
"method": "GET",
|
| 885 |
+
"path": "/api/shelves",
|
| 886 |
+
"status": 200,
|
| 887 |
+
"content_type": "application/json"
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"ordinal": 2,
|
| 891 |
+
"method": "GET",
|
| 892 |
+
"path": "/api/shelves/7",
|
| 893 |
+
"status": 200,
|
| 894 |
+
"content_type": "application/json"
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"ordinal": 3,
|
| 898 |
+
"method": "GET",
|
| 899 |
+
"path": "/api/shelves/6",
|
| 900 |
+
"status": 200,
|
| 901 |
+
"content_type": "application/json"
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"ordinal": 4,
|
| 905 |
+
"method": "GET",
|
| 906 |
+
"path": "/api/shelves/8",
|
| 907 |
+
"status": 200,
|
| 908 |
+
"content_type": "application/json"
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"ordinal": 5,
|
| 912 |
+
"method": "GET",
|
| 913 |
+
"path": "/api/books",
|
| 914 |
+
"status": 200,
|
| 915 |
+
"content_type": "application/json"
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"ordinal": 6,
|
| 919 |
+
"method": "GET",
|
| 920 |
+
"path": "/api/books/2",
|
| 921 |
+
"status": 200,
|
| 922 |
+
"content_type": "application/json"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"ordinal": 7,
|
| 926 |
+
"method": "GET",
|
| 927 |
+
"path": "/api/books/1",
|
| 928 |
+
"status": 200,
|
| 929 |
+
"content_type": "application/json"
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"ordinal": 8,
|
| 933 |
+
"method": "GET",
|
| 934 |
+
"path": "/api/books/3",
|
| 935 |
+
"status": 200,
|
| 936 |
+
"content_type": "application/json"
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"ordinal": 9,
|
| 940 |
+
"method": "GET",
|
| 941 |
+
"path": "/api/books/4",
|
| 942 |
+
"status": 200,
|
| 943 |
+
"content_type": "application/json"
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"ordinal": 10,
|
| 947 |
+
"method": "GET",
|
| 948 |
+
"path": "/api/books/5",
|
| 949 |
+
"status": 200,
|
| 950 |
+
"content_type": "application/json"
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"ordinal": 11,
|
| 954 |
+
"method": "GET",
|
| 955 |
+
"path": "/api/books",
|
| 956 |
+
"status": 200,
|
| 957 |
+
"content_type": "application/json"
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"ordinal": 12,
|
| 961 |
+
"method": "GET",
|
| 962 |
+
"path": "/api/chapters",
|
| 963 |
+
"status": 200,
|
| 964 |
+
"content_type": "application/json"
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"ordinal": 13,
|
| 968 |
+
"method": "GET",
|
| 969 |
+
"path": "/api/chapters/11",
|
| 970 |
+
"status": 200,
|
| 971 |
+
"content_type": "application/json"
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"ordinal": 14,
|
| 975 |
+
"method": "GET",
|
| 976 |
+
"path": "/api/chapters/9",
|
| 977 |
+
"status": 200,
|
| 978 |
+
"content_type": "application/json"
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"ordinal": 15,
|
| 982 |
+
"method": "GET",
|
| 983 |
+
"path": "/api/chapters/10",
|
| 984 |
+
"status": 200,
|
| 985 |
+
"content_type": "application/json"
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"ordinal": 16,
|
| 989 |
+
"method": "GET",
|
| 990 |
+
"path": "/api/chapters/12",
|
| 991 |
+
"status": 200,
|
| 992 |
+
"content_type": "application/json"
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"ordinal": 17,
|
| 996 |
+
"method": "GET",
|
| 997 |
+
"path": "/api/chapters/13",
|
| 998 |
+
"status": 200,
|
| 999 |
+
"content_type": "application/json"
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"ordinal": 18,
|
| 1003 |
+
"method": "GET",
|
| 1004 |
+
"path": "/api/chapters",
|
| 1005 |
+
"status": 200,
|
| 1006 |
+
"content_type": "application/json"
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"ordinal": 19,
|
| 1010 |
+
"method": "GET",
|
| 1011 |
+
"path": "/api/pages",
|
| 1012 |
+
"status": 200,
|
| 1013 |
+
"content_type": "application/json"
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"ordinal": 20,
|
| 1017 |
+
"method": "GET",
|
| 1018 |
+
"path": "/api/pages/17",
|
| 1019 |
+
"status": 200,
|
| 1020 |
+
"content_type": "application/json"
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"ordinal": 21,
|
| 1024 |
+
"method": "GET",
|
| 1025 |
+
"path": "/api/pages/14",
|
| 1026 |
+
"status": 200,
|
| 1027 |
+
"content_type": "application/json"
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"ordinal": 22,
|
| 1031 |
+
"method": "GET",
|
| 1032 |
+
"path": "/api/pages/15",
|
| 1033 |
+
"status": 200,
|
| 1034 |
+
"content_type": "application/json"
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"ordinal": 23,
|
| 1038 |
+
"method": "GET",
|
| 1039 |
+
"path": "/api/pages/16",
|
| 1040 |
+
"status": 200,
|
| 1041 |
+
"content_type": "application/json"
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"ordinal": 24,
|
| 1045 |
+
"method": "GET",
|
| 1046 |
+
"path": "/api/pages/18",
|
| 1047 |
+
"status": 200,
|
| 1048 |
+
"content_type": "application/json"
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"ordinal": 25,
|
| 1052 |
+
"method": "GET",
|
| 1053 |
+
"path": "/api/pages/19",
|
| 1054 |
+
"status": 200,
|
| 1055 |
+
"content_type": "application/json"
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"ordinal": 26,
|
| 1059 |
+
"method": "GET",
|
| 1060 |
+
"path": "/api/pages/20",
|
| 1061 |
+
"status": 200,
|
| 1062 |
+
"content_type": "application/json"
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"ordinal": 27,
|
| 1066 |
+
"method": "GET",
|
| 1067 |
+
"path": "/api/pages/21",
|
| 1068 |
+
"status": 200,
|
| 1069 |
+
"content_type": "application/json"
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"ordinal": 28,
|
| 1073 |
+
"method": "GET",
|
| 1074 |
+
"path": "/api/pages",
|
| 1075 |
+
"status": 200,
|
| 1076 |
+
"content_type": "application/json"
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"ordinal": 29,
|
| 1080 |
+
"method": "GET",
|
| 1081 |
+
"path": "/api/attachments",
|
| 1082 |
+
"status": 200,
|
| 1083 |
+
"content_type": "application/json"
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"ordinal": 30,
|
| 1087 |
+
"method": "GET",
|
| 1088 |
+
"path": "/api/attachments/2",
|
| 1089 |
+
"status": 200,
|
| 1090 |
+
"content_type": "application/json"
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"ordinal": 31,
|
| 1094 |
+
"method": "GET",
|
| 1095 |
+
"path": "/api/attachments/1",
|
| 1096 |
+
"status": 200,
|
| 1097 |
+
"content_type": "application/json"
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"ordinal": 32,
|
| 1101 |
+
"method": "GET",
|
| 1102 |
+
"path": "/api/comments",
|
| 1103 |
+
"status": 200,
|
| 1104 |
+
"content_type": "application/json"
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"ordinal": 33,
|
| 1108 |
+
"method": "GET",
|
| 1109 |
+
"path": "/api/comments/2",
|
| 1110 |
+
"status": 200,
|
| 1111 |
+
"content_type": "application/json"
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"ordinal": 34,
|
| 1115 |
+
"method": "GET",
|
| 1116 |
+
"path": "/api/comments/1",
|
| 1117 |
+
"status": 200,
|
| 1118 |
+
"content_type": "application/json"
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"ordinal": 35,
|
| 1122 |
+
"method": "GET",
|
| 1123 |
+
"path": "/api/users",
|
| 1124 |
+
"status": 200,
|
| 1125 |
+
"content_type": "application/json"
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"ordinal": 36,
|
| 1129 |
+
"method": "GET",
|
| 1130 |
+
"path": "/api/users/3",
|
| 1131 |
+
"status": 200,
|
| 1132 |
+
"content_type": "application/json"
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"ordinal": 37,
|
| 1136 |
+
"method": "GET",
|
| 1137 |
+
"path": "/api/users/1",
|
| 1138 |
+
"status": 200,
|
| 1139 |
+
"content_type": "application/json"
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"ordinal": 38,
|
| 1143 |
+
"method": "GET",
|
| 1144 |
+
"path": "/api/users/4",
|
| 1145 |
+
"status": 200,
|
| 1146 |
+
"content_type": "application/json"
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"ordinal": 39,
|
| 1150 |
+
"method": "GET",
|
| 1151 |
+
"path": "/api/users/5",
|
| 1152 |
+
"status": 200,
|
| 1153 |
+
"content_type": "application/json"
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"ordinal": 40,
|
| 1157 |
+
"method": "GET",
|
| 1158 |
+
"path": "/api/roles",
|
| 1159 |
+
"status": 200,
|
| 1160 |
+
"content_type": "application/json"
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"ordinal": 41,
|
| 1164 |
+
"method": "GET",
|
| 1165 |
+
"path": "/api/roles/5",
|
| 1166 |
+
"status": 200,
|
| 1167 |
+
"content_type": "application/json"
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"ordinal": 42,
|
| 1171 |
+
"method": "GET",
|
| 1172 |
+
"path": "/api/roles/6",
|
| 1173 |
+
"status": 200,
|
| 1174 |
+
"content_type": "application/json"
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"ordinal": 43,
|
| 1178 |
+
"method": "GET",
|
| 1179 |
+
"path": "/api/roles/2",
|
| 1180 |
+
"status": 200,
|
| 1181 |
+
"content_type": "application/json"
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"ordinal": 44,
|
| 1185 |
+
"method": "GET",
|
| 1186 |
+
"path": "/api/tags/names",
|
| 1187 |
+
"status": 200,
|
| 1188 |
+
"content_type": "application/json"
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"ordinal": 45,
|
| 1192 |
+
"method": "GET",
|
| 1193 |
+
"path": "/api/tags/values-for-name",
|
| 1194 |
+
"status": 200,
|
| 1195 |
+
"content_type": "application/json"
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"ordinal": 46,
|
| 1199 |
+
"method": "GET",
|
| 1200 |
+
"path": "/api/tags/values-for-name",
|
| 1201 |
+
"status": 200,
|
| 1202 |
+
"content_type": "application/json"
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"ordinal": 47,
|
| 1206 |
+
"method": "GET",
|
| 1207 |
+
"path": "/api/search",
|
| 1208 |
+
"status": 200,
|
| 1209 |
+
"content_type": "application/json"
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"ordinal": 48,
|
| 1213 |
+
"method": "GET",
|
| 1214 |
+
"path": "/api/search",
|
| 1215 |
+
"status": 200,
|
| 1216 |
+
"content_type": "application/json"
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"ordinal": 49,
|
| 1220 |
+
"method": "GET",
|
| 1221 |
+
"path": "/api/search/book/1",
|
| 1222 |
+
"status": 200,
|
| 1223 |
+
"content_type": "application/json"
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"ordinal": 50,
|
| 1227 |
+
"method": "GET",
|
| 1228 |
+
"path": "/api/search/chapter/12",
|
| 1229 |
+
"status": 200,
|
| 1230 |
+
"content_type": "application/json"
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"ordinal": 51,
|
| 1234 |
+
"method": "GET",
|
| 1235 |
+
"path": "/api/content-permissions/book/3",
|
| 1236 |
+
"status": 200,
|
| 1237 |
+
"content_type": "application/json"
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"ordinal": 52,
|
| 1241 |
+
"method": "GET",
|
| 1242 |
+
"path": "/api/content-permissions/page/21",
|
| 1243 |
+
"status": 200,
|
| 1244 |
+
"content_type": "application/json"
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"ordinal": 53,
|
| 1248 |
+
"method": "GET",
|
| 1249 |
+
"path": "/api/audit-log",
|
| 1250 |
+
"status": 200,
|
| 1251 |
+
"content_type": "application/json"
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"ordinal": 54,
|
| 1255 |
+
"method": "GET",
|
| 1256 |
+
"path": "/api/image-gallery",
|
| 1257 |
+
"status": 200,
|
| 1258 |
+
"content_type": "application/json"
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"ordinal": 55,
|
| 1262 |
+
"method": "GET",
|
| 1263 |
+
"path": "/api/recycle-bin",
|
| 1264 |
+
"status": 200,
|
| 1265 |
+
"content_type": "application/json"
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"ordinal": 56,
|
| 1269 |
+
"method": "POST",
|
| 1270 |
+
"path": "/api/books",
|
| 1271 |
+
"status": 200,
|
| 1272 |
+
"content_type": "application/json"
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"ordinal": 57,
|
| 1276 |
+
"method": "PUT",
|
| 1277 |
+
"path": "/api/books/24",
|
| 1278 |
+
"status": 200,
|
| 1279 |
+
"content_type": "application/json"
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"ordinal": 58,
|
| 1283 |
+
"method": "POST",
|
| 1284 |
+
"path": "/api/pages",
|
| 1285 |
+
"status": 200,
|
| 1286 |
+
"content_type": "application/json"
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"ordinal": 59,
|
| 1290 |
+
"method": "GET",
|
| 1291 |
+
"path": "/api/books/24",
|
| 1292 |
+
"status": 200,
|
| 1293 |
+
"content_type": "application/json"
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"ordinal": 60,
|
| 1297 |
+
"method": "GET",
|
| 1298 |
+
"path": "/api/pages/25",
|
| 1299 |
+
"status": 200,
|
| 1300 |
+
"content_type": "application/json"
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"ordinal": 61,
|
| 1304 |
+
"method": "DELETE",
|
| 1305 |
+
"path": "/api/books/24",
|
| 1306 |
+
"status": 204,
|
| 1307 |
+
"content_type": null
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"ordinal": 62,
|
| 1311 |
+
"method": "GET",
|
| 1312 |
+
"path": "/api/books/24",
|
| 1313 |
+
"status": 404,
|
| 1314 |
+
"content_type": "application/json"
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"ordinal": 63,
|
| 1318 |
+
"method": "GET",
|
| 1319 |
+
"path": "/api/recycle-bin",
|
| 1320 |
+
"status": 200,
|
| 1321 |
+
"content_type": "application/json"
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"ordinal": 64,
|
| 1325 |
+
"method": "GET",
|
| 1326 |
+
"path": "/api/books",
|
| 1327 |
+
"status": 200,
|
| 1328 |
+
"content_type": "application/json"
|
| 1329 |
+
}
|
| 1330 |
+
],
|
| 1331 |
+
"excluded": [],
|
| 1332 |
+
"templated_groups": 14,
|
| 1333 |
+
"kind": "environment-manifest",
|
| 1334 |
+
"view": {
|
| 1335 |
+
"kind": "environment-manifest",
|
| 1336 |
+
"template_rules": [
|
| 1337 |
+
"after-uid-literal",
|
| 1338 |
+
"opaque-token",
|
| 1339 |
+
"sibling-variance"
|
| 1340 |
+
],
|
| 1341 |
+
"include_query_parameter_names": true
|
| 1342 |
+
}
|
| 1343 |
+
},
|
| 1344 |
+
"confidence": "inferred",
|
| 1345 |
+
"authority": "historical-reference",
|
| 1346 |
+
"environment": null,
|
| 1347 |
+
"limitations": [
|
| 1348 |
+
"A 32 MiB input, 96 MiB reply and 64-level nesting budget bound complete evidence. HAR/SAZ/qlog use a 192 MiB Node old-generation heap; mitmproxy decoding uses a 768 MiB Linux address-space limit. Each owned command has a 30-second deadline with independent cleanup.",
|
| 1349 |
+
"Body shapes list top-level JSON key types from one recorded request each; they do not establish required fields or a complete schema.",
|
| 1350 |
+
"Every record is decoded before selection; no partial success is returned on malformed input or a resource limit.",
|
| 1351 |
+
"HAR text is producer-decoded Unicode. Original body bytes remain unknown unless content explicitly uses valid base64; declared sizes are preserved independently of retained bytes. mitmproxy 12.2.3 SaveHar may report null optional postData.text; that null is retained and omitted only from the upstream validation copy.",
|
| 1352 |
+
"Known authentication headers/cookies and explicitly marked literal values are excluded. Unknown extension names do not establish sensitivity.",
|
| 1353 |
+
"Observed query parameter names do not establish required parameters, value types or a complete API schema.",
|
| 1354 |
+
"Opt-in template rules after-uid-literal, opaque-token, sibling-variance merge recorded literals by shape; merged parameters may conflate distinct resources.",
|
| 1355 |
+
"This is retained producer evidence, without live browser transaction IDs, scenario provenance, execution attribution or deployment authenticity. Recorded URLs are never fetched.",
|
| 1356 |
+
"Tool templates, parameters and names are inferences from recorded request lines; they do not establish handler identity, URL-space schemas or causality."
|
| 1357 |
+
],
|
| 1358 |
+
"relationship_coverage": null,
|
| 1359 |
+
"locations": [
|
| 1360 |
+
{
|
| 1361 |
+
"kind": "artifact-path",
|
| 1362 |
+
"path": "/home/ubuntu/capture/bookstack/bookstack.scoped.har"
|
| 1363 |
+
}
|
| 1364 |
+
],
|
| 1365 |
+
"evidence_links": [
|
| 1366 |
+
"ev_07a98c12a171833f8ca00f5f4769a165b358a5e2cca784718af469fc35ee5b77"
|
| 1367 |
+
]
|
| 1368 |
+
}
|
bundles/bookstack/envs/bookstack/rea-agents.tgz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7788604b5cc16abf843b394ae24cc5819663dc79e91bb7b4b7b0ae99fe81db0
|
| 3 |
+
size 6044425
|
bundles/bookstack/evals/bookstack-retrieval.toml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tasks = [
|
| 2 |
+
"qa-01-get_pages_by_id",
|
| 3 |
+
"qa-02-get_content_permissions_page_by_id",
|
| 4 |
+
"qa-03-get_content_permissions_book_by_id",
|
| 5 |
+
"qa-04-get_books_by_id",
|
| 6 |
+
"qa-05-get_search_chapter_by_id",
|
| 7 |
+
"qa-06-get_chapters_by_id",
|
| 8 |
+
"qa-07-get_shelves_by_id",
|
| 9 |
+
"qa-08-get_attachments_by_id",
|
| 10 |
+
"qa-09-get_users_by_id",
|
| 11 |
+
"qa-10-get_search_book_by_id",
|
| 12 |
+
"qa-11-get_roles_by_id",
|
| 13 |
+
"qa-12-get_shelves",
|
| 14 |
+
]
|
bundles/bookstack/tasks/INDEX.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Retrieval tasks
|
| 2 |
+
|
| 3 |
+
Generated from the environment manifest (31 tools) and its capture Evidence. Each task asks one factual question about a seeded object, answerable through one recorded exchange, and is graded deterministically: the response must contain the recorded value. Answers are distinct, seeded, and appear in at most 12 recorded responses.
|
| 4 |
+
|
| 5 |
+
| task | tool | arguments | field | answer |
|
| 6 |
+
|---|---|---|---|---|
|
| 7 |
+
| `qa-01-get_pages_by_id` | `get_pages_by_id` | id=17 | `name` | `January Tide Readings` |
|
| 8 |
+
| `qa-02-get_content_permissions_page_by_id` | `get_content_permissions_page_by_id` | id=21 | `owner.slug` | `mina-okafor` |
|
| 9 |
+
| `qa-03-get_content_permissions_book_by_id` | `get_content_permissions_book_by_id` | id=3 | `owner.name` | `Rui Castellanos` |
|
| 10 |
+
| `qa-04-get_books_by_id` | `get_books_by_id` | id=2 | `shelves[0].slug` | `lighthouse-rota-handbooks` |
|
| 11 |
+
| `qa-05-get_search_chapter_by_id` | `get_search_chapter_by_id` | id=12, query=terrace | `data[0].name` | `Terrace Seven Tally` |
|
| 12 |
+
| `qa-06-get_chapters_by_id` | `get_chapters_by_id` | id=11 | `owned_by.slug` | `ada-finch` |
|
| 13 |
+
| `qa-07-get_shelves_by_id` | `get_shelves_by_id` | id=7 | `books[0].slug` | `quarry-audit-manual` |
|
| 14 |
+
| `qa-08-get_attachments_by_id` | `get_attachments_by_id` | id=2 | `name` | `Terrace Seven Survey Sheet` |
|
| 15 |
+
| `qa-09-get_users_by_id` | `get_users_by_id` | id=3 | `email` | `ada.finch@example.test` |
|
| 16 |
+
| `qa-10-get_search_book_by_id` | `get_search_book_by_id` | id=1, query=wick | `data[0].name` | `Wick and Lens Care` |
|
| 17 |
+
| `qa-11-get_roles_by_id` | `get_roles_by_id` | id=5 | `display_name` | `Tide Clerks` |
|
| 18 |
+
| `qa-12-get_shelves` | `get_shelves` | no arguments | `data[0].name` | `Lighthouse Rota Handbooks` |
|
bundles/bookstack/tasks/qa-01-get_pages_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the pages with id 17 and report its `name`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states name",
|
| 36 |
+
"needles": [
|
| 37 |
+
"January Tide Readings"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-02-get_content_permissions_page_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the content permissions page with id 21 and report its `owner.slug`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states owner.slug",
|
| 36 |
+
"needles": [
|
| 37 |
+
"mina-okafor"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-03-get_content_permissions_book_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the content permissions book with id 3 and report its `owner.name`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states owner.name",
|
| 36 |
+
"needles": [
|
| 37 |
+
"Rui Castellanos"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-04-get_books_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the books with id 2 and report its `shelves[0].slug`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states shelves[0].slug",
|
| 36 |
+
"needles": [
|
| 37 |
+
"lighthouse-rota-handbooks"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-05-get_search_chapter_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the search chapter with id 12 and query terrace and report its `data[0].name`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states data[0].name",
|
| 36 |
+
"needles": [
|
| 37 |
+
"Terrace Seven Tally"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-06-get_chapters_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the chapters with id 11 and report its `owned_by.slug`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states owned_by.slug",
|
| 36 |
+
"needles": [
|
| 37 |
+
"ada-finch"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-07-get_shelves_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the shelves with id 7 and report its `books[0].slug`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states books[0].slug",
|
| 36 |
+
"needles": [
|
| 37 |
+
"quarry-audit-manual"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-08-get_attachments_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the attachments with id 2 and report its `name`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states name",
|
| 36 |
+
"needles": [
|
| 37 |
+
"Terrace Seven Survey Sheet"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-09-get_users_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the users with id 3 and report its `email`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states email",
|
| 36 |
+
"needles": [
|
| 37 |
+
"ada.finch@example.test"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-10-get_search_book_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the search book with id 1 and query wick and report its `data[0].name`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states data[0].name",
|
| 36 |
+
"needles": [
|
| 37 |
+
"Wick and Lens Care"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-11-get_roles_by_id.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the roles with id 5 and report its `display_name`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states display_name",
|
| 36 |
+
"needles": [
|
| 37 |
+
"Tide Clerks"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/qa-12-get_shelves.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "agent",
|
| 10 |
+
"type": "deploy_agent",
|
| 11 |
+
"a2a_agent_id": "replay-qa",
|
| 12 |
+
"agent_name": "replay-qa",
|
| 13 |
+
"env_ids": [
|
| 14 |
+
"bookstack"
|
| 15 |
+
],
|
| 16 |
+
"env_step_id": "env",
|
| 17 |
+
"sandbox_type": "local"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "ask",
|
| 21 |
+
"type": "prompt_agent",
|
| 22 |
+
"agent_name": "replay-qa",
|
| 23 |
+
"prompt_id": "q",
|
| 24 |
+
"prompt": "In this BookStack environment, look up the shelves and report its `data[0].name`. Use only the environment's tools. Answer with the value only, nothing else.",
|
| 25 |
+
"max_turns": 6
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "grade",
|
| 29 |
+
"type": "agent_prompt_response_verifier",
|
| 30 |
+
"prompt_id": "q",
|
| 31 |
+
"verifier_id": "retrieval",
|
| 32 |
+
"criteria": [
|
| 33 |
+
{
|
| 34 |
+
"type": "response_contains",
|
| 35 |
+
"criterion": "response states data[0].name",
|
| 36 |
+
"needles": [
|
| 37 |
+
"Lighthouse Rota Handbooks"
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
]
|
bundles/bookstack/tasks/smoke.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "env",
|
| 4 |
+
"type": "deploy_env",
|
| 5 |
+
"env_id": "bookstack",
|
| 6 |
+
"sandbox_type": "local"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"id": "replay",
|
| 10 |
+
"type": "env_outcome_verifier",
|
| 11 |
+
"env_id": "bookstack",
|
| 12 |
+
"file_artifact_id": "check_bookstack",
|
| 13 |
+
"verifier_id": "replay"
|
| 14 |
+
}
|
| 15 |
+
]
|
episodes/bookstack.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82b58ee6b8946d0d652a8a409a5fb1df5e8a90eb3e4872c296edd7dc948950d9
|
| 3 |
+
size 22073
|
raw/bookstack.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tasks/bookstack.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:448c609154843abfead32440fc69cde1d5a0b597c88b6bf83ae24c6cf286121e
|
| 3 |
+
size 8310
|