Skip to content

VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART A: CONSTITUTIONAL DOMAIN MODEL
Chapter 10 of 21 in this Part

T10 — REF010 CASE / SERVICE JOURNEY DOMAIN

Document record
FieldValue
Constitutional SeriesT — Constitutional Domain Model
Source DocumentFOUNDATION_G35_REF010_CASE_CONSTITUTION.md
Domain IdentifierREF010
ClassificationAGGREGATE-ROOT
Schemaref010
CertifiedCERTIFIED
Certifying ProgramCAP138A
Position in BookPart A, Chapter 10 of 21

T9 established the permanent ledger of individual interactions. T10 (REF010 Case) establishes the constitutional instrument for orchestrating a sustained, multi-interaction service journey — the case that gathers, tracks, and closes a coherent arc of institutional attention to a party.


Constitutional Dependencies

DomainNatureUP-007 Gate
REF001 (Party / Identity)Mandatory — subjects, case-holders, and actors are Parties (subject_party_id, case_holder_party_id, actor_party_id all resolve to ref001.parties.id)SATISFIED
REF008 (Authority)Mandatory — Case-opening and case-holder succession require CASE_MANAGEMENT authority grants and authority transfersSATISFIED
REF009 (Interaction)Mandatory — Interactions are associated with Cases as members; Case visibility delegates to REF009's certified privacy modelSATISFIED
REF014 (Initiative)Optional reference only — initiative_id is a nullable, non-mandatory FK (attribution, never aggregation)Non-blocking

UP-007 gate formally satisfied per D7 (CAP118A). REF010 admits no implementation authorization beyond the trust already established by its mandatory predecessors.


Status

CERTIFIED — REF010_CERTIFIED (CAP138A, R-CERT, 2026-06-24). REF010 is the second AGGREGATE-ROOT to traverse the full V2.1 lifecycle (REF014 is the first). Lifecycle programs:

PhaseProgramVerdict
Phase -1 (Admission)CAP030B (R-STEWARD)ADMITTED
Phase 0 (Discovery)CAP118A (R-ARCH)COMPLETE_WITH_BLOCKERS
Phase 1 (Specification)CAP119A (R-ARCH)SPECIFICATION_COMPLETE
Phase 2 (Review)CAP120A (R-REVIEW)REVIEW_PASS_WITH_OBSERVATIONS
Phase 3 (Verif. Architecture)CAP121A (R-VARCH)VERIFICATION_ARCHITECTURE_COMPLETE
Phase 4 (Implementation)CAP122A (R-IMPL)IMPLEMENTATION_COMPLETE
Phase 5 (DDL Analysis)CAP123A (R-VEXEC)CORRECTIVE_CYCLE_TRIGGERED
Phase 5a-IMPL (Corrective)CAP124A (R-IMPL)CORR001_APPLIED
Phase 5a-VERIFY (Re-Verify)CAP125A (R-VEXEC)PASS_WITH_OBSERVATIONS (37/57)
Phase 6 (DDL Cert.)CAP126A (R-CERT)CERTIFIED_WITH_OBSERVATIONS (superseded)
Phase 5 (Physical)CAP137A (R-VEXEC)PHYSICAL_PASS_WITH_OBSERVATIONS (79/88)
Phase 6 (Physical Cert.)CAP138A (R-CERT)REF010_CERTIFIED

Defect BF-001 (CORR001 SF-003 VOID-in-boolean-context bug) is CLOSED (CAP137A/CAP138A). Open obligations remain for the Phase E application layer (see §9).


Constitutional Note: Domain Numbering

REF010 occupies the Engagement axis of the dependency lattice and is the first Case-tier aggregate in the cohort. It depends on three certified PRIMITIVE predecessors (REF001 Party, REF008 Authority, REF009 Interaction) and optionally attributes to one AGGREGATE-ROOT (REF014 Initiative). Its number is fixed by the single canonical roadmap of record (REF_DOMAIN_ROADMAP.yaml, DC-005 AD-1); no other artifact may renumber it.

