Completed Plans Archive

Plans listed here have been fully implemented and merged. Each links to the original plan document for historical reference.

A row opens with the completion date where one is recorded, then says what the plan delivered. Where a row was shortened, the plan page’s Archive record section holds its merge requests and its former text; git owns the history (git log — <plan page>).

Features

Plan Completed

The Re-entry Journey: a Child Who Went Home Comes Back into Care (#3243, epic &124)

2026-12-04 — the lifecycle battery walks a family the product has seen before: journey-lifecycle-reentry.spec.ts takes a child into foster care and home again under one case, then back into care under a second case after a second report names the same child. The second report is tied to the child’s record at conversion with no act of the worker (ADR-019); the first case stays closed; the child holds a custody episode and a removal episode in each case, and custody dated the day the child went home is refused; the second placement bills its own per-diem; the education agency lists the child a second time; the person index is not asked again; and a second Medicaid application gets its own receipt, with the eligibility system’s records about both applications each reaching their own. A second test shows a child in custody under one case refused custody and a removal episode under another. The given library’s builders carry their case or report in their request id, so one child can be walked through two cases. Corpus row core.permanency.reentry-after-reunification, covered. No service code changed and the walk found no defect; filed from it: #3244, #3245, #3246, #3247.

The Guardianship Journey: One Family from a Report to a Subsidized Guardianship with a Relative (#3237, epic &124)

2026-12-04 — the lifecycle battery’s third outcome: journey-lifecycle-guardianship.spec.ts walks one family from a maltreatment report to a relative’s guardianship. The child is placed with a grandmother; the county director enrols her in the Enhanced Relative Rate, and a payment generation pays every month from the placement; the goal becomes guardianship and she signs a subsidized guardianship agreement; the court grants guardianship, the ERR is ended and the agreement activated on that day, and a second generation takes back the ERR’s payment for the current month and pays the guardianship subsidy; custody closes as guardianship and the case closes. Across the handoff each month is paid once. A second test shows Georgia’s six-month residence floor refusing an earlier guardianship’s subsidy. No service code changed. The given library gained the builders for the handoff and a helper that runs a payment generation. Corpus row core.permanency.report-to-guardianship; the subsidy oracles are Georgia’s policy and belong to its pack.

The Adoption Journey: One Family from a Report to Termination of Parental Rights and Adoption (#3230, epic &124)

2026-12-04 — the lifecycle battery’s second outcome: journey-lifecycle-adoption.spec.ts walks one family from a maltreatment report through foster care, the change of the permanency goal, the mother’s surrender and the court’s termination of the father’s rights (by an order that also states the child’s permanent custody), the foster home’s turn into a pre-adoptive placement, and the adoption, to custody closed as adoption finalized and a case closed for adoption; a second test shows four acts refused out of order. No service code changed. The given library gained the builders for a parent link, a permanency goal, a court order with the status it states, a parental-rights action and its correction, and an adoption exit’s answers; the helpers the lifecycle journeys share moved to tests/e2e/lib/lifecycle-walk.ts. The walk found that a pre-adoptive placement was paid nothing under Georgia’s layer, which Georgia resolved in its rate-class policy. Corpus row core.permanency.report-to-adoption.

The Medicaid Referral: an Application Is Referred to the Medical-Assistance Agency, and the Agency Calls Back (#3193, epic &124)

2026-12-04 — a submitted Medicaid application is referred to the jurisdiction’s medical-assistance system, keyed on the child’s person-index id, and the system’s reference is stored on the application as its receipt; the system later calls CRAIG with its decision through a mutual-TLS listener in craig-exchange, admitted only for a client certificate an administrator registered and approved in craig-security for the partner the interface’s row names as its caller; craig-cases stores what the partner reported on the application, the program id sealed at rest, and the worker’s page shows the receipt and the latest outcome with its source. The partner’s side is a jurisdiction’s module under contract 1.2 (a referral leg and a return leg; Georgia’s IES is the first, with a simulator that calls CRAIG), and the reunification journey walks both legs. Decision record: ADR-091.

The Person Index: a Worker Asks a Jurisdiction’s Person Index About a Person, and the Id Comes Back with Its Source (#3192, epic &124)

2026-12-02 — a worker asks a jurisdiction’s person index about a household member from the case’s Household tab; the candidates are shown in that one response and stored nowhere; the worker selects a record the jurisdiction’s score rules allow, or registers the person once the record holds the facts a registration needs; the index’s id is recorded with its source (partner_matched, partner_assigned). craig-cases runs the conversation, craig-exchange makes each call and keeps counts only, and the index is a jurisdiction’s partner module under contract 1.1 (Georgia’s EMPI is the first, with a simulator). A person’s registration facts and a residence ledger (the county) were added for it. The reunification journey walks it. Follow-ups: #3212, #3214, #3181.

Partner Modules: a Jurisdiction’s Partner Code and Simulators Load from Its Configuration Layer (#3200, epic &124)

2026-12-01 — a jurisdiction’s partner code and partner simulators are WebAssembly modules in its configuration layer (partners/: a manifest, partner-set.wasm, simulators.wasm and the Cargo workspace they are built from). craig-exchange loads the partner set at boot and the mock server the simulators, through craig-partner-host; a module has the transport the host lends it and nothing else, runs each call under the manifest’s fuel and memory, and is granted no SSA send authority. cargo xtask partners build and check build a layer’s modules to the same bytes wherever they run and refuse committed bytes that differ, in the jurisdiction’s pipeline and in CRAIG’s battery over every pinned layer. Georgia’s eleven partner crates, their set and their mocks moved to craig-config-georgia; no CRAIG build links a partner crate, and CRAIG’s tests run on the reference partner and its fixture modules (ADR-090, Partner modules).

A Placement’s End Settles Its Per-Diem to the Days in Care (#3189, epic &124)

2026-11-30 — when a placement ends, craig-financial settles its undisbursed per-diems to the days in care: a row wholly in care is kept, a row past the last paid day is shortened in place (financial.payment_period_shortened), and a row with no day in care is voided. The end day is unpaid unless the jurisdiction’s perdiem_pays_end_day setting pays it. The termination tombstone keeps the end instant, so an activation consumed after the end bills the same days. Issued and cleared rows are #3199.

The Collection Run as a Background Job, and on a Schedule (#3190, epic &124)

2026-11-30 — a partner collection runs as a background job. craig-exchange mounts the job substrate for it (the job tables, the executor, the poll GET /v1/exchange/jobs/{id}); POST /v1/exchange/collections/run enqueues and answers 202, and a succeeded job’s result is the recorded run. A run stops cleanly on a shutdown, is recorded as interrupted and is run again. A schedule (CRAIG_EXCHANGECOLLECTION_SCHEDULEINTERVAL_SECONDS, off by default) collects each consented collection when it is due. The deployment guide is the page.

The Partner Specification: What a Partner Crate Implements, with Georgia’s Partners Ported onto It (#3196, epic &124)

2026-11-30 — a partner crate implements contracts the product owns: the manual send, the triggered-send leg (TriggerLeg), the collection and the inquiry, with one failure view. A jurisdiction exports one PartnerSet; craig-exchange boots on it, checks it against the configuration, and neither links nor names a partner (ADR-089). The conformance kit holds each kind, a reference partner implements all of them for the fixture jurisdiction, and Georgia’s eleven partners run on the specification with no stored token changed. Writing a partner crate is the page.

Lifecycle Journeys Against Partner Simulators: the Programme and Its First Journey (#3188, epic &124)

2026-11-29 — the battery walks one family from a report to reunification (journey-lifecycle-reunification.spec.ts) and through its conversation with Georgia’s education agency, played by the first seeded, stateful partner simulator: the child is listed while in custody, an admin collects the agency’s weekly file, craig-placement keeps the report in a table and under a resource type of its own for the case’s staff to read, and it is withdrawn when the listing ends. The page also holds the programme’s rules (R1–R6), which the plans under epic &124 follow.

End a Case Household Membership (#2460)

2026-11-26 — a worker records the day a person left a case household, through a craig-cases act and the case page’s Household tab; a closed case refuses it, the row carries ended_on tied to active by a CHECK, and the tests that ended a membership with SQL call the route.

Object Storage Adoption for Placement & Reporting

2026-04-21 — archived by the #2950 audit: Steps 1–4 and 6; Step 5’s fixtures, which placement-documents.spec.ts uploads itself rather than reading a seeded document

One SHINES CpsRequest for the Portal and P28 Call-Intake Forms (#2333, #2351, epic &89)

2026-10-22 — the portal and call-intake forms share one SHINES request: four reference enums with placeholder SHINES codes, the reporter, triage, notification and screening blocks (each refused until staff authorization exists), and a JSON Schema the mapper tests hold to.

SHINES Mandated-Reporter Portal Parity for the Standalone Intake Form (#2097–#2105, epic &100)

2026-10-22 — the public intake form carries the DFCS pick-lists as typed tables, the SHINES per-person fields, household membership, one foster-care answer and a content check on signed attachments.

Outbound Partner Authentication and the Initial Medicaid Application (#1813, #1805 slice, #1807, epic &108)

2026-10-19 — outbound partner sends can carry a credential through a typed, fail-closed auth gate, and the Initial Medicaid Application is a record with acts, events and a web section.

Custody Episodes and the DOE-SLDS Bind — Legal Status as a First-Class Fact (#1804, #1806, #1821, epic &107)

2026-10-15 — custody episodes and a legal-status ledger are written from court orders, the GTID is an encrypted person identifier, and the six DOE-SLDS legs are built behind a consent setting that defaults off.

AFCARS 2028 Series — the ICWA Readings, Dictionary 1.6.0, the 2028 Assembly, the Evaluator (#2148, epic &99)

2026-10-11 — the AFCARS dictionary (1.6.0) and the captures cover the 2028 series, with a hermetic 2029A generate; no production 2029A generate can run before 2029-04-01.

Child-Keyed Records Carry the Custody Unit (#1909 b, epic &103)

2026-10-09 — education and health records are stamped at creation with the admin unit of the child’s latest removal episode; a record with no episode, or no unit yet, stays unstamped and fails closed.

Below-Floor Backpay via the Import Path (#1115, epic &102)

2026-10-08 — below-floor backpay is staged in batches and finalized as a per-batch consent, with late enrollment decided by the ruleset.

AFCARS Source History — the Class-3 Columns Read As Of (#2131, of #949, epic &99)

2026-10-05 — AFCARS source columns that can change after the fact are read as of the export’s as_of instant, among them write-once end stamps and the paid share net of later adjustments.

AFCARS Readiness — the Encrypted Artifact, Readiness and ready_for_transmission (#2127, P-D4 of #949, epic &99)

2026-10-05 — a keyed deployment seals every AFCARS export before upload, and the export fence no longer supersedes its own winner.

AFCARS Validation — the §1355.46 Classifier Without the Bulletin Rows (#2126, P-D3 of #949, epic &99)

2026-10-04 — an evaluator checks generated AFCARS submissions against the dictionary over the sealed rows; every submission reads validated_with_errors until a later program step.

AFCARS Pipeline II — Records and Generate (#2125, P-D2 of #949, epic &99)

2026-10-02 — craig-reporting gets its own field key and the AFCARS record model: a submission chain and five record tables.

AFCARS Pipeline I — The Sources: Three Service-Only Projections (#1965, P-D1 of #949, epic &99)

2026-10-01 — the AFCARS pipeline’s source routes, among them craig-placement’s export, which only craig-reporting may call and which pages by a keyset cursor.

AFCARS Placement Capture III — The Element Capture: Arrangement, Removal, Exit and Child Facts (#2052, P-B3 of #949, epic &99)

2026-09-30 — craig-placement captures the AFCARS arrangement, removal, trafficking and adoption or guardianship exit facts.

SHINES Profile Delivers CpsRequest via S3 Object Drop (epic &85)

2026-09-29 — Georgia SHINES intake is delivered by S3 bucket drop: a receipt first, signed attachments, then the request, and a replay answers the original; the SHINES URL and its mock are removed.

AFCARS Placement Capture II — The Arrangement Vocabulary, Setting Identity, the Element Map (#2026, P-B2 of #949, epic &99)

2026-09-27 — the placement AFCARS element map, provider kinds and the federal placement-type vocabulary.

AFCARS Placement Capture I — Removal Episodes, Living-Arrangement Lifecycle, the Shared Ledger Core (#1963, P-B1 of #949, epic &99)

2026-09-26 — the correction model is lifted into craig-ledger (ADR-079), and removal episodes carry immutable first-recording answers with per-child non-overlap.

AFCARS Cases Capture — Demographics, the Effective-Dated Child Facts, ICWA, Parents and Parental Rights, the Permanency Ledgers and the Plan Projection (#1964, P-C of #949, epic &99)

2026-09-23 — one correction model (ADR-078) over twelve new craig-cases tables, among them the demographics ledger, four child-fact ledgers and sibling links.

AFCARS Federal Ruleset Class, Dictionary Tooling, the Crosswalk Verifier and the Verified Surface (#1962, P-A of #949, epic &99)

2026-09-21 — a federal ruleset directory with a blocking citation manifest, shared dictionary and crosswalk parsers, and a verified AFCARS surface whose record contract is empty by design.

Field-Scheme Rewrite — craig-cases rewrite-scheme, the Owned Mid-Life Scheme Migration (#1399, epic &98)

2026-09-21 — an offline rewrite-scheme process mode of the craig-cases binary rewrites persons.ssn_last_four between schemes, behind a boot-side fence.

Stream Object-Store Downloads — Download GETs Move to the Standard Class (#1572, epic &97)

2026-09-20 — the nine download GETs that rode the 300 s ceiling stream their bodies, behind eight backend handlers and six edge proxies.

Background Jobs for the Batch-Class Engines — 202 + a Durable Job Resource + Poll; Retire the 600 s Ceiling Class (#1571, epic &96)

2026-09-18 — the eight engines that rode the 600 s batch ceiling become durable background jobs behind one craig_api::jobs module.

Admin-Unit Scoping — The Worker→Unit Registry, Claim Enrichment, the Unit Stamp, and Honest Texas Regional Rows (#1086, epic &95)

2026-09-17 — a CRAIG-owned worker-to-admin-unit registry on craig-security, from which the authorization engine enriches claims by a verified snapshot (ADR-077).

Constituent & Provider Portals — The Portal Substrate and the Foster-Parent Portal First (epics &13 / &50)

2026-09-15 — CRAIG’s first public-user surface: portal realm roles and clients in the same realm, with audiences for craig-placement and craig-financial only.

Outbound Interface Trigger Parity — The OUTBOUND Ledger, Late-Bound Single-Record Sends, the CPRS Legs (#243, epic &87)

2026-09-13 — outbound sends for the CPRS interface become event-driven from a trigger matrix the jurisdiction declares; other interfaces stay blocked on facts CRAIG does not model yet.

Administrative Authority — A Jurisdiction-Declared Office Hierarchy Resolved from Ruleset Data (#1614, epic &86)

2026-09-12 — craig-financial’s hardcoded office matrix becomes ruleset data, one first-hit table per jurisdiction.

Identity-Based Placement Matching — Child Facts from the Authoritative Record (#972, epic &94)

2026-09-12 — placement matching is a search for a child by case and child id, reading the child’s facts from craig-cases under the acting worker’s relayed credentials (ADR-073).

NCANDS Report Source at Intake + Disposition Re-cut (#648, epic &93)

2026-09-11 — the NCANDS report source is a required intake fact on every channel, and the report disposition is a referral-wide roll-up.

Field-Ciphertext Storage-Context AAD — Envelope Format v2 (#1007, epic &92)

2026-09-10 — every craig-cases field ciphertext is envelope format v2, binding its storage context as associated data; v1 is refused.

Investigation Response Deadlines — Derived, Ruleset-Governed, Audited Override (#895, epic &91)

2026-09-09 — the referral’s response priority and the investigation’s response deadline are derived through rulesets, with an audited override.

Placement Expiry Machines — License + Training (#1641/#1642, epic &90)

2026-09-08 — foster-home license status and training currency are DERIVED on the jurisdiction clock (never written back), the {j}-placement-eligibility ruleset’s license_gate / training_gate decide which expiry blocks matching and activation (facts re-derived under the home row lock), and the expiry sweep raises the four foster_home.* notices once per key; ADR-072 amendment carries the as-built.

Intake-Screening Evaluation at the Screening-Decision Act (#1630, epic &88)

2026-09-07 — the screening act consults {j}-intake-screening with the real facts: derived actor role, bounded attested facts, per-victim-child evaluation with provenance, the gated surface read + verifier, the policy file retired; ADR-072 amendment carries the as-built.

CAPTCHA Integration Testing (superseded)

2026-08-29 — SUPERSEDED by ADR-069 (#1331): the vendor default died with the bot-protection seam; vendor-live testing replaced by the in-tree seam-generic verifier battery. Archived as a historical record.

Postgres-Backed craig-intake-keyring (epic &84)

2026-08-29 — the intake keyring’s flat-file store becomes a Postgres store, so the sidecar can run as several instances (ADR-042 amendment).

DB-Degradation Posture — Server-Yields-First (ADR-068, #1404)

2026-08-23 — route-class request ceilings, a statement budget, a blocking database-error lint and pool-saturation signalling make up the degraded-database posture.

Per-Jurisdiction Search-Scheme Override (#1025)

2026-08-11 — ADR-049’s deferred scheme override is wired end to end and activated for one field, persons.ssn_last_four.

OpenTelemetry Distributed Observability

2026-03-22 — traces, metrics and trace-correlated message envelopes, with /metrics on every backend; the page was reconciled and archived on 2026-08-08.

Repo-Committed Encrypted Secrets (SOPS + age, ADR-064)

2026-08-10 — devstack secrets live encrypted in the tree with sops and age (ADR-064), and a rotation is a git commit; production stays on the orchestrator’s store.

Migration Gate + Verify-Only Boot (ADR-063)

2026-08-03 — schema application becomes a deploy phase, run by a same-image migrate gate (ADR-063).

Send-Jobs Claim Lease + Generation Fencing (double-send on rolling restart)

2026-07-28 — exchange send jobs are claimed under a lease, so a peer no longer re-claims a job mid-send and transmits it twice.

Idempotency Middleware Body Integrity (empty/synthetic body substitution)

2026-07-28 — the idempotency middleware no longer empties and persists the body of an over-cap successful response.

Per-Diem Payment Idempotency (placement.activated double-pay)

2026-07-28 — a replayed placement.activated no longer mints a second per-diem payment: a lifetime unique index keys it by placement and period.

Reports List Summary Projection (pre-1.0 wire fork)

2026-07-27 — the reports list returns a six-field summary without fetching the heavy columns (per-page-500 mean 398 to 114 ms).

Closed-Cohort SHINES Conversion Import (#1071 program)

2026-07-25 — the closed subsidy cohorts enter through a staged conversion ledger whose manifest-verified finalize is the single money-consent act (ADR-057).

SG/NRSG (UAS 552/550) Guardianship-Subsidy Flow (#1070 program)

2026-07-24 — the post-guardianship subsidy: a pending create and a witnessed activation at the derived transfer (ADR-056).

ERR (UAS 542) Kinship-Subsidy Flow (#1069 program)

2026-07-24 — the ERR subsidy flow: one-shot active enrollment and the generator’s month judgment (ADR-055).

22.9 Review Workflow, Lifecycle Mutations & Automation (#1081 program)

2026-07-22 — the subsidy review workflow under verified office authority, where nothing approval-shaped is supplied by the caller (ADR-054).

Monthly Subsidy Payment Generator

2026-07-20 — monthly full-month subsidy payments over the agreement ledger, with a reconcile-then-generate correction protocol (ADR-053).

Subsidy-Agreement Temporal Foundation

2026-07-20 — kinship-subsidy agreements as a close-only temporal ledger with a single-writer store and a read-only API (ADR-052).

Capability-Based Encrypted Search (C3)

2026-07-13 — a field’s search capability follows from its encryption scheme and type through one registry, and the five cases entities search through a fail-closed planner (ADR-049).

SHINES Signed-Path Attachments

2026-07-01 — signed SHINES attachments through a signed SHA-256 hash manifest verified at the edge, with SDK submit helpers.

craig-intake Hardening & Total Test Coverage

2026-06-30 — intake test coverage is filled in by dimension after the 2026-06-28 audit; optional in-process TLS for the edge is its one product change (ADR-046).

craig-intake as the Single Public Intake Portal (program)

2026-06-28 — craig-intake is the one themed public report portal for every deployment and craig-web’s duplicate /report flow is removed (ADR-043), over five phases.

craig-intake Portal — Phase 5 (Remove craig-web /report)

2026-06-28 — craig-web’s public /report flow is deleted and /report reaches the edge by path-based ingress, a pre-1.0 breaking change.

craig-intake Edge Public-Form Parity Remediation (Phase-5 prerequisite)

2026-06-28 — the edge’s public form regains the full field set of craig-web’s form, before that form is deleted.

craig-intake Portal — Phase 4 (Mandated-Reporter Signing)

2026-06-27 — under SHINES a mandated reporter signs the report in the browser, behind an operator approval; individual signing in integrated mode is deferred (#731).

craig-intake Portal — Phase 3 (Parity Migration)

2026-06-26 — the edge reaches parity with craig-web’s public report flow: shared i18n, a staged accessible wizard and public attachments (ADR-044).

craig-intake Portal — Phase 2 (Integration Aids)

2026-06-26 — integration aids for the standalone SHINES edge: a PII-guarded debug panel, a gated key list and a view-keys page.

Standalone-SHINES Intake Test-Coverage Remediation

2026-06-25 — the standalone SHINES intake surface’s test coverage is filled in over six waves, with a mock SHINES fault harness.

Standalone Intake Backend Plugin (SHINES Alignment)

2026-06-25 — a keyring sidecar, a signed JWS API and a proposed SHINES API specification for standalone intake (ADR-042).

NCANDS Child File Federal Export (Capture-First)

2026-06-22 — the NCANDS data capture and the Child File export (ADR-040).

Report-Person Linking with Pluggable Jurisdictional Matching

2026-04-27 — reports are linked to persons (ADR-019), the second phase of the family chain view.

System-Wide Reference Data Management

2026-03-19 — system-wide reference data management, delivered before merge requests were used.

Mock SPA — All 23 Screens

2026-03-06 — the mock SPA in mock/, with 26 screens.

CRUD Completion — All Operationally Relevant Resources

2026-03-19 — the missing CRUD endpoints across the services, in five merge requests.

UI/UX Overhaul: Sort, Search, Name Resolution, Pagination

2026-03-19 — the list views are reworked for caseworkers, over four phases.

JWS Integrity & Multi-Language SDKs

2026-03-19 — client-side JWS signing for partner reports, with a signer key registry and SDKs.

Standalone Mode for craig-intake

2026-03-19 — a standalone mode for craig-intake, delivered in one merge request.

Public Child Abuse Reporting (Phase 1 + 2)

2026-03-19 — the public intake form’s first two phases; two later phases were delivered by the JWS SDK plan.

Case Management & Placement Feature Completion

2026-03-20 — educational enrollment, health records and major-change monitoring. The date is its last merge request’s.

Data Exchange Adapters

2026-03-21 — the data-exchange adapters, with an adapter factory, a mock server and inbound webhook handlers. The date is its last merge request’s.

Reporting & Data Quality Dashboard

2026-03-21 — craig-web gets the reporting pages: a quality dashboard, an issues list and the submission workflow. The date is its last merge request’s.

Worker Display Names

2026-03-20 — worker display names are stored beside worker ids and shown in the web templates. The date is its last merge request’s.

Infrastructure & DevOps

Plan Completed

Day Partitions for the Audit Tables (#3173)

2026-11-28 — audit_log partitioned by month and identity_issuance_log by day; retention archives a closed partition whole and drops it, count-checked, with no row DELETE; a maintenance worker keeps 30 days ahead; dead_letter_audit stays on row batches.

SSA Screening on Gateway’s Income Inquiry (#3175)

2026-11-28 — SSA screening re-keyed onto Gateway’s income and resource inquiry: keyed by the DHR client number with no SSN, SOAP on the wire, SI/ST/SSR/SSD rows as benefit facts, termination by absence and a no-Gateway-record alert; Phase P (#1433) still owes production activation.

One Commit for a Mint (#3151)

2026-11-27 — the issuer’s log writer spends each mint’s jti in the commit that records the mint, so a request takes no pool connection to spend it; the issuer pool idles at 2 connections, and G6 holds one replica short of R.

Measure the Release Images (#3166)

2026-11-27 — the perf jobs and a manual issuer-capacity job measure the release images baked from their own commit; dev start --release --bake --replicas brings that stack up, and perf --profile identity --procedure runs the whole capacity procedure and takes R from its own capacity step.

CI-Integration Build-Once, Fan-Out Decomposition (#1739)

not built: superseded by the merge-trains-gate plan (#1739).

Dynamic Ephemeral Port Allocation

not built: superseded by the host-free devstack, which publishes no host ports (#2922).

pi Transition — Move CRAIG’s Agent Scaffolding to gadhs/pi (#2878, epic &119)

2026-11-01 — !2092 (the plan), then one MR per unit: U1 !2093 (AGENTS.md, CRAIG-owned hooks, no PRECOMMIT_TOKEN), U2 !2094 (the template sync engine, its config and CI steps retired), U3 !2095 (the standards module CRAIG-owned), U4 !2096 (compliance/visibility.toml and the visibility step that checks the exception issue; doc-pointer integrity on AGENTS.md; audit-memory retired), and U5 (the tracked agent scaffolding deleted, errata). Follow-ups: #2884 (the hook’s debt gate under pipefail), #2885 (two pre-existing docs-xref-check warnings).

Retention Enforcement — Archive-Then-Prune (#1129 program, MR-B)

2026-07-26 — the audit-class tables are archived to the object store before they are pruned, never hard-deleted unarchived (ADR-058).

Event Outbox/Inbox 30-Day Retention Sweep (#965, MR-A of the #1129 retention program)

2026-07-26 — the documented retention of the event outbox and inbox is enforced: an hourly batched prune inside every outbox worker.

Field Encryption End-to-End + Devstack Activation (epic &66)

2026-07-14 — C1; C2 !966; C3 = sub-epic &67 (!970–!977, see Features); C4a + C4-floor (#1011) + C4d !967 + C4-gate (#1012/#984, final MR); C5 !968; C6 !969; C7 !978; C8 !979. Outcome: craig-cases field encryption runs end-to-end in devstack + CI — ADR-048 key lifecycle (gitignored dev key / masked CI variable), boot verify-only refusing key↔data drift, KCV-staleness auto wipe+reseed, compose completion gate + in-graph garage-init, verify-seed --expect keyed at both gates.

Docker Image Upgrades + UUIDv7 Migration

the devstack images are upgraded and UUID generation moves from v4 to v7; undated, before merge requests were used.

Devstack Script Durability Improvements

devstack script durability fixes, after a restart was found to deploy stale binaries; undated, before merge requests were used.

CI/CD Pipeline Overhaul

2026-03-19 — a CI/CD overhaul in one merge request (!10).

CI Pipeline Optimization

2026-03-15 — the merge-request pipeline is parallelised (!20).

Connection Pooling for Test-Lib HTTP Clients

2026-03-19 — the test library’s HTTP clients share a connection pool; before merge requests were used.

Dependency Audit — March 2026

2026-03-19 — an audit of the workspace dependencies against crates.io, with its upgrade results; before merge requests were used.

claude-quickstart Alignment

2026-03-21 — project governance, testing, security and tooling are aligned with the quickstart template (!52). The date is its last merge request’s.

Devstack Hardening — Pre-commit, Staleness Guard, Ruleset Gate

2026-04-17 — three tooling improvements adopted from canopy (#174); the date is the documentation sweep’s.

Platform Stabilization (Pre-Offline-Worker)

2026-05-02 — four platform invariants are closed (encryption fail-closed, token audience and scope, the transactional outbox, dead-letter wiring) with durability and operations gaps beside them (ADR-020 to ADR-022); the date is the last step’s merge.

Store Parameter-Struct Refactor (#272)

2026-05-03 — every store function with a long parameter list takes a typed parameter struct; the date is the last step’s merge.

Plan J — Env-var Documentation Coverage + Docker-compose DRY

2026-05-25 — .env.example documents the environment variables the compose file sets, in tiers, and the compose file’s repeated blocks become YAML anchors.

Plan K — Canopy xtask + Hook Backports

2026-05-25 — xtask and hook patterns proven in canopy are ported: the exclusive lock, port reconciliation, a minimal-rebuild refresh, the coverage command, database snapshots and the plan-lifecycle lint.

Test Framework Hardening — Concurrency, Fault Injection, Failure-Path Coverage

2026-05-05 — the test infrastructure gains an evil-input corpus, a database-constraint harness, restart and replay helpers, an SQL invariant sweeper and coverage tooling; the date is the last step’s merge.

Platform Stabilization Phase 2 — Concurrency & Atomicity Hardening

2026-05-07 — three race conditions an external review found are closed (the idempotency claim, the outbox under several workers, the inbox retry) with atomic uploads and a fail-closed encryption default; the date is the last step’s merge.

Security & Compliance

Plan Completed

Exact Detection Windows (#2771)

2026-11-26 — a detection rule fires whenever some window of its length holds its threshold of matching audit rows, at the first scan that sees all of them: each audit row records its transaction, one row records the last scan’s snapshot, and a scan is one transaction that counts the windows holding a row committed since.

Authz Verification Integrity — a Verified Helper Registry and a Runtime Witness (#2666, #2667)

2026-11-04 — the authz-coverage gate verifies the helpers its allowlist names, and a test-build witness refuses a 2xx that made no authorization decision.

Transactional Idempotency Claims (epic &77, ADR-062)

2026-08-02 — exactly-once effects become a property of the domain transaction at both ingress boundaries (ADR-062): the single-transaction inbox attempt, in-transaction HTTP claims and generation-fenced upload and export attempts; the lease-based idempotency middleware is deleted.

Decision-Cache Sweep (#1188)

2026-07-31 — the craig-rules compiled-decision cache has bounded staleness: a lost invalidation event no longer leaves a peer serving a superseded decision until restart.

Authz Staleness Recheck (#1187)

2026-07-30 — assignment-gated placement writes re-check the policy’s field under the row lock (ADR-060), closing the race between the authorization read and an assignment change.

DLQ Forensic Durability & Idempotency (epic &75)

2026-07-30 — the dead-letter tier loses nothing: each occurrence is idempotent on the audit table, the queue identity is the real consumer’s, and retry is bounded with a parking replayer (ADR-059).

Narrow the Authz Fail-Open Fallback (#786)

2026-07-18 — the fail-open authorization fallbacks are retired: a missing policy is attested by the source, craig-security’s two admin fallbacks are deleted, and every surviving admit is narrowed and audited.

Rules Evaluation Timeout (#784)

2026-07-17 — a rules evaluation runs under one configurable time budget and answers a typed 503 when it is spent, so one request can no longer wedge the evaluation thread.

craig-web BFF JWT-Trust Hardening

2026-07-07 — craig-web verifies the tokens it receives at login (signature, expiry, nonce, binding) and refuses a read-only principal’s writes at the edge.

Encode BFF Backend GET Queries by Construction

2026-07-06 — craig-web builds backend query strings with typed, percent-encoded parameters, closing HTTP-parameter injection, under a merge-gating guard.

API Idempotency Audit & Implementation

2026-03-21 — the Idempotency-Key middleware (!47); superseded on 2026-07-31 by ADR-062’s in-transaction claims, under which it is deleted.

Data Breach Detection & Notification

2026-03-21 — breach detection for craig-security (!48). The date is its last merge request’s.

Penetration Testing & Vulnerability Management

2026-03-21 — penetration-test and vulnerability-management policy (!49). The date is its last merge request’s.

ATO Pathway & Continuous Compliance

2026-03-21 — the authority-to-operate pathway documentation (!49). The date is its last merge request’s.

Security Culture Hardening

2026-04-17 — six security features are in the pre-push battery (#168); the date is the archive sweep’s, and SBOM in CI remains (#178).

Web Session Cookie Migration (ADR-013)

2026-04-18 — browser sessions move from an in-memory store to encrypted cookies, which allows horizontal scale (!81); token refresh and revocation are deferred (ADR-013). The date is its last merge request’s.

Section 508 / WCAG 2.1 AA Accessibility

the accessibility audit is a blocking pre-push gate over 41 pages and a VPAT is published; no completion date is recorded.

Multi-Jurisdictional Authorization

2026-05-10 — authorization is a data-driven policy engine (the craig-authz crate over rulesets), so a jurisdiction defines its roles and scoping rules without code; cases, placement, exchange, financial, reporting, security and rules adopt it.

Service Identity + On-Behalf-Of (canopy ADR-019-derived)

2026-05-11 — each service authenticates with its own client credentials, a worker’s identity is relayed in a signed X-Craig-Actor header, and the audit log names the calling service (ADR-028).

Introspection-Mode Token Validation

2026-05-13 — craig-auth can validate a bearer token by introspection as well as locally (ADR-029), for identity providers that issue opaque or encrypted tokens.

Multi-Backend Identity Integration Tests

2026-09-02 — an opt-in devstack profile and integration tests show the rendered identity configuration round-tripping against Authentik, with a structural check for ZITADEL; archived by the 2026-09-02 review.

Subsidy Eligibility Hard Checks + the eligibility.evaluated Producer (#1114 / #1313)

2026-09-02 — the subsidy age check is a machine check through the rules engine (ADR-072), IV-E determinations are per child, and eligibility.evaluated has a producer with an authoritative FMAP source.

PII Coverage + Concurrency-Correctness

2026-05-14 — report PII is encrypted at the application layer, the blind index uses its own derived key, the IP hash is keyed with a secret, and two non-transactional approval workflows are made transactional.

Plan I — Handler / Module Decomposition + DIP + ISP

2026-05-17 — four god-modules and many long handlers are split, and the large test clients become small per-domain clients; other functions over 40 lines stay by recorded exception (the record’s own counts disagree).

Partner Edge + Browser-Facing Operational Hardening

2026-05-14 — sixteen partner-edge and browser-facing findings are closed, among them JWS partner binding, signer-key expiry, replay defence, per-partner rate limits, API-key rotation, HSTS and CSP.

Code Quality

Plan Completed

Cut v0.2.0 and Move Release Notes to Changelog Fragments (#2861, #2862)

2026-11-11 — v0.2.0 is cut and release notes are changelog.d/ fragments folded by cargo xtask changelog release; U4’s pre-push fragment check is dropped by ruling (#2976).

Events Carry Their Audit Header; the Event-Type String Table Goes (#2314)

2026-11-17 — every event envelope carries a typed audit header its publisher states, and craig-security files the audit_log row from it; the event-type string table, the payload key guesses and their two censuses are deleted, and a headerless message lands a degraded system row.

Safety Assessment Inputs — a Ruleset-Declared Fact Surface (#3104)

2026-11-16 — each safety ruleset declares the facts a worker attests behind a closed schema that requires them all; craig-cases serves that surface and evaluates exactly those facts, where it had sent two keys no ruleset read.

Audit Rows Name Who Acted, and Every Detection Rule Can Fire (#3116, #3114)

2026-11-17 — events a person or a calling service caused are audited under that worker or service:<name>, never system; the detection rules count exact action tokens, and the two rule types no publisher could fire are removed.

In-Process Service Tests — a Shared Harness and Three Pilot Suites (#3119)

2026-11-17 — craig_test_lib::inproc runs a service’s real router over a throwaway database with a test token issuer and the shipped rulesets; three pilot suites (71 tests) moved onto it unchanged, and ran about 0.45 s slower per test than against the devstack, so #2302 stays open for the bulk-port decision.

A Docs-Only Merge Request Skips the Stack and the Lanes (#3101)

2026-11-18 — the car starts on every merge request and train, runs its gates, and stops before the stack when xtask car-scope proves the merge commit changes only documentation no lane reads; the fail-open changes: list is gone and ADR-086 is amended.

Production Operator Tools Leave xtask (#2671)

2026-11-18 — a tool an operator runs against a deployment is no longer an xtask verb (ADR-088): the API tools are craig verbs under one credential model, the direct tools are verbs of a new craig-manage binary with no default target, and both ship in the released craig-operator image; xtask’s remaining craig-test-lib uses are #3135.

The Idempotency Hash Reads the Request, Not a Shadow Struct (#2310)

2026-11-18 — a claim’s intent hash is the request itself under a per-scope revision (ADR-062 amended): forty acts in seven services lost their field-for-field IntentV<n> struct, the twenty-two structs that remain each say why the intent differs from the request, and one pinned digest per scope catches a reordered request field.

The Request Extractors Validate What They Extract (#2662)

2026-11-19 — the shared Json, Query and Form extractors require Validate and run it before the handler, so no handler can forget the call; an invalid request is 422 before a handler’s own 403/404, and 195 redundant handler validate() calls across eight crates are deleted.

Single-Service API Tests Run In-Process (#2302)

2026-11-20 — the Postgres handshake crates are built optimised in the dev profile, which took 8 to 10 % off the battery’s summed test time; 30 API test files (205 tests) of three services moved to the in-process adapters behind the RoleClients and Principals traits and a census that keeps them off the shared database. Far fewer files could move than surveyed, and a moved test runs about 0.37 s slower.

One Baselines Directory, One Bless Verb (#2300)

2026-11-24 — every count, allowlist and floor the xtask gates compare against is a typed TOML ledger under xtask/baselines/, read with no defaults; cargo xtask baselines bless rewrites the measured and run-fed ones.

Witness the Keyed Harness (#3160)

2026-11-24 — craig-cases' keyed in-process harness mounts the authz witness under /v1 as production does, which took the routes with an unstamped 2xx from 114 to 0 and refused no handler; the in-process adapters take peer origins, which eight fault tests in craig-financial and craig-placement use, and one craig-cases test drives the auto-link consumer directly. Three #3154 items stay open.

Size Bounds on Untyped Request JSON (#2633)

2026-11-21 — every free-form JSON request field carries a depth, value-count and string-length bound the request extractor enforces, or is named with the bound it has; the dto-length lint’s untyped count is replaced by that named table. Only the rule-set bound rests on a direct measurement.

State Reference Data Loads from Config Bundles (config-git-source U5, #2956)

2026-11-15 — a jurisdiction’s rates, codes, calendars, theme, terminology and trigger matrix load from bundle/ files in its config layer; the compiled state crates are deleted and craig-partners-ga keeps the adapters.

CI Runs the Developer’s Commands on One VM; xtask Stops Being CI Tooling (#3042, epic &122)

2026-11-10 — a car is one car job running the developer’s commands from one musl compile, cargo xtask ci is gone, and a protected release-build job alone pushes images, after its smoke.

One VM per Car, a Scheduled Release Job (#3029, epic &122)

2026-11-10 — U1 only (the one-VM car and release verbs, retired again by ci-dev-loop U4); U2–U5 superseded by plan ci-dev-loop (#3042).

The Battery Compiles While Build Builds (#2994)

2026-11-08 — the battery job compiled its tests beside build and waited for the tree’s images in the registry, and a train ran the unit tests once; plan ci-dev-loop (#3042) later replaced those jobs with one car job.

CI Compiles Each Thing Once (#2982)

2026-11-08 — one prebuilt craig-ci image, xtask built once per pipeline, one check job and one docs build per car, and a main pipeline that repeats nothing the train proved; plan ci-dev-loop (#3042) later replaced the car DAG with one car job.

Merge Trains as the Gate — a Staged, Host-Free Battery on the 4xlarge Runner, and a Five-Minute Hook (&111)

2026-11-06 — merge trains are the merge gate (ADR-086), with a fast pre-push hook, a host-free devstack and the battery as cargo xtask ci stages.

Pagination Partial Extraction

2026-03-22 — the shared pagination partial (!55); archived by the #2950 audit.

Lint Policy in Two Regimes — One Test Set, Self-Checking Suppressions, a One-to-One Suppression Registry (#2625)

2026-11-05 — lint policy has one canonical test regime and a one-to-one suppression registry, and the debt category is deleted.

Prevention-Gate Lints — epic &63 wave 1 (#867 #866 #869 #870 #891 #879)

2026-08-24 — six blocking xtask gates close the enforcement gaps left by earlier prevention issues (!1475).

Rust Idiom Cleanup

2026-03-19 — a cleanup of non-idiomatic Rust patterns (!33).

Rules Engine Cache Race Fix

2026-03-19 — the rules cache race fix; before merge requests were used.

Data Integrity & Code Hardening (Core Phases)

2026-03-19 — soft deletes, transaction wrapping and forbid(unsafe_code); HTTP client pooling was deferred.

Test Coverage Gap Analysis — Road to 100%

2026-04-21 — the test-coverage gap analysis and its two phases.

UI Consistency Hardening

2026-03-20 — consistency fixes across the craig-web templates (!42).

Code Quality & Security Hardening

2026-04-17 — findings from security and antipattern reviews are addressed; a remainder is #180.

Code Quality Review & Refactoring

2026-04-17 — a code-quality refactoring, partly done: the bootstrap integration remains (#179).

Placement Form Case/Child Picker

the placement form’s case and child picker; no completion date is recorded, as it landed across earlier merge requests.

Tier 1 Review Remediation (2026-04-19)

2026-04-19 — the Tier 1 review’s remediation, in eight merge requests. The date is its last merge request’s.

Code Quality Remediation (#180)

2026-04-22 — a code-quality remediation in six steps. The date is its last merge request’s.

Stateless Intake (ADR-017 + ADR-018)

2026-04-25 — the stateless-intake plan (ADR-017), in eleven merge requests; its migration tool was removed and its deprecation cleanup folded into another step. The date is its last merge request’s.

Code Quality Review (April 2026)

the April 2026 code review’s plan; one step was superseded by the stateless-intake plan (#197); no completion date is recorded.

Plan L — Partner Typed Schemas

2026-06-08 — the exchange adapters of ten partners are typed, with typed audit payloads, in place of untyped JSON and string errors; the storage layer and code generation wait for a real consumer and a machine-readable partner specification.

Plan R — Function-Cohesion Discipline

2026-06-07 — a lint refuses a function named for two jobs (the "no and" rule), with a shrink-only baseline and an advisory shape report.

Plan N — Quality-Gate Enforcement

2026-06-07 — the quality budgets become an enforcing gate in the pre-push hook and CI, after the over-budget counts were paid down, and an axis-coverage tagging check joins them.

Plan Q — Function Decomposition + Shared Abstractions Extraction

2026-06-07 — most functions over 100 lines are decomposed (56 down to 15) and a shared craig-bootstrap crate takes the duplicated service start-up.

Plan P — Nursery Promotion Sweep

2026-06-06 — the clippy nursery lints deferred earlier are swept one lint at a time; four stay allowed with a recorded reason.

Plan M — Quality Lint Followthrough

2026-06-05 — the transitional lint allows are lifted from every production crate and further strict clippy and rustc lints are denied workspace-wide (ADR-031).

Plan H — Idiomatic Rust + Clippy Strictness

2026-05-21 — fifteen clippy lints are denied workspace-wide, and production code has no panicking calls.

Plan G — DRY + YAGNI Cleanup

2026-06-10 — handler transaction boilerplate, error chains, test fixtures and multipart upload parsing are extracted into shared helpers; the configuration audit found every flagged setting in use and documented them.

Plan D — Code-Quality Discipline (strum / pub(crate) / silent-skip / cargo-deny)

2026-05-25 — string fields become enums at the boundaries, visibility is narrowed to the crate, silently skipping tests become #[ignore] under a blocking lint, and stale advisory ignores are dropped.

Strum-conversion DTO Inventory (Plan D F-022)

2026-05-24 — the inventory that scoped the enum-conversion steps (!433).

Testing & Documentation

Plan Completed

API Contract Tests

not built: superseded by the contracts crates and the from-source API docs drift gate (#1022); archived by the #2950 audit.

Cross-Service Integration Tests

2026-03-23 — four cross-service workflow tests (!60); archived by the #2950 audit.

Dynamic E2E Seed Manifest Generation

2026-03-25 — cargo xtask e2e regenerates the seed manifest (!68); archived by the #2950 audit.

Seed Attachments

2026-03-23 — seed attachment files (!61); archived by the #2950 audit.

Performance Testing Infrastructure (k6)

2026-03-23 — the k6 load tests, their four profiles and budgets, and cargo xtask perf (!58); archived on 2026-11-04.

Runtime Coverage Matrix — Observed Axes, a Signature Gate, the @axis Retirement (#2301, epic &113)

2026-10-26 — the test harness records every HTTP request, the battery derives each route’s coverage from the recordings under a shrink-only baseline, and the static matrix and its @axis tags are retired.

Battery Host Rows (#1977 Part B, epic &104)

2026-10-09 — the pre-push battery detects the host’s CPUs and memory and prints the row it ran; 16 threads measured 31 % faster but unstable, so no row sets a thread count.

Docs Prose Readability (epic &82)

2026-08-30 — the human-facing documentation pages are rewritten into readable prose with every fact, cross-reference and diagram kept; the imported vendor interface documents get conversion-artifact cleanup only.

Contested-Environment Component Testing (epic &83)

2026-08-21 — retries, races, broker disconnects and pool exhaustion become deterministic test inputs across the codebase, behind a registry whose census blocks per class.

Battery Isolation — Detection Standing-Alert Race + Contention Strata (#1167 program)

2026-07-27 — the detection scan’s check-then-insert race is closed by a partial unique index, and the battery’s cross-test contention is measured and reduced (about 18 % faster warm).

Comment-Accuracy Audit Remediation

2026-07-16 — 421 stale source comments found by an audit are remediated; one step is a recorded deferral (#908).

Case Routing Rule Set

the case routing ruleset; undated, before merge requests were used.

Plain-Language Documentation

2026-05-01 — plain-language API documentation; before merge requests were used.

E2E Manifest Integration

2026-03-05 — the generated seed manifest is wired into the E2E tests (!3).

E2E Test Hardening

2026-03-19 — E2E suite hardening; before merge requests were used.

Detailed Implementation Guide

2026-03-06 — the implementation guide; before merge requests were used.

User Testing Guide

2026-03-19 — the user testing guide; before merge requests were used.

Documentation Consistency Update

2026-03-19 — a documentation consistency update (!38).

Project Instructions Restructure

2026-03-10 — the project instructions are restructured (!11).

Scalable, Deterministic Seed Data Generator

2026-03-19 — the seed data generator; before merge requests were used.

Ruleset Auto-Discovery Integration Test

2026-03-19 — the ruleset auto-discovery integration test (!19).

Comprehensive Documentation Overhaul

2026-03-19 — a documentation overhaul (!38). The date is its last merge request’s.

Architecture

Plan Completed

Audit Batched Claims — One Commit per Batch for the Audit Subscriber (#2765)

2026-11-12 — an inbox subscriber can commit a batch of up to 16 envelopes in one transaction, and craig-security’s audit subscriber does so by default (5.62× the single path’s drain under sustained WAL load); closes epic &115.

Plan T1 — Foundations & Traits (Plan T sub-plan)

2026-06-10 — the traits, the registration macro and the bundle-crate foundations the later adapter-registry plans build on; SHINES stays a catch-all adapter at the host service.

Plan T2 — Registry Migration (Plan T sub-plan)

2026-06-10 — craig-exchange dispatches through the bundle registries, no longer through the closed AnyAdapter enum, the mock server routes through a registry too, and the adapter_kind CHECK constraint is dropped.

Plan T3 — Open Closures & Hardening (Plan T sub-plan)

2026-06-11 — the adapter-kind and partner-type enums become open string tokens validated against the registries, the partner_type CHECK constraint is dropped, and a federal partner-mapping seam is added, not yet wired to row emission.

Plan T — Adapter Registry Pivot (umbrella; sequences T1/T2/T3)

2026-06-11 — the umbrella for the adapter-registry pivot: three sub-plans (foundations, registry migration, open closures), each written, executed and archived on its own.

Plan U — State Bundle Pattern (Plan S sub-plan)

2026-06-15 — the active jurisdiction bundle is chosen by Cargo feature and environment, so CRAIG no longer assumes Georgia.

Plan V — Transport + Substrate (Plan S sub-plan)

2026-06-15 — outbound partner traffic goes through an OutboundTransport trait in a new craig-exchange-transport crate, with a direct HTTP transport and a webMethods stub.

Plan W — Plugin Manifest + Render Runtime (Plan S sub-plan)

2026-06-16 — the server-side plugin runtime for craig-web (ADR-033): plugins register a pure render function, and the host fetches the data and renders.

Plan X — Composition Layer Engine (Plan S sub-plan)

2026-06-18 — the five-layer composition engine (ADR-035) in a new service, craig-composition, which resolves the dashboard and case-detail surfaces.

Plan Y — Field Ownership + Authz Extension (Plan S sub-plan)

2026-06-19 — craig-authz can evaluate a field permission (ADR-037 §2 and §3); applying it to a surface waits for the provider portal, its first real consumer.

Plan S — Multi-Jurisdiction Foundation (umbrella)

2026-06-19 — the umbrella that made CRAIG state-neutral on the partner and broker axis and the UI composition axis, over the adapter-registry, state-bundle, transport, plugin, composition and field-ownership plans.

Edit this page · latest