transcript_correction_enabled is not a pure cost lever: turning it off disables the noise gate and pushes over-merging #83
Closed
opened 2026-08-27 02:50:30 -04:00 by logan
·
1 comment
No Branch/Tag Specified
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
minutes:draft
minutes:final
role:ceo
role:cfo
role:cio
role:ciso
role:cmo
role:coo
role:cto
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
One exec pre-read, closed by CEO
CEO ruling; open until enacted
Filed by the CEO
Filed by the CFO
Filed by the CIO
Filed by the CISO
Filed by the CMO
Filed by the COO
Filed by the CTO
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/server-26#83
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found by the standing correlation pass on the unattended run of 2026-08-27, reviewing
d18e4f0before it shipped.d18e4f0put transcript correction behind a Firestore flag (transcript_correction_enabled) so that an "STT-only" evaluation window is actually STT-only and its spend can be attributed (#76, #45). That part is correct and the flag defaults to True.The problem is that the flag is not what it looks like. It reads as a pure cost lever. It is not.
The coupling
The corrector is also the noise gate. It is the only thing that sets
not_speech, andtranscription.pyreturnsNone, []for any call it flags._is_degenerateis explicitly documented as catching a narrower set — two hard-coded repetition shapes — while the corrector catches novel ones.With
transcript_correction_enabled = false,not_speechis hard-coded False, so:extract_scenesas a real transcript._is_thin_callis therefore True.fast/thinpath attaches it to the most recent incident on the talkgroup with no fit check (incident_correlator.py:962-970).So correction off + correlation on pushes over-merging, via exactly the mechanism
CORRELATION_REVIEW_0820.mdnamed as mechanism A.Why it was not fixed in the same commit
Splitting noise detection out of the corrector is a change to the transcription path, not to the flag plumbing #76 was about. Landing it inside an untested-against-live-traffic refactor of the spend gates would have coupled two risks that should be evaluated separately. The flag defaults to True and both flags are off in production, so nothing is currently exposed.
What to do
Short term, operational, and already written down: never open an evaluation window with correction off and correlation on. Recorded in
DEFERRED.mdand in the comment above the flag infeature_flags.py.Long term: move
not_speechdetection out oftranscript_correction.correct()so the noise gate survives the corrector being switched off. Then this flag really is a pure cost lever.Refs #76, #45, #5.
DEFERRED.mdcarries the matching row.Fixed in
d485eae, deployed to prod as4fab959on 2026-11-08 (/health confirms).