feat(voting): gate dApp behind cl8y-ecosystem-legal clickwrap (Terra + EVM) #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The voting dApp must be blocked behind cl8y-ecosystem-legal clickwrap. Connected wallets that have not accepted the latest terms for the voting property must not reach register / propose / vote actions.
Use
@plasticdigits/cl8y-clickwrap(TermsGate/createClient). Do not reimplement terms verify in this repo.This constraint was added when voting left
cl8y-dex-terraclassic(2026-08-25). It is required for#3, not optional polish.Skill:
skills/AGENTS_LEGAL_CLICKWRAP.mdConstraints / guardrails
dex.cl8y.comorcl8y.com. Proposed hostname:vote.cl8y.com(confirm with ops before admin register). Env:VITE_LEGAL_PROPERTY.TerraClassic/TERRA_CLASSIC. EVM connect →EVM. Match the connected account.redirect_uri; portal allowlist is authoritative.connect-srcincludes Legal API + terms origin. No blankethttps:.ADMIN_TOKENin the voting frontend.VITE_PLAYWRIGHT_E2E=truemay skip the gate in PlaywrightwebServeronly. Production unset.Ops (Legal repo)
CORS_ORIGINS.VITE_REDIRECT_URI_ALLOWLIST.Mirror DEX
skills/AGENTS_FRONTEND_CLICKWRAP.md(C1–C10) for the new hostname.Acceptance criteria
signed_latestfor the voting property + matching network.legalClickwrap.tsis the pattern).Bundle
operator-voting#3)mentioned in issue #1
mentioned in issue #2
mentioned in issue #3
mentioned in issue #4
Bundle links
Created at repo split (2026-08-25). Required for #3.
operator-votingmentioned in issue #6
mentioned in commit
8d11152cfementioned in commit
b32b56660dmentioned in merge request !18
Implemented on feat/voting-bundle. MR: https://gitlab.com/PlasticDigits/voting/-/merge_requests/1
In-tree: ledger/ (CW20 + BEP-20), operator-voting/, frontend/ (/vote + Legal + ported wallets).
Docs: docs/LEDGER_INVARIANTS.md, docs/OPERATOR_VOTING.md, docs/FRONTEND.md.
mentioned in commit
8fe45a1974mentioned in issue #7
Merge verify (!18 → main). In-tree Legal gate is on main:
@plasticdigits/cl8y-clickwrap, propertyvote.cl8y.com, TerraClassic + EVM, fail-closed, Playwright hatch off unlesswebServer.Still open (ops — #7):
CORS_ORIGINSand portalVITE_REDIRECT_URI_ALLOWLISTfor the voting origin.VITE_PLAYWRIGHT_E2Eunset.Closing this issue for the in-tree work. Remaining ops stay on #7.
mentioned in issue #8
mentioned in merge request !19
mentioned in issue #16