refactor: 도메인이 100개 1000개씩 늘어나도 유지보수 쉬운 구조로 변경

This commit is contained in:
donghyeon-ka
2026-09-24 00:42:21 +09:00
parent 91ae42a2a7
commit 6f6c48ebb7
1274 changed files with 290812 additions and 0 deletions
+286
View File
@@ -0,0 +1,286 @@
{
"forbidden": [
{
"name": "domain-is-framework-neutral",
"severity": "error",
"from": {
"path": "^src/domain"
},
"to": {
"path": "^(src/(application|presentation|adapters|bootstrap)|react|react-dom|@tanstack)"
}
},
{
"name": "application-does-not-know-concrete-runtime",
"severity": "error",
"from": {
"path": "^src/application"
},
"to": {
"path": "^(src/(presentation|adapters|bootstrap)|react|react-dom|@tanstack)"
}
},
{
"name": "presentation-does-not-know-adapters",
"severity": "error",
"from": {
"path": "^src/presentation/(?!adapters/query)"
},
"to": {
"path": "^(src/(adapters|bootstrap)|@tanstack)"
}
},
{
"name": "page-templates-own-layout-only",
"severity": "error",
"from": {
"path": "^src/presentation/templates"
},
"to": {
"path": "^(src/(application|adapters|bootstrap)|src/presentation/adapters|@tanstack)"
}
},
{
"name": "icon-vendor-is-facade-only",
"severity": "error",
"from": {
"path": "^src",
"pathNot": "^src/presentation/design-system/icons/vendors/lucide\\.tsx$"
},
"to": {
"path": "^lucide-react$"
}
},
{
"name": "adapters-do-not-know-presentation",
"severity": "error",
"from": {
"path": "^src/adapters"
},
"to": {
"path": "^src/(presentation|bootstrap)"
}
},
{
"name": "feature-domain-is-framework-neutral",
"severity": "error",
"from": {
"path": "^src/features/[^/]+/domain"
},
"to": {
"path": "^(src/(application|presentation|adapters|bootstrap)|src/features/[^/]+/(application|adapters|presentation)|react|react-dom|@tanstack)"
}
},
{
"name": "feature-application-does-not-know-runtime",
"severity": "error",
"from": {
"path": "^src/features/[^/]+/application"
},
"to": {
"path": "^(src/(presentation|adapters|bootstrap)|src/features/[^/]+/(adapters|presentation)|react|react-dom|@tanstack)"
}
},
{
"name": "feature-presentation-does-not-know-outbound-adapters",
"severity": "error",
"from": {
"path": "^src/features/[^/]+/presentation"
},
"to": {
"path": "^(src/(adapters|bootstrap)|src/features/[^/]+/adapters|@tanstack)"
}
},
{
"name": "feature-adapters-do-not-know-presentation",
"severity": "error",
"from": {
"path": "^src/features/[^/]+/adapters"
},
"to": {
"path": "^(src/(presentation|bootstrap)|src/features/[^/]+/presentation)"
}
},
{
"name": "concrete-adapters-compose-only-in-bootstrap",
"severity": "error",
"from": {
"path": "^src/(domain|application|presentation|contracts)"
},
"to": {
"path": "^src/adapters"
}
},
{
"name": "external-contract-package-single-import-path",
"comment": "§4.1: a generated service package may only be imported from src/features/<feature>/contracts/*-contract-contribution.ts",
"severity": "error",
"from": {
"path": "^src",
"pathNot": "^src/features/[^/]+/contracts/[^/]+-contract-contribution\\.ts$"
},
"to": {
"path": "^@org-contracts/"
}
},
{
"name": "presentation-does-not-fetch-directly",
"comment": "§9.2 / appendix B: a page or hook never opens a socket, worker or HTTP adapter itself",
"severity": "error",
"from": {
"path": "^src/(presentation|features/[^/]+/presentation)"
},
"to": {
"path": "^src/adapters/(http|realtime|service-worker|web-worker|storage)"
}
},
{
"name": "generic-worker-has-no-network-or-credentials",
"comment": "§16.13 / §21.10: a CPU worker never imports HTTP, realtime or auth",
"severity": "error",
"from": {
"path": "^src/adapters/web-worker"
},
"to": {
"path": "^src/adapters/(http|realtime|auth|web-push)"
}
},
{
"name": "service-worker-entry-is-not-page-code",
"comment": "§17.2.1: the worker realm never imports React, presentation or bootstrap page code",
"severity": "error",
"from": {
"path": "^src/adapters/service-worker"
},
"to": {
"path": "^(src/(presentation|bootstrap)|react|react-dom|@tanstack)"
}
},
{
"name": "contracts-do-not-know-application",
"comment": "§4. `src/contracts` is the lower of the two packages: application reads contracts, never the other way round. Before this rule the shared Result carrier and the compatibility predicate lived in application and were imported back down by contracts, so neither package owned the shared vocabulary and the coupling was invisible to every gate.",
"severity": "error",
"from": {
"path": "^src/contracts"
},
"to": {
"path": "^src/(application|features)"
}
},
{
"name": "generic-presentation-does-not-compose-the-product",
"comment": "§4 / §9. Which features are installed is a product decision that belongs to bootstrap. Generic presentation reads the installed registries directly today; the paths below are the exact set that does so, frozen so the coupling cannot spread while the assembly is lifted into bootstrap.",
"severity": "error",
"from": {
"path": "^src/presentation/",
"pathNot": "^src/presentation/(layouts/app-shell\\.tsx|pages/(not-found-page|home-page)\\.tsx|routes/(route-contract|route-codecs|app-router|navigation-policy)\\.(ts|tsx)|i18n/catalog\\.ts|examples/platform-overview-page\\.tsx)$"
},
"to": {
"path": "^src/features/installed-"
}
},
{
"name": "adapters-do-not-know-other-concrete-adapters",
"comment": "docs/architecture/layers.md §4: a concrete adapter never depends on another concrete adapter. Only the adapter kernel is shared — `src/adapters/platform` (clock, abort primitive, capacity guard) and the browser-data result helpers. `query-cache` still reads two collaborator types from `cross-context-invalidation`; that edge is named here rather than left silent, and closes when those types are lifted to a port.",
"severity": "error",
"from": {
"path": "^src/adapters/([^/]+)/"
},
"to": {
"path": "^src/adapters/([^/]+)/",
"pathNot": "^src/adapters/($1/|platform/|browser-file-storage/result\\.ts$|cross-context-invalidation/index\\.ts$)"
}
},
{
"name": "adapter-groups-are-reached-through-their-barrel",
"comment": "어댑터 그룹의 공개 표면은 그 그룹의 index.ts다. 그룹 바깥(bootstrap, features, presentation)은 배럴만 import한다. 배럴이 없던 시절 bootstrap은 어댑터 내부 파일 15곳을 직접 겨눴고, 그래서 어떤 파일이 공개이고 어떤 파일이 내부 헬퍼인지 아무 데도 적혀 있지 않았다. 출발점에서 src/adapters를 뺀 이유는 어댑터끼리의 간선은 바로 위 adapters-do-not-know-other-concrete-adapters가 이미 담당하고, 커널(platform/**)은 파일 단위로 공유되기 때문이다 — scripts/check-adapter-inventory.ts가 네 소비자에게 platform/abortable-operation.ts로 해석되는 specifier를 직접 요구한다. 도착점에서 1단계 중첩 index.ts를 허용한 이유는 storage/indexeddb와 storage/opfs가 각자 독립적으로 제거 가능한 런타임이고(scripts/test-browser-file-storage-runtime-removal.ts), 그래서 각자의 배럴이 곧 경계이기 때문이다.",
"severity": "error",
"from": {
"path": "^src/",
"pathNot": "^src/adapters/"
},
"to": {
"path": "^src/adapters/[^/]+/",
"pathNot": "^src/adapters/[^/]+/index\\.ts$|^src/adapters/[^/]+/[^/]+/index\\.ts$"
}
},
{
"name": "features-do-not-import-other-features",
"comment": "A feature may depend on shared contracts/ports, but never on another feature concrete implementation.",
"severity": "error",
"from": {
"path": "^src/features/([^/]+)/"
},
"to": {
"path": "^src/features/[^/]+/",
"pathNot": "^src/features/$1/"
}
},
{
"name": "contexts-do-not-import-other-contexts",
"comment": "A bounded context may compose its own features and shared platform contracts, but not another context concrete implementation.",
"severity": "error",
"from": {
"path": "^src/contexts/([^/]+)/"
},
"to": {
"path": "^src/contexts/[^/]+/",
"pathNot": "^src/contexts/$1/"
}
},
{
"name": "observability-vendors-live-behind-adapters",
"comment": "Spec §24. Features, platform, application, domain, contracts and presentation emit observability only through the provider-neutral TelemetryPort. A vendor telemetry SDK may be imported only by an adapter-side transport under src/adapters.",
"severity": "error",
"from": {
"path": "^src/",
"pathNot": "^src/adapters/"
},
"to": {
"path": "^(@sentry|@datadog|@opentelemetry|@newrelic|newrelic|@honeycombio|@bugsnag|bugsnag-js|@rollbar|rollbar|logrocket|@logrocket|@amplitude|posthog-js|mixpanel-browser|@segment|@elastic/apm-rum|@grafana/faro-web-sdk|@microsoft/applicationinsights-web)(/|$)"
}
},
{
"name": "platform-kernel-is-product-neutral",
"comment": "Spec §4. src/platform holds product-neutral primitives (budgets, execution, telemetry pipeline, validation, error envelopes). It never reaches up into a concrete feature, context, adapter, bootstrap or presentation module. Routing composes deployable-app descriptors by type and is the one named exception.",
"severity": "error",
"from": {
"path": "^src/platform/",
"pathNot": "^src/platform/routing/"
},
"to": {
"path": "^src/(features|contexts|apps|adapters|bootstrap|presentation|application)/"
}
},
{
"name": "no-circular-dependencies",
"severity": "error",
"from": {},
"to": {
"circular": true
}
}
],
"options": {
"doNotFollow": {
"path": "node_modules"
},
"exclude": {
"path": "^(dist|artifacts|tests/fixtures)"
},
"enhancedResolveOptions": {
"exportsFields": [
"exports"
],
"conditionNames": [
"import",
"require",
"node",
"default"
]
},
"tsConfig": {
"fileName": "tsconfig.app.json"
}
}
}
+25
View File
@@ -0,0 +1,25 @@
# Build-time inputs (§6.1). These are compiled into the bundle by Vite, so
# everything here is public by definition. Never put a secret in this file or in
# any `.env*` file: a frontend has no confidential storage, and a value that
# reaches the browser has been published.
#
# Runtime configuration — API endpoints, auth mode, telemetry, capability
# switches — is NOT here. It lives in `config/runtime/<profile>.json` and is
# materialized into `dist/config.json` at build time, so it can be changed
# without rebuilding. See docs/architecture/layers.md.
#
# Copy to `.env.local` (git-ignored) to override locally.
# Identifies the build in release manifests and the runtime document.
# CI supplies the real value; a developer build falls back to "local-build".
VITE_BUILD_ID=local-build
# Source revision the bundle was produced from.
VITE_COMMIT_SHA=local
# Sub-path the app is served under. Must start and end with "/".
# Feeds the router, the Service Worker scope and Vite's asset base together.
VITE_ROUTER_BASE_PATH=/
# Where the browser fetches the runtime document from at boot.
VITE_RUNTIME_CONFIG_URL=/config.json
+460
View File
@@ -0,0 +1,460 @@
# GENERATED FILE — edit config/ci/gates.json and run `corepack pnpm generate:ci-workflow`.
name: frontend-quality-gates
on:
push:
branches: [develop]
tags: ["v*"]
pull_request:
workflow_dispatch:
inputs:
stage:
description: Highest promotion tier to evaluate
required: true
default: merge
type: choice
options:
- merge
- release
- production
- field
- documentation
permissions:
contents: read
env:
CI: "true"
VITE_BUILD_ID: "gitea-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
VITE_COMMIT_SHA: "${{ gitea.sha }}"
RELEASE_ID: "${{ gitea.ref }}-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
CI_RUNNER_IMAGE: "${{ vars.RUNNER_IMAGE_DIGEST }}"
jobs:
merge_gate:
name: "${{ matrix.gate }} / ${{ matrix.name }}"
if: ${{ gitea.event_name != 'workflow_dispatch' || inputs.stage != 'documentation' }}
runs-on: ubuntu-latest
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- { gate: FE-GATE-001, name: manifest-lockfile, browser: false }
- { gate: FE-GATE-002, name: lint, browser: false }
- { gate: FE-GATE-003, name: typecheck, browser: false }
- { gate: FE-GATE-004, name: runtime-schema, browser: false }
- { gate: FE-GATE-005, name: unit, browser: false }
- { gate: FE-GATE-006, name: component, browser: false }
- { gate: FE-GATE-007, name: integration, browser: false }
- { gate: FE-GATE-008, name: e2e, browser: true }
- { gate: FE-GATE-009, name: accessibility, browser: true }
- { gate: FE-GATE-010, name: architecture, browser: false }
- { gate: FE-GATE-011, name: build, browser: false }
- { gate: FE-GATE-013, name: security, browser: false }
- { gate: FE-GATE-020, name: removability, browser: false }
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Install Playwright browsers
if: ${{ matrix.browser }}
run: corepack pnpm exec playwright install --with-deps chromium firefox webkit
- name: Run blocking gate
run: corepack pnpm ci:gate -- ${{ matrix.gate }}
- name: Upload merge gate evidence
if: always()
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "${{ matrix.gate }}-${{ gitea.run_id }}"
path: artifacts/
if-no-files-found: error
release_gate:
name: "${{ matrix.gate }} / ${{ matrix.name }}"
needs: merge_gate
if: ${{ startsWith(gitea.ref, 'refs/tags/v') || (gitea.event_name == 'workflow_dispatch' && (inputs.stage == 'release' || inputs.stage == 'production' || inputs.stage == 'field')) }}
runs-on: ubuntu-latest
timeout-minutes: 45
env:
HOSTING_BASE_URL: "${{ vars.HOSTING_BASE_URL }}"
strategy:
fail-fast: false
matrix:
include:
- { gate: FE-GATE-012, name: bundle, browser: false }
- { gate: FE-GATE-014, name: config-compatibility, browser: false }
- { gate: FE-GATE-019, name: hosting-header, browser: false }
- { gate: FE-GATE-026, name: lab-performance, browser: true }
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Install Playwright browsers
if: ${{ matrix.browser }}
run: corepack pnpm exec playwright install --with-deps chromium firefox webkit
- name: Run blocking gate
run: corepack pnpm ci:gate -- ${{ matrix.gate }}
- name: Upload release gate evidence
if: always()
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "${{ matrix.gate }}-${{ gitea.run_id }}"
path: artifacts/
if-no-files-found: error
immutable_build:
name: "FE-GATE-015 / immutable-release-candidate"
needs: release_gate
if: ${{ startsWith(gitea.ref, 'refs/tags/v') || (gitea.event_name == 'workflow_dispatch' && (inputs.stage == 'release' || inputs.stage == 'production' || inputs.stage == 'field')) }}
runs-on: ubuntu-latest
timeout-minutes: 45
outputs:
dist_sha256: ${{ steps.candidate.outputs.dist_sha256 }}
archive_sha256: ${{ steps.candidate.outputs.archive_sha256 }}
env:
APP_PROFILE: "${{ vars.APP_PROFILE }}"
RELEASE_TARGET: "${{ vars.RELEASE_TARGET }}"
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Build candidate once and verify local evidence
run: corepack pnpm ci:gate -- FE-GATE-015
- name: Archive and validate the exact candidate file set
id: candidate
run: |
mkdir -p .release
tar --sort=name --mtime="@0" --owner=0 --group=0 --numeric-owner -czf ".release/release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tar.gz" \
dist \
pnpm-lock.yaml \
artifacts/performance/bundle.json \
artifacts/quality/vite-module-inventory.json \
artifacts/release/build-manifest.json \
artifacts/release/checksums.txt \
artifacts/release/dependency-inventory.json \
artifacts/release/provenance.json \
artifacts/release/verification.json \
artifacts/release/sbom.cdx.json \
artifacts/security/dependency-diff.json \
artifacts/security/license-report.json \
artifacts/security/local-evidence-assessment.json \
artifacts/security/scan.sarif \
artifacts/security/supply-chain-coherence.json \
artifacts/security/supply-chain-verification.json \
artifacts/security/vulnerability-report.json \
config/security/dependency-baseline.approval.json \
config/security/dependency-baseline.json \
config/security/dependency-change-evidence.json \
config/security/dependency-policy.json \
config/security/secret-scan-policy.json \
config/security/vulnerability-exceptions.json \
config/security/vulnerability-policy.json \
schemas/artifacts/build-manifest.schema.json \
schemas/artifacts/dependency-inventory.schema.json \
schemas/artifacts/supply-chain-verification.schema.json \
scripts/contracts/release-artifacts.ts \
scripts/create-release-candidate.ts \
scripts/generate-supply-chain.ts \
scripts/lib/build-manifest-outputs.ts \
scripts/lib/json-schema.ts \
scripts/lib/local-policy-evidence.ts \
scripts/lib/local-release-evidence.ts \
scripts/lib/release-candidate.ts \
scripts/lib/release-input-evidence.ts \
scripts/lib/release-runtime-coherence.ts \
scripts/lib/repository-file-inventory.ts \
scripts/lib/secret-scan-evaluator.ts \
scripts/lib/secret-scan-policy.ts \
scripts/lib/secret-scan.ts \
scripts/lib/supply-chain.ts \
scripts/lib/validated-json-artifact.ts \
src/contracts/release-artifacts.ts \
src/features/installed-contract-contributions.ts \
src/features/installed-feature-contracts.ts \
artifacts/release/release-candidate.json
node scripts/verify-ci-candidate-archive.ts --archive ".release/release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tar.gz" --github-output "$GITHUB_OUTPUT"
- name: Upload release candidate
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: ".release/release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tar.gz"
if-no-files-found: error
vulnerability_provider:
name: external-vulnerability-provider
needs: immutable_build
runs-on: ubuntu-latest
timeout-minutes: 45
outputs:
invocation_nonce: ${{ steps.supervise_vulnerability.outputs.invocation_nonce }}
env:
CANDIDATE_ARCHIVE_SHA256: "${{ needs.immutable_build.outputs.archive_sha256 }}"
CANDIDATE_ARCHIVE_PATH: ".release/vulnerability-candidate/release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tar.gz"
CI_RUN_ID: "${{ gitea.run_id }}"
CI_RUN_ATTEMPT: "${{ gitea.run_attempt }}"
EXPECTED_SOURCE_REVISION: "${{ gitea.sha }}"
VULNERABILITY_PUBLIC_KEY_PATH: "${{ vars.VULNERABILITY_PUBLIC_KEY_PATH }}"
VULNERABILITY_KEY_ID: "${{ vars.VULNERABILITY_KEY_ID }}"
VULNERABILITY_PROVIDER_COMMAND: "${{ vars.VULNERABILITY_PROVIDER_COMMAND }}"
VULNERABILITY_REPORT_PATH: provider-evidence/untrusted/vulnerability-report.json
VALIDATED_PROVIDER_REPORT_PATH: provider-evidence/vulnerability-report.json
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Download release candidate
uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: "release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: .release/vulnerability-candidate
- name: Run and validate external vulnerability provider in one trusted supervisor
id: supervise_vulnerability
run: node scripts/run-and-validate-provider.ts --kind vulnerability
- name: Confirm sealed vulnerability provider evidence
run: test -s "$VALIDATED_PROVIDER_REPORT_PATH"
- name: Upload vulnerability provider evidence
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "vulnerability-provider-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: provider-evidence/vulnerability-report.json
if-no-files-found: error
provenance_provider:
name: external-provenance-provider
needs: immutable_build
runs-on: ubuntu-latest
timeout-minutes: 45
outputs:
invocation_nonce: ${{ steps.supervise_provenance.outputs.invocation_nonce }}
env:
CANDIDATE_ARCHIVE_SHA256: "${{ needs.immutable_build.outputs.archive_sha256 }}"
CANDIDATE_ARCHIVE_PATH: ".release/provenance-candidate/release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tar.gz"
CI_RUN_ID: "${{ gitea.run_id }}"
CI_RUN_ATTEMPT: "${{ gitea.run_attempt }}"
EXPECTED_SOURCE_REVISION: "${{ gitea.sha }}"
PROVENANCE_PUBLIC_KEY_PATH: "${{ vars.PROVENANCE_PUBLIC_KEY_PATH }}"
PROVENANCE_KEY_ID: "${{ vars.PROVENANCE_KEY_ID }}"
PROVENANCE_PROVIDER_COMMAND: "${{ vars.PROVENANCE_PROVIDER_COMMAND }}"
PROVENANCE_ATTESTATION_PATH: provider-evidence/untrusted/provenance-attestation.json
VALIDATED_PROVIDER_REPORT_PATH: provider-evidence/provenance-attestation.json
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Download release candidate
uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: "release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: .release/provenance-candidate
- name: Run and validate external provenance provider in one trusted supervisor
id: supervise_provenance
run: node scripts/run-and-validate-provider.ts --kind provenance
- name: Confirm sealed provenance provider evidence
run: test -s "$VALIDATED_PROVIDER_REPORT_PATH"
- name: Upload provenance provider evidence
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "provenance-provider-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: provider-evidence/provenance-attestation.json
if-no-files-found: error
promotion:
name: promote-verified-immutable-candidate
needs: [immutable_build, vulnerability_provider, provenance_provider]
runs-on: ubuntu-latest
timeout-minutes: 45
env:
CANDIDATE_ARCHIVE_SHA256: "${{ needs.immutable_build.outputs.archive_sha256 }}"
CANDIDATE_ARCHIVE_PATH: ".release/candidate/release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}.tar.gz"
CI_RUN_ID: "${{ gitea.run_id }}"
CI_RUN_ATTEMPT: "${{ gitea.run_attempt }}"
VULNERABILITY_REPORT_PATH: "${{ gitea.workspace }}/.release/vulnerability/vulnerability-report.json"
PROVENANCE_ATTESTATION_PATH: "${{ gitea.workspace }}/.release/provenance/provenance-attestation.json"
VULNERABILITY_PUBLIC_KEY_PATH: "${{ vars.VULNERABILITY_PUBLIC_KEY_PATH }}"
VULNERABILITY_KEY_ID: "${{ vars.VULNERABILITY_KEY_ID }}"
PROVENANCE_PUBLIC_KEY_PATH: "${{ vars.PROVENANCE_PUBLIC_KEY_PATH }}"
PROVENANCE_KEY_ID: "${{ vars.PROVENANCE_KEY_ID }}"
VULNERABILITY_INVOCATION_NONCE: "${{ needs.vulnerability_provider.outputs.invocation_nonce }}"
PROVENANCE_INVOCATION_NONCE: "${{ needs.provenance_provider.outputs.invocation_nonce }}"
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Download release candidate
uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: "release-candidate-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: .release/candidate
- name: Download vulnerability provider evidence
uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: "vulnerability-provider-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: .release/vulnerability
- name: Download provenance provider evidence
uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: "provenance-provider-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: .release/provenance
- name: Finalize verified promotion from inode-bound captured inputs
id: finalize
run: node scripts/stage-verified-promotion.ts
- name: Upload promoted release
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "promoted-release-${{ gitea.run_id }}-${{ gitea.run_attempt }}"
path: |
${{ steps.finalize.outputs.staging_root }}/release-candidate.tar.gz
${{ steps.finalize.outputs.staging_root }}/vulnerability-report.json
${{ steps.finalize.outputs.staging_root }}/provenance-attestation.json
${{ steps.finalize.outputs.staging_root }}/provider-verification.json
${{ steps.finalize.outputs.staging_root }}/promotion-verification.json
if-no-files-found: error
- name: Always remove private promotion staging
if: always()
env:
PROMOTION_STAGING_ROOT: ${{ steps.finalize.outputs.staging_root }}
PROMOTION_CLEANUP_TOKEN: ${{ steps.finalize.outputs.cleanup_token }}
PROMOTION_RUNNER_TEMP_DEV: ${{ steps.finalize.outputs.runner_temp_dev }}
PROMOTION_RUNNER_TEMP_INO: ${{ steps.finalize.outputs.runner_temp_ino }}
PROMOTION_STAGING_DEV: ${{ steps.finalize.outputs.staging_dev }}
PROMOTION_STAGING_INO: ${{ steps.finalize.outputs.staging_ino }}
run: |
if [ -n "$PROMOTION_STAGING_ROOT" ] && [ -n "$PROMOTION_CLEANUP_TOKEN" ] && [ -n "$PROMOTION_RUNNER_TEMP_DEV" ] && [ -n "$PROMOTION_RUNNER_TEMP_INO" ] && [ -n "$PROMOTION_STAGING_DEV" ] && [ -n "$PROMOTION_STAGING_INO" ]; then
node scripts/cleanup-verified-promotion.ts
fi
production_gate:
name: "${{ matrix.gate }} / ${{ matrix.name }}"
needs: promotion
if: ${{ gitea.event_name == 'workflow_dispatch' && (inputs.stage == 'production' || inputs.stage == 'field') }}
runs-on: ubuntu-latest
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- { gate: FE-GATE-016, name: rollback-drill }
- { gate: FE-GATE-021, name: runbook-boot-config }
- { gate: FE-GATE-022, name: runbook-chunk-mismatch }
- { gate: FE-GATE-023, name: runbook-api-degradation }
- { gate: FE-GATE-024, name: runbook-telemetry }
- { gate: FE-GATE-025, name: runbook-release-rollback }
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Run blocking gate
run: corepack pnpm ci:gate -- ${{ matrix.gate }}
- name: Upload production gate evidence
if: always()
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "${{ matrix.gate }}-${{ gitea.run_id }}"
path: artifacts/
if-no-files-found: error
field_gate:
name: "FE-GATE-018 / field-web-vitals"
needs: production_gate
if: ${{ gitea.event_name == 'workflow_dispatch' && inputs.stage == 'field' }}
runs-on: ubuntu-latest
timeout-minutes: 45
env:
FIELD_WEB_VITALS_INPUT: "${{ vars.FIELD_WEB_VITALS_INPUT }}"
MIN_ELIGIBLE_SAMPLES: "${{ vars.MIN_ELIGIBLE_SAMPLES }}"
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Run blocking gate
run: corepack pnpm ci:gate -- FE-GATE-018
- name: Upload field gate evidence
if: always()
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "FE-GATE-018-${{ gitea.run_id }}"
path: artifacts/
if-no-files-found: error
documentation_gate:
name: "FE-GATE-017 / diagram-review"
if: ${{ gitea.event_name == 'workflow_dispatch' && inputs.stage == 'documentation' }}
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version-file: .nvmrc
- name: Frozen install
run: |
corepack enable
corepack pnpm install --frozen-lockfile --ignore-scripts
- name: Run documentation gate
run: corepack pnpm ci:gate -- FE-GATE-017
- name: Upload documentation gate evidence
if: always()
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with:
name: "FE-GATE-017-${{ gitea.run_id }}"
path: artifacts/
if-no-files-found: error
+26
View File
@@ -0,0 +1,26 @@
node_modules/
dist/
.vite/
.generated/
.tmp/
playwright-report/
test-results/
coverage/
!tests/fixtures/coverage/
!tests/fixtures/coverage/below-threshold.json
artifacts/**/*.json
artifacts/**/*.xml
artifacts/**/*.txt
artifacts/**/*.sarif
artifacts/tests/e2e/
artifacts/tests/browser-capabilities/
artifacts/storybook/
artifacts/tests/storybook/
artifacts/tests/visual/
!artifacts/**/.gitkeep
# Local environment overrides. `.env.example` is the tracked template; every
# other `.env*` file is a developer's own machine and never enters the repo.
.env
.env.*
!.env.example
+2
View File
@@ -0,0 +1,2 @@
engine-strict=true
save-exact=true
+1
View File
@@ -0,0 +1 @@
24.14.0
+15
View File
@@ -0,0 +1,15 @@
import type { StorybookConfig } from "@storybook/react-vite";
const config: StorybookConfig = {
stories: ["../src/**/*.stories.@(ts|tsx)"],
addons: ["@storybook/addon-a11y"],
framework: {
name: "@storybook/react-vite",
options: {},
},
core: {
disableTelemetry: true,
},
};
export default config;
+123
View File
@@ -0,0 +1,123 @@
import type { Preview } from "@storybook/react-vite";
import { QueryClientProvider } from "@tanstack/react-query";
import { MemoryRouter } from "react-router-dom";
import { createAnonymousSessionAdapter } from "../src/adapters/auth/index.ts";
import { createQueryClient } from "../src/adapters/query-cache/index.ts";
import { createApplication } from "../src/application/create-application.ts";
import { LocaleProvider } from "../src/presentation/i18n/index.ts";
import { ApplicationProvider } from "../src/presentation/providers/application-provider.tsx";
import { SessionProvider } from "../src/presentation/providers/session-provider.tsx";
import { ThemeProvider } from "../src/presentation/providers/theme-provider.tsx";
import "../src/presentation/styles/theme.css";
import { resolveProductFeatures } from "../src/contracts/product-features.ts";
import {
COMPILED_PRODUCT_FEATURE_IDS,
INSTALLED_PRODUCT_FEATURE_IDS,
} from "../src/features/installed-product-manifest.ts";
const preferences = new Map<string, unknown>();
const application = createApplication({
session: createAnonymousSessionAdapter(),
preferences: {
read: (name) => ({ ok: true, value: preferences.get(name) }),
write: (name, value) => {
preferences.set(name, structuredClone(value));
return { ok: true };
},
remove: (name) => {
preferences.delete(name);
return { ok: true };
},
},
diagnostics: { record() {} },
telemetry: { emit() {} },
releaseInfo: {
getCurrent: async () => ({
buildId: "storybook-build",
releaseId: "storybook-release",
configSchemaVersion: "1",
apiContractVersion: "1",
assetManifestHash: "storybook-assets",
routeChunks: {},
}),
refresh: async () => ({
buildId: "storybook-build",
releaseId: "storybook-release",
configSchemaVersion: "1",
apiContractVersion: "1",
assetManifestHash: "storybook-assets",
routeChunks: {},
}),
},
// Storybook renders components, not a product: every declared feature is
// shown as active so a story is never blank because of a deployment switch.
productFeatures: {
getSnapshot: () =>
resolveProductFeatures(
COMPILED_PRODUCT_FEATURE_IDS,
INSTALLED_PRODUCT_FEATURE_IDS,
),
isActive: () => true,
},
runtimeCapabilities: {
getSnapshot: () =>
Object.freeze(
(
[
"REALTIME",
"WEB_WORKER",
"SERVICE_WORKER",
"OFFLINE_COMMANDS",
] as const
).map((capabilityId) =>
Object.freeze({
capabilityId,
selected: 0,
active: 0,
override: "DEFAULT" as const,
}),
),
),
},
navigation: { reload() {} },
});
const queryClient = createQueryClient();
const preview: Preview = {
decorators: [
(Story) => (
<ApplicationProvider application={application}>
<QueryClientProvider client={queryClient}>
<MemoryRouter>
<LocaleProvider>
<ThemeProvider>
<SessionProvider>
<div id="portal-root" />
<main className="ui-page" style={{ padding: "1rem" }}>
<Story />
</main>
</SessionProvider>
</ThemeProvider>
</LocaleProvider>
</MemoryRouter>
</QueryClientProvider>
</ApplicationProvider>
),
],
parameters: {
a11y: {
test: "error",
},
controls: {
expanded: true,
},
options: {
storySort: {
order: ["Platform"],
},
},
},
};
export default preview;
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

