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).
48 lines
1.5 KiB
HCL
48 lines
1.5 KiB
HCL
locals {
|
|
project_name = var.project_name
|
|
environment = var.environment
|
|
}
|
|
|
|
data "terraform_remote_state" "shared" {
|
|
backend = "s3"
|
|
config = {
|
|
bucket = "gg-ai-terraform-states"
|
|
key = "shared-infrastructure/terraform.tfstate"
|
|
region = "us-east-1"
|
|
}
|
|
}
|
|
|
|
data "aws_secretsmanager_secret" "secret_manager_openwebui" {
|
|
name = var.secret_manager_openwebui
|
|
}
|
|
data "aws_secretsmanager_secret" "webui_pipeline_secret_manager" {
|
|
name = var.webui_pipeline_secret_manager
|
|
}
|
|
|
|
# Use the shared github-actions-iam module
|
|
module "github_actions_iam" {
|
|
source = "git::https://github.com/Gravity-Global/gg-ai-terraform-common.git//modules/github-actions-iam?ref=main"
|
|
|
|
# Service specific configuration
|
|
service_name = var.service_name
|
|
github_org = var.github_org
|
|
github_repo = var.github_repo
|
|
aws_account_id = "908027381725"
|
|
|
|
# Infrastructure defaults
|
|
ecs_cluster_name = "general-cluster"
|
|
aws_region = "us-east-1"
|
|
additional_s3_resource_arns = []
|
|
additional_efs_resource_arns = []
|
|
additional_postgres_resource_arns = []
|
|
additional_secrets_resource_arns = ["${data.aws_secretsmanager_secret.webui_pipeline_secret_manager.arn}"]
|
|
# Github OIDC Provider (from shared-infrastructure)
|
|
github_oidc_provider_arn = data.terraform_remote_state.shared.outputs.github_oidc_provider_arn
|
|
# Otional ECR repository
|
|
# additional_ecr_repositories = ["shared-models"]
|
|
# Secret Manager Access
|
|
secrets_arns = [
|
|
"${data.aws_secretsmanager_secret.secret_manager_openwebui.arn}"
|
|
]
|
|
}
|