Identity discipline. REF010 = Case. It is NOT REF009 (Interaction), NOT REF014 (Initiative), and NOT the retired REF012. The "Service Journey" in the title denotes the emergent narrative arising from Case history — it is not a separate entity and does not introduce a separate REF number.


1. Domain Purpose [T10.§1]

REF010 answers a single constitutional question:

"What are we doing for this person / family / household / community unit / organization, and how is that journey progressing?"

A Case is a constitutionally opened, governed, and bounded stewardship of a transformation effort — anchored to one or more identified subjects, carrying a named purpose and a governed lifecycle, whose constitutional function is to aggregate and organize the interactions, services, assessments, plans, reviews, and milestones that constitute a subject's journey toward transformation.

REF010 constitutes the governed transformation-stewardship layer of VGSF's system: the infrastructure through which VGSF opens, manages, and permanently preserves the transformation journey of the individuals, families, households, community units, and organizations in its care. Where REF009 records a single bounded exchange, REF010 organizes many such exchanges — plus assessments, plans, reviews, milestones, risks, and referrals — into a coherent, accountable, time-extended whole with its own lifecycle and event ledger.

The Journey is the long-arc narrative that emerges when a Case (or a sequence of Cases) is tracked across time. It is not a separate entity; it arises from the Case history. REF010 constitutes the Case; the Journey is its emergent property.


2. Constitutional Scope [T10.§2]

2.1 What REF010 Governs

  • The constitutional definition of the Case as an aggregate root — a managed transformation effort spanning weeks to years.
  • The Case's own lifecycle (8 states, 15 valid transitions) and its append-only event ledger (case_events).
  • The multi-subject model (BL-1): PRIMARY, SECONDARY, and CO subjects, with the PRIMARY-uniqueness invariant.
  • The membership surfaces the Case owns: interactions, assessments, goals, service plans, reviews, milestones, referrals, risks (9 total surfaces, all governed by the admission gate).
  • The admission gate that controls which membership INSERTs are permitted as a function of Case lifecycle state.
  • The aggregate-root consistency boundary: the Case governs membership in its owned surfaces; members are referenced by (domain, id).
  • Referential integrity to REF001 (subjects/holders/actors as Parties), REF008 (case-management authority), and REF009 (interaction membership).
  • Privacy delegation to REF009's certified visibility model for case-interaction members (BL-3).
  • The No-Deletion doctrine as applied to Case records.

2.2 What REF010 Does NOT Govern

  • Party identity — the existence and attributes of subjects, holders, and actors belong to REF001. REF010 references Parties; it never defines them.
  • The Interaction entity and its privacy semantics — a single exchange and its STANDARD / CONFIDENTIAL / RESTRICTED visibility logic belong to REF009. REF010 delegates to ref009.fn_interaction_visible(); it does NOT re-implement it (PF-001, CAP122A).
  • Authority grants and transfers — who may open or hold a Case is governed by REF008. REF010 consumes authority verdicts; it does not issue authority.
  • Initiative / mission mandate — the strategic mandate, beneficiary enrollment, and impact aggregation belong to REF014. A Case is not a member of an Initiative; they relate by attribution (nullable initiative_id), not aggregation.
  • The Service Catalog — REF010 carries typed service_type codes in case_service_plans with no FK to a Service Catalog (BL-6 deferred). The Service entity is a future domain.
  • Database schema, DDL, triggers, RLS implementation, and application-layer orchestration — these live in 03_engineering and the Phase E application layer, not in this charter.

3. Core Constitutional Definition [T10.§3]

3.1 What Is a Case?

A Case is the aggregate-root entity that governs a subject's multi-step journey through VGSF care. It is a transformation-stewardship container with four constitutional faculties:

  1. A named purpose — purpose_description declares why the Case exists.
  2. A governed lifecycle — a state machine with permanent transition recording.
  3. An append-only event ledger — case_events, the immutable history of the Case.
  4. An owned membership surface — the assessments, goals, plans, reviews, milestones, referrals, risks, and interactions that constitute the journey.

