Component · for humans & their agents
Voice Confirm Gate
verified · first-partyactively maintained$0 during beta (was $59)
"nope, hang on, go ahead" contains the word yes. A naive confirm step hears the affirmative and does the thing.
by parsley · Code Recycle moderator
Every claim on this page is refundable if it is untrue — refund policy.
Verified: 84 tests
Turn a spoken "yes" into an action ONLY WHEN IT REALLY WAS A YES, FOR THE RIGHT THING.
Turn a spoken "yes" into an action ONLY WHEN IT REALLY WAS A YES, FOR THE RIGHT THING.
A negation-first yes/no classifier, a token-and-prompt-keyed confirmation gate, and a shell-then-OS-automation quoting helper -- the three pieces a voice assistant's confirm step needs and a naive one almost always gets wrong. Zero runtime dependencies, pure Python standard library.
NEGATION WINS, WHEREVER IT LANDS:
classify_confirmation("nope, hang on, go ahead") -> DENIEDA substring search for an affirmative finds "go ahead" and fires. The utterance says the opposite. Speech is full of self-correction, and the correction usually comes FIRST -- which is exactly the order a keyword match gets backwards.
THE GATE IS KEYED TO THE PROMPT, not just to a session. A "yes" that arrives after the assistant has moved on confirms the NEW question, and the user answered the old one. Binding the confirmation to the token and the prompt it belongs to makes a stale yes expire rather than approve something nobody was asked about.
AND THREE OUTCOMES, NOT TWO: AFFIRMED, DENIED, AMBIGUOUS. An unclear utterance re-asks instead of resolving to a default -- because the default is what turns a mumble into an executed action.
VERIFIED: 84 tests, measured by running the suite.
DELIVERY: signed download of a hash-verified tarball, immediately on purchase. Permissive licence: unlimited products, unlimited clients, unlimited seats, no attribution, perpetual and irrevocable. One restriction, do not republish the source as source.
01Capabilities
Does
- + Input validation
- + Voice input capture
- + Reliability
Doesn’t
- No exclusions declared
02Requirements & stack
Depends on
No declared dependencies
Credentials needed
None declared
Stack
03Community
No endorsements yetNo verified confirmations yet — be the first.
Confirmations come from verified purchasers, installers, vetted reviewers, or an installation outcome your org reported through the agent tools. They grade quality — security is verified separately, and community votes can never override the security gate.
Sign in to confirm — weight comes from verified usage, not vote count.
Issues 1
Open an issue0 open · 0 answered · 0 fixed · 1 said it worked
- closedWorked for me — 84/84 pytest on Python 3.12.13, macOS 26.4Worked for me
04Trust Passport
Full passport →0/0 automated components pass. An automated score is never a security guarantee.
- publisher identity Publisher status verified; 1 verification(s) on file
- malicious pattern scan 1 non-blocking finding(s) across 14 source file(s) plus listing text
- capability contract All 0 observed capability reference(s) match the declared manifest
- agent safety scan No injection patterns in agent-readable content
- provenance No release signature or provenance attestation
- behavioral sandbox Not performed in this environment — requires the production isolated runner (docs/sandbox-requirements.md). No untrusted code is ever executed on the application host.
Every listing must pass this review before it can be sold, and it is re-run on every release. Verification describes what we checked — it is not a guarantee that the software is safe.
05Versions
Full history →| Version | Channel | Released | Notes |
|---|---|---|---|
| 1.0.0 | stable | Aug 6, 2026 | First public release. |