Builds PaperTrail from the base skeleton into a full evidence-verification platform for the "Built with Claude: Life Sciences" hackathon (Builder Track). New named-user features (Build Beyond the Bench): - Lab Notebook Companion — rough bench notes -> structured, searchable, grounded experiment records (lib/labNotebook, /console/lab-notebook, migration 0059) - Clinical Trial Matcher — de-identified patient notes -> ranked eligible ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning (lib/trialMatcher, /console/trial-matcher, migrations 0060) Platform: - Deterministic verification moat (biostats recompute, exact-span grounding) - 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar, PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier) - Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise governance (RBAC, /api/v1 gateway, metering, audit chain, retention) - 17 OSS projects assimilated into native TypeScript on our stack (backend/engines retained + credited in NOTICE) - Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site - Next.js 16 upgrade, benchmark harness (honest smoke-test caveat) Licensing: Apache-2.0 (LICENSE + NOTICE).
59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
name: CI Docs BioCypher
|
|
on:
|
|
# No branch triggers - only build docs on tags or manual trigger
|
|
push:
|
|
tags:
|
|
- 'v*' # Run on version tags
|
|
workflow_dispatch: # Allow manual triggering
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # Fetch all history for proper versioning
|
|
- name: Configure Git Credentials
|
|
run: |
|
|
git config user.name github-actions[bot]
|
|
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
|
|
|
#----------------------------------------------
|
|
# Set-up python and uv
|
|
#----------------------------------------------
|
|
- name: Setup Python and uv
|
|
uses: ./.github/actions/setup
|
|
|
|
#----------------------------------------------
|
|
# Install dependencies
|
|
#----------------------------------------------
|
|
- name: Install dependencies
|
|
uses: ./.github/actions/install
|
|
|
|
#----------------------------------------------
|
|
# Build and deploy documentation
|
|
#----------------------------------------------
|
|
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
|
- uses: actions/cache@v4
|
|
with:
|
|
key: mkdocs-material-${{ env.cache_id }}
|
|
path: .cache
|
|
restore-keys: |
|
|
mkdocs-material-
|
|
|
|
- name: Build documentation
|
|
run: uv run mkdocs build
|
|
|
|
- name: Deploy documentation with mike
|
|
run: |
|
|
# Extract version from pyproject.toml or use a default version
|
|
VERSION=$(uv run python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])" || echo "latest")
|
|
# Deploy the docs with mike
|
|
uv run mike deploy --push --update-aliases $VERSION latest
|
|
# Set the latest version as default
|
|
uv run mike set-default --push latest
|