Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:
workflow_run:
# Registry sync commits are pushed by the bot with GITHUB_TOKEN, which does
# not fire `push` events — rebuild and redeploy when the sync completes,
# not fire `push` events - rebuild and redeploy when the sync completes,
# so /data/ecosystem-registry.json and the dist bundle stay current.
workflows: ["Sync Assessment-Models Ecosystem Registry"]
types: [completed]
Expand All @@ -26,7 +26,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
# workflow_run fires on any conclusion — only redeploy when the triggering
# workflow_run fires on any conclusion - only redeploy when the triggering
# registry sync actually succeeded (push/dispatch/schedule always proceed).
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
steps:
Expand Down Expand Up @@ -59,6 +59,8 @@ jobs:
run: node scripts/validate-homepage-links.mjs
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Lint site text (no em/en dashes, portfolio facts vs registry)
run: node scripts/lint-site-text.mjs
- run: node scripts/build-index.mjs --registry sources/assessment-registry --standard sources/maturity-model-standard --models sources/maturity-model-digital-transformation --snapshot-root sources
- run: npm run build:site

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gateway-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- "src/**"
- "scripts/**"
- "gateway/**"
- "assets/**"
- "data/**"
- "index.html"
- "package.json"
- "package-lock.json"
Expand All @@ -28,6 +30,8 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
- name: Lint site text (no em/en dashes, portfolio facts vs registry)
run: node scripts/lint-site-text.mjs
- name: Scoring engine regression tests
run: npm test
- name: Production site build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
# Verify the sync liveness whenever its logic changes (runs the real sync
# in CI and commits any registry drift; bot commits use [skip ci] so no
# recursion). User pushes fire this trigger — GITHUB_TOKEN pushes do not.
# recursion). User pushes fire this trigger - GITHUB_TOKEN pushes do not.
branches: [main]
paths:
- "scripts/sync_org_catalog.py"
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
with urllib.request.urlopen(req) as resp:
return json.loads(resp.read() or b"null")