+5
View File
@@ -0,0 +1,5 @@
$ node scripts/check-architecture.ts
Static import graph: 330 modules, 984 dependencies, all imports resolved
Architecture graph fixtures: 16 regression checks PASS
TypeScript-only source policy: PASS (src, scripts, tests, .storybook, recipes; no fixture exceptions)
Architecture fixtures: allowed PASS, 9 forbidden rejected
+1
View File
@@ -0,0 +1 @@
$ tsc --project tsconfig.app.json
+1
View File
@@ -0,0 +1 @@
$ tsc --project tsconfig.test.json
+20
View File
@@ -0,0 +1,20 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/unit/http-retry-lifecycle.test.ts (4 tests) 4ms
✓ tests/unit/realtime/bounded-polling-policy.test.ts (3 tests) 6ms
✓ tests/unit/realtime/realtime-reconnect-policy.test.ts (7 tests) 6ms
✓ tests/unit/retry-policy.test.ts (4 tests) 5ms
✓ tests/unit/realtime/bounded-poll-coordinator.test.ts (16 tests) 25ms
✓ tests/unit/realtime/live-poll-handoff-coordinator.test.ts (13 tests) 71ms
✓ tests/unit/resumable-upload-runtime.test.ts (18 tests) 87ms
✓ tests/unit/realtime/realtime-reconnect-coordinator.test.ts (25 tests) 32ms
✓ tests/unit/tanstack-cache-coordinator.test.ts (8 tests) 168ms
✓ tests/unit/resumable-upload-runtime-teardown.test.ts (4 tests) 163ms
✓ tests/unit/realtime/stream-coordinator.test.ts (36 tests) 625ms
 Test Files  11 passed (11)
 Tests  138 passed (138)
 Start at  08:27:14
 Duration  1.40s (transform 1.56s, setup 3.50s, import 2.09s, tests 1.19s, environment 2ms)
