RESPECTPULSE / ARCHITECTURE
Your company.
Your infrastructure.
RespectPulse collects approved workplace records, finds potential concerns and helps independent reviewers check the evidence and follow through. In the local-only edition, every application component runs on company-controlled infrastructure.
Current package: local-only 0.2.1How the components connect
The map shows the implemented single-process pilot. Company infrastructure is required around the packaged application.
What happens to a message?
- The company gateway sends a signed event within an approved source scope.
- RespectPulse checks the signature and rejects duplicate deliveries, then encrypts and stores the event.
- Local rules route potential concerns to contextual AI review. Screened-out records remain marked as not AI-reviewed.
- The company receives up to 500 live-source AI attempts per UTC day across its approved connections. Excess candidates wait for the next day.
- Reviewers check the original evidence, record their decisions and arrange support and follow-up.
Reviewers can request AI review of screened-out records within the same allowance. Failed AI attempts count. Separately requested case, draft and question features have their own limits.
Where do the agents run?
The review workflow and maintenance timer run inside the local Node service. The optional model runs on a separate company service. There is no required PulseCorp server, account, licensing call or cloud AI endpoint.
Maintenance retries due events every five seconds using bounded work and a database lease. The queue is stored in SQLite; there is no separate queue broker in this package.
Local screening is a transparent ruleset. It can miss indirect language, sarcasm and incomplete context. AI output supports independent human review; it does not establish misconduct or impose discipline.
Two deployment editions
| Component | Hosted edition | Local-only edition |
|---|---|---|
| Application | Cloudflare Worker and browser workspace | Company Node service and browser workspace |
| Database | Cloudflare D1 | Local SQLite, WAL and full synchronous commits |
| Identity | Hosted customer sign-in | Company-hosted OIDC identity provider |
| Source intake | Approved Slack, Microsoft 365 and Teams integrations within supported scopes | Company-hosted gateway using signed Slack-compatible events; company supplies the source adapter |
| AI | Configured hosted model service | Optional company-hosted Responses-compatible endpoint; model and weights supplied separately |
| Maintenance | Authenticated scheduled task | Timer in the local application process |
The PulseCorp website distributes packages and documentation. It is separate from the local-only application's runtime.
Security and storage
Company SSO assigns administrator and reviewer roles. Signed callbacks use their own source authentication. Application egress is restricted to explicitly approved private HTTPS origins; public, mixed-DNS and metadata destinations are rejected, with DNS checked again at connection time.
Source payloads, provider credentials and inbox notes use application AES-GCM encryption. Other workspace and authentication data rely on company-encrypted disks and backups. Keep the encryption key in a separate company secret store. Restoring the database requires the original company identity and key.
The company must enforce its firewall and verify that local services do not forward data to public services. The application cannot attest to a gateway or model server's downstream behavior.
What is finished, and what requires the company server?
| Area | Evidence or next step |
|---|---|
| Packaged service | Compiled Node runtime, Dockerfile, Compose configuration, installer, preflight, backup tool and interactive guide are implemented. |
| Functional verification | Extracted package tests cover sign-in fixtures, access controls, signed intake, encryption, screening, company quota isolation, human review and backup restoration. |
| Host simulation | 17 checks exercise the actual service in a separate process with TLS, simulated local identity/model services, crash recovery and restore. Identities, messages and model responses are fictional. |
| Actual installation | Docker image build/run, company SSO, actual gateway delivery, real local-model acceptance, TLS, encrypted volumes and firewall acceptance still require the customer's host. |
| Enterprise scale | 100,000 and 1,000,000 employee capacity and high availability are not certified. The current package has one process and one SQLite writer. |
Open the installation acceptance checklist · Host simulation evidence · Existing pipeline benchmark
For a large enterprise deployment
View the four-product PostgreSQL integration architecture.
Enterprise target, with a separate PostgreSQL integration preview now in development: stateless application replicas, a company PostgreSQL database, a durable queue with independently scaled workers, local model capacity, and replicated evidence/backup storage. Move the atomic company allowance and job leases into RespectPulse’s dedicated database before adding workers.
The pilot's SQLite database must stay with one writer on a local disk. Do not point multiple replicas at that file or infer employee capacity from a short message-throughput benchmark. Size the enterprise deployment from peak message volume, retention, candidate rate, model latency and measured recovery requirements.