IntersectMBO / IntersectMBO/govtool

💡 Revise Guardrail Script Inclusion UI for New Constitution Proposal Type

Open
#4,010 0 comments 0 reactions 2 assignees Claimed by @nebojsact View on GitHub
🎨 Design Needed 💡 Feature idea 📜 Proposal Pillar
Dominant language
HTML
Stars
21
Forks
29
Avg merge
2d 22h
Merged PRs (30d)
7

Description

### Area

Proposal Pillar

### Is there new design needed?

Yes

### What?

The current UI for creating a proposal of the **"New Constitution"** type in the GovTool proposal discussion forum includes a checkbox:
**"Do you want to include new guardrail scripts?"**

This checkbox is misleading, as **not** including new guardrail scripts results in **deleting all existing guardrails**, which is a drastic and potentially unintended action.

This task proposes to revise the UI and interaction flow to:
- Make guardrail inclusion **default and explicit**
- Prevent unintentional deletion of existing guardrails
- Communicate the consequences of excluding them clearly

### Why?

- The current checkbox creates confusion and might mislead proposers into unintentionally removing important security mechanisms.
- Deleting all guardrails without a strong confirmation step is too radical to be a single toggle.
- Clearer communication helps align user expectations with governance protocol rules under CIP-1694.

### How?

- Replace the checkbox with a **descriptive UI element**, such as:
- A toggle with explicit labels like “Include guardrail scripts (recommended)” vs. “Remove all existing guardrails (advanced)”
- Or, a mandatory section where all included guardrails must be listed and reviewed
- Add a **warning tooltip or modal** when a user attempts to exclude guardrails, explaining:
- That doing so deletes all existing guardrails
- This action may have serious protocol implications
- Ensure the **default behavior includes guardrails**, and require a **conscious override** to remove them

### (Optional) User Story with acceptance criteria

As a community member proposing a new constitution,
I want the interface to clearly show whether I'm including or removing guardrail scripts,
So that I don’t accidentally delete critical security scripts and undermine protocol safety.

**Acceptance Criteria**
- [ ] The guardrail checkbox is replaced with a more descriptive UI control
- [ ] The default behavior includes existing guardrails
- [ ] A user choosing to exclude guardrails must confirm this choice explicitly
- [ ] A warning tooltip or modal explains the consequence of removing guardrails
- [ ] The final proposal draft reflects the correct choice before submission

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.