@@ -0,0 +1,37 @@
contract set: 0 package(s) sha256:ad6aab71fea6a9ff87cbd170b984b339965afc90d85bb57f87801c9e0c020da2
vite v8.1.5 building client environment for production...

transforming...✓ 2113 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html 1.12 kB │ gzip: 0.45 kB
dist/.vite/manifest.json 8.11 kB │ gzip: 1.04 kB
dist/.vite/module-inventory.json 21.94 kB │ gzip: 3.15 kB
dist/assets/index-C0p5zoj4.css 39.62 kB │ gzip: 8.51 kB
dist/assets/installed-contract-contributions-CFHdeDEf.js 0.16 kB │ gzip: 0.15 kB
dist/assets/not-found-page-CHQA5rw5.js 0.45 kB │ gzip: 0.30 kB
dist/assets/reference-resource-status-page-t3RWROLD.js 0.51 kB │ gzip: 0.45 kB
dist/assets/use-reference-failure-action-BYb2UYeT.js 0.57 kB │ gzip: 0.37 kB
dist/assets/session-provider-CIR3Mmin.js 0.60 kB │ gzip: 0.39 kB
dist/assets/application-provider-_OkSTAcq.js 0.61 kB │ gzip: 0.34 kB
dist/assets/reference-resource-page-1-Q0DGen.js 1.21 kB │ gzip: 0.77 kB
dist/assets/reference-resource-detail-page-D5mbWw2a.js 1.23 kB │ gzip: 0.72 kB
dist/assets/async-state-CfvFHl3I.js 1.53 kB │ gzip: 0.49 kB
dist/assets/auth-example-page-htVwyPYW.js 1.78 kB │ gzip: 0.94 kB
dist/assets/context-routes-CEM0c3Wb.js 1.80 kB │ gzip: 0.70 kB
dist/assets/server-state-DQADfngu.js 2.24 kB │ gzip: 0.90 kB
dist/assets/home-page-a_jMrdst.js 2.37 kB │ gzip: 1.27 kB
dist/assets/state-gallery-page-CunviFji.js 2.70 kB │ gzip: 1.22 kB
dist/assets/reference-resource-form-page-BHq_gRJf.js 2.77 kB │ gzip: 1.50 kB
dist/assets/installed-feature-contracts-DgTAlLr2.js 4.52 kB │ gzip: 1.43 kB
dist/assets/ui-gallery-page-Ru0CrH32.js 8.09 kB │ gzip: 2.90 kB
dist/assets/platform-overview-page-BgxC-c_W.js 11.90 kB │ gzip: 4.08 kB
dist/assets/route-input-DpW3PpRj.js 19.72 kB │ gzip: 6.27 kB
dist/assets/use-reference-feature-DkrwJNPz.js 23.75 kB │ gzip: 8.06 kB
dist/assets/preload-helper-ChbRSsLi.js 101.06 kB │ gzip: 27.93 kB
dist/assets/design-system-Bd1NzELd.js 213.52 kB │ gzip: 65.78 kB
dist/assets/index-zhAbJ8ef.js 294.86 kB │ gzip: 91.72 kB
✓ built in 361ms
runtime config: local profile written to dist/config.json (APP_ENV=local, AUTH_MODE=demo)
service worker mode null: skipping worker build
@@ -0,0 +1,2 @@
app build input: app=template-app contexts=1 features=1 generatedImports=1 bundle=1 feature dirs PASS
$ node scripts/check-app-build-input.ts --require-bundle
@@ -0,0 +1,2 @@
app build input: app=template-app contexts=1 features=1 generatedImports=1 bundle=not checked PASS
$ node scripts/check-app-build-input.ts
@@ -0,0 +1,5 @@
Static import graph: 363 modules, 1043 dependencies, all imports resolved
Architecture graph fixtures: 16 regression checks PASS
TypeScript-only source policy: PASS (src, scripts, tests, .storybook, recipes; no fixture exceptions)
Architecture fixtures: allowed PASS, 9 forbidden rejected
$ node scripts/check-architecture.ts
@@ -0,0 +1,2 @@
Diagnostics contract: 8 diagnostics and 5 telemetry producers PASS
$ node scripts/check-diagnostics.ts
@@ -0,0 +1 @@
$ node scripts/generate-product-feature-index.ts --check
@@ -0,0 +1,23 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/telemetry/telemetry-port.test.ts (3 tests) 8ms
✓ tests/platform/telemetry/redact-telemetry.test.ts (14 tests) 17ms
✓ tests/platform/telemetry/telemetry-buffer.test.ts (8 tests) 22ms
✓ tests/platform/validation/validation-budget.test.ts (7 tests) 10ms
✓ tests/platform/telemetry/telemetry-deduplicator.test.ts (8 tests) 13ms
✓ tests/architecture/observability-boundaries.test.ts (4 tests) 142ms
✓ tests/platform/errors/platform-errors.test.ts (16 tests) 23ms
✓ tests/platform/telemetry/trace-context.test.ts (6 tests) 63ms
✓ tests/platform/validation/bounded-json.test.ts (10 tests) 107ms
✓ tests/platform/errors/app-error.test.ts (10 tests) 7ms
✓ tests/platform/errors/failure-boundary.test.tsx (4 tests) 55ms
✓ tests/platform/telemetry/telemetry-pipeline.test.ts (9 tests) 785ms
✓ bounds network sends during a repeated error storm  718ms
 Test Files  12 passed (12)
 Tests  99 passed (99)
 Start at  13:29:27
 Duration  1.58s (transform 1.38s, setup 3.81s, import 1.84s, tests 1.25s, environment 902ms)
$ node scripts/run-vitest.ts run tests/platform/errors tests/platform/validation tests/platform/telemetry tests/architecture/observability-boundaries.test.ts --reporter=default
@@ -0,0 +1,2 @@
Registry governance: 11 registries PASS; compatibility=breaking
$ node scripts/check-registries.ts
@@ -0,0 +1,16 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/release/release-coherence.test.ts (10 tests) 9ms
✓ tests/platform/release/release-mismatch-recovery.test.ts (10 tests) 14ms
✓ tests/release/old-asset-reachability.test.ts (4 tests) 8ms
✓ tests/platform/release/cache-policy.test.ts (5 tests) 39ms
✓ tests/release/release-matrix.test.ts (7 tests) 48ms
✓ tests/release/mixed-replica.test.ts (7 tests) 69ms
 Test Files  6 passed (6)
 Tests  43 passed (43)
 Start at  13:29:30
 Duration  914ms (transform 1.31s, setup 1.45s, import 2.18s, tests 187ms, environment 1ms)
