How highsierralabs/autonomous_build_harness_test works
The product is RHACO Corpus Explorer: a local, read-only browser for research records. Users browse/filter the catalog, search by identifier, lexical, hybrid or graph modes, open a document with its metadata card, and inspect relationships or instrument health. FastAPI routes obtain a shared lazy corpus adapter; feature services assemble view models from that adapter, and routes return HTML or JSON. The adapter boundary separates the Explorer from RHACO’s existing index and document files. The graph reflects the README’s major capabilities; some adapter details are documented rather than sampled here.
Main entry points: app.py FastAPI app · adapter.py Corpus adapter · templates HTML templates · routes.py Catalog view
Components 22
Application runtime
- FastAPI app
explorer/app.py - Settings
explorer/config.py - Shared models
explorer/models.py
Research views
- Catalog view
explorer/catalog/routes.py - Catalog assembly
explorer/catalog/service.py - Search view
explorer/search/routes.py - Search dispatch
explorer/search/service.py - Document reader
explorer/reader/routes.py - Reader assembly
explorer/reader/service.py - Lineage view
explorer/lineage/routes.py - Lineage assembly
explorer/lineage/service.py - Diagnostics view
explorer/diagnostics/routes.py - Diagnostics assembly
explorer/diagnostics/service.py
Corpus access
- Corpus adapter
explorer/corpus_adapter/adapter.py - Safe path mapping
explorer/corpus_adapter/paths.py - Index queries
explorer/corpus_adapter/sql.py - Index availability
explorer/corpus_adapter/availability.py
Browser interface
- HTML templates
explorer/web/templates - Keyboard navigation
explorer/web/static/app.js
Other components
- Researcher
- RHACO index
- Research documents
Connections 37
- Researcher → FastAPI app: HTTP requests
- FastAPI app → Settings: loads configuration
- FastAPI app → Catalog view: registers routes
- FastAPI app → Search view: registers routes
- FastAPI app → Document reader: registers routes
- FastAPI app → Lineage view: registers routes
- FastAPI app → Diagnostics view: registers routes
- Catalog view → FastAPI app: gets adapter
- Search view → FastAPI app: gets adapter
- Document reader → FastAPI app: gets adapter
- Lineage view → FastAPI app: gets adapter
- Diagnostics view → FastAPI app: gets adapter
- Catalog view → Catalog assembly: builds view
- Search view → Search dispatch: runs search
- Document reader → Reader assembly: builds view
- Lineage view → Lineage assembly: builds view
- Diagnostics view → Diagnostics assembly: builds view
- FastAPI app → Corpus adapter: creates lazily
- FastAPI app → Corpus adapter: checks health
- Catalog assembly → Corpus adapter: reads catalog and facets
- Search dispatch → Corpus adapter: dispatches search
- Reader assembly → Corpus adapter: reads cards and documents
- Lineage assembly → Corpus adapter: reads relationship data
- Diagnostics assembly → Corpus adapter: reads status and freshness
- Corpus adapter → Index queries: queries index
- Corpus adapter → Safe path mapping: resolves corpus paths
- Corpus adapter → Index availability: checks vector support
- Index queries → RHACO index: reads
- Safe path mapping → Research documents: locates files
- Index availability → RHACO index: checks capabilities
- Catalog view → HTML templates: renders HTML
- Search view → HTML templates: renders HTML
- Document reader → HTML templates: renders HTML
- Lineage view → HTML templates: renders HTML
- Diagnostics view → HTML templates: renders HTML
- HTML templates → Researcher: presents views
- Researcher → Keyboard navigation: uses shortcuts