Files

6.6 KiB
Raw Permalink Blame History

Architecture B conformance evidence

Approved target revision 3426236c6cfcece36e94642ae84d1843288f86d5; reference 2117236366130775214d9fd2611984d4348f2b79. Approval Q1–Q5 governs historical supersessions and limits. The owner’s 2026-10-20 instruction supersedes admission rejection and blanket deadline behavior; see correction.

Target Implemented evidence Verification
ADR-01 / logical components One Web SDK host; five module libraries; immutable Contracts; private persistence; no business HTTP clients/callbacks. Final solution excludes pinned reference Verified: ConformanceTests, Release build/publish, single native app unit/PID
ADR-02 / data ownership profile.patient, observations.observation; per-schema migration version; two NOLOGIN schema owners; restricted patient FK; positive/category/rest/time/account constraints; patient/time/original/UUID index; DML runtime role Verified: migrations twice, FK/check rejection, runtime DDL denial, actual installer role/readiness check. Schemas remain logical ownership, not compromise isolation
ADR-03 / creation sequence Trusted account, atomic single-row durable association, unique non-null account, conflict recovery and /me Verified: original lifecycle assertions, simultaneous creation, trigger rollback, retry/lost response, restart/access
ADR-04 / access boundary Framework opaque tickets with issue/expiry, 30-minute default, persistent scoped keys; normalized identities/policies; actual owner and assignments before validation/serialization; internal routes absent; no service-key trust Verified: full patient/professional suites, expired/tampered/spoofed identity, provider replacement, real HTTPS/native restart
ADR-05 / read sequence Shared repeatable-read from access lookup through immutable capture; Overview captures profile/latest/selected series, selects series once; releases before mathematical evaluation/transfer; no result cache/store Verified: controlled concurrent commit test proves old coherent snapshot/new next request and released transaction
ADR-06 / Analytics/Guidance Original Summary/Trend formulas and clinical branching retained; numerical/clinical policies separated; versioned Guidance reference/claim provenance; full-period/tie/sufficiency rules and disclosed narrative limits Verified functional calculations/classifications/provenance. Independent clinical validity remains not verified, explicitly preserved under Q3
ADR-07 / context lifecycle Flattened observation-owned fields; independent AND/Unknown selections; original prose; omission/set/clear and whole-context clear; owner-scoped locked mutation/delete Verified: original context/patch/delete suites plus controlled concurrent disjoint patches and schema default assertions
ADR-08 / native deployment Fresh independently provisioned database; generated credentials/config/certificates/keys; transient provisioner; one dedicated systemd app; local or hostname-verified TLS DB Verified actual Debian 12 systemd local/remote installation in isolated Linux environments; other families intended with command-contract tests, native execution not verified
§8 failures/resources Provider-bounded pooling and client cancellation/rollback; no application admission gates or blanket deadline; original 502 dependency contract; no-store and full untruncated history Corrected under owner instruction: held 5/26/40-request regression, pool wait/cancellation/recovery, canceled-write rollback, guidance/login independence, six restored A outage assertions; native HTTPS bursts. Historical stage-6 rejection/deadline assertions are superseded.
§9 readiness/security Protected config/private key/key ring; authenticated liveness/readiness; verified DB CA/hostname; no unnecessary local DB in remote mode; no overwrite Verified: native certificate workflows, wrong hostname rejection, file-mode/overwrite checks and operational tests. Automatic certificate renewal/HA/production recovery remain outside scope

Revised US-16, approved Q1/Q5

Original clauses remain unchanged in Docs and original architecture tests remain in Reference. The approved proposal revision supplies the replacement acceptance meaning.

Criterion B evidence / status
AC-16-A Complete app selected as the deployment unit; feature-service selection intentionally superseded. Native app install verified
AC-16-B Modules one app process; PostgreSQL separately managed. App stop leaves DB ready, verified
AC-16-C Complete one-app deployment, one HTTPS edge, typed internal calls. Native workflow verified
AC-16-D Protected app/module configuration and independently configured DB endpoint, generated automatically; local/remote verified
AC-16-E Same app supports separate verified-TLS PostgreSQL host; no feature-service distribution. Separate-host-namespace remote workflow and hostname rejection verified
AC-16-F App and DB have independent lifecycles; features start/stop together. PID/restart/DB-during-stop verified
AC-16-G One DB with distinct schema/migration ownership and DML role; no derived-result persistence. Grants/constraints/readiness verified
AC-16-H Same module/communication/persistence responsibilities for both placements. Both native placements verified
AC-16-I Actual app PID, trusted HTTPS, configured DB, representative synthetic operations, independent stop/restart and new PID verified

Generated-password/roles, protected secret storage, certificate/trust/replacement, distribution dependency detection, migration, systemd enable/start, failure-stage diagnostics and overwrite protection are implemented. APT/DNF/pacman remote-mode tests prove local PostgreSQL commands are excluded; actual Debian remote installation confirms absence. Existing rules are retained when a scoped local SCRAM entry is added for the new B DB/role.

Evidence limits

Native environments are disposable Debian 12 systemd instances sharing Manjaro kernel 7.1.13-2-MANJARO, not bare-metal/VM or measurement environments. .NET 10.0.13 / local PG 15.19 and remote PG 18.6 were recorded. Fedora/RHEL, Ubuntu, Debian 13 and Arch/Manjaro native installation remain intended/unverified despite adapter command tests. Clinical references/classifications are preserved with uncertainty/provenance, not newly clinically certified. Arbitrary narrative/negation is not understood beyond the unchanged detector and disclosed limits. Large full-history materialization and whole-process/DB-role failure/compromise scope remain approved tradeoffs, without capacity or HA claims. No live A import occurred; no energy improvement is claimed.