Descripción general de la filosofía de la plataforma
PayCal se basa en operaciones inspeccionables: las fórmulas están documentadas, los límites de telemetría son explícitos y la retención es finita de forma predeterminada.
Nuestro principio es sencillo: si un sistema afecta la nómina o la privacidad, los usuarios deben poder entender cómo funciona y cómo se gobierna.
Stripe procesa la facturación de la suscripción. El soporte de Stripe está disponible en support.stripe.com.
Las actualizaciones recientes de configuración de productos, incluidos los flujos de gestión de perfiles y facturación, se rastrean en nuestro libro mayor de marco/backend y en las páginas de gestión de pruebas.
What's New
SOC 2 Quarterly Snapshot — Q2 2026
Second quarterly compliance snapshot: CC1–CC9 control status, evidence freshness, test-control trace, Q2 improvements, and open gaps at quarter close.
Faster Passkey Sign-In Early Access
How PayCal lets an opted-in browser show available passkeys sooner while preserving normal WebAuthn verification.
CI/CD Tooling and Release Governance
Local hooks, policy metadata, PHPStan, PHPUnit, release ledgers, public promotion, production receipts, and portability commitments.
Readable Recovery Codes Without Weakening Account Recovery
Why PayCal changed recovery to shorter readable codes, checksum typo detection, a 10-minute email window, and strict server-side rate limits.
GoldMaster
How PayCal records canonical examples for future code, UI, tests, and architecture so humans and AI agents start from reviewed patterns.
Informe de remediación de junio de 2026
Datos protegidos, compatibilidad, Redis, crypto/plaintext, DST de períodos de pago, seguridad y ajustes.
How We Made the Business Members Page ~100x Faster
For business administrators, the Members page now appears effectively instant on repeat visits -- ~1.8 s down to single-digit milliseconds.
Passkey KEK Derivation: deriveBits vs deriveKey
Why we switched HKDF derivation to avoid a Safari/WebKit hang -- and proof the two paths produce identical keys.
Auth, Passkey & Redis Hardening -- May 2026
Eleven security findings from our May 2026 internal audit -- every issue, its impact, and exactly what we changed.
Security & Compliance
Readable Recovery Codes Without Weakening Account Recovery
SecurityThis article explains PayCal's June 2026 account recovery redesign: shorter human-readable Recovery Codes, email Verification Codes, checksum typo detection, rate limits, and passkey replacement boundaries.
- Recovery Codes use 12 secret characters from a 28-character accessibility alphabet plus 2 checksum characters
- The email Verification Code is short-lived, single-use, attempt-limited, and expires after 10 minutes
- Protected recovery still requires both inbox access and the saved account secret
Estado de la auditoría de seguridad
SecurityEsta página publica el estado actual de la auditoría, el alcance cerrado, las referencias de evidencia y los compromisos de bloqueo de versiones que preservan la postura de seguridad.
- El estado del ciclo actual se publica con la fecha de verificación y la cadencia de revisión.
- La cobertura del flujo de trabajo incluye controles del ciclo de vida del tiempo de ejecución, aislamiento de telemetría, gobernanza de correlación y refuerzo de roles privilegiados.
- La instantánea de validación incluye Playwright, JS, PHPStan Nivel 9 y los resultados de las pruebas de backend.
Verificación y Gobernanza
SecurityThis page documents how PayCal enforces policy through tests, hooks, runtime limits, and security controls.
- Pre-commit and pre-push hooks enforce PHPStan Level 9 and reject baseline bypasses.
- CI runs staged validation across unit, integration, contract, random-order, and coverage jobs.
- Runtime controls apply rate limits, TTL windows, and abuse-response blocks for sensitive flows.
SOC 2 Compliance at PayCal
CompliancePayCal maintains a SOC 2 aligned control environment using deterministic evidence generation, approval-linked change governance, runtime verification, and reproducible audit artifacts. Quarterly snapshots publish immutable period findings.
- Control coverage focused on Security (CC1-CC9)
- Q2 2026 snapshot: 2,434 tests, evidence-freshness review, per-control lifecycle status
- Report access handled through NDA request workflow
Auth, Passkey & Redis Hardening -- May 2026
SecurityAn internal audit on May 12, 2026 found eleven security issues in our own authentication, passkey, and Redis infrastructure code. We are publishing every finding, its impact, and exactly what we changed.
- 3 high-severity: non-atomic Redis writes, logout/CSRF silent failures, WebAuthn UV bypass
- 5 medium-severity: clone detection boundary error, sign count, revoked passkey re-registration, account enumeration, recovery key ordering
- 3 low-severity: dead code, disabled-path input collection, info disclosure in 403 body
Passkey KEK Derivation: deriveBits vs deriveKey
Security
PayCal's passkey login derives a key encryption key (KEK) inside a Web Worker. This article explains why we switched from deriveKey() to deriveBits() + importKey() to avoid a known hang path in Safari / WebKit, and proves the two paths are cryptographically identical.
- HKDF-SHA-256 algorithm, parameters, and 256-bit AES-GCM output are unchanged
- Parity test
tests/crypto/hkdf-equivalence.mjsverifies both paths decrypt each other's ciphertext - No user action, re-enrollment, or credential rotation required
Privacy & Data
Métricas de la plataforma y privacidad
PrivacyLa página de métricas explica la telemetría operativa recopilada para la confiabilidad y la planificación de la capacidad.
- Se publican claves y ejemplos de telemetría para que las afirmaciones sean verificables.
- El alcance de la recopilación es solo agregado con límites estrictos y sin identificadores personales en las claves.
- La retención sigue un ciclo de vida definido: datos sin procesar, resúmenes y depuración automática.
Error Handling & Message Normalization
PrivacyPayCal standardizes error messaging across all frontend modules to ensure users receive clear, meaningful feedback while protecting system security and preventing sensitive information leakage.
- Normalized error resolution across 11 frontend modules (~40+ catch handlers)
- Consistent message extraction, cleaning, and safe fallback patterns
- Security-first design prevents database details, file paths, and auth info exposure
Opt-in Diagnostics & Phantom Wing
PrivacyPayCal ships a built-in diagnostics layer called Phantom Wing. All three debug controls default to Off and are entirely user-controlled from the Settings page.
- Console Messages, Detailed Diagnostics, and Network Insights -- all off by default
- Telemetry sends only anonymized hourly event counts -- zero personal data
- All values are redacted before storage or transmission regardless of settings
Capacidades de red
PrivacyEste artículo publica protocolos de transporte y controles de encabezado de respuesta utilizados para proteger el comportamiento de la red y del navegador.
- Documents HTTPS enforcement, HSTS preload, and HTTP/3 (QUIC) advertisement.
- Lists the current security header baseline including CSP, COOP, COEP, CORP, and browser hardening headers.
- Explains protocol negotiation and fallback behavior across modern clients.
Infrastructure & Testing
CI/CD Tooling and Release Governance
InfrastructureThis article explains PayCal's local-first CI/CD model and how verification evidence flows from hooks to public promotion and production deployment receipts.
- Documents pre-commit and pre-push gates across sensitive-file scanning, README checks, PHPStan, AST metrics, and quick tests.
- Explains public-health checks before public repository promotion.
- Maps production release ledgers, desired state, deployment receipts, and runtime proof.
Informe de remediación de junio de 2026
InfrastructureRegistro completo de remediación para datos protegidos, rutas y métodos, Redis, crypto/plaintext, períodos de pago, seguridad y ajustes.
- Documenta el bug DST de períodos de pago y las pruebas de navegación de períodos
- Lista alias, rutas, redirecciones, wrappers de método, clases placeholder y ramas Redis retiradas
- Explica qué compatibilidad sigue protegida para datos reales de usuarios
Release Integrity and SHA Health
InfrastructurePayCal Technologies records approved release SHAs, desired state, deployment receipts, and runtime proof so production can be compared against the exact code that was approved.
- Production follows promotion records, not the newest branch automatically
- Release, desired, deployed, and runtime SHAs must agree
- Public status is redacted while internal receipts remain private
Gobernanza de pruebas y validación
InfrastructureThis article documents how we run backend, frontend, and accessibility validation and which gates are treated as release blockers.
- Shows the active PHPUnit suite inventory and category split.
- Documents release-blocking validation commands used in
/missweeps. - Explains how test evidence is synchronized into changelogs and source-of-truth notes.
Dependencia y gobernanza de CI/CD
InfrastructureThis article publishes how npm dependencies are controlled and how CI gates are enforced before release.
- Documents lockfile-first npm policy and
npm ciautomation requirements. - Maps JavaScript quality gates and backend pipeline stages to workflow controls.
- Lists known documentation limitations and planned governance improvements.
Pruebas de carga de ganancias
InfrastructureThis article publishes reproducible A/B benchmark results for eager rendering versus lazy section loading on /earnings/.
- Includes a 10-run matrix for real and synthetic 2025/2026 datasets.
- Reports DOMContentLoaded, section-ready timing, and API-call trade-offs.
- Documents test method and interpretation for public review.
PHP Package Dependency Transparency
InfrastructureThis article documents every PHP package PayCal directly depends on, how CVEs are evaluated, and the principle that drives dependency decisions.
- Documents all runtime and dev-time PHP packages with active-usage justification for each.
- Explains the decision to replace vlucas/phpdotenv with a first-party implementation.
- Covers the 2026-05 CVE audit outcome and our broader dependency philosophy.
Libro mayor de cambios de marco y backend
InfrastructureThis page tracks backend architecture and framework-level changes with public explanations of what changed and why.
- Summarizes service/controller changes that materially affect behavior.
- Maps release changes to security and governance controls.
- Includes references to detailed changelog and audit artifacts.
How We Made the Business Members Page ~100x Faster
InfrastructureThe Business Members page was taking ~1.8 seconds of server time per load. We traced it to an N+1 query pattern and full recomputation on every view, fixed both, and the page now serves from cache in single-digit milliseconds.
- Redis pipelining batches hundreds of sequential round-trips into single round-trips
- A materialized cache stores the finished grid with a 5-minute expiry and eager invalidation
- Cache hits are ~100x+ faster; cache misses are still faster than the old page
Product & Platform
Faster Passkey Sign-In Early Access
ProductPayCal's Early Access passkey shortcut lets an opted-in browser show available passkeys when a user selects Sign in, without requiring an email address first.
- Browser-scoped opt-in with a signed activation cookie.
- Uses Chrome Immediate UI when available, then falls back normally.
- Same server-side WebAuthn verification before any session is created.
Accesibilidad y cumplimiento de WCAG
ProductWe use WCAG 2.1 Level AA as our working accessibility standard and publish recent accessibility work in plain language.
- Core navigation supports keyboard use, skip links, and documented single-key shortcuts for primary destinations.
- Shortcut handling is safety-guarded and does not fire while typing in editable fields or when dialogs are open.
- Recent regression coverage checks headings, reflow/text spacing, navigation paths, and the accessibility feedback handoff.
- Strict route-level contrast blockers on core public pages have been remediated, while broader theme-wide contrast work continues.
- Users can start an accessibility report from the accessibility page and continue it through the secure contact flow.
- The accessibility transparency page now publishes last-verified date, verification scope, known limitations, and next review due date.
Lea nuestro estándar de accesibilidad, trabajos recientes y ruta de comentarios
Arquitectura de correo electrónico
ProductThe email page explains which transactional emails PayCal sends, how templates are rendered, and how delivery reliability is verified.
- Flow-specific template families are documented across verification, recovery, change-email, and contact support paths.
- Delivery responsibilities are separated between EmailGarum orchestration and EmailTransport SMTP protocol handling.
- Opt-in live tests for template sweeps and DKIM/DMARC health verification are documented.
Metodología Tributaria
ProductThe tax page documents our CRA-aligned formulas, thresholds, and examples used for estimates.
- CPP, OAS, EI, federal/provincial tax, and net-pay formulas are documented with worked examples.
- Current tax-year thresholds and rates are published and tied to CRA references.
- Calculation quality is validated with an automated test suite and annual rate updates.
Mapa del sistema de superhéroes
ProductThe Superheroes page documents PayCal's themed cross-cutting components and the specific operational problem each one solves.
- Includes ShadowTalon, Guardian, Phantom Wing, Lens, EmailGarum, Echo, and GoldMaster.
- Explains where each component is used and what risk boundary it protects.
- Provides verification anchors so implementation claims can be inspected directly in code and tests.
GoldMaster
ProductGoldMaster documents PayCal canonical examples: curated references for code, UI, tests, and architecture that future work should consult before building similar features.
- Golden masters are reference artifacts, not production code.
- The first active example defines PayCal dialog structure, action order, focus behavior, and confirmation patterns.
- The internal editor is admin/dev-only and read-only in the first pass.
Extensions Paradigm
ProductThis article explains how PayCal Core remains stable while extension packages provide configurable behavior for different deployment models.
- Clarifies the separation between PayCal Core and in-repo basic extensions.
- Documents how third parties can build custom extensions from this repository.
- Explains how canonical paycal.app uses private extension variants to differentiate the platform.
Organization Membership and Role Philosophy
ProductThis article explains the Organization <-> Member model, role policy changes, and the capability/scope philosophy used to keep collaboration permissions auditable.
- Documents relationship lifecycle semantics for invites, access requests, approval, and revocation
- Publishes current role posture (owner, manager, contributor, member, viewer)
- Clarifies the principle of backend policy as source of truth with UI as projection only
Experiencia del producto y cambios de facturación
ProductMajor account, billing, and profile-flow updates are explained alongside backend and testing governance so users can audit both UX and behavior changes.
- Tracks billing-state handling and subscription status contract changes.
- Captures destructive-action safeguards such as explicit account deletion confirmation phrases.
- Links product-facing updates to verification and release governance evidence.