caelum0x 174222bcaa feat: Builder-Track named-user tools, bio + evidence-intelligence platform, Apache-2.0
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).
2026-07-10 16:23:13 +03:00

32 lines
1.6 KiB
YAML

version: 0.1
phases:
pre_build:
commands:
- echo Logging in to Amazon ECR...
- aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com
- echo Getting Sparser
- aws s3 cp s3://bigmech/sparser_core/save-semantics.sh .
- aws s3 cp s3://bigmech/sparser_core/r3.core .
- aws s3 cp s3://bigmech/sparser_core/version.txt .
- echo Getting Reach
- aws s3 cp s3://bigmech/reach-1.6.3-e48717.jar .
- aws s3 cp s3://bigmech/travis/mti_jars_v2.zip ./mti_jars.zip
build:
commands:
# This is to help with the pull rate limit
- docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PWD}"
- echo Build started on `date`
- echo Building the Docker image...
- docker build --build-arg BUILD_BRANCH=$BUILD_BRANCH --build-arg READING_BRANCH=$READING_BRANCH -t $IMAGE_REPO_NAME:$IMAGE_TAG -f docker/Dockerfile .
- docker tag $IMAGE_REPO_NAME:$IMAGE_TAG $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
post_build:
commands:
- echo Build completed on `date`
- echo Pushing the Docker image to ECR...
- docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
- echo Pushing the Docker image to Dockerhub...
- docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PWD}"
- docker tag $IMAGE_REPO_NAME:$IMAGE_TAG labsyspharm/$IMAGE_REPO_NAME:$IMAGE_TAG
- docker push labsyspharm/$IMAGE_REPO_NAME:$IMAGE_TAG