Working on now 🟒 Phase 6 BUILD IN PROGRESS β€” Visual proof: 2,867 page images mapped across 20 standards. Name scan clean. D1 tables created. Worker + frontend building. Report-a-problem system included.

Compliance Hub

Standards Compliance Intelligence

Last updated:

πŸ“Š Project Progress

πŸ“‹ Phase Details

πŸ’° Cost Tracker
~$5
Est. Monthly (CF)
$0
Spent So Far
7
Integration Tests Run
πŸ“š Corpus Status
12 skills 13,706 clause rows (inc. chunks) ~42 MB total size
πŸ—οΈ Key Architecture Decisions (Locked In)
  • Full text serving for all content (owner directive) β€” no summarisation, no truncation of source clauses
  • Hybrid search (vector + keyword) β€” Vectorize semantic search combined with D1 FTS5 keyword search, merged via Reciprocal Rank Fusion
  • Metadata-enriched embeddings β€” standard name + clause number prepended to body text before embedding for improved retrieval
  • Cloudflare-native stack β€” Pages (frontend) + Workers (API) + D1 (SQL) + Vectorize (embeddings) + R2 (PDF storage)
  • Anthropic Claude for responses β€” Opus always
πŸ”¬ Research Summaries
01 β€” Compliance Platform Landscape
Survey of existing compliance intelligence platforms (SafetyCulture, Procore, Ansarada) and their approaches. Key finding: no existing tool does clause-level RAG for Australian building standards. This is a genuine gap.
Full report β†’
02 β€” Medical & Legal RAG Patterns
Lessons from high-stakes RAG in healthcare and legal domains. Covers citation fidelity requirements, hallucination mitigation, and why source-grounded responses are non-negotiable for compliance use cases.
Full report β†’
03 β€” RAG Architecture Deep Dive
Technical comparison of retrieval architectures: naive vector search vs. hybrid (vector + BM25) vs. reranking pipelines. Recommends hybrid search with RRF fusion as the best balance of quality and Cloudflare compatibility.
Full report β†’
04 β€” UI/UX Patterns for Citation-Heavy AI
Analysis of how Perplexity, Phind, and Consensus handle inline citations and source panels. Recommends numbered inline markers with a collapsible citation panel β€” the pattern users already understand.
Full report β†’
05 β€” Copyright & Licensing Analysis
Legal analysis of serving Australian Standards content in an internal tool. Covers SAI Global licensing, fair dealing provisions, and organisational-use boundaries. Key outcome: internal-only use with purchased standards is defensible.
Full report β†’
βœ… Copied to clipboard!