title = "Catalog sync failed — diagnostics"
title = "Catalog sync failed - diagnostics"
log_tail = ""
try:
with open("sync-output.log", encoding="utf-8", errors="replace") as fh:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/validate-homepage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,20 @@ on:
pull_request:
paths:
- index.html
- scripts/validate-homepage-links.mjs
- assets/**
- data/**
- public/**
- scripts/**
- .github/workflows/validate-homepage.yml
push:
branches: [main]
paths:
- index.html
- scripts/validate-homepage-links.mjs
- assets/**
- data/**
- public/**
- scripts/**
- .github/workflows/validate-homepage.yml

permissions:
contents: read
Expand All @@ -32,3 +40,6 @@ jobs:
run: node scripts/validate-homepage-links.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint site text (no em/en dashes, portfolio facts vs registry)
run: node scripts/lint-site-text.mjs
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ---------------------------------------------------------------------------
# assessment-models.github.io — ignore rules
# assessment-models.github.io - ignore rules
#
# STANDING RULE: this repository is PUBLIC and is served to the world at
# https://assessment-models.github.io/. Machine-local scratch state must never
Expand All @@ -9,7 +9,7 @@
#
# These rules are a guard against ACCIDENTAL publication, not a security
# control. A deliberate `git add -f` still overrides them. That is the
# intended escape hatch for genuinely shared project configuration — it must
# intended escape hatch for genuinely shared project configuration - it must
# be used consciously, never by accident.
#
# Keep this file ordered by class. Do not add a rule that would match an
Expand All @@ -24,7 +24,7 @@
# against this same list and fails if any rule below has gone missing. That
# check is the load-bearing guard, because an archive extracted over this
# repository root can carry its own .gitignore and overwrite this file,
# silently dropping every rule here — at which point the residue becomes
# silently dropping every rule here - at which point the residue becomes
# committable again with no visible signal. The tracked-tree check holds
# regardless of what this file currently says.
# ---------------------------------------------------------------------------
Expand All @@ -33,7 +33,7 @@
# Never publish. Machine-local workspaces of authoring / agent tools: session
# artifacts, scratch media, tool-local caches. Observed residue in the
# 2026-11-21 site archive: .aistudio/artifacts/brain/<uuid>/.tempmediaStorage/
# (13 PNG/WEBM files, 3.2 MB) — unreferenced by any site source.
# (13 PNG/WEBM files, 3.2 MB) - unreferenced by any site source.
.aistudio/
.tempmediaStorage/
.cursor/
Expand Down Expand Up @@ -91,8 +91,8 @@ __pycache__/

# --- Logs and CI scratch ----------------------------------------------------
# Logs are never site content. Safe to ignore: the catalog sync workflow
# writes sync-output.log with `tee` and reads it back from the working tree —
# gitignore does not affect file existence — and it commits only the two
# writes sync-output.log with `tee` and reads it back from the working tree -
# gitignore does not affect file existence - and it commits only the two
# registry JSON files by explicit path.
*.log
diag-lines.txt
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ The GitHub Pages site for the [Assessment-Models](https://github.com/Assessment-

Two entries, one Vite build:

- **`/` — the site homepage** (`index.html`): the organization's marketing front page — pillars, governance matrix, and the repositories & tooling catalog — in the corporate blueprint design language (alabaster canvas, hairline cards, Inter/JetBrains Mono, corporate navy & indigo accents).
- **`/gateway/` — the Assessment Gateway** (`gateway/index.html`): an application, not documentation. Explore the model constellation, drill into any model's structure (dimensions → sub-dimensions → criteria → level anchors), run trial assessments with cascade scoring, and generate shareable reports — **all client-side, no backend**. The gateway now shares the homepage's design ethos (light corporate theme; the 3D constellation stage deliberately stays dark, echoing the homepage's code panels). Hash routes are unchanged, now served under `/gateway/#/…`.
- **`/` - the site homepage** (`index.html`): the organization's marketing front page - pillars, governance matrix, and the repositories & tooling catalog - in the corporate blueprint design language (alabaster canvas, hairline cards, Inter/JetBrains Mono, corporate navy & indigo accents).
- **`/gateway/` - the Assessment Gateway** (`gateway/index.html`): an application, not documentation. Explore the model constellation, drill into any model's structure (dimensions → sub-dimensions → criteria → level anchors), run trial assessments with cascade scoring, and generate shareable reports - **all client-side, no backend**. The gateway now shares the homepage's design ethos (light corporate theme; the 3D constellation stage deliberately stays dark, echoing the homepage's code panels). Hash routes are unchanged, now served under `/gateway/#/…`.

## How it works

- **Data-driven, never duplicated**: the constellation manifest (`models.json`) is generated from [`assessment-registry`](https://github.com/Assessment-Models/assessment-registry) identity records and the [`maturity-model-standard`](https://github.com/Assessment-Models/maturity-model-standard) conformance registry. Declared `touchpoints.yaml` artifacts are also read from model snapshots to generate semantic touchpoint edges; the Interactions view displays the curated ecosystem touchpoint and handshake contracts.
- **Live model structures**: drill-downs and trials fetch `model.yaml` / `maturity/**/*.yaml` from `raw.githubusercontent.com` at runtime, with a build-time snapshot as offline fallback.
- **Scoring engine** (`src/scoring/engine.ts`): implements the evaluation contracts declared in each model's `evaluation.yaml` — e.g. for the operationalized line: `overall = Σ(dim × weight)`, `dim = mean(subdims)`, `subdim = mean(criteria 1–5 → 0–100)`, banded to L-0, L1..L-5 by highest-conformant-level with the mandatory-dimension gate. Verified against the worked example shipped in `maturity-model-digital-transformation/examples/operationalized-2026.yaml` (67.20 → L-2).
- **Scoring engine** (`src/scoring/engine.ts`): implements the evaluation contracts declared in each model's `evaluation.yaml` - e.g. for the operationalized line: `overall = Σ(dim × weight)`, `dim = mean(subdims)`, `subdim = mean(criteria 1-5 → 0-100)`, banded to L-0, L1..L-5 by highest-conformant-level with the mandatory-dimension gate. Verified against the worked example shipped in `maturity-model-digital-transformation/examples/operationalized-2026.yaml` (67.20 → L-2).

## Development

Expand All @@ -31,14 +31,14 @@ The index generator reads the registry and standard repositories plus the maturi

## Repository hygiene

**This repository is public. Never commit local tooling scratch to it** — external authoring-tool artifacts (`.aistudio/`, `.tempmediaStorage/`), alternate lockfiles (`bun.lock`, `pnpm-lock.yaml`, `yarn.lock`), editor and language-runtime scratch, credential-bearing files (`.env*`), patch residue, or CI scratch logs.
**This repository is public. Never commit local tooling scratch to it** - external authoring-tool artifacts (`.aistudio/`, `.tempmediaStorage/`), alternate lockfiles (`bun.lock`, `pnpm-lock.yaml`, `yarn.lock`), editor and language-runtime scratch, credential-bearing files (`.env*`), patch residue, or CI scratch logs.

Two mechanisms enforce this:

- `.gitignore` lists every such path, so an ordinary `git add` refuses them.
- `scripts/verify-no-local-residue.mjs` (run in CI by `verify-no-local-residue.yml`) checks the **tracked tree** against the same list, and fails if `.gitignore` has lost any of the rules.

The second mechanism exists because an archive extracted over this repository root can carry its own `.gitignore` and overwrite the repository's, silently dropping every ignore rule — at which point the residue becomes committable again. The tracked-tree check holds regardless of what `.gitignore` currently says.
The second mechanism exists because an archive extracted over this repository root can carry its own `.gitignore` and overwrite the repository's, silently dropping every ignore rule - at which point the residue becomes committable again. The tracked-tree check holds regardless of what `.gitignore` currently says.

When you extract an archive here, keep the repository's `.gitignore` and exclude the scratch paths; do not let the archive's copy replace it.

Expand Down
Loading
Loading