Skip to content

Add capability falsification and scientific validity gates #25

Add capability falsification and scientific validity gates

Add capability falsification and scientific validity gates #25

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
python:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install Research Forge
run: python -m pip install -e ".[dev,external-research,paper-evidence,scientific-validation]"
- name: Prepare clean-room replay image
run: docker pull python:3.12-slim
- name: Best-effort warm maintained RO-Crate validator cache
# The upstream warmer fetches contexts for every installed profile and
# returns non-zero when any unrelated profile endpoint is transiently
# unavailable. The following offline validator tests remain the
# authoritative check for the exact 1.1/WfRun contexts we use.
run: rocrate-validator cache warm || true
- name: Test
run: python -m pytest -p no:cacheprovider
- name: Audit capability assurance layers
run: python scripts/audit_capability_assurance.py --root . --execute-replay
- name: Compile retrieval modules
run: python -m compileall -q research_forge/retrieval
frontend:
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: research-forge-ui
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: pnpm
cache-dependency-path: research-forge-ui/pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
- run: pnpm run build