Skip to content

About

Website for FIRAI, the Forensic Investigation Reference for AI. The site is generated from the FIRAI-Data repository.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

firai-site

The Astro static site for FIRAI (Forensic Investigation Reference for AI), generated entirely from the firai-data submodule and deployed at firai.cybersciencelab.com.

The site is a presentation layer. Every fact on a technique, evidence-class, readiness or gap page comes from a YAML record in firai-data; if something is wrong, fix it there. The only authored copy here is navigation, page introductions, the glossary's explanatory text, and the About page's summary of the principles in firai-data/CONTRIBUTING.md.

Getting started

git clone --recurse-submodules https://github.com/CyberScienceLab/FIRAI-Website.git
cd FIRAI-Website
npm install
npm run dev

Cloned without submodules? git submodule update --init --recursive. To pull the latest data: git submodule update --remote --merge firai-data. Node 22.12 or later is required (Astro 7).

Launch-readiness audit

npm run check-data            # report integrity errors, launch blockers, warnings
npm run check-data -- --strict  # also exit non-zero on launch blockers

Integrity errors (broken references between records) always fail. Launch blockers are content gaps that contradict FIRAI's own published principles, for example a technique graded above Proposed with no references.

Pages

Route Content
/ Hero with the evidence-volatility ladder; the matrix with two views (by phase, by evidence class) and filters for access, maturity and text
/techniques/ Every technique and sub-technique, grouped by phase
/techniques/<ID>/ One page per technique: grade, access, evidence footprint, description, claim profile, readiness measures, related gaps, references, previous/next
/evidence/ The seven evidence classes with their techniques per phase
/readiness/ Forensic readiness measures and the techniques they support
/gaps/ Open gaps with closure criteria
/glossary/, /about/ Definitions; principles, status, contributing, citation

Header search (press /) indexes every technique at build time; no external service is involved.

How the matrix is drawn

  • Techniques belong to phases (Principle 4). A technique whose evidence_classes contains its own phase ID is phase-wide and renders once, in the "Whole phase" band, never copied into every evidence row.
  • The evidence footprint is seven cells along the volatility order (EC01 left, EC07 right); a lit cell means the technique lists that class.
  • Gaps are placed by reading phase IDs out of each gap's free-text home field (ranges such as P02-P04 are expanded). framework-wide gaps appear above the matrix.

Structure

src/
  lib/firai.ts               # loads the submodule; derived views and helpers
  layouts/Base.astro         # header, navigation, search, RFC notice, footer
  components/                # TechCard, Footprint, Access, Maturity, PageHead
  pages/                     # routes listed above
  styles/global.css          # design tokens and component styles (plain CSS)
scripts/check-data.mjs       # launch-readiness audit
firai-data/                  # git submodule; edit upstream, not here

Design

IBM Plex Sans for interface and IDs (tabular figures), Source Serif 4 for reading text, both self-hosted. Navy and crimson come from the Cyber Science Lab logo; crimson is reserved for the hot end of the volatility ramp and for keyboard focus. Maturity is encoded by shape as well as colour (solid, outlined, dashed) so it survives greyscale printing and colour-vision differences.

Deployment

  • Production, GitHub Pages: .github/workflows/deploy.yml builds on push to main, pulls the latest firai-data main, writes the CNAME, and deploys.
  • PR previews, Cloudflare Pages: .github/workflows/preview.yml. Needs CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets and an existing Pages project.
  • Netlify (netlify.toml) is an alternative to GitHub Pages, not an addition.

deploy.yml accepts a repository_dispatch of type firai-data-updated, but firai-data's CI does not send it yet, so data changes appear only on the next push here or a manual run.

Not built yet

No Navigator-style layer tool and no case applications (zero public entries in v0.1). A lifecycle filter (NIST AI RMF stages) is planned but needs lifecycle_stages populated in the data first.

About

Website for FIRAI, the Forensic Investigation Reference for AI. The site is generated from the FIRAI-Data repository.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages