feat(instrumenta): implement v1 — items API, audit, stdio, UI, forwarding - #220
Merged
Conversation
…ding Instrumenta v1 implementation covering all 6 PRs from wayfinder #199: - Items API: item_flags CRUD, local_prompts CRUD, local_resources CRUD - Audit log: structured stdout writer + /audit query endpoint - dev.sh integration: --instrumenta-port flag, venv setup, process lifecycle - Stdio supervisor: in-process asyncio supervisor with capped exponential backoff - PATH probe: /runtimes endpoint for node/python3/uv availability - HTMX UI: full config UI with top-tabs, CSS custom properties, dark mode - Upstream forwarding: aggregator discovers and caches upstream prompts/resources 88 tests passing (44 existing + 44 new).
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Full Instrumenta v1 implementation covering all 6 PRs from the wayfinder map (#199).
What changed
backend.py,items_router.py,test_items.pyaudit.py,backend.py,test_audit.pydev.sh,conftest.pystdio_supervisor.py,path_probe.py,test_stdio.pystatic/index.htmlaggregator.pyNew endpoints
GET/PUT/DELETE /items/flags— enable/disable tools, prompts, resourcesGET/POST/PATCH/DELETE /items/prompts— local prompt libraryGET/POST/PATCH/DELETE /items/resources— local resource libraryGET/POST /audit— audit log viewer + writerGET /runtimes— PATH probe for node/python3/uvKey decisions
asyncio.create_subprocess_execwith capped exponential backoff (1s → 30s)prefers-color-scheme,dl.kv, zero CDNTesting
cd services/instrumenta .venv/bin/python -m pytest -x -qOut of scope (v1)
shell.execdangerous built-in