$ node scripts/run-vitest.ts run tests/platform/release tests/release --reporter=default
@@ -0,0 +1,3 @@
request fan-out: 77 files scanned, 0 per-row dispatches PASS
request fan-out fixtures: forbidden 3 rejected in 3 files, allowed 0 violations PASS
$ node scripts/check-request-fanout.ts && node scripts/check-request-fanout.ts --fixture
@@ -0,0 +1,4 @@
compatibility: structural=true compiler=true timing=true
axes: absolute 28 (ok), growth 8 (ok), relative 16 compiler + 12 timing
scale baseline gate: PASSED (artifacts/scale/baseline-comparison.json)
$ node scripts/scale/check-scale-baseline.ts
@@ -0,0 +1,10 @@
PASSED main:architecture-topology (3173ms)
PASSED main:traffic-budgets (1489ms)
PASSED main:scale-units (2433ms)
PASSED main:composition-s0-s1 (91ms)
PASSED main:composition-s0-s2 (232ms)
PASSED main:composition-scale-suite (941ms)
PASSED main:typescript-diagnostics (1543ms)
PASSED main:baseline-regression (1739ms)
scale tier main: PASSED (artifacts/scale/main/summary.json)
$ node scripts/scale/run-scale-profile.ts main
@@ -0,0 +1,14 @@
PASSED nightly:architecture-topology (3175ms)
PASSED nightly:traffic-budgets (1393ms)
PASSED nightly:scale-units (2435ms)
PASSED nightly:composition-s0-s1 (90ms)
PASSED nightly:composition-s0-s2 (226ms)
PASSED nightly:composition-scale-suite (861ms)
PASSED nightly:typescript-diagnostics (1552ms)
PASSED nightly:baseline-regression (1750ms)
PASSED nightly:topology-s3-s4 (6995ms)
PASSED nightly:telemetry-storm (3703ms)
PASSED nightly:session-cycles (1703ms)
PASSED nightly:browser-soak (121407ms)
scale tier nightly: PASSED (artifacts/scale/nightly/summary.json)
$ node scripts/scale/run-scale-profile.ts nightly
@@ -0,0 +1,6 @@
PASSED pr:architecture-topology (4307ms)
PASSED pr:traffic-budgets (1446ms)
PASSED pr:scale-units (2377ms)
PASSED pr:composition-s0-s1 (87ms)
scale tier pr: PASSED (artifacts/scale/pr/summary.json)
$ node scripts/scale/run-scale-profile.ts pr
@@ -0,0 +1,13 @@
PASSED release:release-coherence (1123ms)
PASSED release:architecture-topology (3142ms)
PASSED release:traffic-budgets (1432ms)
PASSED release:scale-units (2318ms)
PASSED release:composition-s0-s1 (95ms)
PASSED release:composition-s0-s2 (235ms)
PASSED release:composition-scale-suite (843ms)
PASSED release:typescript-diagnostics (1499ms)
PASSED release:baseline-regression (1820ms)
PASSED release:topology-s3-s4 (7137ms)
PASSED release:telemetry-storm (3364ms)
scale tier release: PASSED (artifacts/scale/release/summary.json)
$ node scripts/scale/run-scale-profile.ts release
@@ -0,0 +1,19 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/cardinality/cardinality-budget.test.ts (3 tests) 7ms
✓ tests/platform/cardinality/compose-unique-record.test.ts (2 tests) 9ms
✓ tests/architecture/context-lazy-loading.test.ts (1 test) 6ms
✓ tests/platform/routing/context-route-module.test.ts (3 tests) 9ms
✓ tests/architecture/topology-cardinality.test.ts (9 tests) 13ms
✓ tests/platform/cardinality/extreme-scale-registry.test.ts (3 tests) 2363ms
✓ keeps 10k -> 100k composition growth below a quadratic regression budget  391ms
✓ keeps one million lookups bounded on a 100k-entry runtime registry  1515ms
✓ selects and resolves 100k feature ids within the membership budget  455ms
 Test Files  6 passed (6)
 Tests  21 passed (21)
 Start at  13:29:21
 Duration  2.94s (transform 231ms, setup 1.63s, import 305ms, tests 2.41s, environment 1ms)
$ node scripts/run-vitest.ts run tests/architecture/topology-cardinality.test.ts tests/architecture/context-lazy-loading.test.ts tests/platform/cardinality tests/platform/routing --reporter=default
@@ -0,0 +1,21 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/traffic/request-budget.test.ts (7 tests) 17ms
✓ tests/platform/resilience/retry-budget.test.ts (6 tests) 7ms
✓ tests/platform/resilience/deadline.test.ts (3 tests) 6ms
✓ tests/platform/traffic/concurrency-budget.test.ts (6 tests) 11ms
✓ tests/platform/execution/execution-context.test.ts (10 tests) 11ms
✓ tests/platform/traffic/traffic-budget.test.ts (9 tests) 11ms
✓ tests/platform/traffic/operation-traffic-policy.test.ts (7 tests) 10ms
✓ tests/platform/traffic/request-fanout.test.ts (6 tests) 49ms
✓ tests/platform/traffic/request-deduplication.test.ts (3 tests) 47ms
✓ tests/platform/traffic/http-budget-integration.test.ts (9 tests) 130ms
✓ tests/platform/traffic/traffic-amplification.test.ts (3 tests) 391ms
 Test Files  11 passed (11)
 Tests  69 passed (69)
 Start at  13:29:25
 Duration  1.34s (transform 858ms, setup 4.17s, import 1.44s, tests 690ms, environment 2ms)
$ node scripts/run-vitest.ts run tests/platform/execution tests/platform/traffic tests/platform/resilience --reporter=default
@@ -0,0 +1 @@
$ tsc --project tsconfig.app.json
@@ -0,0 +1 @@
$ tsc --project tsconfig.test.json
@@ -0,0 +1,7 @@
$ corepack pnpm check:types:app && corepack pnpm check:types:node && corepack pnpm check:types:test && corepack pnpm check:types:recipes && corepack pnpm check:types:web-worker && corepack pnpm check:types:service-worker
$ tsc --project tsconfig.app.json
$ tsc --project tsconfig.node.json
$ tsc --project tsconfig.test.json
$ node scripts/check-optional-recipe-types.ts
$ tsc --project tsconfig.web-worker.json
$ tsc --project tsconfig.service-worker.json
@@ -0,0 +1 @@
$ eslint src scripts tests recipes .storybook vite.config.ts vitest.config.ts playwright*.config.ts --max-warnings=0
@@ -0,0 +1,23 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scripts/generate-product-feature-index.test.ts (8 tests) 41ms
✓ tests/platform/traffic/request-deduplication.test.ts (3 tests) 54ms
✓ tests/platform/traffic/request-fanout.test.ts (6 tests) 56ms
✓ tests/architecture/request-fanout.test.ts (4 tests) 194ms
✓ tests/features/reference-feature/reference-request-deduplication.test.ts (3 tests) 50ms
✓ tests/features/reference-feature/reference-request-fanout.test.ts (8 tests) 68ms
✓ tests/architecture/app-build-input.test.ts (4 tests) 2380ms
✓ accepts the production generator's output and an app-local bundle  771ms
✓ rejects a generator regression that imports every discovered feature  673ms
✓ rejects a production bundle that contains another app's feature  643ms
✓ tests/scale/global-local-independence.test.ts (7 tests) 7755ms
✓ keeps App A's generated indexes and reachable source graph identical from S0 to S2 on disk  5260ms
✓ selects another app from the same repository without App A's features  982ms
 Test Files  8 passed (8)
 Tests  43 passed (43)
 Start at  13:29:12
 Duration  8.30s (transform 919ms, setup 1.94s, import 1.61s, tests 10.60s, environment 1ms)
$ node scripts/run-vitest.ts run tests/scale/global-local-independence.test.ts tests/architecture/app-build-input.test.ts tests/architecture/request-fanout.test.ts tests/platform/traffic/request-fanout.test.ts tests/platform/traffic/request-deduplication.test.ts tests/features/reference-feature/reference-request-fanout.test.ts tests/features/reference-feature/reference-request-deduplication.test.ts tests/scripts/generate-product-feature-index.test.ts --reporter=default
@@ -0,0 +1,55 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/architecture/app-build-input.test.ts (4 tests) 9429ms
✓ accepts the production generator's output and an app-local bundle  1340ms
✓ rejects a generator regression that imports every discovered feature  5122ms
✓ rejects a production bundle that contains another app's feature  2464ms
✓ tests/platform/cardinality/extreme-scale-registry.test.ts (3 tests) 3975ms
✓ keeps 10k -> 100k composition growth below a quadratic regression budget  634ms
✓ keeps one million lookups bounded on a 100k-entry runtime registry  2331ms
✓ selects and resolves 100k feature ids within the membership budget  1007ms
✓ tests/platform/telemetry/telemetry-pipeline.test.ts (9 tests) 1077ms
✓ bounds network sends during a repeated error storm  961ms
✓ tests/platform/traffic/traffic-amplification.test.ts (3 tests) 558ms
✓ keeps physical requests bounded when every dispatch fails  307ms
✓ tests/architecture/request-fanout.test.ts (4 tests) 344ms
✓ finds no per-row dispatch in feature code or application use cases  330ms
✓ tests/architecture/observability-boundaries.test.ts (4 tests) 235ms
✓ tests/platform/traffic/http-budget-integration.test.ts (9 tests) 133ms
✓ tests/platform/validation/bounded-json.test.ts (10 tests) 140ms
✓ tests/platform/telemetry/trace-context.test.ts (6 tests) 82ms
✓ tests/platform/errors/failure-boundary.test.tsx (4 tests) 87ms
✓ tests/platform/traffic/request-fanout.test.ts (6 tests) 75ms
✓ tests/platform/traffic/request-deduplication.test.ts (3 tests) 74ms
✓ tests/platform/release/cache-policy.test.ts (5 tests) 40ms
✓ tests/platform/errors/platform-errors.test.ts (16 tests) 19ms
✓ tests/platform/telemetry/telemetry-buffer.test.ts (8 tests) 20ms
✓ tests/platform/telemetry/redact-telemetry.test.ts (14 tests) 14ms
✓ tests/platform/traffic/request-budget.test.ts (7 tests) 7ms
✓ tests/platform/release/release-mismatch-recovery.test.ts (10 tests) 12ms
✓ tests/architecture/topology-cardinality.test.ts (9 tests) 10ms
✓ tests/platform/telemetry/telemetry-deduplicator.test.ts (8 tests) 9ms
✓ tests/platform/traffic/concurrency-budget.test.ts (6 tests) 11ms
✓ tests/platform/execution/execution-context.test.ts (10 tests) 12ms
✓ tests/platform/traffic/traffic-budget.test.ts (9 tests) 8ms
✓ tests/platform/validation/validation-budget.test.ts (7 tests) 11ms
✓ tests/platform/traffic/operation-traffic-policy.test.ts (7 tests) 11ms
✓ tests/platform/routing/context-route-module.test.ts (3 tests) 10ms
✓ tests/platform/release/release-coherence.test.ts (10 tests) 13ms
✓ tests/platform/cardinality/compose-unique-record.test.ts (2 tests) 5ms
✓ tests/platform/telemetry/telemetry-port.test.ts (3 tests) 6ms
✓ tests/platform/resilience/retry-budget.test.ts (6 tests) 5ms
✓ tests/platform/errors/app-error.test.ts (10 tests) 6ms
✓ tests/platform/cardinality/cardinality-budget.test.ts (3 tests) 7ms
✓ tests/architecture/context-lazy-loading.test.ts (1 test) 6ms
✓ tests/platform/resilience/deadline.test.ts (3 tests) 7ms
✓ tests/architecture/module-hierarchy.test.ts (1 test) 6ms
 Test Files  35 passed (35)
 Tests  223 passed (223)
 Start at  13:29:32
 Duration  33.44s (transform 977ms, setup 7.36s, import 2.52s, tests 16.46s, environment 1.01s)
JUNIT report written to /shared/codebase/clean-architecture-frontend-template/artifacts/tests/platform.xml
$ node scripts/run-vitest.ts run tests/platform tests/architecture --no-file-parallelism --reporter=default --reporter=junit --outputFile.junit=artifacts/tests/platform.xml
@@ -0,0 +1,30 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/features/reference-feature/reference-error.test.ts (3 tests) 102ms
✓ tests/features/reference-feature/reference-telemetry.test.ts (4 tests) 55ms
✓ tests/features/reference-feature/reference-http-problem-mapping.test.ts (6 tests) 12ms
✓ tests/features/reference-feature/reference-request-deduplication.test.ts (3 tests) 112ms
✓ tests/features/reference-feature/reference-request-fanout.test.ts (8 tests) 189ms
✓ tests/features/reference-feature/reference-traffic-policy.test.ts (1 test) 9ms
✓ tests/features/reference-feature/installed-context-routing.test.ts (2 tests) 108ms
✓ tests/features/reference-feature/reference-contract.test.ts (7 tests) 35ms
✓ tests/features/reference-feature/feature-module.test.ts (1 test) 6ms
✓ tests/features/reference-feature/reference-http-gateway.test.ts (2 tests) 8ms
✓ tests/features/reference-feature/reference-installed-executor.test.ts (1 test) 7ms
✓ tests/features/reference-feature/reference-diagnostics.test.ts (1 test) 81ms
✓ tests/features/reference-feature/reference-runtime-composition.test.ts (3 tests) 201ms
✓ tests/features/reference-feature/reference-production-vertical.test.tsx (1 test) 1243ms
✓ traverses bootstrap, router, application, HTTP schema/mapper and query cache  1237ms
✓ tests/features/reference-feature/reference-page.test.tsx (11 tests) 3248ms
✓ mounts list and detail keys under the installed governed namespace  1035ms
✓ renders backend forbidden even when the client access hint allowed entry  423ms
✓ deduplicates create, preserves input and surfaces a conflict  584ms
 Test Files  15 passed (15)
 Tests  54 passed (54)
 Start at  13:30:06
 Duration  7.80s (transform 13.26s, setup 7.90s, import 20.03s, tests 5.42s, environment 2.84s)
