4 Commits

Author SHA1 Message Date
EJClaw
32ad429773 Pick recording servers from the voice-changer app; fix per-server recording status
consent-recorder: operators (ADMIN_DISCORD_IDS) create an app key on the
site; the app calls GET/POST /api/guilds with it to turn servers on/off.
Turned-off servers are left immediately. recordingNow() now checks the
user picked that server, so someone who only chose server A is not shown
as recorded while sitting in a B channel the bot records for others.

voice-changer: new "녹음 서버" dialog (record_servers.py), network in a
worker thread, key saved in config/record-servers.json; upgrade cleanup
list knows the new file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 21:16:53 +09:00
EJClaw
f45d349f96 consent-recorder: let each consenter pick which servers to record in
The site lists only servers the bot and the user share (single-member REST
fetch, no privileged intent). Consent requires at least one server; the
choice can be changed later and removed servers stop recording at once.
Consent text mentions the server choice, so CONSENT_VERSION is bumped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 20:53:14 +09:00
EJClaw
8da3e713d0 consent-recorder: fix review findings
- /delete discards the in-progress utterance before deleting files
- keep the current channel even when the bot itself fills it (joinable=false)
- bind OAuth state to the browser via a short-lived cookie
- reject consent submitted from a page showing an older consent version
- regression tests for all four

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:47:07 +09:00
EJClaw
6e0801ea1c Add consent site + consent-only follow recorder bot
Discord OAuth login -> explicit consent (3 checkboxes, versioned text) ->
bot follows consenting users into voice channels and records only their
per-user streams. Revoke stops recording immediately and optionally deletes
files; consent log kept; export to training wav only for active consents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:43:06 +09:00