Apple
9a36020316
P3.5-P3.7: 2-layer inventory, capability routing, STT/TTS adapters, Dev Contract
NCS:
- _collect_worker_caps() fetches capability flags from node-worker /caps
- _derive_capabilities() merges served model types + worker provider flags
- installed_artifacts replaces inventory_only (disk scan with DISK_SCAN_PATHS env)
- New endpoints: /capabilities/caps, /capabilities/installed
Node Worker:
- STT_PROVIDER, TTS_PROVIDER, OCR_PROVIDER, IMAGE_PROVIDER env flags
- /caps endpoint returns capabilities + providers for NCS aggregation
- STT adapter (providers/stt_mlx_whisper.py) — remote + local mode
- TTS adapter (providers/tts_mlx_kokoro.py) — remote + local mode
- OCR handler via vision_prompted (ollama_vision with OCR prompt)
- NATS subjects: node.{id}.stt/tts/ocr/image.request
Router:
- POST /v1/capability/{stt,tts,ocr,image} — capability-based offload routing
- GET /v1/capabilities — global view with capabilities_by_node
- require_fresh_caps(ttl) preflight guard
- find_nodes_with_capability(cap) + load-based node selection
Ops:
- ops/fabric_snapshot.py — full runtime snapshot collector
- ops/fabric_preflight.sh — quick check + snapshot save + diff
- docs/fabric_contract.md — Dev Contract v0.1 (preflight-first)
- tests/test_fabric_contract.py — CI enforcement (6 tests)
Made-with: Cursor
2026-02-27 05:24:09 -08:00
..
2026-02-20 17:57:40 +01:00
2026-02-09 08:46:46 -08:00
2026-02-21 17:02:55 +01:00
2026-01-28 06:40:34 -08:00
2026-01-28 06:40:34 -08:00
2026-01-17 08:16:37 -08:00
2026-01-17 08:16:37 -08:00
2026-02-19 00:14:12 -08:00
2026-02-19 00:14:12 -08:00
2026-02-19 00:14:18 -08:00
2026-02-09 08:46:46 -08:00
2026-02-09 08:46:46 -08:00
2026-02-27 03:09:12 -08:00
2026-02-09 08:46:46 -08:00
2026-01-17 08:16:37 -08:00
2026-02-09 08:46:46 -08:00
2026-01-28 06:40:34 -08:00
2026-02-09 08:46:46 -08:00
2026-02-09 08:46:46 -08:00
2026-02-09 11:46:15 -08:00
2026-02-27 03:20:13 -08:00
2026-02-27 05:24:09 -08:00
2026-02-27 05:24:09 -08:00
2026-02-19 00:14:12 -08:00
2026-02-19 00:14:12 -08:00
2026-02-19 00:14:12 -08:00
2026-02-19 00:14:12 -08:00
2026-02-09 08:46:46 -08:00
2026-02-20 17:57:40 +01:00
2026-01-28 06:40:34 -08:00
2026-01-28 06:40:34 -08:00
2026-02-09 08:46:46 -08:00
2026-01-28 06:40:34 -08:00
2026-02-27 05:24:09 -08:00
2026-02-09 08:46:46 -08:00
2026-02-19 00:14:18 -08:00
2026-02-27 04:16:16 -08:00
2025-11-17 05:24:36 -08:00