JUNIT report written to /shared/codebase/clean-architecture-frontend-template/artifacts/tests/reference-feature.xml
$ node scripts/run-vitest.ts run tests/features/reference-feature --reporter=default --reporter=junit --outputFile.junit=artifacts/tests/reference-feature.xml --passWithNoTests
+1
View File
@@ -0,0 +1 @@
@@ -0,0 +1,25 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/cardinality/cardinality-budget.test.ts (3 tests) 6ms
✓ tests/platform/cardinality/compose-unique-record.test.ts (2 tests) 7ms
✓ tests/architecture/module-hierarchy.test.ts (1 test) 5ms
✓ tests/architecture/context-lazy-loading.test.ts (1 test) 6ms
✓ tests/platform/routing/context-route-module.test.ts (3 tests) 10ms
✓ tests/architecture/topology-cardinality.test.ts (9 tests) 11ms
✓ tests/architecture/observability-boundaries.test.ts (4 tests) 97ms
✓ tests/architecture/request-fanout.test.ts (4 tests) 206ms
✓ tests/platform/cardinality/extreme-scale-registry.test.ts (3 tests) 2005ms
✓ keeps 10k -> 100k composition growth below a quadratic regression budget  407ms
✓ keeps one million lookups bounded on a 100k-entry runtime registry  1229ms
✓ selects and resolves 100k feature ids within the membership budget  366ms
✓ tests/architecture/app-build-input.test.ts (4 tests) 2215ms
✓ accepts the production generator's output and an app-local bundle  714ms
✓ rejects a generator regression that imports every discovered feature  626ms
✓ rejects a production bundle that contains another app's feature  613ms
 Test Files  10 passed (10)
 Tests  34 passed (34)
 Start at  13:30:24
 Duration  2.82s (transform 645ms, setup 2.94s, import 949ms, tests 4.57s, environment 2ms)
@@ -0,0 +1,3 @@
compatibility: structural=true compiler=true timing=true
axes: absolute 28 (ok), growth 8 (ok), relative 16 compiler + 12 timing
scale baseline gate: PASSED (artifacts/scale/main/baseline-regression.json)
@@ -0,0 +1,5 @@
PASS registry-composition:growth (exponents 0.00)
PASS product-feature-selection:growth (exponents 0.00)
PASS product-feature-resolution:growth (exponents 0.00)
PASS context-hierarchy-composition:growth (exponents 0.00)
composition scale artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/main/composition-s0-s1.json
@@ -0,0 +1,5 @@
PASS registry-composition:growth (exponents 0.00, 0.64)
PASS product-feature-selection:growth (exponents 0.00, 0.83)
PASS product-feature-resolution:growth (exponents 0.00, 0.83)
PASS context-hierarchy-composition:growth (exponents 0.00, 0.34)
composition scale artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/main/composition-s0-s2.json
@@ -0,0 +1,11 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/tsc-diagnostics-parser.test.ts (3 tests) 7ms
✓ tests/scale/composition-scale.test.ts (6 tests) 232ms
 Test Files  2 passed (2)
 Tests  9 passed (9)
 Start at  13:30:31
 Duration  596ms (transform 94ms, setup 326ms, import 114ms, tests 239ms, environment 0ms)
+17
View File
@@ -0,0 +1,17 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/growth-regression.test.ts (7 tests) 6ms
✓ tests/scale/traffic/retry-after-jitter.test.ts (5 tests) 38ms
✓ tests/scale/traffic/amplification-metrics.test.ts (6 tests) 5ms
✓ tests/scale/benchmark.test.ts (4 tests) 8ms
✓ tests/scale/synthetic-topology.test.ts (8 tests) 8ms
✓ tests/scale/scale-baseline.test.ts (11 tests) 11ms
✓ tests/scale/traffic/failure-scenarios.test.ts (5 tests) 1420ms
✓ bounds physical requests when all upstream calls fail  896ms
 Test Files  7 passed (7)
 Tests  46 passed (46)
 Start at  13:30:29
 Duration  2.04s (transform 695ms, setup 1.76s, import 808ms, tests 1.50s, environment 1ms)
+20
View File
@@ -0,0 +1,20 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/resilience/deadline.test.ts (3 tests) 4ms
✓ tests/platform/traffic/request-budget.test.ts (7 tests) 5ms
✓ tests/platform/resilience/retry-budget.test.ts (6 tests) 7ms
✓ tests/platform/traffic/concurrency-budget.test.ts (6 tests) 11ms
✓ tests/platform/traffic/traffic-budget.test.ts (9 tests) 10ms
✓ tests/platform/execution/execution-context.test.ts (10 tests) 9ms
✓ tests/platform/traffic/operation-traffic-policy.test.ts (7 tests) 9ms
✓ tests/platform/traffic/request-fanout.test.ts (6 tests) 59ms
✓ tests/platform/traffic/request-deduplication.test.ts (3 tests) 47ms
✓ tests/platform/traffic/http-budget-integration.test.ts (9 tests) 124ms
✓ tests/platform/traffic/traffic-amplification.test.ts (3 tests) 379ms
 Test Files  11 passed (11)
 Tests  69 passed (69)
 Start at  13:30:27
 Duration  1.13s (transform 1.01s, setup 3.62s, import 1.55s, tests 663ms, environment 2ms)
@@ -0,0 +1,5 @@
tsc app: files=827 types=279186 instantiations=700415
PASS tsc:types (exponents 0.84, 0.96)
PASS tsc:symbols (exponents 0.51, 0.80)
PASS tsc:instantiations (exponents 0.97, 0.99)
tsc diagnostics artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/main/typescript-diagnostics.json
@@ -0,0 +1,25 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/cardinality/compose-unique-record.test.ts (2 tests) 5ms
✓ tests/platform/cardinality/cardinality-budget.test.ts (3 tests) 5ms
✓ tests/architecture/module-hierarchy.test.ts (1 test) 6ms
✓ tests/architecture/context-lazy-loading.test.ts (1 test) 7ms
✓ tests/platform/routing/context-route-module.test.ts (3 tests) 8ms
✓ tests/architecture/topology-cardinality.test.ts (9 tests) 13ms
✓ tests/architecture/observability-boundaries.test.ts (4 tests) 109ms
✓ tests/architecture/request-fanout.test.ts (4 tests) 151ms
✓ tests/platform/cardinality/extreme-scale-registry.test.ts (3 tests) 1946ms
✓ keeps 10k -> 100k composition growth below a quadratic regression budget  378ms
✓ keeps one million lookups bounded on a 100k-entry runtime registry  1201ms
✓ selects and resolves 100k feature ids within the membership budget  365ms
✓ tests/architecture/app-build-input.test.ts (4 tests) 2219ms
✓ accepts the production generator's output and an app-local bundle  671ms
✓ rejects a generator regression that imports every discovered feature  648ms
✓ rejects a production bundle that contains another app's feature  649ms
 Test Files  10 passed (10)
 Tests  34 passed (34)
 Start at  13:30:41
 Duration  2.82s (transform 580ms, setup 3.20s, import 787ms, tests 4.47s, environment 2ms)
@@ -0,0 +1,3 @@
compatibility: structural=true compiler=true timing=true
axes: absolute 28 (ok), growth 8 (ok), relative 16 compiler + 12 timing
scale baseline gate: PASSED (artifacts/scale/nightly/baseline-regression.json)
+12
View File
@@ -0,0 +1,12 @@
browser soak: passed classification=stable samples=24 cycles=2012
PASS cycles (2012 >= 200)
PASS post-warmup samples (18 >= 3)
PASS navigation (0 failures)
PASS heap slope (stable)
PASS listeners (stable, delta 2)
PASS timers (delta 0, max 2)
PASS in-flight settles (final 0, max 0)
PASS storage growth (keys 0, bytes 0)
PASS backend failure exercised (68 settled visits, 479 API requests, 24 telemetry events)
PASS request amplification (479 requests / 336 visits)
PASS telemetry rate (max 14/min, 24 posts, 24 events)
@@ -0,0 +1,5 @@
PASS registry-composition:growth (exponents 0.00)
PASS product-feature-selection:growth (exponents 0.00)
PASS product-feature-resolution:growth (exponents 0.00)
PASS context-hierarchy-composition:growth (exponents 0.00)
composition scale artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/nightly/composition-s0-s1.json
@@ -0,0 +1,5 @@
PASS registry-composition:growth (exponents 0.00, 0.64)
PASS product-feature-selection:growth (exponents 0.00, 0.85)
PASS product-feature-resolution:growth (exponents 0.00, 0.83)
PASS context-hierarchy-composition:growth (exponents 0.00, 0.34)
composition scale artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/nightly/composition-s0-s2.json
@@ -0,0 +1,11 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/tsc-diagnostics-parser.test.ts (3 tests) 6ms
✓ tests/scale/composition-scale.test.ts (6 tests) 191ms
 Test Files  2 passed (2)
 Tests  9 passed (9)
 Start at  13:30:48
 Duration  514ms (transform 78ms, setup 296ms, import 81ms, tests 197ms, environment 0ms)
+17
View File
@@ -0,0 +1,17 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/traffic/retry-after-jitter.test.ts (5 tests) 34ms
✓ tests/scale/traffic/amplification-metrics.test.ts (6 tests) 6ms
✓ tests/scale/benchmark.test.ts (4 tests) 8ms
✓ tests/scale/growth-regression.test.ts (7 tests) 6ms
✓ tests/scale/synthetic-topology.test.ts (8 tests) 8ms
✓ tests/scale/scale-baseline.test.ts (11 tests) 14ms
✓ tests/scale/traffic/failure-scenarios.test.ts (5 tests) 1453ms
✓ bounds physical requests when all upstream calls fail  896ms
 Test Files  7 passed (7)
 Tests  46 passed (46)
 Start at  13:30:45
 Duration  2.07s (transform 436ms, setup 1.74s, import 563ms, tests 1.53s, environment 1ms)
@@ -0,0 +1,12 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/session/network-flap.test.ts (2 tests) 324ms
✓ tests/scale/session/long-session.test.ts (1 test) 921ms
✓ returns timers, listeners, leases, buffers and cache entries to a stable bound  919ms
 Test Files  2 passed (2)
 Tests  3 passed (3)
 Start at  13:31:03
 Duration  1.37s (transform 228ms, setup 296ms, import 363ms, tests 1.24s, environment 0ms)
@@ -0,0 +1,19 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/telemetry/telemetry-port.test.ts (3 tests) 6ms
✓ tests/platform/telemetry/telemetry-deduplicator.test.ts (8 tests) 11ms
✓ tests/platform/telemetry/telemetry-buffer.test.ts (8 tests) 15ms
✓ tests/platform/telemetry/redact-telemetry.test.ts (14 tests) 11ms
✓ tests/platform/telemetry/trace-context.test.ts (6 tests) 43ms
✓ tests/platform/telemetry/telemetry-pipeline.test.ts (9 tests) 669ms
✓ bounds network sends during a repeated error storm  609ms
✓ tests/scale/telemetry/telemetry-storm.test.ts (4 tests) 2882ms
✓ does not turn 100000 identical failures into 100000 sends  748ms
✓ bounds sends and buffer when a storm has many distinct fingerprints  2099ms
 Test Files  7 passed (7)
 Tests  52 passed (52)
 Start at  13:30:59
 Duration  3.35s (transform 427ms, setup 1.75s, import 534ms, tests 3.64s, environment 1ms)
@@ -0,0 +1,16 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/cardinality/extreme-scale-registry.test.ts (3 tests) 1822ms
✓ keeps 10k -> 100k composition growth below a quadratic regression budget  313ms
✓ keeps one million lookups bounded on a 100k-entry runtime registry  1163ms
✓ selects and resolves 100k feature ids within the membership budget  345ms
✓ tests/scale/global-local-independence.test.ts (7 tests) 6311ms
✓ keeps App A's generated indexes and reachable source graph identical from S0 to S2 on disk  4764ms
✓ selects another app from the same repository without App A's features  583ms
 Test Files  2 passed (2)
 Tests  10 passed (10)
 Start at  13:30:52
 Duration  6.64s (transform 87ms, setup 327ms, import 80ms, tests 8.13s, environment 0ms)
