correlator: LLM tier reads the scene transcript, not the whole call (#102) #112
No Reviewers
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
No labels
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#112
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.
Closes #102 — the last leg of the #80/#95 scene-context leak.
llm_correlator._call_blockreadcall_doc's whole-call transcript for every scene, so on a multi-scene call every scene's cheap-tier + tiebreaker decision was made against text containing the other scenes.Mirrors the #80/#95 fix:
intelligence.pygives eachprocessed[]scene its owntranscript(corrected text, else this scene's segments joined, else the whole transcript);_build_context/preview_correlation/correlate_calltake atranscriptparam and resolvectx["scene_transcript"](call-doc fallback kept here, unlike embedding/severity — a scene always has real text and the sweep/single-scene/test paths want the doc's);upload.pyscene loops passscene["transcript"];recorrelation_sweeppasses the doc's text explicitly.Testing: full c2-core suite green — 296 passed on a sandboxed Linux venv. +1 regression test.
drb-correlation-reviewrunning.DO NOT MERGE until the running correlation measurement window closes and its dump is analysed — deploying a correlator change mid-window mixes old + new behaviour in the sample.
🤖 Generated with Claude Code
drb-correlation-reviewran. Verdict: ship after two fixes (applied in7189ba0) and after the measurement window closes._build_transcript_blocknumbered transmissions1.while the prompt documents 0-based indices; a model echoing the labels shifted every scene slice by one. Now0.to match. (Also fixes the same latent skew for #80s_build_scene_embed_text.)"", which_build_contextstranscript or call_doc.get(...)turned back into the whole-call transcript — re-leaking exactly when indices are wrong. The slice now falls back to this calls own whole transcript before_build_contextsees it, and rejects non-int/negative indices.Slice logic extracted to
_scene_transcript_text+tests/test_scene_transcript.py(4 cases). Full suite 300 passed (sandboxed venv). Call-doc fallback kept for the sweep/no-scene path per the review.Next leg filed as #114 (
summarizer.pyreads whole-call transcript per incident — user-visible).