Skip to content

Risk pages: view-mode default, de-ceremonied acceptance, register calibration#51

Open
CST-100 wants to merge 1 commit into
features/issues-exec-parts-r2from
claude/risks-register-calibration
Open

Risk pages: view-mode default, de-ceremonied acceptance, register calibration#51
CST-100 wants to merge 1 commit into
features/issues-exec-parts-r2from
claude/risks-register-calibration

Conversation

@CST-100

@CST-100 CST-100 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Applies the issue-page UI calibration (PR #49 amendments) to the risk module.

  • View mode by default: /risks/{id} opens read-only — scenario fields, scores, owner, narrative, and linked issues render as facts. A header EDIT control switches to ?edit=1 with the in-place editors (lint overlays, selects, link/spawn/unlink controls, disposition transitions); DONE returns to view. Per-field saves on blur, unchanged.
  • Acceptance de-ceremonied: the ACCEPTANCE READINESS checklist box is removed. One ACCEPT button, grayed until every hard check passes, with the tooltip naming what is missing — opal.risks.readiness remains the single source for the gate, so the button and accept() cannot drift. The inline accept-confirm block keeps the signature consequence. Once signed, the facts move to the rail (ACCEPTED · RATIONALE); the panel's duplicate signature block is deleted (one fact, one home).
  • Register badge discipline: per-row disposition badges are gone — REALIZED keeps warning weight, CLOSED renders muted, everything else is calm plain text. Linked-issue rows reuse the shared ok.issue_state register.

Deliberately untouched: the per-target disposition panel keeps its live status lines and an active SET button — its blockers (watch observable/threshold, residual score) are filled by the panel's own inputs without a re-render, so a statically grayed button would deadlock those flows.

Verified: full suite (701 passed), ruff clean, view/edit modes and the gated ACCEPT confirmed against a live instance.

🤖 Generated with Claude Code

…ibration

The risk page opens read-only — scenario fields, scores, owner, narrative,
and links render as facts; EDIT switches to the in-place editors (lint
overlays, selects, link/spawn controls, disposition transitions) and DONE
returns to view, mirroring the issue page.

The ACCEPTANCE READINESS checklist box is gone: one ACCEPT button, grayed
until every hard check passes, with the tooltip naming what is missing
(readiness stays the single source for the gate). The inline accept-confirm
keeps the signature consequence. Once signed, the facts live in the rail
(ACCEPTED · RATIONALE) — the panel's duplicate signature block is deleted.

Register rows drop the per-row disposition badge: REALIZED keeps warning
weight, CLOSED renders muted, everything else calm plain text. Linked-issue
rows reuse the ok.issue_state register and plain mono roles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant