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).
87 lines
2.3 KiB
YAML
87 lines
2.3 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: hatchet-engine
|
|
spec:
|
|
selector:
|
|
app: hatchet-engine
|
|
ports:
|
|
- port: 7077
|
|
targetPort: 7077
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: hatchet-engine
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "30"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: hatchet-engine
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hatchet-engine
|
|
spec:
|
|
initContainers:
|
|
- name: wait-for-config-files
|
|
image: busybox:1.37.0
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- |
|
|
# Wait for config files to be generated by hatchet-init-job and pushed into Secret and be not empty.
|
|
sh /init/check-file.sh /hatchet/config/server.yaml
|
|
sh /init/check-file.sh /hatchet/config/database.yaml
|
|
echo "Config files are ready."
|
|
volumeMounts:
|
|
- mountPath: /init
|
|
name: init-scripts
|
|
- name: config-volume
|
|
mountPath: /hatchet/config
|
|
containers:
|
|
- name: hatchet-engine
|
|
image: ghcr.io/hatchet-dev/hatchet/hatchet-engine:v0.54.4
|
|
command: ["/hatchet/hatchet-engine", "--config", "/hatchet/config"]
|
|
ports:
|
|
- containerPort: 7077
|
|
envFrom:
|
|
- secretRef:
|
|
name: hatchet-secrets
|
|
- configMapRef:
|
|
name: hatchet-configmap
|
|
livenessProbe:
|
|
exec:
|
|
command: ["wget", "-q", "-O", "-", "http://localhost:8733/live"]
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 5
|
|
readinessProbe:
|
|
exec:
|
|
command: ["wget", "-q", "-O", "-", "http://localhost:8733/live"]
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
volumeMounts:
|
|
- name: certs-volume
|
|
mountPath: /hatchet/certs
|
|
- name: config-volume
|
|
mountPath: /hatchet/config
|
|
volumes:
|
|
- configMap:
|
|
defaultMode: 493
|
|
name: hatchet-init-scripts
|
|
name: init-scripts
|
|
- name: certs-volume
|
|
secret:
|
|
secretName: r2r-hatchet-gen-cert-files
|
|
- name: config-volume
|
|
secret:
|
|
secretName: r2r-hatchet-gen-conf-files
|