@@ -0,0 +1,20 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/traffic/concurrency-budget.test.ts (6 tests) 9ms
✓ tests/platform/resilience/deadline.test.ts (3 tests) 4ms
✓ tests/platform/traffic/request-budget.test.ts (7 tests) 7ms
✓ tests/platform/resilience/retry-budget.test.ts (6 tests) 5ms
✓ tests/platform/traffic/traffic-budget.test.ts (9 tests) 8ms
✓ tests/platform/execution/execution-context.test.ts (10 tests) 10ms
✓ tests/platform/traffic/operation-traffic-policy.test.ts (7 tests) 9ms
✓ tests/platform/traffic/request-fanout.test.ts (6 tests) 41ms
✓ tests/platform/traffic/request-deduplication.test.ts (3 tests) 40ms
✓ tests/platform/traffic/http-budget-integration.test.ts (9 tests) 121ms
✓ tests/platform/traffic/traffic-amplification.test.ts (3 tests) 316ms
 Test Files  11 passed (11)
 Tests  69 passed (69)
 Start at  13:30:44
 Duration  1.04s (transform 890ms, setup 3.40s, import 1.40s, tests 570ms, environment 2ms)
@@ -0,0 +1,5 @@
tsc app: files=827 types=279186 instantiations=700415
PASS tsc:types (exponents 0.84, 0.96)
PASS tsc:symbols (exponents 0.51, 0.80)
PASS tsc:instantiations (exponents 0.97, 0.99)
tsc diagnostics artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/nightly/typescript-diagnostics.json
@@ -0,0 +1,25 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/architecture/module-hierarchy.test.ts (1 test) 14ms
✓ tests/architecture/topology-cardinality.test.ts (9 tests) 37ms
✓ tests/architecture/observability-boundaries.test.ts (4 tests) 210ms
✓ tests/architecture/context-lazy-loading.test.ts (1 test) 18ms
✓ tests/platform/cardinality/cardinality-budget.test.ts (3 tests) 22ms
✓ tests/platform/cardinality/compose-unique-record.test.ts (2 tests) 12ms
✓ tests/platform/routing/context-route-module.test.ts (3 tests) 11ms
✓ tests/architecture/request-fanout.test.ts (4 tests) 234ms
✓ tests/platform/cardinality/extreme-scale-registry.test.ts (3 tests) 2791ms
✓ keeps 10k -> 100k composition growth below a quadratic regression budget  721ms
✓ keeps one million lookups bounded on a 100k-entry runtime registry  1649ms
✓ selects and resolves 100k feature ids within the membership budget  420ms
✓ tests/architecture/app-build-input.test.ts (4 tests) 2872ms
✓ accepts the production generator's output and an app-local bundle  996ms
✓ rejects a generator regression that imports every discovered feature  897ms
✓ rejects a production bundle that contains another app's feature  723ms
 Test Files  10 passed (10)
 Tests  34 passed (34)
 Start at  13:30:15
 Duration  3.81s (transform 625ms, setup 4.78s, import 1.11s, tests 6.22s, environment 2ms)
+5
View File
@@ -0,0 +1,5 @@
PASS registry-composition:growth (exponents 0.00)
PASS product-feature-selection:growth (exponents 0.00)
PASS product-feature-resolution:growth (exponents 0.00)
PASS context-hierarchy-composition:growth (exponents 0.00)
composition scale artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/pr/composition-s0-s1.json
+17
View File
@@ -0,0 +1,17 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/traffic/amplification-metrics.test.ts (6 tests) 5ms
✓ tests/scale/growth-regression.test.ts (7 tests) 6ms
✓ tests/scale/traffic/retry-after-jitter.test.ts (5 tests) 38ms
✓ tests/scale/benchmark.test.ts (4 tests) 7ms
✓ tests/scale/synthetic-topology.test.ts (8 tests) 10ms
✓ tests/scale/scale-baseline.test.ts (11 tests) 11ms
✓ tests/scale/traffic/failure-scenarios.test.ts (5 tests) 1429ms
✓ bounds physical requests when all upstream calls fail  919ms
 Test Files  7 passed (7)
 Tests  46 passed (46)
 Start at  13:30:21
 Duration  2.02s (transform 485ms, setup 1.52s, import 646ms, tests 1.51s, environment 1ms)
+20
View File
@@ -0,0 +1,20 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/traffic/request-budget.test.ts (7 tests) 5ms
✓ tests/platform/resilience/deadline.test.ts (3 tests) 5ms
✓ tests/platform/traffic/concurrency-budget.test.ts (6 tests) 10ms
✓ tests/platform/resilience/retry-budget.test.ts (6 tests) 5ms
✓ tests/platform/execution/execution-context.test.ts (10 tests) 9ms
✓ tests/platform/traffic/traffic-budget.test.ts (9 tests) 10ms
✓ tests/platform/traffic/operation-traffic-policy.test.ts (7 tests) 7ms
✓ tests/platform/traffic/request-fanout.test.ts (6 tests) 44ms
✓ tests/platform/traffic/request-deduplication.test.ts (3 tests) 40ms
✓ tests/platform/traffic/http-budget-integration.test.ts (9 tests) 127ms
✓ tests/platform/traffic/traffic-amplification.test.ts (3 tests) 328ms
 Test Files  11 passed (11)
 Tests  69 passed (69)
 Start at  13:30:20
 Duration  1.09s (transform 1.03s, setup 3.64s, import 1.52s, tests 590ms, environment 2ms)
@@ -0,0 +1,25 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/cardinality/compose-unique-record.test.ts (2 tests) 7ms
✓ tests/architecture/context-lazy-loading.test.ts (1 test) 7ms
✓ tests/platform/routing/context-route-module.test.ts (3 tests) 9ms
✓ tests/platform/cardinality/cardinality-budget.test.ts (3 tests) 6ms
✓ tests/architecture/module-hierarchy.test.ts (1 test) 6ms
✓ tests/architecture/topology-cardinality.test.ts (9 tests) 12ms
✓ tests/architecture/observability-boundaries.test.ts (4 tests) 101ms
✓ tests/architecture/request-fanout.test.ts (4 tests) 155ms
✓ tests/platform/cardinality/extreme-scale-registry.test.ts (3 tests) 1941ms
✓ keeps 10k -> 100k composition growth below a quadratic regression budget  383ms
✓ keeps one million lookups bounded on a 100k-entry runtime registry  1177ms
✓ selects and resolves 100k feature ids within the membership budget  379ms
✓ tests/architecture/app-build-input.test.ts (4 tests) 2191ms
✓ accepts the production generator's output and an app-local bundle  659ms
✓ rejects a generator regression that imports every discovered feature  635ms
✓ rejects a production bundle that contains another app's feature  660ms
 Test Files  10 passed (10)
 Tests  34 passed (34)
 Start at  13:33:08
 Duration  2.80s (transform 512ms, setup 3.13s, import 681ms, tests 4.43s, environment 2ms)
@@ -0,0 +1,3 @@
compatibility: structural=true compiler=true timing=true
axes: absolute 28 (ok), growth 8 (ok), relative 16 compiler + 12 timing
scale baseline gate: PASSED (artifacts/scale/release/baseline-regression.json)
@@ -0,0 +1,5 @@
PASS registry-composition:growth (exponents 0.00)
PASS product-feature-selection:growth (exponents 0.00)
PASS product-feature-resolution:growth (exponents 0.00)
PASS context-hierarchy-composition:growth (exponents 0.00)
composition scale artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/release/composition-s0-s1.json
@@ -0,0 +1,5 @@
PASS registry-composition:growth (exponents 0.00, 0.65)
PASS product-feature-selection:growth (exponents 0.00, 0.90)
PASS product-feature-resolution:growth (exponents 0.00, 0.85)
PASS context-hierarchy-composition:growth (exponents 0.00, 0.44)
composition scale artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/release/composition-s0-s2.json
@@ -0,0 +1,11 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/tsc-diagnostics-parser.test.ts (3 tests) 7ms
✓ tests/scale/composition-scale.test.ts (6 tests) 186ms
 Test Files  2 passed (2)
 Tests  9 passed (9)
 Start at  13:33:15
 Duration  494ms (transform 86ms, setup 297ms, import 80ms, tests 193ms, environment 0ms)
@@ -0,0 +1,15 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/release/release-coherence.test.ts (10 tests) 8ms
✓ tests/platform/release/release-mismatch-recovery.test.ts (10 tests) 14ms
✓ tests/release/old-asset-reachability.test.ts (4 tests) 7ms
✓ tests/platform/release/cache-policy.test.ts (5 tests) 29ms
✓ tests/release/release-matrix.test.ts (7 tests) 39ms
✓ tests/release/mixed-replica.test.ts (7 tests) 67ms
 Test Files  6 passed (6)
 Tests  43 passed (43)
 Start at  13:33:06
 Duration  780ms (transform 1.11s, setup 1.22s, import 1.79s, tests 163ms, environment 1ms)
+17
View File
@@ -0,0 +1,17 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/traffic/amplification-metrics.test.ts (6 tests) 6ms
✓ tests/scale/growth-regression.test.ts (7 tests) 9ms
✓ tests/scale/traffic/retry-after-jitter.test.ts (5 tests) 27ms
✓ tests/scale/benchmark.test.ts (4 tests) 11ms
✓ tests/scale/synthetic-topology.test.ts (8 tests) 13ms
✓ tests/scale/scale-baseline.test.ts (11 tests) 11ms
✓ tests/scale/traffic/failure-scenarios.test.ts (5 tests) 1362ms
✓ bounds physical requests when all upstream calls fail  874ms
 Test Files  7 passed (7)
 Tests  46 passed (46)
 Start at  13:33:12
 Duration  1.96s (transform 513ms, setup 1.59s, import 672ms, tests 1.44s, environment 1ms)
@@ -0,0 +1,12 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/telemetry/telemetry-storm.test.ts (4 tests) 2705ms
✓ does not turn 100000 identical failures into 100000 sends  672ms
✓ bounds sends and buffer when a storm has many distinct fingerprints  1998ms
 Test Files  1 passed (1)
 Tests  4 passed (4)
 Start at  13:33:26
 Duration  3.01s (transform 58ms, setup 146ms, import 52ms, tests 2.71s, environment 0ms)
@@ -0,0 +1,12 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/scale/global-local-independence.test.ts (7 tests) 6484ms
✓ keeps App A's generated indexes and reachable source graph identical from S0 to S2 on disk  4707ms
✓ selects another app from the same repository without App A's features  646ms
 Test Files  1 passed (1)
 Tests  7 passed (7)
 Start at  13:33:19
 Duration  6.79s (transform 53ms, setup 145ms, import 49ms, tests 6.48s, environment 0ms)
@@ -0,0 +1,20 @@
 RUN  v4.1.10 /shared/codebase/clean-architecture-frontend-template
✓ tests/platform/traffic/request-budget.test.ts (7 tests) 5ms
✓ tests/platform/traffic/concurrency-budget.test.ts (6 tests) 10ms
✓ tests/platform/resilience/retry-budget.test.ts (6 tests) 5ms
✓ tests/platform/resilience/deadline.test.ts (3 tests) 6ms
✓ tests/platform/traffic/traffic-budget.test.ts (9 tests) 9ms
✓ tests/platform/execution/execution-context.test.ts (10 tests) 13ms
✓ tests/platform/traffic/operation-traffic-policy.test.ts (7 tests) 7ms
✓ tests/platform/traffic/request-fanout.test.ts (6 tests) 47ms
✓ tests/platform/traffic/request-deduplication.test.ts (3 tests) 50ms
✓ tests/platform/traffic/http-budget-integration.test.ts (9 tests) 121ms
✓ tests/platform/traffic/traffic-amplification.test.ts (3 tests) 331ms
 Test Files  11 passed (11)
 Tests  69 passed (69)
 Start at  13:33:11
 Duration  1.08s (transform 940ms, setup 3.62s, import 1.46s, tests 603ms, environment 2ms)
