First R3 (Theater) piece. Reworks the stale artifact-keyed ReplayRoute into the turn-keyed hero over the #716 sealed-replay backend, and fully retires the dead W-026 artifact-keyed machinery on both sides (the NOT_YET_MIRRORED comment anticipated this). The hero makes determinism *felt*: pick a journaled turn, CORE re-executes its prompt in a sealed fresh runtime, and the result renders as a hash verdict (≡ equivalent / ≠ diverged) + the original/replay DigestBadges + a leaf diff (critical weighted above informational, each with a ≠ glyph). The 'What this proves' card surfaces comparison_basis + origin_state and states the honest limit: a divergence means nondeterminism OR origin-state influence, never rendered on its own as a determinism failure. Retirement (verified zero serving uses): - Python schemas.py: removed ReplayComparison/ReplayDivergence/ReplayStatus/ ReplayDivergenceSeverity; scripts/dump-enums.py drops the two replay enums; both snapshots regenerated (deterministic: dump == committed) - TS: removed ReplayComparison/ReplayDivergence/ReplayDivergenceSeverity; added TurnReplayComparison/TurnReplayDivergence (+ basis/origin/severity unions); NOT_YET_MIRRORED now empty (every engine schema mirrored) - badges: removed ReplayStatusBadge + ReplayDivergenceSeverityBadge + meta/enums + their enumCoverage cases (hero renders severity inline) - api: fetchReplayComparison/useReplayComparison -> fetchTurnReplay/ useTurnReplay (/replay/<turnId>) - deleted ArtifactList, ReplayComparisonPanel, ReplayDiffViewer, ReplayMetadataTable, old replay.test.tsx - App route /replay/:artifactId? -> /replay/:turnId?; conformance row turn-keyed (loading 'Loading turns...', empty 'No turns recorded yet.') Tests: ReplayRoute.test.tsx (equivalence hero + honesty card, diverged critical leaf, informational-only label, replace-mode select, j/k spine). Full vitest 358 green; workbench Python 34 green; both snapshots deterministic. Follow-up flagged (not in this PR to keep it focused): the artifact query hooks (useArtifacts/useArtifactDetail/fetchArtifacts*) are now orphaned but entangled with the still-live artifact EvidenceSubject kind — a separate cleanup once an Artifacts route or that subject's fate is decided. Brief: docs/handoff/wave-R3-briefs-2026-06-13.md (all four R3 pieces).
226 lines
4 KiB
JSON
226 lines
4 KiB
JSON
{
|
|
"ArtifactDetail": [
|
|
"content_type",
|
|
"content"
|
|
],
|
|
"ArtifactRef": [
|
|
"artifact_id",
|
|
"kind",
|
|
"path",
|
|
"digest",
|
|
"created_at"
|
|
],
|
|
"AuditEvent": [
|
|
"event_id",
|
|
"source",
|
|
"source_path",
|
|
"timestamp",
|
|
"event_type",
|
|
"mutation_boundary",
|
|
"summary",
|
|
"ref_id",
|
|
"payload_digest",
|
|
"payload"
|
|
],
|
|
"ChatTurnResult": [
|
|
"prompt",
|
|
"surface",
|
|
"articulation_surface",
|
|
"walk_surface",
|
|
"grounding_source",
|
|
"epistemic_state",
|
|
"normative_clearance",
|
|
"normative_detail",
|
|
"trace_hash",
|
|
"refusal_emitted",
|
|
"hedge_injected",
|
|
"mutation_mode",
|
|
"identity_verdict",
|
|
"safety_verdict",
|
|
"ethics_verdict",
|
|
"proposal_candidates",
|
|
"turn_cost_ms",
|
|
"checkpoint_emitted",
|
|
"turn_id"
|
|
],
|
|
"EvalLaneSummary": [
|
|
"lane",
|
|
"versions",
|
|
"read_only",
|
|
"description"
|
|
],
|
|
"EvalRunResult": [
|
|
"lane",
|
|
"version",
|
|
"split",
|
|
"passed",
|
|
"metrics",
|
|
"cases",
|
|
"source_digest"
|
|
],
|
|
"MathProposalDetail": [
|
|
"wrong_zero_assertion",
|
|
"proposed_change_payload",
|
|
"reasoning_trace_id",
|
|
"reasoning_trace_steps",
|
|
"evidence_hashes",
|
|
"handler_name",
|
|
"suggested_ratify_cli"
|
|
],
|
|
"MathProposalSummary": [
|
|
"proposal_id",
|
|
"domain",
|
|
"shape_category",
|
|
"proposed_change_kind",
|
|
"structural_commonality",
|
|
"evidence_count",
|
|
"replay_equivalence_hash"
|
|
],
|
|
"MathRatifyResult": [
|
|
"proposal_id",
|
|
"change_kind",
|
|
"handler_name",
|
|
"routing_status",
|
|
"message",
|
|
"suggested_cli",
|
|
"applied",
|
|
"target_path",
|
|
"evidence_hash"
|
|
],
|
|
"MathReasoningStep": [
|
|
"step_index",
|
|
"step_kind",
|
|
"claim",
|
|
"justification",
|
|
"input_pointers",
|
|
"output_payload"
|
|
],
|
|
"PackDetail": [
|
|
"manifest_digest",
|
|
"manifest"
|
|
],
|
|
"PackSummary": [
|
|
"pack_id",
|
|
"source",
|
|
"manifest_path",
|
|
"version",
|
|
"language",
|
|
"modality",
|
|
"determinism_class",
|
|
"checksum",
|
|
"checksums"
|
|
],
|
|
"ProposalDetail": [
|
|
"proposed_chain",
|
|
"replay_evidence",
|
|
"source",
|
|
"evidence",
|
|
"artifact_refs",
|
|
"suggested_cli"
|
|
],
|
|
"ProposalRef": [
|
|
"candidate_id",
|
|
"source_kind"
|
|
],
|
|
"ProposalSummary": [
|
|
"proposal_id",
|
|
"state",
|
|
"source_kind",
|
|
"replay_equivalent",
|
|
"created_at",
|
|
"downstream_effect"
|
|
],
|
|
"RunDetail": [
|
|
"turns",
|
|
"manifest"
|
|
],
|
|
"RunSummary": [
|
|
"session_id",
|
|
"source",
|
|
"turn_count",
|
|
"started_at",
|
|
"updated_at",
|
|
"checkpoint_present",
|
|
"checkpoint_revision",
|
|
"artifact_refs",
|
|
"evidence_gap"
|
|
],
|
|
"RunTurnRef": [
|
|
"turn_id",
|
|
"trace_hash",
|
|
"timestamp",
|
|
"trace_path",
|
|
"surface_excerpt"
|
|
],
|
|
"RuntimeStatus": [
|
|
"backend",
|
|
"git_revision",
|
|
"engine_state_present",
|
|
"checkpoint_revision",
|
|
"revision_warning",
|
|
"active_session_id",
|
|
"mutation_mode"
|
|
],
|
|
"TurnJournalEntrySchema": [
|
|
"turn_id",
|
|
"timestamp",
|
|
"trace_hash",
|
|
"prompt",
|
|
"surface",
|
|
"articulation_surface",
|
|
"walk_surface",
|
|
"grounding_source",
|
|
"epistemic_state",
|
|
"normative_clearance",
|
|
"verdicts",
|
|
"refusal_emitted",
|
|
"hedge_injected",
|
|
"proposal_candidates",
|
|
"turn_cost_ms",
|
|
"checkpoint_emitted",
|
|
"journal_digest"
|
|
],
|
|
"TurnJournalSummarySchema": [
|
|
"turn_id",
|
|
"timestamp",
|
|
"prompt_excerpt",
|
|
"surface_excerpt",
|
|
"trace_hash",
|
|
"grounding_source"
|
|
],
|
|
"TurnReplayComparison": [
|
|
"turn_id",
|
|
"comparison_basis",
|
|
"origin_state",
|
|
"original_trace_hash",
|
|
"replay_trace_hash",
|
|
"equivalent",
|
|
"replay_turn_cost_ms",
|
|
"divergences"
|
|
],
|
|
"TurnReplayDivergence": [
|
|
"path",
|
|
"original",
|
|
"replay",
|
|
"severity"
|
|
],
|
|
"TurnVerdict": [
|
|
"outcome",
|
|
"runtime_detail"
|
|
],
|
|
"VaultEntry": [
|
|
"entry_index",
|
|
"epistemic_status",
|
|
"epistemic_state",
|
|
"metadata",
|
|
"versor_digest"
|
|
],
|
|
"VaultSummary": [
|
|
"source_path",
|
|
"entry_count",
|
|
"store_count",
|
|
"reproject_interval",
|
|
"max_entries",
|
|
"persisted"
|
|
]
|
|
}
|