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.
git clone --recurse-submodules https://github.com/CyberScienceLab/FIRAI-Website.git
cd FIRAI-Website
npm install
npm run devCloned 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).
npm run check-data # report integrity errors, launch blockers, warnings
npm run check-data -- --strict # also exit non-zero on launch blockersIntegrity 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.
| 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.
- Techniques belong to phases (Principle 4). A technique whose
evidence_classescontains 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
homefield (ranges such asP02-P04are expanded).framework-widegaps appear above the matrix.
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
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.
- Production, GitHub Pages:
.github/workflows/deploy.ymlbuilds on push tomain, pulls the latestfirai-datamain, writes theCNAME, and deploys. - PR previews, Cloudflare Pages:
.github/workflows/preview.yml. NeedsCLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_IDsecrets 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.
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.