# Universal Feature Delivery Standard / Webster International

**Confluence canonical standard:** https://websterinternational.atlassian.net/wiki/pages/viewpage.action?pageId=2523138
**Scope:** all websites, CRM, APIs, databases, services, content and existing-feature audits. **Version:** 1.0 (2026-10-14).

# Webster International — Universal Feature Delivery Standard (v1.0)

**Owner:** Webster International / Engineering & AI · **Applies:** websites, CRM, admin, client portals, API, data, integrations, AI, content, existing features. **Updated:** 2026-10-14. **Status:** approved operating specification; automation gates must be evidenced separately.

## Agent quick-start — read in under 30 seconds

**D → D → D → B → V → S → O → R**

1. **DISCOVER** existing system before modifying: code, routes, database, design, related features, docs, issues, deployments, customer journey; reproduce any defect. No duplicate features.
2. **DEFINE** who/why/outcome; acceptance tests including happy/empty/error/permission paths; value/priority, data sensitivity, rollback risk; for existing features decide **KEEP / FIX / MERGE / RETIRE**.
3. **DESIGN** smallest coherent accessible UX; reuse patterns; define roles, schema/API, validation, security, responsive states, integrations, migration/rollback and evidence plan. Record a decision only if consequential.
4. **BUILD** minimal reviewable Git diff on feature branch; tests and docs alongside code; safe configuration, no secrets or personal data. Preserve existing workflows.
5. **VERIFY** run available unit/integration/end-to-end checks, browser/keyboard/mobile/accessibility, negative cases, role boundaries, data persistence, failure handling, performance; record PASS/FAIL/NOT RUN explicitly. No fabricated QA.
6. **STAGE** review CI, merge to the intended staging branch, deploy via verified Railway workflow; confirm actual serving SHA/route, HTTP, UI and rollback before calling it staged. Production needs explicit approval.
7. **OBSERVE** error rates, logs, usability, funnel/lead results, feedback, cost and accessibility regressions; measure only with real instruments, no fictional metrics.
8. **REFINE** resolve defects and friction, update Confluence + issue + Git + deployment evidence, preserve learnings and repeat until acceptance passes.

**Stop rule:** Block on security/data leak, permission bypass, failed critical path, broken rollback, lost data, or inaccessible essential interaction; label other gaps honestly. **Status is evidence-based:** Idea → Specified → Implemented → Code-verified → Staging-deployed → Staging-verified → Production-approved → Production-verified → Observed. Never combine stages.

## Decision record / work item (copy-paste)

- ID / Project / Owner / Risk (low|medium|high) / Type (NEW|CHANGE|AUDIT|BUG|RETIRE)
- Problem + customer / Current observed behavior / Expected behavior / Why now
- Existing related implementations + files + CRM pages / Keep-Fix-Merge-Retire decision
- Scope + non-goals + measurable acceptance criteria + edge cases
- Design (UI + states, mobile, keyboard, semantics, brand); contract (API/db/events); authz + tenant isolation; privacy and migration/backout
- Implementation branch/PR + SHA / Automated tests / Manual and accessibility evidence / Defects
- Staging URL + deployed SHA + smoke evidence / Production approval + release ID / Metrics + re-review date

## CRM-specific acceptance overlay

- **Customer identity and boundaries:** role matrix (anonymous, client, staff, admin); server-side permission checks, client/project tenancy isolation and ownership; no client A viewing B's records or documents.
- **Data lifecycle:** input normalization, DB constraints, parameterized SQL, idempotency, safe schema migrations, backups, audit changes, delete/export/data-retention policy, privacy-compliant handling.
- **Security:** secure password hashing with per-password salts using a vetted algorithm; session security, CSRF for state changes, login/reset throttling, secure reset tokens; secrets only in deployment secret store, never repo/client HTML.
- **Business workflows:** contact → lead → client → project → work item → activity → invoice/payment → follow-up; validate forms, state transitions, notifications, imports, deduplication, failures, export, dashboard accuracy and empty states.
- **User experience:** meaningful dashboard data, no misleading placeholder KPIs; comprehensive alt/labels, visible focus, keyboard navigation, responsive layout, reduced motion and WCAG 2.2 AA where applicable.
- **Integration:** Gmail/Eventbrite/calendar/Stripe/analytics API scope and consent; webhook retries and logging; sandbox vs production clarity; tests with safe fixture data.
- **Release:** isolated staging data; explicit production authorization, health checks, regression suite and reversible migration.

## Quality gate matrix

| Gate | Evidence required | Blocker |
| --- | --- | --- |
| Scope | Need, existing-feature review, acceptance and risk | Scope unclear / duplicate design |
| Design | Responsive states, WCAG, roles, contracts, impact | Missing permission/data boundary |
| Code | PR, reviewable diff, test cases, secrets scan | Critical validation/security defects |
| Verification | Commands/results, screenshots/URL when possible; keyboard and role QA | Critical regression / untested critical path |
| Staging | Deployed commit, URL, observed route/UI, runtime log check | Git-only change without actual deployment |
| Release | Owner approval, rollback/backups, outcome checks | Unapproved production change |
| Improvement | Observations, customer impact, next action | Claim of success without evidence |

## Existing-feature audit algorithm

Inventory feature map → navigate representative workflows → compare with user goals → check usage/cost/UX/a11y/security → classify Keep/Fix/Merge/Retire → prioritize against value/risk → run the 8-stage loop. Audit without changing code is valid; retire only with owner approval and safe data retention.

## Source-of-truth linking

**Confluence:** decisions, standards, audit and release narratives. **GitHub:** code, PR, commits, fixtures, CI test output. **Railway:** actual runtime configuration, environment, deployments, rollback. **CRM:** feature/issue registry and user-visible status. **Analytics/monitoring:** observations. Cross-link all artifacts by stable feature ID and immutable commit/deployment identifiers. If a system isn't integrated, record manual evidence; do not claim automation.

## Implementation policy

- Start with **current staging branch**, inspect the deployed artifact path and preserve working behavior; never assume a Git push deploys a Railway function/source that is not Git-linked.
- For tiny edits: keep documentation short but still Discover → Define → Verify → Stage.
- For new cross-cutting or high-risk work: add threat model, migration and rollback plan, review, browser E2E and security tests.
- Mark every check **PASS, FAIL, NOT RUN, or NOT APPLICABLE** with reason. Never promote a feature merely because code exists.
- Public-facing process summary lives at /#how-we-build on the homepage. The retired process URL redirects there. Full actionable source follows this Confluence page and Git docs/engineering/FEATURE-DELIVERY-STANDARD.md.
