Repository navigation
Delete the dead ParticipantStatus.case_engagement field - #6800
Conversation
…6766) Nothing set case_engagement and CreateParticipantStatusNode did not carry it to the next status; every replica derives who is sent case content from the participant record and the case (CM-10-004, CM-31-018). Removes the field, its caseEngagement JSON-LD term and its VERDICT_FIELDS entry, regenerates the generated artifacts, and updates docs and tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…6766) Pre-push review fixes: FORMER_NAME_POSITIONS gains caseEngagement and case_engagement, and the whole-participant extraction test gives its nested status a non-default tracking_id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Label |
Pre-push review (fresh agent,
|
Expands RM at its first use on the EM principles page (SG-07). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-engagement # Conflicts: # docs/ns/context.jsonld # docs/ns/index.md
) Re-records all 12 scenarios in one pass with export-demo-recordings, so no committed recording holds the deleted caseEngagement key (AC-3) and the shared-prefix pairs stay consistent. The pass also picks up drift from main since the last daily run (ledger hashes and proofs). The scenario tree and the Log Replay goldens did not change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sei-ahouseholder
left a comment
There was a problem hiding this comment.
PR Triage — #6800 (full mode)
Mode: full (prepush-delta.sh: the delta of 1195 lines, mostly the 12 re-recorded scenarios, exceeds half of the 108 reviewed lines). Build context: reused.
Findings: 0 FAIL, 1 IMPROVE
| ID | Severity | Outcome | Finding |
|---|---|---|---|
phase12-blocked-ci-gate-pending-0 |
IMPROVE | fix-now | Merge state is BLOCKED because the required CI gate on the head is still PENDING. Re-check after CI finishes, then mark the draft ready (PAD-18-029). |
Checked, no finding
- Issue linkage:
Closes #6766; AC-1 to AC-5 are all met on the head. AC-3 now includesui/src/recordings/**: all 12 scenarios re-recorded in one pass, andgrep -r caseEngagement ui/src/recordingsreturns nothing. - PR body:
pr-body-lintreports 0 findings; no spec statement or priority changed. - Sync hooks:
export-demo-recordings --check,export-demo-tree --check,export-demo-ledger-types --check,wire-context --checkandmsm-occasions --checkpass. - Code review sub-agent: no findings. The #5265 nested-status check and the
ledgerShape.test.tswrong-boolean case keep their strength; no reader or writer of the field remains. - Docs: the
Docs:line matches the affected pages. - Tests: recording readers (demo_unit, measure, shadow, export-tree) and UI vitest (462 tests) pass after the re-record; the targeted gate passes (15736 passed,
exit: 0).
sei-ahouseholder
left a comment
There was a problem hiding this comment.
PR Execute: #6800 — Delete the dead ParticipantStatus.case_engagement field
Fixes applied: 0 commits
Excursions filed and fixed: 0 (PR closes them)
Deferred (you approved): 0
Halted (inversion, awaiting you): 0
Tests run: targeted set (gate on the merged and re-recorded head: 15736 passed, exit: 0)
CI status: ✅ passing
Base sync: ✅ not needed — no conflict, GitHub does not report BEHIND (being behind main is fine)
Docs line: Docs: updated docs/topics/process_models/em/principles.md, docs/reference/case_model_fields.md, docs/reference/vultron-spec/_encoding-transport.md — 0 pages updated by execute
Suite runs: 0 full, 2 targeted
Fixed
| Finding | Commit | Closes |
|---|---|---|
| phase12-blocked-ci-gate-pending-0: merge state BLOCKED on a pending CI gate | — (CI finished green on db48831e5; PR marked ready) |
— |
sei-ahouseholder
left a comment
There was a problem hiding this comment.
PR Verify: #6800 — Delete the dead ParticipantStatus.case_engagement field
Overall verdict: READY-TO-MERGE
Merge state: MERGEABLE (CLEAN), not a draft — base main; CI gate SUCCESS on head db48831e5
CI: all checks green, the demo integration checks included
Docs line: current; it names the three pages the diff changes (no fix commits after triage)
Spec amended: not needed (no requirement statement or priority changed)
| Finding | Severity | Outcome | Verdict |
|---|---|---|---|
| phase12-blocked-ci-gate-pending-0 | IMPROVE | fixed (CI finished green; PR marked ready) | CONFIRMED |
Summary
Deletes
ParticipantStatus.case_engagement(wirecaseEngagement). Nothing set it,CreateParticipantStatusNodedid not carry it to the next status, and every replica already derives who is sent case content from the participant record and the case (CM-10-004, CM-31-018).Issues: closed 1, opened 0
Questions: asked 0, filed 0
Changes
vultron/core/models/participant_status.py: removescase_engagement.extra="forbid"now refuses a stored or in-process status that carries the key (ARCH-12-003, SDO-03-008). An inbound status that carries it is set aside at the parse edge like any other unrecognised key (MV-11-003). No list of retired names is added.vultron/wire/as2/extractor/_builders/statuses.py: the comment no longer names the field.vultron/demo/recordings/traces.py: dropscaseEngagementfromVERDICT_FIELDS(labeldemo-verdict-change).test/wire/as2/test_received_object_extraction.py:test_a_received_participant_status_keeps_its_engagementbecomestest_a_received_participant_status_keeps_its_tracking_id; it keeps the tracking-ID check (A participant's status carries its current set of tracking IDs, and every status keeps it unless the participant changes it #6762 changes that field next). The whole-participant test drops the key and gives its nested statustracking_id="VND-7", so the test still catches a nested status rebuilt with defaults (Partial inline objects are accepted at the parse edge, and a {id, type: CaseParticipant} gets an invented START status and joined=True #5265).test/wire/as2/test_unknown_key_disposition.py: addscaseEngagementandcase_engagementtoFORMER_NAME_POSITIONS, so a test asserts an inbound status carrying the key is set aside and reported, not refused (MV-11-003). The list is test data; no production code names the key (ADR-0175).test/test_semantic_registry_occasions.py: the two cases that usedcase_engagementas a field that embeds no model and is not typed by an enum now usepublished.test/adapters/driven/test_sqlite_crud.py,test/core/models/test_dimension_bare_serialization.py: drop the key.ui/src/utils/ledgerShape.test.ts: the wrong-boolean case moves toCaseParticipant.joined, the only boolean left in the ledger shapes; the "requires only what the model cannot go without" case deletescvdRoleinstead.Generated files, each by its own generator:
docs/ns/context.jsonldanddocs/ns/index.md(wire-context --write),docs/reference/examples/*.json(vocab_examples.py; signed proofs change with the content),test/adapters/driven/golden/wire_render_core_vocab.json(its regenerate script) andui/src/data/ledgerTypes.ts(export-demo-ledger-types).Docs:
docs/reference/case_model_fields.mdlists nocase_engagement; theParticipantStatusexample indocs/reference/vultron-spec/_encoding-transport.mddrops the key; the "Embargo Engagement and Adherence" tip indocs/topics/process_models/em/principles.mdnow says who is sent case content and names the three narrower audiences (consent Invites, a participant's own closure entries, the embargo-ending notice to a bound signatory that has left or was removed).ui/src/recordings/**: all 12 scenarios re-recorded in one pass withexport-demo-recordings(no--scenario, the daily job's form), so no recording holdscaseEngagementand every shared-prefix pair is recorded from the same code (An Offer and an Invite name the roles they propose with one wire field, roles #6749 broke CI by re-recording only some). The pass also picks up drift frommainsince the last daily run: the ledger entry hashes and signed proofs change with the content.export-demo-treeand the Log Replay goldens (npm test -- -u) produced no change.Specs
Spec manifest
Loaded (floor): CM-10-004 CM-23-004 ARCH-12-003 SDO-03-008 MV-11-003
Loaded (cross-cutting): none — field deletion; no new behavior
Loaded (selected): CM-31 — CM-31-018 (no stored "active" answer) is the rule the deletion follows, CM-31-009 is the embargo-ending notice the AC-4 tip names; AKM-02 — AKM-02-006, the extraction test kept for tracking_id; MSM-08 — MSM-08-002, the occasion test whose sample field moves; DEMOCI-11 — VERDICT_FIELDS loses one key; recordings re-recorded in full, one pass
Considered, skipped: BT-15 BTND-10 CLP-07 CLP-10 CM-05 CM-18 CM-23 DEMOMA-07 HP-08 LST-03 MSM-03 RMB-15 RSH-01 RSH-04 RSH-06 RSH-08 RSH-09 SDO-03 SM-05 SM-10 VAM-01 VAM-08 — they name ParticipantStatus (a hub symbol) but no rule names case_engagement, so the deletion changes none of them; VM-10 — wire-context regeneration is mechanical, checked by its sync hook
Docs
Docs: updated docs/topics/process_models/em/principles.md, docs/reference/case_model_fields.md, docs/reference/vultron-spec/_encoding-transport.md
Verification
test/demo_unit/test_recording_traces.py,test_recordings.py,test_report_target_labels.py,test/measure/,test/shadow/,test_export_tree.pypass; UIvitest runpasses (11 files, 462 tests, replay and ledger included)mainand re-recording: 15736 passed, 6 skipped, 85 xfailed,exit: 0exit: 0wire-context --check,export-demo-ledger-types --check,msm-occasions --checkpass;vitest run src/utils/ledgerShape.test.tspasses (44 tests)case_engagement,caseEngagement,engagedandengagementovervultron/,test/,docs/,notes/,specs/,ui/src/,AGENTS.mdfiles. Updated every hit above. Leftlog_case_engagement(the engage-case narrative log, unrelated) andplan/history/(a record).grep -r caseEngagement ui/src/recordingsreturns nothing. No spec names the field.FORMER_NAME_POSITIONSrows; the stored-data refusal is the existingextra="forbid"path, checked by hand.docs/ns/context.jsonld,docs/ns/index.mdregeneratedledgerTypes.ts,ledgerShape.test.ts,VERDICT_FIELDSupdated, and everyui/src/recordings/**scenario re-recorded; no generated artifact holdscaseEngagementdocs/reference/case_model_fields.mdlists nocase_engagement🤖 Generated with Claude Code