ForgePM — Orlando Enterprise

Outcome Contract

← Back to outcome

Outcome Contract — ForgePM (Orlando Enterprise)

The outcome is accepted only if every MUST_PASS success criterion below is satisfied by automated evidence. Functional criteria (SC-F*) prove the business works; non-functional criteria (SC-N*) prove the enterprise bar.

Functional success criteria

IDCriterionSeverityEvidence
SC-F1An authenticated manager can create properties/units and they persist across restartMUST_PASSdb + runtime tests
SC-F2Monthly rent charges generate for active leases; recording a payment updates the balance and delinquency statusMUST_PASSdb tests
SC-F3A maintenance work order can be opened, assigned, and moved through its status workflowMUST_PASSdb tests
SC-F4Short-term pricing returns a recommended nightly price + range that responds to Orlando seasonality, occupancy, and demandMUST_PASSunit tests
SC-F5"Where to Maximize" returns ranked, explainable opportunities with estimated monthly upsideMUST_PASSunit + db tests
SC-F6Dashboard KPIs and CSV exports of core data are available to permitted rolesMUST_PASSruntime tests

Non-functional success criteria (enterprise bar)

IDNFR dimensionCriterionSeverityEvidence
SC-N1identity_authenticationUnauthenticated API access is rejected (401); login establishes a signed session; passwords stored with salted scrypt; MFA/SSO seam presentMUST_PASSruntime + unit tests
SC-N2authorization_modelRBAC enforced server-side with least privilege; forbidden actions return 403 (e.g. VIEWER cannot write, STAFF cannot manage users)MUST_PASSdb + runtime tests
SC-N3tenant_isolationEvery read/write is org-scoped; cross-tenant read or write is impossible (proven by negative tests)MUST_PASSdb + runtime tests
SC-N4auditabilityPrivileged actions append to an immutable audit log with actor, org, action, target, timestampMUST_PASSdb + runtime tests
SC-N5security_complianceSecrets are hashed/managed, sessions expire, inputs validated, error responses leak no internals; compliance posture documentedMUST_PASSunit + runtime tests
SC-N6data_durabilitySQLite in WAL mode with versioned migrations and a backup script; data survives restartMUST_PASSdb + runtime tests
SC-N7observabilityStructured request logging + /healthz and /metrics endpointsMUST_PASSruntime tests
SC-N8admin_operationsOrg admins can self-serve manage users and rolesMUST_PASSdb + runtime tests
SC-N9ux_maturityEarthy/light design system; responsive; complete loading/empty/error statesSHOULD_PASSstatic + browser checks
SC-N10accessibilityWCAG 2.1 AA basics: semantic landmarks, labelled controls, visible focus, sufficient contrastSHOULD_PASSstatic checks
SC-N11reporting_exportsCore datasets exportable as CSV via APIMUST_PASSruntime tests

Definition of done

  • All MUST_PASS criteria pass under npm run verify with collected evidence.
  • Certification level is set honestly from the evidence and the ENTERPRISE

non-functional gate (see delivery-package/certification-report.md).