The four constitutional concepts must never be conflated:

Interaction  ≠  Service  ≠  Case  ≠  Journey
ConceptWhat it isTime scaleDomain
InteractionOne meaningful exchangeBounded momentREF009 (CERTIFIED)
ServiceAn organizational capabilityOffered continuouslyFuture domain
CaseA managed transformation effortWeeks to yearsREF010
JourneyThe long-arc narrativeYears to decadesEmergent from REF010

A Case is not an aggregation of Interactions. Interactions may be formally associated with a Case as members, but the Case exists independently before any Interaction is logged. An Interaction may exist with no Case (a one-off contact) or belong to multiple Cases simultaneously (BL-5).

3.2 Constitutional Properties of Every Case

The Case object model is realized through four primary tables (the aggregate root, its subject surface, its event ledger, and its interaction membership) plus eight Case-dependent composite surfaces governed by the admission gate.

Primary tables (4):

TableRole
ref010.casesThe Case entity — aggregate root (mutable while PROPOSED/OPEN; effectively immutable on CLOSED/ARCHIVED)
ref010.case_subjectsPRIMARY and co-subjects (multi-subject model; BL-1) — owned subject surface
ref010.case_eventsAppend-only lifecycle event ledger
ref010.case_interactionsAssociation to REF009 interactions (shared_session model; BL-5)

Composite / membership surfaces (8, Case-dependent):
case_assessments, case_goals, case_service_plans, case_reviews, case_milestones, case_referrals, case_risks, plus the case_types classification reference table — 9 total membership surfaces, every one gated by fn_admission_gate.

The load-bearing object-model invariants, carried verbatim from the canonical record:

Case Identity (CI)

IDInvariant
CI-001Every Case has a stable, permanent case_id — never recycled or deleted
CI-002case_type_id is immutable once set
CI-003A Case in ARCHIVED state accepts no further mutations
CI-004case_events rows are never updated or deleted — append-only

Case Subjects (CS)

IDInvariant
CS-001Every active Case must have exactly one PRIMARY subject at all times (BL-1 PRIMARY uniqueness)
CS-002A Case may have additional SECONDARY and CO subjects (multi-subject model; BL-1)
CS-003The last PRIMARY subject may not be discharged while the Case is ACTIVE
CS-004A subject_party_id must exist in ref001.parties before it may be added

Lifecycle (CL)

IDInvariant
CL-001Every lifecycle transition is permanently recorded in case_events (SF-002 auto-insert trigger)
CL-002Only valid transitions per the §6 state machine are permitted
CL-003CLOSED → OPEN (reopen) is permitted — same case_id throughout (episode model; SP-4)
CL-004The admission gate blocks all membership INSERTs on PROPOSED / CLOSED / ARCHIVED cases

Case Authorization (CA)

IDInvariant
CA-001Opening a Case requires a CASE_MANAGEMENT authority grant (REF008; BL-2 ruling)
CA-002Case-holder succession is governed through REF008 authority transfers

No-Deletion Doctrine (ND)

IDInvariant
ND-001No physical DELETE is permitted on any REF010 table except cases in PROPOSED state
ND-002Obsolescence is expressed by CLOSED or ARCHIVED status — never row deletion

3.3 Fundamental Rules

RULE-CASE-1 (Independent existence). A Case exists independently before any Interaction is logged. It is not a projection of, nor an aggregation of, its members.

RULE-CASE-2 (PRIMARY uniqueness — BL-1). Every active Case holds exactly one PRIMARY subject at all times (CS-001). SECONDARY and CO subjects are permitted and unbounded; the PRIMARY slot is singular.

RULE-CASE-3 (No last-PRIMARY discharge). The last PRIMARY subject may not be discharged while the Case is ACTIVE (CS-003). A Case may not be left subject-less while operationally alive.