@@ -0,0 +1,5 @@
tsc app: files=827 types=279186 instantiations=700415
PASS tsc:types (exponents 0.84, 0.96)
PASS tsc:symbols (exponents 0.51, 0.80)
PASS tsc:instantiations (exponents 0.97, 0.99)
tsc diagnostics artifact: /shared/codebase/clean-architecture-frontend-template/artifacts/scale/release/typescript-diagnostics.json
+1
View File
@@ -0,0 +1 @@
+18
View File
@@ -0,0 +1,18 @@
# APP_HOME accessibility review
Status: pending-manual-review
Route ID: APP_HOME
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Automated axe, keyboard-focus, and reduced-motion evidence is available; human review pending.
@@ -0,0 +1,18 @@
# EXAMPLES_AUTH accessibility review
Status: pending-manual-review
Route ID: EXAMPLES_AUTH
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Review session state announcements and unavailable external-integration behavior.
@@ -0,0 +1,18 @@
# EXAMPLES_PLATFORM accessibility review
Status: pending-manual-review
Route ID: EXAMPLES_PLATFORM
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Review the horizontally scrollable registry tables for keyboard reachability of the scroll container, table caption and header association announced per row, capability status badges carrying their meaning in text rather than colour alone, and the release identity region announcing its update through aria-live without interrupting a reader mid row.
@@ -0,0 +1,18 @@
# EXAMPLES_STATES accessibility review
Status: pending-manual-review
Route ID: EXAMPLES_STATES
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Review loading, refresh, empty, error, authentication, forbidden, and not-found announcements.
@@ -0,0 +1,18 @@
# EXAMPLES_UI accessibility review
Status: pending-manual-review
Route ID: EXAMPLES_UI
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: pending
M5 Error association: pending
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Review form primitives, Menu/Tabs keyboard behavior, Toast announcements, Tooltip supplemental copy, text-field error association and modal focus containment/restoration.
+18
View File
@@ -0,0 +1,18 @@
# NOT_FOUND accessibility review
Status: pending-manual-review
Route ID: NOT_FOUND
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Human review pending.
@@ -0,0 +1,18 @@
# REFERENCE_RESOURCE_DETAIL accessibility review
Status: pending-manual-review
Route ID: REFERENCE_RESOURCE_DETAIL
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Human review pending.
@@ -0,0 +1,18 @@
# REFERENCE_RESOURCE_FORM accessibility review
Status: pending-manual-review
Route ID: REFERENCE_RESOURCE_FORM
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: pending
M5 Error association: pending
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Human review pending.
@@ -0,0 +1,18 @@
# REFERENCE_RESOURCE_LIST accessibility review
Status: pending-manual-review
Route ID: REFERENCE_RESOURCE_LIST
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Human review pending.
@@ -0,0 +1,18 @@
# REFERENCE_RESOURCE_STATUS accessibility review
Status: pending-manual-review
Route ID: REFERENCE_RESOURCE_STATUS
Release ID:
Reviewer:
Reviewed at:
Signature:
Attestation: pending
M1 Keyboard: pending
M2 Visible focus: pending
M3 Route focus: pending
M4 Modal focus: not-applicable (no modal on this route)
M5 Error association: not-applicable (no form error on this route)
M6 Color signal: pending
M7 Reduced motion: pending
Screen reader: pending
Notes: Human review pending.
@@ -0,0 +1,224 @@
body, html {
margin:0; padding: 0;
height: 100%;
}
body {
font-family: Helvetica Neue, Helvetica, Arial;
font-size: 14px;
color:#333;
}
.small { font-size: 12px; }
*, *:after, *:before {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
h1 { font-size: 20px; margin: 0;}
h2 { font-size: 14px; }
pre {
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
margin: 0;
padding: 0;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
a { color:#0074D9; text-decoration:none; }
a:hover { text-decoration:underline; }
.strong { font-weight: bold; }
.space-top1 { padding: 10px 0 0 0; }
.pad2y { padding: 20px 0; }
.pad1y { padding: 10px 0; }
.pad2x { padding: 0 20px; }
.pad2 { padding: 20px; }
.pad1 { padding: 10px; }
.space-left2 { padding-left:55px; }
.space-right2 { padding-right:20px; }
.center { text-align:center; }
.clearfix { display:block; }
.clearfix:after {
content:'';
display:block;
height:0;
clear:both;
visibility:hidden;
}
.fl { float: left; }
@media only screen and (max-width:640px) {
.col3 { width:100%; max-width:100%; }
.hide-mobile { display:none!important; }
}
.quiet {
color: #7f7f7f;
color: rgba(0,0,0,0.5);
}
.quiet a { opacity: 0.7; }
.fraction {
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
font-size: 10px;
color: #555;
background: #E8E8E8;
padding: 4px 5px;
border-radius: 3px;
vertical-align: middle;
}
div.path a:link, div.path a:visited { color: #333; }
table.coverage {
border-collapse: collapse;
margin: 10px 0 0 0;
padding: 0;
}
table.coverage td {
margin: 0;
padding: 0;
vertical-align: top;
}
table.coverage td.line-count {
text-align: right;
padding: 0 5px 0 20px;
}
table.coverage td.line-coverage {
text-align: right;
padding-right: 10px;
min-width:20px;
}
table.coverage td span.cline-any {
display: inline-block;
padding: 0 5px;
width: 100%;
}
.missing-if-branch {
display: inline-block;
margin-right: 5px;
border-radius: 3px;
position: relative;
padding: 0 4px;
background: #333;
color: yellow;
}
.skip-if-branch {
display: none;
margin-right: 10px;
position: relative;
padding: 0 4px;
background: #ccc;
color: white;
}
.missing-if-branch .typ, .skip-if-branch .typ {
color: inherit !important;
}
.coverage-summary {
border-collapse: collapse;
width: 100%;
}
.coverage-summary tr { border-bottom: 1px solid #bbb; }
.keyline-all { border: 1px solid #ddd; }
.coverage-summary td, .coverage-summary th { padding: 10px; }
.coverage-summary tbody { border: 1px solid #bbb; }
.coverage-summary td { border-right: 1px solid #bbb; }
.coverage-summary td:last-child { border-right: none; }
.coverage-summary th {
text-align: left;
font-weight: normal;
white-space: nowrap;
}
.coverage-summary th.file { border-right: none !important; }
.coverage-summary th.pct { }
.coverage-summary th.pic,
.coverage-summary th.abs,
.coverage-summary td.pct,
.coverage-summary td.abs { text-align: right; }
.coverage-summary td.file { white-space: nowrap; }
.coverage-summary td.pic { min-width: 120px !important; }
.coverage-summary tfoot td { }
.coverage-summary .sorter {
height: 10px;
width: 7px;
display: inline-block;
margin-left: 0.5em;
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
}
.coverage-summary .sorted .sorter {
background-position: 0 -20px;
}
.coverage-summary .sorted-desc .sorter {
background-position: 0 -10px;
}
.status-line { height: 10px; }
/* yellow */
.cbranch-no { background: yellow !important; color: #111; }
/* dark red */
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
.low .chart { border:1px solid #C21F39 }
.highlighted,
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
background: #C21F39 !important;
}
/* medium red */
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
/* light red */
.low, .cline-no { background:#FCE1E5 }
/* light green */
.high, .cline-yes { background:rgb(230,245,208) }
/* medium green */
.cstat-yes { background:rgb(161,215,106) }
/* dark green */
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
.high .chart { border:1px solid rgb(77,146,33) }
/* dark yellow (gold) */
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
.medium .chart { border:1px solid #f9cd0b; }
/* light yellow */
.medium { background: #fff4c2; }
.cstat-skip { background: #ddd; color: #111; }
.fstat-skip { background: #ddd; color: #111 !important; }
.cbranch-skip { background: #ddd !important; color: #111; }
span.cline-neutral { background: #eaeaea; }
.coverage-summary td.empty {
opacity: .5;
padding-top: 4px;
padding-bottom: 4px;
line-height: 1;
color: #888;
}
.cover-fill, .cover-empty {
display:inline-block;
height: 12px;
}
.chart {
line-height: 0;
}
.cover-empty {
background: white;
}
.cover-full {
border-right: none !important;
}
pre.prettyprint {
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.com { color: #999 !important; }
.ignore-none { color: #999; font-weight: normal; }
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -48px;
}
.footer, .push {
height: 48px;
}
@@ -0,0 +1,87 @@
/* eslint-disable */
var jumpToCode = (function init() {
// Classes of code we would like to highlight in the file view
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
// Elements to highlight in the file listing view
var fileListingElements = ['td.pct.low'];
// We don't want to select elements that are direct descendants of another match
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
// Selector that finds elements on the page to which we can jump
var selector =
fileListingElements.join(', ') +
', ' +
notSelector +
missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
// The NodeList of matching elements
var missingCoverageElements = document.querySelectorAll(selector);
var currentIndex;
function toggleClass(index) {
missingCoverageElements
.item(currentIndex)
.classList.remove('highlighted');
missingCoverageElements.item(index).classList.add('highlighted');
}
function makeCurrent(index) {
toggleClass(index);
currentIndex = index;
missingCoverageElements.item(index).scrollIntoView({
behavior: 'smooth',
block: 'center',
inline: 'center'
});
}
function goToPrevious() {
var nextIndex = 0;
if (typeof currentIndex !== 'number' || currentIndex === 0) {
nextIndex = missingCoverageElements.length - 1;
} else if (missingCoverageElements.length > 1) {
nextIndex = currentIndex - 1;
}
makeCurrent(nextIndex);
}
function goToNext() {
var nextIndex = 0;
if (
typeof currentIndex === 'number' &&
currentIndex < missingCoverageElements.length - 1
) {
nextIndex = currentIndex + 1;
}
makeCurrent(nextIndex);
}
return function jump(event) {
if (
document.getElementById('fileSearch') === document.activeElement &&
document.activeElement != null
) {
// if we're currently focused on the search input, we don't want to navigate
return;
}
switch (event.which) {
case 78: // n
case 74: // j
goToNext();
break;
case 66: // b
case 75: // k
case 80: // p
goToPrevious();
break;
}
};
})();
window.addEventListener('keydown', jumpToCode);
Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

@@ -0,0 +1,116 @@
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for All files</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
}
</style>
</head>
<body>
<div class='wrapper'>
<div class='pad1'>
<h1>All files</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>11/11</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Branches</span>
<span class='fraction'>8/8</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>5/5</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>11/11</span>
</div>
</div>
<p class="quiet">
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
</p>
<template id="filterTemplate">
<div class="quiet">
Filter:
<input type="search" id="fileSearch">
</div>
</template>
</div>
<div class='status-line high'></div>
<div class="pad1">
<table class="coverage-summary">
<thead>
<tr>
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
</tr>
</thead>
<tbody><tr>
<td class="file high" data-value="reference-http-gateway.ts"><a href="reference-http-gateway.ts.html">reference-http-gateway.ts</a></td>
<td data-value="100" class="pic high">
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="11" class="abs high">11/11</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="8" class="abs high">8/8</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="5" class="abs high">5/5</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="11" class="abs high">11/11</td>
</tr>
</tbody>
</table>
</div>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2026-09-18T11:39:00.427Z
</div>
<script src="prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
</body>
</html>
@@ -0,0 +1 @@
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,331 @@
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for reference-http-gateway.ts</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(sort-arrow-sprite.png);
}
</style>
</head>
<body>
<div class='wrapper'>
<div class='pad1'>
<h1><a href="index.html">All files</a> reference-http-gateway.ts</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>11/11</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Branches</span>
<span class='fraction'>8/8</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>5/5</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>11/11</span>
</div>
</div>
<p class="quiet">
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
</p>
<template id="filterTemplate">
<div class="quiet">
Filter:
<input type="search" id="fileSearch">
</div>
</template>
</div>
<div class='status-line high'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
<a name='L2'></a><a href='#L2'>2</a>
<a name='L3'></a><a href='#L3'>3</a>
<a name='L4'></a><a href='#L4'>4</a>
<a name='L5'></a><a href='#L5'>5</a>
<a name='L6'></a><a href='#L6'>6</a>
<a name='L7'></a><a href='#L7'>7</a>
<a name='L8'></a><a href='#L8'>8</a>
<a name='L9'></a><a href='#L9'>9</a>
<a name='L10'></a><a href='#L10'>10</a>
<a name='L11'></a><a href='#L11'>11</a>
<a name='L12'></a><a href='#L12'>12</a>
<a name='L13'></a><a href='#L13'>13</a>
<a name='L14'></a><a href='#L14'>14</a>
<a name='L15'></a><a href='#L15'>15</a>
<a name='L16'></a><a href='#L16'>16</a>
<a name='L17'></a><a href='#L17'>17</a>
<a name='L18'></a><a href='#L18'>18</a>
<a name='L19'></a><a href='#L19'>19</a>
<a name='L20'></a><a href='#L20'>20</a>
<a name='L21'></a><a href='#L21'>21</a>
<a name='L22'></a><a href='#L22'>22</a>
<a name='L23'></a><a href='#L23'>23</a>
<a name='L24'></a><a href='#L24'>24</a>
<a name='L25'></a><a href='#L25'>25</a>
<a name='L26'></a><a href='#L26'>26</a>
<a name='L27'></a><a href='#L27'>27</a>
<a name='L28'></a><a href='#L28'>28</a>
<a name='L29'></a><a href='#L29'>29</a>
<a name='L30'></a><a href='#L30'>30</a>
<a name='L31'></a><a href='#L31'>31</a>
<a name='L32'></a><a href='#L32'>32</a>
<a name='L33'></a><a href='#L33'>33</a>
<a name='L34'></a><a href='#L34'>34</a>
<a name='L35'></a><a href='#L35'>35</a>
<a name='L36'></a><a href='#L36'>36</a>
<a name='L37'></a><a href='#L37'>37</a>
<a name='L38'></a><a href='#L38'>38</a>
<a name='L39'></a><a href='#L39'>39</a>
<a name='L40'></a><a href='#L40'>40</a>
<a name='L41'></a><a href='#L41'>41</a>
<a name='L42'></a><a href='#L42'>42</a>
<a name='L43'></a><a href='#L43'>43</a>
<a name='L44'></a><a href='#L44'>44</a>
<a name='L45'></a><a href='#L45'>45</a>
<a name='L46'></a><a href='#L46'>46</a>
<a name='L47'></a><a href='#L47'>47</a>
<a name='L48'></a><a href='#L48'>48</a>
<a name='L49'></a><a href='#L49'>49</a>
<a name='L50'></a><a href='#L50'>50</a>
<a name='L51'></a><a href='#L51'>51</a>
<a name='L52'></a><a href='#L52'>52</a>
<a name='L53'></a><a href='#L53'>53</a>
<a name='L54'></a><a href='#L54'>54</a>
<a name='L55'></a><a href='#L55'>55</a>
<a name='L56'></a><a href='#L56'>56</a>
<a name='L57'></a><a href='#L57'>57</a>
<a name='L58'></a><a href='#L58'>58</a>
<a name='L59'></a><a href='#L59'>59</a>
<a name='L60'></a><a href='#L60'>60</a>
<a name='L61'></a><a href='#L61'>61</a>
<a name='L62'></a><a href='#L62'>62</a>
<a name='L63'></a><a href='#L63'>63</a>
<a name='L64'></a><a href='#L64'>64</a>
<a name='L65'></a><a href='#L65'>65</a>
<a name='L66'></a><a href='#L66'>66</a>
<a name='L67'></a><a href='#L67'>67</a>
<a name='L68'></a><a href='#L68'>68</a>
<a name='L69'></a><a href='#L69'>69</a>
<a name='L70'></a><a href='#L70'>70</a>
<a name='L71'></a><a href='#L71'>71</a>
<a name='L72'></a><a href='#L72'>72</a>
<a name='L73'></a><a href='#L73'>73</a>
<a name='L74'></a><a href='#L74'>74</a>
<a name='L75'></a><a href='#L75'>75</a>
<a name='L76'></a><a href='#L76'>76</a>
<a name='L77'></a><a href='#L77'>77</a>
<a name='L78'></a><a href='#L78'>78</a>
<a name='L79'></a><a href='#L79'>79</a>
<a name='L80'></a><a href='#L80'>80</a>
<a name='L81'></a><a href='#L81'>81</a>
<a name='L82'></a><a href='#L82'>82</a>
<a name='L83'></a><a href='#L83'>83</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import {
defineFeatureHttpOperationForRoutes,
type FeatureHttpBinding,
} from "../../../adapters/http/index.ts";
import {
CREATE_REFERENCE_RESOURCE_CONTRACT,
GET_REFERENCE_RESOURCE_CONTRACT,
LIST_REFERENCE_RESOURCES_CONTRACT,
} from "../contracts/reference-feature-contract-contribution.ts";
import {
REFERENCE_FEATURE_CONTRACT,
} from "../contracts/reference-feature-contract.ts";
import {
mapReferenceResourceListPayload,
mapReferenceResourcePayload,
} from "../contracts/reference-mapper.ts";
import type {
ReferenceGateway,
} from "../application/reference-feature-api.ts";
&nbsp;
export type ReferenceFeatureRouteId =
keyof typeof REFERENCE_FEATURE_CONTRACT.routes;
&nbsp;
const defineReferenceHttpOperation =
defineFeatureHttpOperationForRoutes&lt;ReferenceFeatureRouteId&gt;();
&nbsp;
export const REFERENCE_HTTP_OPERATIONS = Object.freeze({
LIST_REFERENCE_RESOURCES: defineReferenceHttpOperation({
contract: LIST_REFERENCE_RESOURCES_CONTRACT,
routeId: "REFERENCE_RESOURCE_LIST",
mapSuccess: mapReferenceResourceListPayload,
}),
CREATE_REFERENCE_RESOURCE: defineReferenceHttpOperation({
contract: CREATE_REFERENCE_RESOURCE_CONTRACT,
routeId: "REFERENCE_RESOURCE_LIST",
mapSuccess: mapReferenceResourcePayload,
mapProblem(problem, metadata) {
if (metadata.status === 409) {
return Object.freeze({
kind: "CONFLICT" as const,
code: problem.code ?? "REFERENCE_RESOURCE_CONFLICT",
});
}
if (metadata.status === 422) {
return Object.freeze({
kind: "VALIDATION_REJECTED" as const,
code: problem.code ?? "REFERENCE_RESOURCE_REJECTED",
});
}
return undefined;
},
}),
GET_REFERENCE_RESOURCE: defineReferenceHttpOperation({
contract: GET_REFERENCE_RESOURCE_CONTRACT,
routeId: "REFERENCE_RESOURCE_DETAIL",
mapSuccess: mapReferenceResourcePayload,
}),
} as const);
&nbsp;
export type ReferenceHttpBinding = FeatureHttpBinding&lt;
typeof REFERENCE_HTTP_OPERATIONS
&gt;;
&nbsp;
export function createReferenceHttpGateway(
http: ReferenceHttpBinding,
): ReferenceGateway {
return Object.freeze({
list(filters, context) {
return http.execute("LIST_REFERENCE_RESOURCES", filters, context);
},
create(command, context) {
return http.execute("CREATE_REFERENCE_RESOURCE", command, context);
},
get(resourceId, context) {
return http.execute(
"GET_REFERENCE_RESOURCE",
Object.freeze({ resourceId }),
context,
);
},
});
}
&nbsp;</pre></td></tr></table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2026-09-18T11:39:00.427Z
</div>
<script src="prettify.js"></script>
<script>
window.onload = function () {
prettyPrint();
};
</script>
<script src="sorter.js"></script>
<script src="block-navigation.js"></script>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

@@ -0,0 +1,210 @@
/* eslint-disable */
var addSorting = (function() {
'use strict';
var cols,
currentSort = {
index: 0,
desc: false
};
// returns the summary table element
function getTable() {
return document.querySelector('.coverage-summary');
}
// returns the thead element of the summary table
function getTableHeader() {
return getTable().querySelector('thead tr');
}
// returns the tbody element of the summary table
function getTableBody() {
return getTable().querySelector('tbody');
}
// returns the th element for nth column
function getNthColumn(n) {
return getTableHeader().querySelectorAll('th')[n];
}
function onFilterInput() {
const searchValue = document.getElementById('fileSearch').value;
const rows = document.getElementsByTagName('tbody')[0].children;
// Try to create a RegExp from the searchValue. If it fails (invalid regex),
// it will be treated as a plain text search
let searchRegex;
try {
searchRegex = new RegExp(searchValue, 'i'); // 'i' for case-insensitive
} catch (error) {
searchRegex = null;
}
for (let i = 0; i < rows.length; i++) {
const row = rows[i];
let isMatch = false;
if (searchRegex) {
// If a valid regex was created, use it for matching
isMatch = searchRegex.test(row.textContent);
} else {
// Otherwise, fall back to the original plain text search
isMatch = row.textContent
.toLowerCase()
.includes(searchValue.toLowerCase());
}
row.style.display = isMatch ? '' : 'none';
}
}
// loads the search box
function addSearchBox() {
var template = document.getElementById('filterTemplate');
var templateClone = template.content.cloneNode(true);
templateClone.getElementById('fileSearch').oninput = onFilterInput;
template.parentElement.appendChild(templateClone);
}
// loads all columns
function loadColumns() {
var colNodes = getTableHeader().querySelectorAll('th'),
colNode,
cols = [],
col,
i;
for (i = 0; i < colNodes.length; i += 1) {
colNode = colNodes[i];
col = {
key: colNode.getAttribute('data-col'),
sortable: !colNode.getAttribute('data-nosort'),
type: colNode.getAttribute('data-type') || 'string'
};
cols.push(col);
if (col.sortable) {
col.defaultDescSort = col.type === 'number';
colNode.innerHTML =
colNode.innerHTML + '<span class="sorter"></span>';
}
}
return cols;
}
// attaches a data attribute to every tr element with an object
// of data values keyed by column name
function loadRowData(tableRow) {
var tableCols = tableRow.querySelectorAll('td'),
colNode,
col,
data = {},
i,
val;
for (i = 0; i < tableCols.length; i += 1) {
colNode = tableCols[i];
col = cols[i];
val = colNode.getAttribute('data-value');
if (col.type === 'number') {
val = Number(val);
}
data[col.key] = val;
}
return data;
}
// loads all row data
function loadData() {
var rows = getTableBody().querySelectorAll('tr'),
i;
for (i = 0; i < rows.length; i += 1) {
rows[i].data = loadRowData(rows[i]);
}
}
// sorts the table using the data for the ith column
function sortByIndex(index, desc) {
var key = cols[index].key,
sorter = function(a, b) {
a = a.data[key];
b = b.data[key];
return a < b ? -1 : a > b ? 1 : 0;
},
finalSorter = sorter,
tableBody = document.querySelector('.coverage-summary tbody'),
rowNodes = tableBody.querySelectorAll('tr'),
rows = [],
i;
if (desc) {
finalSorter = function(a, b) {
return -1 * sorter(a, b);
};
}
for (i = 0; i < rowNodes.length; i += 1) {
rows.push(rowNodes[i]);
tableBody.removeChild(rowNodes[i]);
}
rows.sort(finalSorter);
for (i = 0; i < rows.length; i += 1) {
tableBody.appendChild(rows[i]);
}
}
// removes sort indicators for current column being sorted
function removeSortIndicators() {
var col = getNthColumn(currentSort.index),
cls = col.className;
cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, '');
col.className = cls;
}
// adds sort indicators for current column being sorted
function addSortIndicators() {
getNthColumn(currentSort.index).className += currentSort.desc
? ' sorted-desc'
: ' sorted';
}
// adds event listeners for all sorter widgets
function enableUI() {
var i,
el,
ithSorter = function ithSorter(i) {
var col = cols[i];
return function() {
var desc = col.defaultDescSort;
if (currentSort.index === i) {
desc = !currentSort.desc;
}
sortByIndex(i, desc);
removeSortIndicators();
currentSort.index = i;
currentSort.desc = desc;
addSortIndicators();
};
};
for (i = 0; i < cols.length; i += 1) {
if (cols[i].sortable) {
// add the click event handler on the th so users
// dont have to click on those tiny arrows
el = getNthColumn(i).querySelector('.sorter').parentElement;
if (el.addEventListener) {
el.addEventListener('click', ithSorter(i));
} else {
el.attachEvent('onclick', ithSorter(i));
}
}
}
}
// adds sorting functionality to the UI
return function() {
if (!getTable()) {
return;
}
cols = loadColumns();
loadData();
addSearchBox();
addSortIndicators();
enableUI();
};
})();
window.addEventListener('load', addSorting);
@@ -0,0 +1,38 @@
TN:
SF:src/features/reference-feature/adapters/reference-http-gateway.ts
FN:37,mapProblem
FN:64,createReferenceHttpGateway
FN:68,list
FN:71,create
FN:74,get
FNF:5
FNH:5
FNDA:5,mapProblem
FNDA:8,createReferenceHttpGateway
FNDA:1,list
FNDA:6,create
FNDA:3,get
DA:25,2
DA:27,2
DA:38,5
DA:39,2
DA:44,3
DA:45,2
DA:50,1
DA:67,8
DA:69,1
DA:72,6
DA:75,3
LF:11
LH:11
BRDA:38,0,0,2
BRDA:38,0,1,3
BRDA:41,1,0,2
BRDA:41,1,1,1
BRDA:44,2,0,2
BRDA:44,2,1,1
BRDA:47,3,0,2
BRDA:47,3,1,1
BRF:8
BRH:8
end_of_record
+38
View File
@@ -0,0 +1,38 @@
{
"schemaVersion": 1,
"layers": {
"domain": {
"root": "src/domain",
"mayImport": ["src/domain"]
},
"application": {
"root": "src/application",
"mayImport": ["src/application", "src/domain", "src/contracts"]
},
"presentation": {
"root": "src/presentation",
"mayImport": ["src/presentation", "src/application", "src/domain", "src/contracts"]
},
"adapters": {
"root": "src/adapters",
"mayImport": ["src/adapters", "src/application", "src/domain", "src/contracts"]
},
"bootstrap": {
"root": "src/bootstrap",
"mayImport": ["src"]
}
},
"forbidden": [
["domain", "application"],
["domain", "presentation"],
["domain", "adapters"],
["domain", "bootstrap"],
["application", "presentation"],
["application", "adapters"],
["application", "bootstrap"],
["presentation", "adapters"],
["presentation", "bootstrap"],
["adapters", "presentation"],
["adapters", "bootstrap"]
]
}
+2895
View File
File diff suppressed because it is too large Load Diff
+63
View File
@@ -0,0 +1,63 @@
{
"schemaVersion": 1,
"families": {
"api": {
"additive": {
"before": { "required": ["id"], "properties": { "id": {} } },
"after": {
"required": ["id"],
"properties": { "id": {}, "displayName": {} }
}
},
"breaking": {
"before": { "required": ["id"], "properties": { "id": {} } },
"after": {
"required": ["id", "name"],
"properties": { "id": {}, "name": {} }
}
}
},
"config": {
"additive": {
"before": { "required": ["APP_ENV"], "properties": { "APP_ENV": {} } },
"after": {
"required": ["APP_ENV"],
"properties": { "APP_ENV": {}, "OPTIONAL_FLAG": {} }
}
},
"breaking": {
"before": { "required": ["APP_ENV"], "properties": { "APP_ENV": {} } },
"after": {
"required": ["APP_ENV", "NEW_REQUIRED"],
"properties": { "APP_ENV": {}, "NEW_REQUIRED": {} }
}
}
},
"storage": {
"additive": {
"before": { "properties": { "theme": {} } },
"after": { "properties": { "theme": {}, "contrast": {} } }
},
"breaking": {
"before": { "properties": { "theme": {} } },
"after": { "properties": {} }
}
},
"release": {
"additive": {
"before": { "required": ["buildId"], "properties": { "buildId": {} } },
"after": {
"required": ["buildId"],
"properties": { "buildId": {}, "builtAt": {} }
}
},
"breaking": {
"before": { "required": ["buildId"], "properties": { "buildId": {} } },
"after": {
"required": ["buildId", "assetManifestHash"],
"properties": { "buildId": {}, "assetManifestHash": {} }
}
}
}
}
}
@@ -0,0 +1,7 @@
{
"schemaVersion": 1,
"snapshotDigest": "96b95ef1d50cce36e9fca8a98776a9e2e9e3a5dca24a6288ad83bf29c94aebd8",
"owner": "frontend-platform",
"reason": "Baseline canonical invalidation graph and topic-version contracts after FE-REG-QUERY retirement",
"approvedAt": "2026-08-01T15:15:45.537Z"
}

Some files were not shown because too many files have changed in this diff Show More