Plan: IV-E Determination Inputs — a ruleset-declared input surface (#1719, #2290, #1717)

Status

In progress

Erratum (2026-10-12): U1 also adds the ive_surface bullet to shared-crates.adoc § craig-cases-contracts (the canonical page of a shared-crate public module).

Erratum (2026-10-12): the D3 census also refuses what the direct-parent model cannot read: a node other than an input, output or decision table node, a table transform attribute (passThrough, inputField, outputPath, loop mode), and a collect hit policy (its row array replaces a child’s merged input).

Erratum (2026-10-12): U1b adds only the ruleset-moved problem type; the three ive-* types land with U2, which first uses them.

Erratum (2026-10-12): D9’s expect CHANGELOG entry and the api/craig-rules.adoc regeneration landed with U1b (#2325); U2 also corrects shared-crates.adoc (the ive_surface bullet’s "not yet served" clause; the three ive-* problem types).

Erratum (2026-10-12): D6’s unknown outcome also covers a 409 idempotency-in-flight (the first send may still commit); every other 4xx keeps its detail.

Erratum (2026-10-26, #2705): the order paragraph before § Test matrix no longer requires // @axis: on each new test; the tags and their axis-coverage gate are retired, and route coverage is judged by the coverage-signature gate (Quality Gates § Coverage-signature gate).

Glossary. ⁂ marks a reading DFCS (Georgia) or DFPS (Texas) may rule otherwise, logged on #1073. D = design, F = fork, U = merge request, AC = a restated #1719 criterion. GA = rulesets/georgia/georgia-ive-eligibility.json (v3.5 today), TX = rulesets/texas/texas-ive-eligibility.json (v1.7 today); "the BFF" = services/craig-web/src/routes/cases/ive_determination.rs; PAMMS = rulesets/georgia/.policy-cache/dfcs-cws/modules/cws/pages/ (the gitignored policy cache). :line prefixes: web/ = services/craig-web/, cases/ = services/craig-cases/src/, cc/ = crates/craig-cases-contracts/src/, rc/ = crates/craig-rules-contracts/src/.

Anchor What binds here

#1719 (P2), #2290 (P3), #1717 (P3)

one program; #1719 lands the surface, #2290 and #1717 ride it

ADR-072 (adrs/adr-072-policy-placement-doctrine.adoc:70, :166-169)

tier-1 vocabulary has one source, the ruleset; an attested document is validated against the ruleset’s declared subset before the consult (#1672)

The screening surface (#1670, #1672)

metadata.screening.attestable_facts + closed schema; validate_screening (xtask/src/cmd/rules.rs:640); key grammar (cc/reports.rs:367); decode, cache, verifier (cases/screening_surface_client.rs:45-51, :643)

Ruleset identity (rc/evaluation.rs:8-11; ADR-006 :82-85)

a version is (rule_set_id, revision), never name + revision

zen-engine 0.54 (src/nodes/input/mod.rs:19-21, src/nodes/validator_cache.rs:28)

the inputNode schema is enforced as full Draft-7 (format included) at evaluate; a violation is EngineError::Evaluation, served as a 500 (services/craig-rules/src/api.rs:1042-1045)

Context (census 2026-10-12 on main)

  • The form is Georgia-shaped. web/templates/cases/_tab_ive.html:58-131 hard-codes GA’s 14 attested keys plus a per-child child_in_secondary_school tick; the BFF fold (:54-194) and 22 keys of web/locales/en/web.ftl:1938-1985 mirror it. No line names a jurisdiction, so the #2207 / #2213 scans (xtask/src/cmd/lints.rs:2216, :2353) cannot see it.

  • Texas is unreachable from the web. TX reads 25 attested keys; the form supplies 12. Every TX web verdict is NOT ELIGIBLE.

  • Inert and contradicted inputs. GA receives child_in_secondary_school (unread since v3.3); TX receives three vpa_* keys and ssa_deprivation_evidence (cases/api/ive_children.rs:162-167); unticked flags go out false (the BFF, :180-187).

  • Scope. The wire accepts any key per child except ssa_* and child_age (cc/ive_determination.rs:105-120), but the web sends every child fact case-wide and the contract doc calls citizenship and resources "shared" (:149-151).

  • Identity and races. The evaluate response has name and revision, no rule_set_id (services/craig-rules/src/api.rs:879-896); the rules client folds any 409 into Upstream, a cases 500 (cases/rules_upstream.rs:137); an act stores name and revision (services/craig-cases/migrations/20260822120000_ive_determinations.sql:32-33); EvaluationPin is a replay tool consumers may not call (georgia-authz-rule_evaluation.json:97,114); a mixed fan-out is a 500 (ive_children.rs:206-207, :229-233).

  • Retries. The act runs deny_pure_service, the case read (a 404), authz, request-shape validation and the collision 422, then the ADR-062 replay precheck, before any witness or rules call (cases/api/ive_determination.rs:100-125). The form mints its request id per render (web/routes/cases/detail.rs:319) and the POST redirects, so after a lost response a retry is a second act.

Scope

In: D1–D9. Out: server-derived entry dates / VPA days and the removal_manner unification (a follow-up); a citable metadata.ive (F6); an IV-E output schema; the TX stub bundle’s missing FMAP (cases/api/ive_assembly.rs:167-185); re-validating historic acts; a CLI unless F8 B; the screening twin of the revision gap (U0 files it).

Restated #1719 acceptance (against GA v3.5 / TX v1.7)

  1. AC1. The IV-E tab renders exactly the inputs the configured {j}-ive-eligibility declares, each at its declared scope and kind, as served by GET /v1/cases/ive-surface; neither the template nor the BFF names an input key.

  2. AC2. No inert input: GA declares no child_in_secondary_school, TX no vpa_*; server keys only where declared (F4); cargo xtask rules check refuses a declared key no table effectively reads and a read key nobody declares.

  3. AC3. Web render tests run on the real GA and TX files; the GA e2e keeps its journeys (F9).

  4. AC4. A blank answer is an absent key, never false (F2); each child’s own facts are its own (F7).

Design

D1 — The declaration (GA v3.6, TX v1.8)

  • metadata.ive.inputs[] entries {key, scope: "case" | "child", title, description, options?}: key matches ^[a-z][a-z0-9_]{0,63}$ (cc/reports.rs:367; a dotted key would read a nested member) and is unique; title ≤ 100, description ≤ 2000; an enum input lists options: [{token, label}], one per schema token and no other. The description carries the source and the field instructions (the TX #1719-note rules; D7’s anchor).

  • Scope is the policy meaning, never the key’s spelling. Child (a sibling’s value can differ): GA citizenship_status (PAMMS 09-06:45), countable_resources (09-01:80, 09-09:132), removed_from_specified_relative, deprivation_type (09-06:38,42); TX citizenship_status, removed_from_specified_relative, deprivation_type, certified_group_parents (the number of the child’s legal parents in the certified group, so half-siblings differ: texas/citations.toml:835-845), the physical-removal pair (CPS 14132.4), and separately its nine child_* age-check (extended foster care) keys; under F7 A, both jurisdictions' removal / judicial findings (ctw_*, best_interest_finding, reasonable_efforts_*, removal_basis, GA vpa_*). Case: GA monthly_income (initial eligibility, 09-09:128-129 ⁂); TX’s certified-group totals (certified_group_size, monthly_income*, countable_resources; Appendix 1530-C / 1530-F, texas/citations.toml:1308-1401 ⁂).

  • The strict schema subset (the inputNode content.schema, a JSON string): exactly $schema (optional), "type":"object", "additionalProperties":false, "required":[] (optional, empty) and "properties" (the screening shape, screening_surface_client.rs:722-728); each property exactly one of {"type":"boolean"}, {"type":"string","enum":[tokens]}, {"type":"string","format":"date"}, {"type":"integer"|"number","minimum":m} plus an optional "maximum". No other keyword.

  • Bounds: every numeric property states a minimum, because every IV-E numeric domain is non-negative (money, day counts, hours 0; the vpa_*_day keys and group size 1); a maximum only with a cited policy or operational limit, and none exists (TX groups of 16+ are uncapped, texas-ive-eligibility.json:628-642).

  • Server keys the ruleset reads are schema properties that metadata never lists (GA child_age, ssa_deprivation_evidence; TX child_age).

  • GA drops child_in_secondary_school (no rule row moves; citation indices hold). Committed test inputs follow the closed schemas, each stated in its commit: 19 GA baselines drop the stray key (age18_in_school / age18_not_in_school become age18); ga_ive_age_18_in_school_is_not_age_eligible becomes ga_ive_age_18_ends_georgia_ive; TX’s vpa_placement_day (texas_ruleset_evaluation.rs:984) leaves; the cases helpers move child facts into each child’s document (case_death_inputs, services/craig-cases/tests/api/ive_determination.rs:151, serving 23 call sites, and determination_body, :169); "solar_flare" and "vpa" become assertions of the zen-refusal row; the baseline pin is 18 and drops ineligible_unknown_deprivation (ive_eligibility_baselines.rs:84-97).

D2 — Contracts, one projection, one registry (cc/ive_surface.rs, new; U1)

  • IveSurfaceResponse {rule_set_name, identity: {rule_set_id, revision}, inputs}; IveInputView {key, scope, title, description, kind}; IveInputKind {Boolean, Enum {options: [{token, label}]}, Integer {minimum, maximum: Option}, Number {minimum, maximum: Option}, Date}; IV-E-local, FactKind untouched (F3). Not registered in OpenAPI until U2.

  • project_ive_surface(name, identity, ruleset_bytes) parses the schema string with a duplicate-rejecting map and refuses (a thiserror reason each) a keyword outside D1’s subset, a non-empty required, a key outside the grammar, a duplicate entry, an enum option set unequal to the schema’s tokens, a metadata key without a property, and a property neither declared nor a registry key.

  • IVE_SERVER_KEYS: the closed registry of implemented derivations, each with its writer in ive_children.rs: U2 child_age, ssa_deprivation_evidence (ive_assembly.rs:123-143); U3 adds business_date (the handler’s BusinessClock); U4 adds child_age_months.

D3 — The gate: validate_ive in cargo xtask rules check (U1)

U1 runs it on any ruleset carrying metadata.ive; U2 makes it mandatory for every -ive-eligibility. It projects (D2), compiles the schema, and runs the census over the graph’s explicit edges (sourceId / targetId; GA :490, TX :986): * *Effective reads of a node: each input column with a non-blank cell (zen skips a blank cell and never reads its field, src/nodes/decision_table/mod.rs:116-131), plus the root identifiers of every cell expression, parsed with zen-expression’s own lexer (already in the workspace through craig-rules): never a name after ., a name in call position (d(), $, a keyword (in, and, or, not, true, false, null) or a quoted string. * A read is satisfied only by a direct parent’s output (no node sets passThrough, so a grandparent’s output is invisible, zen-types decision/mod.rs:192); the inputNode counts as producing every declared and schema-listed registry key. A declared key with no effective read fails, and so does a read of a declared key at a node with no edge from the inputNode.

D4 — craig-rules: the expected-identity evaluate (U1b)

EvaluateRequest (rc/evaluation.rs) gains expect: Option<{rule_set_id, revision}>, distinct from the replay EvaluationPin, with the same authz as any evaluate; pin and expect together are a 400. The engine resolves the active ruleset once (a single cached read); a different (id, revision) is a typed 409 ruleset-moved naming the active identity, with no zen run and no audit row. The response gains rule_set_id. craig-rules-client adds EvaluateError::RulesetMoved and reads rule_set_id as Option (tolerant of an older craig-rules); the six exhaustive matches on EvaluateError gain its arm (cases rules_upstream.rs:131, icwa_status.rs:122, matching/mod.rs:451, api/investigations/response.rs:283; financial subsidy/age_check.rs:473; placement eligibility.rs:843), each mapping it as that consumer maps a refused evaluation today until it opts into expect; every EvaluateRequest literal (cases, financial, placement, test-lib, the craig-rules tests and craig-rules-client) takes expect: None. The four new problem types (ruleset-moved, ive-surface-not-ready, ive-policy-moved, ive-input-not-declared) join crates/craig-common/src/error.rs:17-18. Rollout: craig-rules before any consumer sends expect.

D5 — Cases: the surface and the act (U2)

  • cases/ive_surface_client.rs (new) mirrors the screening client: by-name read (it carries id), the D2 projection, a 1-minute cache, a Critical ive-surface-verifier (cases/lib.rs:662-666, contested-surfaces.toml, tests/api/health.rs:61). GET /v1/cases/ive-surface (cases/api/ive_surface.rs, new; the cases/api/reports/screening_surface.rs:22 posture) serves identity.

  • The act request gains surface: Option<{rule_set_id, revision}> (serde(default), outside the intent hash). The act’s order:

    1. the existing wire checks and the ADR-062 replay precheck: a replay returns its original whatever the surface state;

    2. surface present, else 400; the surface ready, else 503 ive-surface-not-ready;

    3. surface equals the current identity, refreshing a stale cache once, else 409 ive-policy-moved;

    4. per scope, an undeclared key or a key in the other scope is a 400 ive-input-not-declared; each value is validated with jsonschema::draft7 against its property, the validator zen uses, so 2026-1-5 and 5.0-as-integer behave exactly as at zen;

    5. assembly injects the registry keys the schema declares (F4); the assembled document is validated with the same schema, and a failure is a stated 500 (a server-key defect, never a caller’s);

    6. each child consults with expect: surface; RulesetMoved is 409 ive-policy-moved, the cache evicted, nothing recorded, so a mid-fan-out promotion is a 409, never the :229-233 500.

  • The registry keys present at U2 join the reserved-key refusal (cc/ive_determination.rs:117), and each later unit’s with it. An additive migration (after 20261011120000) gives ive_determinations a nullable rule_set_id (historic rows NULL); the act records the full identity. The cc/ive_determination.rs:12, :149-151, :157-159 docs are corrected; the OpenAPI description change re-blesses openapi.sha256 (ledger_lift_golden.rs:786-807). The 98-line handler (B2 locked at 14) moves its legs into helpers.

D6 — The web: one generic form, no upstream read on POST (U2)

  • _tab_ive.html renders the served surface: case inputs in one block, each child input once per included child; a boolean a blank / Yes / No select, an enum a blank-plus-labelled-options select, a number a bounded input, a date a date input; test ids ive-input-<key> and ive-input-<uuid>-<key>; nothing pre-selected. Hidden fields carry the request id, the surface identity and a kind.<key> per input.

  • The fold reads case.<key> / child.<uuid>.<key> by the hidden kinds, without reading the surface (cases revalidates everything), so one submission always folds to the same document: blank omitted; an unparsable value or a key without a kind is a 400; pairs of an unincluded child dropped. DetermineForm, CASE_FLAGS and the 22 input ftl keys go; the chrome keys and IveChildOption stay.

  • Outcomes. Success redirects as today. ive-policy-moved re-renders fresh with the reload message. Every other 4xx keeps its problem detail (the screening-missing text, tests/e2e/specs/cases-ive.spec.ts:51-53), an idempotency-conflict included, whose re-render mints a fresh id. An unknown outcome (a transport error, a timeout, a 5xx) answers the POST directly with a retry page: every submitted field re-posted as hidden inputs under the same request id, a "result unknown — submit again to retry safely" notice and one button. No surface read, no redirect, no cookie, so a retry replays instead of creating a second act.

  • The BFF tests whose property AC2, AC4 or F7 reverse (:270, :398, :418, :446) are replaced, the commit saying why; :337 and :381 port their property to the generic fold on a synthetic surface.

D7 — #2290: the annual reasonable-efforts-to-finalize finding (U3)

Ruleset work once U2 lands. Each ruleset declares two child dates, entered_foster_care_on (the 45 CFR 1355.20 date the child is considered to have entered foster care: the earlier of the first judicial finding of abuse or neglect or 60 days after removal, PAMMS 17-01:177; the jurisdiction’s anchor ⁂ in the description) and re_to_finalize_finding_on (the latest finding, optional), and reads the registry key business_date. With anchor = the finding date if present and later than the entry date, else the entry date, the child is ineligible once d(business_date,'UTC').isAfter(d(anchor,'UTC').add(12,'month').endOf('month')) (PAMMS 09-05:87, :94; zen 0.54 src/vm/date/mod.rs:250-466; add(12,'month') takes 2028-02-29 to 2029-02-28). An absent entry date never reaches the expression: its rows follow the ruling below. Each lapse row repeats its path’s met conditions (GA rows 0-1, 5-6; TX rows 1-4) and sits just before it, so it fires only where the path is otherwise met; met and fatal rows are disjoint, so no fatal flaw is hidden. The new rows renumber rules[N], so U3 re-keys both citations.toml judicial blocks and lifts the U2 count pins (GA 14 → 16, TX 25 → 27). Rulings ⁂ on #1073 first: each jurisdiction’s anchor, and whether an absent entry date pends (recommended: fail-closed on money, as #1715’s day count) or keeps today’s rows.

D8 — #1717: the age-boundary convention (U4)

Gated on a per-jurisdiction ruling ⁂ (recommended: GA through the 18th-birthday month, PAMMS 9.3 / 9.9; TX to the exact 21st birthday, 42 USC 675(8)(B)(iii); business-date age). TX keeps the day-exact child_age (years_since, ive_children.rs:34). A month-based ruling (GA) adds the registry key child_age_months (calendar months from the birth month to the business-date month), read by that jurisdiction’s age rows only.

D9 — Docs and rollout

rulesets.adoc gains an IV-E surface section (beside :228); ADR-072 an amendment; services.adoc; data-model-cases.adoc:280 (and the new column); the regenerated api/craig-cases.adoc and api/craig-rules.adoc; quality-gates.adoc:551 (the retired overlay example); deployment-guide.adoc the U2 cutover and rollback. CHANGELOG Added: the endpoint and expect; Changed: undeclared keys refused, per-declaration server keys, tri-state booleans, the GA blank-means-absent shift, child-scoped facts.

  • F1, surface owner. A (rec): cases serves and enforces (D5). B: the web reads the ruleset directly; every bad key is then a zen 500, so cases needs D5 anyway. A StateBundle axis is rejected: a second tier-1 source (ADR-072).

  • F2, booleans. A (rec): tri-state, nothing pre-ticked. B: a per-input unset policy. Under A, GA shifts: a blank vpa_best_interest_order past day 180 pends, not fatal; a blank ctw_in_first_order no longer takes its == false row.

  • F3, kinds. A (rec): the IV-E-local IveInputKind (D2). B: widen FactKind (cc/reports.rs:778-786).

  • F4, server keys. A (rec): inject only where declared, through IVE_SERVER_KEYS; TX stops carrying SSA evidence. B: declare all.

  • F5, labels. A (rec): ruleset-owned English labels and option labels (the screening precedent), retiring the GA overlay term-ive-ctw-first-order (crates/craig-state-ga/terminology/en/worker.ftl:27, es/worker.ftl:14) and its #2213 test (web/tests/i18n_coverage.rs:288-289); the render test asserts GA’s "including any earlier TAFC order". B: a bundle-resolved label_key.

  • F6, citations. A (rec): sources in description prose, plus a follow-up. B: a tethered metadata.ive citation path (about w2).

  • F7, removal / judicial scope. A (rec): child scope (each child’s own removal order). B: case scope, siblings under different orders recorded as separate acts.

  • F8, CLI. A (rec): none; strike #2290’s CLI clause, file a CLI-parity issue. B: U5, craig cases ive surface|determine.

  • F9, #1719 AC3. A (rec): the three journeys stay; selectors follow D6’s test ids; the in-school assertion (cases-ive.spec.ts:29) and the pre-set court_order / unticked-box assertions (:69-72) become explicit choices.

  • F10, web literal lint. A (rec): the D3 census is the gate. B: also lint the template and the BFF.

Units

MR Scope; the canonical pages it updates W

U0

this page (Active nav); the epic and unit issues; #1719’s and #2290’s criteria restated; the D7 / D8 rulings asked ⁂ on #1073; the F6, F8, TX FMAP and screening-twin issues. Pages: this one

1

U1

SUBSTRATE: D2 and D3 on synthetic fixtures; no wire, OpenAPI or behaviour change. Pages: none

3

U1b

D4, the expected-identity evaluate, the typed client error and its six match arms, the request literals. Pages: api/craig-rules.adoc (regenerated)

3

U2 = #1719

THE ATOMIC SWITCH: D1 for both rulesets, D3 mandatory, D5, D6, the e2e (F9), D9. Pages: D9’s list

8

U3 = #2290

D7, after U2 and its rulings. Pages: none; CHANGELOG Changed

5

U4 = #1717

D8, after U2 and its ruling. Pages: data-model-cases.adoc

3

U5 (F8 B)

the CLI. Pages: cli.adoc

3

Why U2 cannot split. Closed schemas refuse what today’s web and cases send, so closure, validation, surface and the form are green only together. U1 and U1b are additive and land first (craig-rules deploys before cases sends expect).

Each MR Relates to its parent and closes its own issue; weight 23 as recommended. Order: U0; U1 and U1b in either order; U2; then U3, U4 (and U5). The first implementation unit sets Status In progress; each MR is green alone with its CHANGELOG entry. If #1717’s ruling is pending when U3 merges, U4 leaves on its own issue. The closing MR runs cargo xtask plan-lint --done on the archive path with --allow-open for 1073, 1973, each follow-up U0 files, and 1717 if U4 left.

Test matrix (each red on today’s main unless a guard; crate in the row)

Test Axis Unit Asserts; why red

an_ive_surface_projects_every_kind_and_scope

happy

U1

cc: each kind incl. date and labelled enums at both scopes; a metadata key without a property refused. Red: no projection

the_ive_projection_is_total_and_round_trips

evil

U1

cc, proptest: arbitrary metadata / schema pairs never panic, accept or refuse matches an independent oracle, a response round-trips. Red: no projection

a_schema_outside_the_strict_subset_is_refused

evil

U1

cc + xtask: allOf with required, multipleOf, pattern, $ref, a non-empty required, a duplicate JSON key, a missing minimum: each refused by name. Red: no gate

the_census_reads_effective_inputs_from_direct_parents

evil

U1

xtask: a key read only by an all-blank column is unread; an input shadowed by a downstream or disconnected node’s output, or one read at a node with no edge from the inputNode, fails. Red: no census

the_census_lexer_reads_only_root_identifiers

evil

U1

xtask, proptest: arbitrary cell text never panics; D7’s own expression reads exactly its three keys; a name inside quotes, after . or in call position is never read. Red: no census

ive_keys_follow_the_grammar_and_the_registry

evil

U1

cc: a.b, a duplicate entry, an attested child_age, a schema-only ssa_income, an enum option without a label: each refused. Red: no projection

an_expected_identity_evaluates_only_its_ruleset

happy

U1b

craig-rules: a matching expect evaluates and returns rule_set_id; pin with expect is a 400. Red: no field

a_moved_ruleset_is_a_typed_409_before_zen

evil

U1b

craig-rules + client: a stale revision, or a recreated row with the same name and revision, is 409 ruleset-moved (no audit row, no zen run), read by the client as RulesetMoved. Red: no field

every_ive_ruleset_declares_a_closed_surface

evil

U2

xtask, real files: GA v3.6 and TX v1.8 pass; an *-ive-eligibility without metadata.ive fails. Red: no metadata

ga_and_tx_surfaces_project_from_the_real_files

happy

U2

cc: GA 14, TX 25; scopes per D1; removal_basis has court_order; group size minimum 1, no maximum. Red: no metadata

a_closed_ive_schema_refuses_a_stray_key_or_token_at_zen

evil

U2

craig-rules: the inert key, "solar_flare", "vpa", TX vpa_placement_day: each Evaluation; 18 GA baselines and 31 tx_ive_* green. Red: each evaluates

the_ive_surface_serves_the_configured_declaration

happy

U2

cases (devstack, GA): 200 with name, identity and inputs; a unit test: 503 before a decode. Red: 404

siblings_answer_their_own_facts

happy

U2

web: GA renders citizenship_status once per child and folds it per child; cases: a child-scoped key sent case-wide is a 400, and two siblings differing in citizenship get their own verdicts. Red: case-wide, accepted

an_undeclared_misscoped_or_wrong_kind_key_is_a_typed_400

evil

U2

cases: an undeclared key, a misscoped key, "12" or 5.5 for an integer, 2026-1-5 for a date, a token outside the enum: 400 naming the key, no consult. Red: accepted

a_server_key_is_injected_only_where_declared

sad

U2

cases, an SSI parent: TX’s document lacks ssa_deprivation_evidence, GA’s has it. Red: always injected (ive_children.rs:162)

a_stale_rendered_surface_is_a_409

conc

U2

cases: rendered r with the cache refreshed to r+1, and two replicas holding r and r+1: both 409 ive-policy-moved, nothing recorded. Red: no surface field

a_promotion_during_the_act_is_a_409_never_a_500

conc

U2

cases: an incompatible promotion between validation and consult, and one mid-fan-out: 409, cache evicted, nothing recorded. Red: zen 500, and the :229-233 500

an_ive_act_records_its_full_identity

happy

U2

cases: the act row holds rule_set_id with name and revision. Red: no column

a_lost_response_retry_replays_after_a_promotion_or_outage

replay

U2

cases (guard): an act commits; its retry with the same id after a promotion, and during a surface outage, returns the original. Green on main; pins step 1’s order

an_unknown_outcome_answers_a_retry_page

fault

U2

web: a transport error or 5xx answers the retry page with the same id and fields (no surface read); ive-policy-moved re-renders fresh; idempotency-conflict and screening-missing keep their detail. Red: redirect, new id

the_ive_form_renders_each_jurisdictions_surface

happy

U2

web, real files: one control per input per scope, labelled options; TX has its 13 missing keys; GA’s first-order description keeps "including any earlier TAFC order". Red: hard-coded GA

a_blank_ive_answer_is_omitted_never_false

evil

U2

web fold. Red: unticked folds to false, blanks go out null

the_ive_form_fold_is_total

evil

U2

web, proptest: arbitrary pairs never panic; blank omitted; a key without a kind refused; the same pairs always fold to the same document. Red: no generic fold

the_ive_form_degrades_without_a_surface

fault

U2

web: a surface 503 on GET shows the notice with submit disabled. Red: no read

cases-ive.spec.ts GA journeys

happy

U2

Playwright: the three journeys via D6’s test ids, explicit answers; screening-missing text kept. Red: no test ids

the_annual_finding_lapses_at_the_month_end

sad

U3

craig-rules, GA and TX: entry 2026-01-20, no finding: eligible on 2027-01-31, suspended on 2027-02-01; a finding on 2027-01-15: eligible on 2028-01-31, suspended 2028-02-01; entry 2028-02-29 lapses after 2029-02-28. Red: no rows

a_lapse_never_hides_a_fatal_flaw

evil

U3

craig-rules: an overdue finding with a first-order, 60-day or VPA fatal flaw is fatal; with a met path, suspended. Red: no rows

the_age_boundary_follows_the_ruling

sad

U4

cases and craig-rules: TX on the day before and the day of the 18th and 21st birthdays; GA through the 18th-birthday month. Red: no month rule

Rollout and risks

  1. U1b first. craig-rules deploys before cases sends expect; the client reads rule_set_id as optional meanwhile.

  2. U2 is a cutover. Deploy U2’s images, then promote GA v3.6 and TX v1.8; in between the act and tab answer ive-surface-not-ready. The promote canary will flag historic inputs (services/craig-rules/src/api/lifecycle/canary.rs:121), as expected. Rollback is the newer side first (deployment-guide.adoc:1726-1729): demote to GA v3.5 / TX v1.7 (the act then answers ive-surface-not-ready, never a zen 500), then restore the images; restoring the images first under closed schemas 500s every act.

  3. Texas cannot be proven end to end: no TX FMAP and a GA-only devstack; TX proof is the real-file projection, the cases tests and the 31 tx_ive_* tests; only review checks the TX label wording. Historic acts keep their inputs; a replay returns the original.

Review log

Round Vendor Resolved model Verdict

1

Anthropic, one fresh contextless reviewer (the page, the rules, the four questions)

Claude Opus 5.5

no-ship: 4 blockers (done-gate paths, proptests, closed-enum disposition, per-key kinds) fixed; fold audited

2

OpenAI (maintainer-run)

GPT Astra

no-ship: 16 findings and 2 minors, all fixed (policy scope, the rendered identity, the annual finding’s dates and anchor, birthday age, the expected-identity evaluate, full identity, replayable retries, 409 branching, the strict subset, the effective-read census, keys, the server registry, bounds, lapse precedence, the TAFC guard, rollback); three research passes, a contextless fold audit (13 / 4 / 1, 5 contradictions), an adversarial gap hunt (14 gaps) and a residue check followed, each folded

Edit this page · latest