RULE-CASE-4 (Append-only ledger). Every lifecycle transition auto-inserts a case_events row (CL-001 / SF-002). case_events rows are never updated or deleted (CI-004). The ledger is the Case's immutable memory.

RULE-CASE-5 (Admission gate). Membership INSERTs into any of the 9 surfaces are permitted only while the Case is in an ACTIVE state. PROPOSED, CLOSED, and ARCHIVED cases reject all membership INSERTs (CL-004).

RULE-CASE-6 (Authority precondition). A Case may not be opened without a CASE_MANAGEMENT authority grant from REF008 (CA-001).

RULE-CASE-7 (No deletion). No REF010 table accepts a physical DELETE except cases in PROPOSED state (ND-001). End-of-life is expressed as CLOSED or ARCHIVED, never as row removal (ND-002).

RULE-CASE-8 (Subject referential integrity). No case_subjects row may name a subject_party_id that does not already exist in ref001.parties (CS-004 / seam check SF-003).


4. The Multi-Subject Model (BL-1) [T10.§4]

C3 §9 establishes that a Case may serve a Person, Family, Household, Community Unit, or Organization. The Case therefore admits a governed set of subjects discriminated by role.

subject_roleCardinalityMeaning
PRIMARYExactly one per active Case (CS-001)The principal subject of the transformation effort
SECONDARYZero or moreSubordinate subjects within the journey (e.g. individual members of a subject Family)
COZero or moreCo-equal additional subjects (e.g. co-subjects of a Community Unit Case)

The case_subjects surface is owned by the Case — the Case governs membership in its subject set. Worked examples from the canonical object model:

  • A Family Counseling Case whose PRIMARY subject is a Family (REF001 party of type Family), with SECONDARY subjects being the individual family members (Persons within that Family).
  • A Community Case whose PRIMARY subject is a Community Unit, carrying CO subjects.

Subjects carry admitted_at and discharged_at timestamps. Discharge is a state of the subject membership, not a deletion (ND-001/ND-002); and the last PRIMARY may not be discharged while ACTIVE (CS-003).


5. Case Event-Ledger Architecture (Aggregate-Root Shape) [T10.§5]

REF010 realizes the AGGREGATE-ROOT object-model shape (AR-6): a mutable root, an append-only root event ledger, and owned membership-association surfaces whose members are referenced by (domain, id).

REF010 Case Domain
│
├── cases                  ← ROOT ENTITY (mutable while PROPOSED/OPEN)
│     case_id, case_type_id, status, case_holder_party_id,
│     opened_at, closed_at, purpose_description, initiative_id (nullable)
│
├── case_subjects          ← SUBJECT SURFACE (owned; multi-subject permitted)
│     case_id → cases.id · subject_party_id → ref001.parties.id
│     subject_role (PRIMARY / SECONDARY / CO) · admitted_at, discharged_at
│
├── case_events (ledger)   ← ROOT EVENT LEDGER (append-only)
│     case_id → cases.id · event_type · from_status · to_status
│     occurred_at · actor_party_id → ref001.parties.id · notes
│
├── case_interactions      ← MEMBERSHIP: Interactions
│     case_id → cases.id · interaction_id → ref009.interactions.id
│     added_at, added_by, notes, shared_session
│
├── case_assessments       ← MEMBERSHIP: Assessments
├── case_goals             ← MEMBERSHIP: Goals
├── case_service_plans     ← MEMBERSHIP: Service Plans (typed service_type; no Catalog FK — BL-6)
├── case_reviews           ← MEMBERSHIP: Reviews
├── case_milestones        ← MEMBERSHIP: Milestones
├── case_referrals         ← MEMBERSHIP: Referrals (IN/OUT direction)
├── case_risks             ← MEMBERSHIP: Risks
│
└── case_types             ← CLASSIFICATION (static reference)
      id, code, name, description
      (Child Development, Family Counseling, Community Mobilization, Volunteer Formation, …)

AR-6 pattern compliance:

