From ecc962fc550001f2b6d4363f8e0d49f816c164f6 Mon Sep 17 00:00:00 2001 From: dhruv8sh Date: Tue, 15 Sep 2026 18:27:28 +0530 Subject: [PATCH 1/2] Enforce formatting on root level markdown files Signed-off-by: dhruv8sh --- .github/workflows/format.yml | 4 ++++ AGENTS.md | 38 ++++++++++++++++++------------------ FAQ_POC.md | 18 ++++++++--------- ProjectGovernance.md | 12 ++++++------ 4 files changed, 38 insertions(+), 34 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 7253b5ea2..c844e95d3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -149,5 +149,9 @@ jobs: - name: Run Prettier (check) run: npm run format + - name: Run Prettier (check) — root Markdown + working-directory: . + run: docs/node_modules/.bin/prettier --config docs/.prettierrc --check "*.md" + - name: Build with VitePress (fails on dead links) run: npm run build diff --git a/AGENTS.md b/AGENTS.md index 3b7189204..88bd7595a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -323,14 +323,14 @@ IntegrationRegistration::builder(ID) ## Configuration Files -| File | Purpose | -| --------------------- | ---------------------------------------------------------- | -| `edgezero.toml` | EdgeZero app/platform manifest and logical stores | -| `fastly.toml` | Fastly service configuration and build settings | -| `trusted-server.example.toml` | Source-controlled Trusted Server app-config template | -| `trusted-server.toml` | Operator-owned app config; gitignored; `ts config push` publishes it as an EdgeZero blob envelope | -| `rust-toolchain.toml` | Pins Rust version to 1.95.0 | -| `.env.dev` | Local development environment variables | +| File | Purpose | +| ----------------------------- | ------------------------------------------------------------------------------------------------- | +| `edgezero.toml` | EdgeZero app/platform manifest and logical stores | +| `fastly.toml` | Fastly service configuration and build settings | +| `trusted-server.example.toml` | Source-controlled Trusted Server app-config template | +| `trusted-server.toml` | Operator-owned app config; gitignored; `ts config push` publishes it as an EdgeZero blob envelope | +| `rust-toolchain.toml` | Pins Rust version to 1.95.0 | +| `.env.dev` | Local development environment variables | --- @@ -433,18 +433,18 @@ both runtime behavior and build/tooling changes. ## Key Files -| File | Purpose | -| -------------------------------------------- | ------------------------------------------------- | -| `crates/trusted-server-core/src/integrations/registry.rs` | IntegrationRegistry, `js_module_ids()` | -| `crates/trusted-server-core/src/tsjs.rs` | Script tag generation with module IDs | -| `crates/trusted-server-core/src/html_processor.rs` | Injects `