|
| 1 | +- [ ] **(blueprint) The essential built-in tools for agent loops, RFC-0013 build plan step 1 and 2 here, Python first |
| 2 | + (Eric: "proceed with essential tools", 2026-11-17; the spec is mercury-composable |
| 3 | + `draft-design-specs/agent-essential-tools.md`, settled, rulings R1-R16).** NOT STARTED - the entry point for the next |
| 4 | + session. Step 1: `extensions/agent-tools/agent_tools.py` (the layout of `extensions/mcp-binding`: a module docstring, a |
| 5 | + `README.md`, `resources/application.yml`, a `describe` command printing every catalog row, `platform.on_startup` for the |
| 6 | + gated registration) with the file tools inside `tools.file.root` (`file.read`, `file.write` marked `write: true` with |
| 7 | + `create` the default, `file.list`, `file.search`; paths resolved with symlinks followed and refused outside the root; |
| 8 | + caps `tools.file.max.bytes` 256 KiB, `max_entries` 200/2000, `max_results` 100/1000, `tools.file.line.max.chars` 500, |
| 9 | + hidden entries off), the web tools inside `tools.web.allow` (`web.fetch` with `as` text|markdown|raw, `web.crawl` same |
| 10 | + host breadth-first with `robots.txt`, `max_pages` 10/50, `max_depth` 2, `include`, `tools.web.crawl.delay.ms` 500, |
| 11 | + `tools.web.page.max.chars` 20000; https unless the host is listed with its scheme; private, loopback, link-local and |
| 12 | + multicast addresses refused unless `tools.web.allow.private=true`; redirects re-checked; `tools.web.max.bytes` 1 MiB, |
| 13 | + `tools.web.timeout.ms` 10 s; a Mercury user agent; HTML to text in-house, no dependency) and the clock `time.now` |
| 14 | + (registers unless `tools.time=false`); a tool whose sandbox is not configured does not register; results are text, |
| 15 | + capped, logged by route, status and size only; the catalog rows as constants and as files under |
| 16 | + `extensions/agent-tools/catalog/` (`file_read.json`, ...; the loop's row keys: `name`, `description`, `input_schema`, |
| 17 | + `route`, `strict`, `write`), pinned by a test and shared byte for byte with the Node twin later; a fixture web server |
| 18 | + in the tests; README; CHANGELOG. Step 2: the four graph tools over the Bolt driver (`graph` extra `neo4j>=6,<7`), a fake |
| 19 | + driver for the tests, `dev/graph-up.sh`/`graph-down.sh` (Neo4j community on Colima), a gated live test, `file.extract` |
| 20 | + behind the `documents` extra (`pypdf`, `python-docx`). Then the engines' docs page "Built-in tools" (mercury-composable, |
| 21 | + plus its skill inventory `files.list`), the Node twin (step 3), the Playground graphs and the recipes (steps 4-5, in the |
| 22 | + engine repo). RFC-0012 is done and promoted (ADR-0035, mercury-composable #643). |
| 23 | + → serves: vision-mercury-python |
| 24 | + <!-- id: bp-agent-tools-python | created: 2026-11-17 | last_used: 2026-11-17 | uses: 1 | tier: working | origin: 2026-11-17-094509 --> |
0 commit comments