AR-6 elementREF010 realization
root (mutable while PROPOSED/Open)cases — mutable through Assess/Plan/Implement; effectively immutable on CLOSED/ARCHIVED (CI-003)
append-only root event ledgercase_events — all transitions recorded; no UPDATE, no DELETE (CI-004)
owned membership-association surfacethe 8 composite surfaces — all owned by the Case
members referenced by (domain, id)case_interactions.interaction_id → ref009.interactions.id; case_subjects.subject_party_id → ref001.parties.id

Aggregate-root consistency boundary. The Case is the consistency boundary for everything it owns. Membership rows may not exist except as children of a Case (case_id → cases.id), and they may be inserted only when the Case's lifecycle state admits them (the admission gate, CL-004). Members that belong to other domains (Interactions, Parties) are never owned — they are referenced, and their internal rules (including privacy) remain with their home domain.


6. Case Lifecycle [T10.§6]

6.1 The State Machine

PROPOSED → OPEN → ASSESSMENT → PLANNING → IMPLEMENTATION → REVIEW → CLOSED → ARCHIVED
                                                              ↑________________________↓ (REOPEN)

8 states. 15 valid transitions. ARCHIVED is the terminal sink; CLOSED → OPEN (reopen) is permitted, preserving the same case_id throughout (episode model; SP-4 / CL-003).

6.2 State Definitions

StateClassMeaning & rules
PROPOSEDPre-constitutionalThe Case concept exists but is not yet operational. The only state in which a cases row may be physically deleted (ND-001). Membership INSERTs are blocked (CL-004).
OPENACTIVEThe Case is constitutionally opened. Entry requires ≥1 PRIMARY subject (SF-001). Admits membership INSERTs.
ASSESSMENTACTIVEThe subject's situation is being assessed. Admits membership INSERTs.
PLANNINGACTIVEGoals and service plans are being formed. Admits membership INSERTs.
IMPLEMENTATIONACTIVEServices are being delivered. Admits membership INSERTs.
REVIEWACTIVEProgress is being reviewed. Admits membership INSERTs.
CLOSEDTerminal-reversibleThe Case is concluded but may be reopened (CL-003). Membership INSERTs blocked (CL-004).
ARCHIVEDTerminal-sinkPermanent. Accepts no further mutations (CI-003). Membership INSERTs blocked (CL-004).

ACTIVE states (admit membership INSERTs): OPEN, ASSESSMENT, PLANNING, IMPLEMENTATION, REVIEW.

6.3 Transition Rules

RULE-LC-001 (PRIMARY precondition — SF-001). The PROPOSED → OPEN transition is blocked unless at least one PRIMARY subject exists. A Case may not become operational without a principal subject.

RULE-LC-002 (Ledger on every transition — SF-002 / CL-001). Every lifecycle transition auto-inserts a case_events row recording event_type, from_status, to_status, occurred_at, and actor_party_id. There is no untraced transition.

RULE-LC-003 (Valid-transition-only — CL-002). Only the 15 transitions defined by the state machine are permitted. Any other transition is rejected.

RULE-LC-004 (Reopen — CL-003 / SP-4). CLOSED → OPEN is a permitted transition. The reopened Case retains the same case_id; the reopen is itself a ledger event. This is the episode model — one Case may span multiple open/close episodes.

RULE-LC-005 (Archival finality — CI-003). ARCHIVED is irreversible and accepts no mutation. Closure-cascade to interactions is advisory only (BL-4): closing a Case raises a warning flag for pending interactions but performs no automatic cascade.

6.4 Closure Rules (BL-4)

Case closure is governed by an advisory cascade, not a mandatory one. The BL-4 ruling holds that closing a Case with pending (open) associated interactions SHALL raise a warning flag — but SHALL NOT automatically alter, close, or cascade to those interactions. Interactions belong to REF009 and retain their own independent existence. The closure warning check (pending-interactions check) is an open Phase E obligation (OBS-BL4) — to be implemented in fn_close_case() at the application layer, not the DDL layer.


7. Governance & Authority [T10.§7]

