# Fountainview Village — full machine-readable documentation # Site: https://fountainviewvillage.com/ · Spec: fvv-spec/2026-11 · Tool: fvv-1.0.0 # Publisher: SING LLC (Wyoming ID 2026-002035528) / ZYNTHIO · corey@zynthio.ai ## 1. Purpose Fountainview Village is a deterministic developer diagnostic studio for distributed service topologies. It models a candidate "village" — a request path traversing 1–32 services (hops) — against a target load profile, an SLA p99 budget, and a monthly cost budget. It evaluates a fixed rule set, scores a 12-control service-mesh checklist, and emits tamper-evident SHA-256 receipts. Everything runs client-side in ES2022 JavaScript; there is no backend. ## 2. Deterministic model (js/core.mjs) ### Inputs (validateConfig) - presetId: one of PRESETS ids (single-cottage, duplex, cottage-row, village-green, market-town, custom) - rps: offered requests/sec, [0, 1e6] - errorRate: per-hop error fraction, [0, 1] - costPerReqUsd: USD per service call (one hop), [0, 1e5] - p50Ms, p99Ms: per-hop latencies, [0, 600000]; p50 <= p99 enforced - hops: services on the request path, integer [1, 32] - slaP99Ms: SLA end-to-end p99 budget, [1, 600000] - regionFactor: latency/capacity multiplier, [0.25, 4] (default 1) - monthlyBudgetUsd: declared monthly spend cap, [0, 1e8] (default 10000) All out-of-range, non-finite, or non-integer (hops) inputs throw RangeError. ### Village economics (computeEconomics) - endErrorRate = 1 − (1 − errorRate)^hops (compounds across hops) - p99EffectiveMs = p99Ms × hops ÷ √regionFactor (p50 likewise) - effectiveRps = min(rps × (1 − endErrorRate) × regionFactor, preset.maxRps × regionFactor) - monthlyRequests = rps × 2,592,000 - monthlyCostUsd = monthlyRequests × hops × costPerReqUsd - headroomMs = slaP99Ms − p99EffectiveMs - slaMarginPct = headroomMs / slaP99Ms × 100 - errorBudgetPerDay = endErrorRate × rps × 86,400 - saturationPct = rps / (preset.maxRps × regionFactor) × 100 - budgetHeadroomUsd = monthlyBudgetUsd − monthlyCostUsd - budgetMarginPct = budgetHeadroomUsd / monthlyBudgetUsd × 100 - villageScore: 0-100 composite = e2e headroom (40) + SLA margin (20) + error budget (15) + capacity headroom (15) + budget headroom (10); zero if effectiveRps <= 0 ### Rule evaluator (evaluateRules) Fields: headroomMs, slaMarginPct, endErrorRate, errorRate, saturationPct, monthlyCostUsd, effectiveRps, p99EffectiveMs, monthlyRequests, budgetMarginPct, errorBudgetPerDay. Ops: gte, lte, gt, lt, eq, ne. Default 7 rules (DEFAULT_RULES): e2e-p99-headroom (w3), sla-margin-10 (w2), end-error-rate (w3), saturation (w2), budget-headroom (w2), effective-rps (w2), error-budget-day (w1). Verdicts: PASS (all pass), WARN (non-critical fails only), FAIL (any weight>=3 fail). Rule score = passWeight / totalWeight × 100. ### Checklist (scoreChecklist) 12 controls; required set: mtls, healthchecks, timeouts, circuitbreaker, idempotency, ratelimit, errors, versioning. Optional: retries, tracing, deprecation, observability. States: pass | fail | na. Score = passed required-applicable / applicable required. ### Tradeoff projection (projectTradeoff) Evaluates every preset at its own hop/latency/error/cost profile under the current load config -> points {hops, p99Ms, monthlyCostUsd, effectiveRps, villageScore, headroomMs} rendered as a deterministic SVG scatter (log-log axes, bubble radius = effective rps). ## 3. Preset dataset (PRESETS) — per-hop figures - single-cottage: 1 hop, p50 22ms, p99 120ms, err 0.20%, $0.00008/call, max 4,000 rps - duplex: 2 hops, p50 14ms, p99 80ms, err 0.15%, $0.00011/call, max 6,000 rps - cottage-row: 3 hops, p50 11ms, p99 60ms, err 0.12%, $0.00014/call, max 9,000 rps - village-green: 5 hops, p50 8ms, p99 45ms, err 0.10%, $0.00019/call, max 12,000 rps - market-town: 8 hops, p50 6ms, p99 38ms, err 0.08%, $0.00031/call, max 15,000 rps - custom: manual parameters; rated capacity defaults to 5,000 rps ## 4. Receipts and export - canonicalPayload(obj): JSON with recursively sorted object keys. - sha256Hex(msg): pure-ES2022 SHA-256 (no WebCrypto), deterministic across browsers and Node. KAT vectors: sha256("") and sha256("abc") asserted in tests. - buildReceipt(payload): {tool, toolVersion, specVersion, domain, canonicalChars, sha256, canonical}. - UI exports: audit JSON (full payload), tradeoff CSV (EXPORT_COLUMNS), receipt JSON (hash + metadata, canonical omitted). ## 5. Site pages - / console (index.html) — methodology matrix + instrument deck + telemetry + exports - /privacy/ /terms/ /contact/ /disclosure/ — legal, publisher SING LLC - /robots.txt /sitemap.xml /llms.txt /llms-full.txt ## 6. Guarantees - Zero external JS/CSS/fonts/CDNs; zero trackers; zero backend calls. - Identical inputs -> identical canonical payload -> identical SHA-256. - No PII collected or transmitted; inputs stay in the browser. - Standalone international property; no NAP/local-SEO block reused.