Commit History
17 days ago
-
feat(smoke): a smoke harness against the live sources, and the week's report
avoigt1121 +1: Claude Opus 5.5scripts/smoke_live.py asks six fixed probes, reaching all six sources an endpoint uses (HGNC, Open Targets, ChEMBL, UniProt, ClinicalTrials.gov, Reactome). It runs in-process with the response cache off, so each call reaches its source, or with --target space through a deployed Space's machine endpoints. It grades every failure into a named class (the three source-error reasons, payload_error, unexpected_status, contract, too_few_rows, entity_missing, space_unreachable, unstructured), appends a counts-only record (no row content) to .smoke/results.jsonl, and --report gives the week's verdict: >= 95% of probes pass and no unstructured failure. It makes no model call: build_tooluniverse refuses to start with a provider key set. Each probe is a recorded Phase 0 scenario, so tests/test_smoke_live.py replays all six against their cassettes with sockets blocked. It also pins the grading classes, the cache bypass, the record's lack of row content and the 95% line. make smoke / make smoke-rep…84f7513
26 days ago
-
feat: governed ToolUniverse core for the knowledge specialist (s1)
avoigt1121 +1: Claude Opus 5.5The repo from the pdac-spatial-agent template, plus the core every endpoint will sit on (ADR-0001, accepted 2026-10-20): - config/tools_allowlist.yaml: the memo's 28 tools by exact 1.5.6 name; the 12 the five endpoints use are the only ones loaded. - config/sources.yaml: 8 sources with hosts, licences checked 2026-10-20 (Reactome is CC0, not CC BY 4.0; DGIdb unconfirmed, so no DGIdb endpoint), TTLs, rate limits, timeouts, coverage notes. - src/tu_client.py, the only importer of tooluniverse: loads with keep_default_tools=False and load_workspace=False, refuses startup on any model-provider key, a version other than 1.5.6, an extra or forbidden tool, or ToolUniverse's own cache being on. load_workspace=False matters: with any workspace present, 1.5.6 seeds a profile that loads all 2,691 tools and reads workspace and ~/.tooluniverse .env files (found by these tests). - provenance (10 fields per row), pinned output schemas (drift = no rows), SQLite cache that keeps retr…377417d