Skip to content

feat(collective): governed invocation preview (read-only)#10

Merged
m0r6aN merged 13 commits intomainfrom
claude/suspicious-hellman
Mar 19, 2026
Merged

feat(collective): governed invocation preview (read-only)#10
m0r6aN merged 13 commits intomainfrom
claude/suspicious-hellman

Conversation

@m0r6aN
Copy link
Collaborator

@m0r6aN m0r6aN commented Mar 19, 2026

Summary

  • Adds read-only Invocation Preview surface to the prepared effect inspection rail — answers "what would it take to form a governed execution request?" without enabling submission or execution
  • New domain layer: InvocationPreviewView DTO, repository (derives from already-fetched eligibility via Option B threading), three mock fixtures (not_available / constrained / ready), query keys
  • New InvocationPreviewPanel component with status badge, requirements checklist, and constitutional footer disclaimer
  • Compact "Invocation: READY / CONSTRAINED / NOT AVAILABLE" status line added to prepared effect stage card props
  • Duplicate ExecutionEligibilityPanel barrel export removed

Stack Position

Observability → Explainability → Eligibility → Invocation Preview ← THIS PR

Constitutional Constraints

  • No buttons, links, or onClick handlers in preview panel
  • No execution language (Submit, Execute, Trigger, Run, Apply, Invoke as action)
  • Footer always present: "Invocation preview does not submit or execute this effect."
  • Prepared effects remain INERT regardless of readiness status

Test Plan

  • TypeScript type check passes (zero errors in new files)
  • Panel renders under eligibility in detail rail for prepared effect nodes
  • All 5 requirements always present in deterministic order
  • Correct status mapping: not_eligible → not_available, eligible + all satisfied → ready
  • No interactive affordances in panel (no buttons, links, onClick)
  • No forbidden execution language leaks
  • Footer disclaimer always visible
  • Stage card compact line renders with correct tone colors

🤖 Generated with Claude Code

m0r6aN and others added 13 commits March 18, 2026 20:30
Covers DTO, repository, mocks, query keys, panel component,
detail rail integration, and compact chain-card status line.
Option B threading: preview derives from already-fetched eligibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ture

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@m0r6aN m0r6aN merged commit 0e705a5 into main Mar 19, 2026
@m0r6aN m0r6aN deleted the claude/suspicious-hellman branch March 19, 2026 09:53
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