7.1 Who May Open, Modify, and Close a Case

ActAuthority basisNotes
Open a Case (PROPOSED → OPEN)CASE_MANAGEMENT authority grant (REF008; CA-001 / BL-2)Plus the SF-001 PRIMARY-subject precondition
Add / discharge subjectsCase-holder, within authority scopeLast PRIMARY may not be discharged while ACTIVE (CS-003)
Insert membership recordsCase-holder, while Case is ACTIVEGated by fn_admission_gate (CL-004)
Transfer case-holderREF008 authority transfer (CA-002 / BL-2)Case-internal succession at the DDL layer; atomic update is an open obligation (P1-D)
Close / reopenCase-holder, within authority scopeReopen permitted (CL-003); BL-4 closure warning is advisory
ArchiveCase-holder, within authority scopeIrreversible; no further mutation (CI-003)

7.2 Authority Delegation to REF008

REF010 does not define authority. It consumes REF008's certified authority model:

  • CA-001 — Opening a Case requires an active CASE_MANAGEMENT grant (BL-2). The grant check is an open Phase E obligation (OBS-AUTH-1): operations OP-06, OP-07, OP-11, OP-14 must verify the REF008 grant in the application layer; this is not a DDL failure.
  • CA-002 — Case-holder succession is effected through REF008 authority transfers, with cases.case_holder_party_id mirroring the transferred grant.

7.3 Role Notation (Lifecycle Authorities)

REF010's own constitutional engineering preserved strict role separation: R-ARCH (CAP118A/119A specification) ≠ R-IMPL (CAP122A/124A implementation) ≠ R-VEXEC (CAP137A physical verification) ≠ R-CERT (CAP138A certification), per UP-004/UP-005/UP-006.


8. Cross-Domain Constitutional References [T10.§8]

REF010 is a referencing aggregate root. It holds FK / reference relationships to four domains and re-implements none of their internal logic.

8.1 REF001 (Party) — Mandatory

Every subject, case-holder, and ledger actor is a REF001 Party:
case_subjects.subject_party_id → ref001.parties.id,
cases.case_holder_party_id → ref001.parties.id,
case_events.actor_party_id → ref001.parties.id.
The SF-003 seam (fn_validate_subject_party) enforces that a subject_party_id exists in ref001.parties before admission (CS-004). The BF-001 defect — SF-003 calling a VOID seam function in a boolean IF NOT context — was fixed to the PERFORM idiom and confirmed CLOSED (TC-008, CAP137A/CAP138A).

8.2 REF008 (Authority) — Mandatory

Case-opening (CA-001) and case-holder succession (CA-002) are gated by REF008 CASE_MANAGEMENT grants and authority transfers (BL-2). REF010 consumes authority verdicts; the runtime grant checks are an open Phase E obligation (OBS-AUTH-1).

8.3 REF009 (Interaction) — Mandatory; Privacy Delegation (BL-3)

case_interactions.interaction_id → ref009.interactions.id is the membership edge. REF010 delegates all interaction visibility to REF009's certified model. The case_interactions SELECT RLS calls ref010.fn_interaction_visible(interaction_id), which calls ref009.fn_interaction_visible():

  • STANDARD — visible to all.
  • CONFIDENTIAL — visible only to interaction participants (CONFIDENTIAL isolation).
  • RESTRICTED — visible only to holders of an interaction access grant (RESTRICTED isolation).

REF010 does not re-implement REF009's privacy logic (PF-001, CAP122A). This preserves constitutional separation: the referencing domain delegates to the referenced domain's certified privacy model. Physical certification confirmed CONFIDENTIAL is hidden from non-participants (P1-A: TC-034 = 0 rows; TC-036 count = 1).

Shared session (BL-5). One Interaction may belong to multiple Cases. When it does, shared_session = TRUE is set automatically by trigger on both Cases (confirmed TC-053).

8.4 REF014 (Initiative) — Optional Attribution Only

cases.initiative_id is a nullable, non-mandatory FK. A Case is not a member of an Initiative; they relate through attribution, not aggregation. REF014's Outcome Constitution recognizes REF010 as the owner of longitudinal individual transformation (the cross-Event, cross-Project tracking of whether a specific beneficiary changed over time); REF014 receives aggregated intermediate-outcome evidence but does not own the Case.

8.5 Co-Deploy Notes

REF010's privacy delegation cannot be exercised without a live REF009 schema install. A methodology contribution from CAP138A records that any domain with cross-domain privacy delegation requires physical execution from Phase 5 — DDL analysis alone is insufficient. REF010 therefore co-deploys with REF009 (and REF001, REF008) for end-to-end verification.


9. Constitutional Invariants Summary [T10.§9]

The load-bearing invariants of REF010, carried verbatim from the certified canonical record:

CodeInvariant (compact)
CI-001Stable, permanent case_id — never recycled or deleted
CI-002case_type_id immutable once set
CI-003ARCHIVED Case accepts no further mutations
CI-004case_events append-only — never updated or deleted
CS-001Exactly one PRIMARY subject per active Case (BL-1 PRIMARY uniqueness)
CS-002SECONDARY and CO subjects permitted (multi-subject model)
CS-003Last PRIMARY may not be discharged while ACTIVE
CS-004subject_party_id must exist in ref001.parties (seam SF-003)
CL-001Every transition recorded in case_events (SF-002 auto-insert)
CL-002Only valid state-machine transitions permitted
CL-003CLOSED → OPEN reopen permitted — same case_id (episode model; SP-4)
CL-004Admission gate blocks membership INSERTs on PROPOSED/CLOSED/ARCHIVED
CA-001Opening a Case requires a CASE_MANAGEMENT grant (REF008; BL-2)
CA-002Case-holder succession via REF008 authority transfers
ND-001No physical DELETE except cases in PROPOSED state
ND-002Obsolescence = CLOSED/ARCHIVED status, never row deletion

Corrective-cycle structural fixes (CAP124A CORR001): SF-001 (PROPOSED→OPEN blocked without PRIMARY), SF-002 (transition auto-inserts ledger row), SF-003 (subject-party seam check). BF-001 (SF-003 VOID-in-boolean bug) CLOSED.

Open obligations — Phase E (application layer; NOT DDL defects):

OBLDescription
P1-D / OP-11fn_transfer_case_holder() must update cases.case_holder_party_id AND the REF008 grant atomically (non-atomic at DDL; open obligation)
OBS-AUTH-1OP-06, OP-07, OP-11, OP-14 must check REF008 authority grants in the application layer
OBS-BL4The BL-4 closure warning (pending-interactions check) must live in fn_close_case()

These are open obligations for the Phase E application layer. All P1-BLOCKER conditions were confirmed CLEAR on live PostgreSQL (PG 17.9), and the final certification verdict is REF010_CERTIFIED (CAP138A, R-CERT, 2026-06-24).


Constitutional Colophon — T10
This chapter establishes REF010 Case / Service Journey as the constitutional instrument through which VGSF governs a sustained, multi-step transformation effort for an identified subject — an aggregate-root domain that owns a membership surface of assessments, goals, plans, milestones, referrals, risks, and interactions while delegating interaction privacy to REF009 and authority gating to REF008, and that preserves every lifecycle transition in an append-only ledger from which the full arc of any service journey is permanently reconstructible.
It operates within Part A under the governing principle that the thirteen base domains are the
irreducible categories of institutional reality — no action, record, resource, or obligation of
VGSF may exist outside one of these domains.
Readers proceeding to T11 REF011 Schedule should carry forward:
the distinction between a case (a sustained governed journey spanning weeks to years) and the temporal commitments that structure when activities within it are planned to occur — T11 introduces the domain that governs those recurring-pattern commitments as first-class constitutional objects.


Test Dharma ERP and tell us what you find.

The trial uses sandboxed demo data across twelve core modules. Look around, try the forms, and review what works and what does not.