Question: Find the HTTP response handling that distinguishes a 304 bundle response from a full download and decides which ETag to use for the next request.


Question: Where is the Cover tracer's configuration defined so it can signal that local variable metadata is unnecessary?


Question: Find the plugin manager wiring that passes the configured logger, log level, and format to service clients.


Question: Locate the partial-evaluation logic that evaluates the complement of a negated goal, saves its constraints as a generated support rule, and replaces the original negation with a `data.partial.__not_...` reference.


Question: Where in OPA's partial evaluator are negated expressions such as `not q` processed when constructing the residual query?


Question: Where is ast.Body defined and how is its JSON representation produced when the underlying slice is nil or empty?


Question: Where does the REST plugin log outgoing HTTP request headers when debug logging is enabled, including the existing Authorization redaction?


Question: Where are policies submitted through the HTTP API written to the store, and how are they retained when file watching reloads policies?


Question: Where does server mode handle file-system watch events and trigger a policy reload using loader.All?


Question: Where does the checker resolve reference types nested in composite builtin arguments, such as `sum([1, a])` after `a := "foo"`, so they are validated like literal types in rule bodies?


Question: Where is object type compatibility checked during unification, and how does it avoid treating a missing right-hand key as an error when the left-hand object has a dynamic value type?


Question: Where is an explicitly supplied --explain option connected to the verbose output setting for opa test?


Question: Where does the WASM regex runtime compile and cache patterns, including the cache key that should use a length-bounded std::string instead of a null-terminated opa_string_t?


Question: Where is shared WASM string handling for opa_string_t pointer-and-length values used by the regex and glob built-ins, especially code that could read stale bytes after a shorter subsequent evaluation?


Question: Which code handles unknown terms in comprehensions while preserving the original rule expression for later partial-evaluation references?


Question: Where are repeated references to the same rule expanded, and how are fresh comprehension variables assigned for each occurrence?


Question: Where is the WebAssembly C++ cache used by opa_regex_match implemented, including its compiled-pattern lookup, insertion, and mutex critical section?


Question: Where does the Go topdown evaluator cache compiled glob patterns used by glob.match, including the synchronized insertion logic?


Question: Where does the Go topdown evaluator cache compiled regex patterns used by regex.match and related built-ins, including the mutex-protected lookup and insertion path?


Question: Find the type-checking code that determines whether a referenced node has a function type and formats its fully qualified name for locally defined and imported/data functions.


Question: Find the reference-validation path for non-call expressions such as `some x in f` and `[data.base.foo]`, ensuring the specialized function diagnostic applies only to function types while other unsupported ref errors remain unchanged.


Question: Where are net.cidr_contains, net.cidr_intersects, and net.cidr_overlap implemented, including their CIDR parsing and malformed-input error handling?


Question: Where does OPA’s topdown evaluation cancellation infrastructure let built-ins detect interruption and return an eval_cancel_error?


Question: Where is the production implementation of `opa fmt --diff`, including the comparison of original and formatted Rego?


Question: Where are the `--diff` and `--fail` options wired so a detected diff is printed and `--fail` returns an unexpected-diff error?


Question: Where does the decision log plugin coordinate Stop and flushDecisions using the received context unchanged and an explicit done channel for successful completion?


Question: Where does the v1 data GET handler represent undefined documents as HTTP 200 with an empty JSON object and no result wrapper, including ancestor reads after a child is removed?


Question: Where is the /v1/data routing and Prometheus instrumentation defined for the existing GET, PUT, PATCH, and POST methods so DELETE can be registered consistently?


Question: Where does the storage transaction API remove a data document together with all of its descendant paths, including the behavior for a missing path?


Question: Where is the v1 data PUT handler that parses a document path, opens a write transaction, mutates the store, commits, and aborts on errors?


Question: Where is server readiness or initialization failure propagated from plugin startup into runtime behavior before requests are served?


Question: Locate the wiring between plugin initialization, runtime startup, and server startup where visibility for server init belongs.


Question: Where are the REPL trace and notes toggle handlers implemented, and what shared mode-toggle helper can register a fails toggle without duplicating them?


Question: Where are the REPL's explainMode and replDebug types defined, and where does show debug serialize their state, including the off, full, notes, and fails modes plus Metrics, Instrument, and Profile?


Question: Where does evalPartial select raw top-down traces versus notes filtering, and where should it mirror evalBody for lineage.Notes and lineage.Fails?


Question: Where is the built-in REPL command table and help generation for trace and notes defined, so the fails command is dispatched and listed?


Question: Where does the OPA test runner discover Rego rules by the `test_` prefix, namespace, and filter, so `todo_test_` rules use the same selection logic but are skipped before execution?


Question: Where is the production test-result state implemented for `Pass()` and `String()`, including status and duration formatting, so skipped results return false and render as `SKIPPED` without a duration?


Question: Where are test outcomes classified and counted for passed, failed, and errored totals, so skipped rules remain in the overall total but none of those categories?


Question: Where does the JSON `opa test` reporter build result objects so skipped tests serialize with `"skip": true`?


Question: Where are bundle-driven storage transactions and TriggerEvent objects created, and how can the compiler produced during activation be attached to the event context?


Question: Where does the bundle plugin activate a scoped bundle, interpret its roots, and replace only the policies under those roots?


Question: Which listener-type branching keeps h2c out of TLS and other listeners while allowing it for both TCP and Unix domain sockets?


Question: Where does the OPA `run` command parse `--h2c` and configure the HTTP server or listener, especially the branch that enables cleartext HTTP/2 only for TCP?


Question: Find the production decision-logging code that emits labels.id, including console decision logs, and how it obtains the instance identifier.


Question: Where are the built-in implementations of json.remove and json.filter, including their JSON result construction, located?


Question: Where is the lower-level filtering logic used by json.filter implemented, specifically the Array case that incrementally appends output elements?


Question: Where is transaction metadata carried from NewTransaction through commit processing and populated on the TriggerEvent delivered to OnCommit callbacks, while keeping unset context nil or empty?


Question: Which bundle reader and file-loader paths are used by inspection, and how are annotation location options threaded through them without changing non-inspection callers?


Question: Where does the discovery plugin process an incoming discovery bundle and apply its configuration, including the services section?


Question: Which production code identifies the service used to fetch discovery bundles and obtains its current configuration?


Question: Where does the compile package build the wasm manifest's WasmResolvers list, and how is entrypoint order determined?


Question: Where does the compile package distinguish the wasm entrypoint-pruning and import-injection path from the unchanged rego target?


Question: Where is the decision logger's conversion from a Rego query string to the decision log event `path` field implemented?


Question: Where is the Rego built-in `units.parse_bytes` implemented, including parsing the quantity and selecting byte unit factors?


Question: Find the production implementation of the restartable v1/metrics Timer, including its accumulated duration and running state.


Question: Where do `Set.Iter()`, `Foreach()`, `Slice()`, and `Sorted()` reach the lazy key-sorting path for Set and Object values?


Question: Where is the `numInserts` state read and updated in the `set` and `object` internals to invalidate or reuse sorted keys?


Question: Find the propagation logic that updates later expression checks after a variable receives a unioned type while preserving inference for homogeneous collections.


Question: Where is the OPA type-checker logic that infers variable types from collection traversal references such as x[_]?


Question: Find the type-inference path that merges types from repeated collection matches into an any<...> union instead of retaining only the last element type.


Question: Where is the copy propagation pass implemented, including the logic that rewrites or removes propagated expressions?


Question: Find the WebAssembly malloc implementation that tracks the heap pointer and calls __builtin_wasm_grow_memory only when an allocation exceeds the current linear-memory capacity.


Question: Find the production implementations of opa_object and opa_set and the allocation logic that must initialize their head pointers to NULL to prevent stale pointers in reused memory.


Question: Where do existing built-in implementations validate positional operands and raise runtime type errors such as `operand 1 must be array` or the corresponding second-operand error?


Question: Where is the registration or dispatch wiring that connects the built-in name `array.concat` to its evaluator implementation so it can be called from Rego?


Question: Where is prepared-query caching implemented for SDK Decision and Partial calls, and how are preparation metrics suppressed on cache hits while per-call metrics remain correct?


Question: Where are SDK DecisionOptions declared and converted into rego evaluation options so Metrics, Tracer, Profiler, and Instrument reach Decision?


Question: Where are SDK PartialOptions declared and converted into rego partial-evaluation options, including caller metrics, profiler, tracer, and Instrument?


Question: Locate the code path that executes and reports collected test rules, preserving identical names across different packages while suffixing duplicates within one package.


Question: Where are the selected entrypoints and their data dependencies assembled into wasm or plan output so pruned dependent functions are omitted?


Question: Where is the `opa build` CLI flag definition and build-option plumbing for `--prune-unused` implemented, including passing it to the compiler?


Question: Where are the compiler’s target-specific entrypoint sets built, distinguishing explicitly requested entrypoints from automatically discovered dependents for wasm and plan?


Question: Where is the default dependent-gathering behavior preserved while `--prune-unused` has no effect on rego bundle compilation?


Question: Where does the decision logger's Log method map server.Info into an EventV1, conditionally copying Info.Error alongside the result and metrics?


Question: Where does the OPA REST server distinguish a missing resource path that should return 404 from a known resource path with an unsupported HTTP method that should return 405?


Question: Where is the REST handler or helper that writes a bodyless 405 Method Not Allowed response?


Question: Which production callers use SpanID.HexString or TraceID.HexString, and where should canonical identifiers use hex.EncodeToString instead of the deprecated methods?


Question: Where are the logging exporter logEntry and logAttr formatting helpers implemented, and how can they accept interface{} values so %s formats Stringer IDs directly?


Question: Where are the pdata/pcommon SpanID and TraceID formatting methods implemented, including HexString, zero-value handling, and the new display-only String methods?


Question: Where is builtExporter.Start implemented, and how are all trace, metric, and log exporters started exactly once when an exporter supports multiple signal types?


Question: Where is builtExporter.Shutdown implemented, and how does it stop every configured trace, metric, and log exporter exactly once?


Question: Where is Exporters.ToMapByDataType implemented, and how are the traces, metrics, and logs exporter maps constructed for consumers such as the component host?


Question: Where are destination InstrumentationLibrarySpans entries emitted during Jaeger translation, with library name and version copied only when present?


Question: Locate receiverhelper's per-scraper interval API definitions and uses—ScraperSettings, BaseScraper.CollectionInterval, multiMetricScraper.CollectionInterval, and WithDefaultCollectionInterval—that need to be removed.


Question: Find scrapeMetricsAndReport and related forwarding code that iterates ResourceMetricsScraper results, combines ResourceMetricsSlice values into one Metrics payload, and sends it to the next consumer.


Question: Locate AddMetricsScraper and AddResourceMetricsScraper and the controller's ResourceMetricsScraper collection, including how MetricsScraper instances are accumulated into one multiMetricScraper while resource scrapers are appended directly.


Question: Where are QueueRequest[T], newQueueRequest, and the OnProcessingFinished callback defined or invoked in exporterhelper/internal?


Question: Locate the bounded memory queue implementation and its dequeue logic so Consume can pass the stored item and context directly without allocating a QueueRequest wrapper.


Question: Where is the exporterhelper/internal Queue interface defined, and which production code currently calls Poll to obtain a QueueRequest before processing an item?


Question: Where is TestTelemetry declared and initialized, and how is its internal id field made available to the obsreport checks?


Question: Where are the exported package-level obsreporttest Check* declarations documented, so the old APIs can remain deprecated wrappers pointing to the corresponding TestTelemetry.Check* methods?


Question: Where is the service package's configWatcher implemented, including configuration retrieval, watch notifications, and shutdown lifecycle?


Question: Where is the Collector reload loop wired to wait on the ConfigProvider watch channel rather than directly accessing an internal watcher field?


Question: Where is the Collector constructed so a single long-lived ConfigProvider can be initialized once per Collector?


Question: Where does Collector setupConfigurationComponents retrieve configuration, and where should it call ConfigProvider.Get instead of creating a watcher on each reload?


Question: Where is the ConfigMapProvider owned and shut down, including the ConfigProvider shutdown sequence that closes its watch channel and current session?


Question: Where is the collector-wide zap sampler state owned and propagated to console, OTLP, and component-scoped logger instances?


Question: Find the pdata Value constructors NewXxxValue and the internal initialization state that distinguishes constructed values from a zero-initialized Value.


Question: Where is the pdata Value.Type() method implemented, including the nil underlying-value branch that currently returns ValueTypeEmpty?


Question: Where does mdatagen’s internal/schemagen production code resolve JSON Schema $ref aliases and populate component config $defs?


Question: Which production OTLP JSON unmarshalling functions still call iter.ReadFloat64() directly, across metric data points, exemplars, and attribute values?


Question: Where are the internal JSON numeric helpers ReadInt32, ReadUint32, ReadInt64, and ReadUint64 implemented, including their handling of numeric strings and iterator errors?


Question: Where is CorrectnessTestValidator implemented, including public-pdata comparisons for span IDs, parent ID, name, kind, timestamps, attributes, events, links, and status?


Question: Where is the DataProvider interface defined and where is GetGeneratedSpan used to expose raw *otlptrace.Span values?


Question: Where is CorrectnessTestValidator constructed and wired with sender and receiver protocol names?


Question: Where is exporterhelper's requestSender interface defined, along with the baseRequestSender lifecycle methods that currently use custom start and shutdown signatures?


Question: Where are queueSender instances constructed and where do they register metrics in Start and close resources in Shutdown using their stored logger and meter?


Question: Where is retrySender's shutdown behavior implemented, including returning pending requests to the queue before shutdown, and where must it become the exported Shutdown method?


Question: Where is exporterhelper QueueSettings defined and where is its CreateSettings value passed through queue sender construction or startup?


Question: Where is NewPersistentQueue implemented, including the storage connection setup that should use the stored exporter ID and logger rather than QueueSettings.CreateSettings?


Question: Where in service/parserprovider are ParserProvider, Watchable, and Closeable declared, including the Get, WatchForUpdate() error, and Close(context.Context) error signatures?


Question: Where does setupConfigurationComponents detect a Watchable ParserProvider and launch WatchForUpdate in a background goroutine that requests a configuration reload?


Question: Where does execute handle full application shutdown by closing a Closeable ParserProvider before shutting down the service and collecting the close error?


Question: Where does the WatchForUpdate handling distinguish ErrSessionClosed or another intentional shutdown from unexpected errors, deciding whether to log, exit, or invoke reloadService?


Question: Where are assertStructKind and assertNoEnabledField applied to Optional[T] to reject non-struct types or an enabled-tagged field, including the validation path a new method must invoke?


Question: Where is configoptional.Optional[T] defined, including the Some, Default, None, HasValue, Get, and Unmarshal state/value APIs?


Question: Locate the custom Unmarshaler or Marshaler dispatch used when an embedded struct is decoded through *Conf.


Question: Find the error-normalization logic that removes exactly "error decoding '': " from top-level Conf decode failures without changing nested-key errors.


Question: Where is the receiver/otlpreceiver factory’s global Config-keyed cache of otlpReceiver instances implemented, including the logic that lets trace, metric, and log receivers share one underlying server?


Question: Where does otlpReceiver.Shutdown stop both the OTLP gRPC and HTTP servers, and how should it wait for every serving goroutine to exit before returning?


Question: Where is the tailsampling wiring between policy evaluation and the next consumer implemented for exactly-once trace delivery?


Question: Where does the Windows service entry point receive and parse `otelcol` startup arguments, including `--feature-gates`?


Question: Where is the `--feature-gates` command-line flag parsed and applied to the Collector's feature-gate configuration?


Question: Where is componenterror.CombineErrors implemented, including how it builds the aggregate error from all input messages and can propagate permanent status from any input?


Question: Where does the Prometheus remote write exporter construct HTTP requests and classify response status codes, distinguishing permanent non-5xx responses from retryable 5xx responses?


Question: Where does the Prometheus remote write exporter convert metrics and handle invalid metric/temporal combinations or unsupported metric types?


Question: Locate the plogotlp.Request implementation, including NewRequest and SetLogs, to add NewRequestFromLogs(plog.Logs) while keeping the Request and source logs backed by the same protobuf representation and documenting SetLogs as deprecated.


Question: Locate the pmetricotlp.Request implementation, including NewRequest and SetMetrics, to add NewRequestFromMetrics(pmetric.Metrics) with shared backing storage and a deprecation comment directing callers to the new constructor.


Question: Locate the ptraceotlp.Request implementation, including NewRequest and SetTraces, to add NewRequestFromTraces(ptrace.Traces) without breaking the existing wrapper aliasing behavior and to deprecate SetTraces.


Question: Find production log-processing code in exporters, receivers, or transport paths that constructs a plogotlp.Request with NewRequest followed by SetLogs, so those call sites can use NewRequestFromLogs.


Question: Find production metric-processing code in exporters, receivers, or transport paths that constructs a pmetricotlp.Request with NewRequest followed by SetMetrics, so those call sites can use NewRequestFromMetrics.


Question: Where are the obsreporttest Check* functions such as CheckReceiverTraces, CheckExporterTraces, and CheckProcessorMetrics defined, including their current *testing.T-based verification flow?


Question: Where does obsreporttest select the metrics views and expected tag/value pairs used by the receiver, exporter, and processor checks?


Question: Find production endpoint or address parsing logic that recognizes unspecified listening addresses, including 0.0.0.0 and :port, while still accepting the endpoint rather than returning an error.


Question: Where are ParseModules() and Validate() implemented for builder configuration, including validation of the default configuration?


Question: Where are Generate(cfg) and GenerateAndCompile implemented, including generation and compilation from a zero-config default?


Question: Where is builder DefaultConfig() defined, including the fallback Distribution.Module used when no distribution configuration is provided?


Question: Where are explicit YAML or manifest distribution settings merged with builder defaults without overriding an explicitly configured module path?


Question: Where is the production implementation of the obsreport Exporter, including Start...ExportOp and End...ExportOp for traces, metrics, and logs, and how are stored mutators applied while recording telemetry metrics?


Question: Where do exporter/exporterhelper metrics and logs paths call the obsreport export operations and currently manage exporter-name context tagging?


Question: Where do exporter/exporterhelper trace paths call Start...ExportOp and End...ExportOp, and where should they pass the original parent context instead of ExporterContext?


Question: Where does NewExporter initialize Exporter.mutators, and which code chooses tagKeyExporter instead of tagKeyProcessor for the exporter name?


Question: Locate the batch metric splitting logic that carries remaining capacity across multiple InstrumentationLibraryMetrics and ResourceMetrics entries while retaining unconsumed metrics for later chunks.


Question: Find the PICT input definitions and pairwise-input generation for ResourceNil, SpanAttrNil, and SpanChildCountNil, including the empty cases that replace those variants.


Question: Locate production call sites and API wiring for GenerateResource, GenerateSpan, GenerateSpans, and GenerateTraces that must remain consistent when generator signatures or return values are simplified.


Question: Find the resource attribute generation logic around duplicate convention keys such as AttributeServiceName, including map insertion behavior that lets later assignments win without panicking.


Question: Locate the GenerateSpan status mapping for the PICT values Unset, Ok, and Error, including where the generated span's status code and message are written directly.


Question: Locate the production implementation in internal/goldendataset for GenerateResource and GenerateSpan that populates destination attribute maps with CopyTo or Append, including complete SpanAttrDatabaseSQL data in Span.Attributes().


Question: Where is the probabilistic sampling decision based on TraceID hashing, percentage scaling, and sampling.priority overrides implemented?


Question: Where is the probabilistic sampling processor's ConsumeTraces implementation that converts pdata.Traces through internaldata.TraceDataToOC and internaldata.OCToTraceData?


Question: Where does confighttp turn malformed compressed-body or decompression errors into an HTTP 400 Bad Request response?


Question: Where does confighttp inspect Content-Encoding and invoke the registered decompressor for an incoming request body?


Question: Where is the generic wiring for registered HTTP decompression decoder functions and custom decoders implemented?


Question: Find the mapstructure decoding path for mdatagen metadata YAML into Metric and Event, including the tags or embedded-field handling that preserves flattened fields with `,squash`.


Question: Find the production implementation of HasOptionalAttribute and the optional-attribute representation shared by mdatagen Metric and Event metadata.


Question: Where do the obsreporttest Check* functions aggregate errors from multiple view checks instead of returning after the first mismatch?


Question: Locate CheckProcessorTraces, CheckProcessorMetrics, CheckProcessorLogs, and CheckScraperMetrics and the logic that checks all specified views.


Question: Locate the obsreporttest implementations of CheckReceiverTraces, CheckReceiverMetrics, and CheckReceiverLogs, including their per-view validation and returned error behavior.


Question: Where are production load-test transport types or sender/receiver registrations wired into the testbed harness?


Question: Locate the production definition of AttributeValue and its SetMapVal, SetArrayVal, MapVal, and ArrayVal methods in the generated pdata API.


Question: Locate NewAttributeValueMap and NewAttributeValueArray and the implementation that ensures their returned values can still be populated by callers.


Question: Find production call sites of AttributeValue.SetMapVal and SetArrayVal that should instead mutate MapVal() or ArrayVal() in place.


Question: Locate the Jaeger/internal trace round-trip conversion pipeline around ProtoBatchesToInternalTraces and InternalTracesToJaegerProto, including serialization of zero or unknown span start and end timestamps.


Question: Locate all production callers of the reverse time.Time-to-TimestampUnixNano conversion so zero time is preserved consistently outside the Jaeger translator.


Question: Where does the OTLP HTTP receiver handle a missing request body or malformed OTLP input, and where is its HTTP status converted to the gRPC code in the rpc.Status response body?


Question: Where does the OTLP HTTP receiver serialize errors as google.rpc.Status and choose the gRPC code for a plain error while retaining the existing fallback message, headers, and content-type behavior?


Question: Where is GetHTTPStatusCodeFromStatus defined and used, given it should accept a *status.Status directly and only map UNAVAILABLE to 503, RESOURCE_EXHAUSTED to 429, and other gRPC codes to 500?


Question: Which confighttp production code handles Content-Encoding decompression such as gzip and zstd and produces the request body stream consumed by the server?


Question: Where does confighttp enforce MaxRequestBodySize for incoming HTTP request bodies and handle the compressed wire-byte limit?


Question: Where are Logs.Clone(), Metrics.Clone(), and Traces.Clone() implemented, and how do they currently use proto.Clone instead of the generated slice CopyTo helpers?


Question: Where are the generated CopyTo methods for resource logs, metrics, spans, instrumentation libraries, attributes, and their nested element types that provide the complete deep-copy path?


Question: Find all pdata ToOtlpProtoBytes and FromOtlpProtoBytes implementations that use global proto.Marshal or proto.Unmarshal instead of the generated protobuf structs' Marshal and Unmarshal receiver methods.


Question: Locate the production Logs protobuf conversion code and internal resource logs state where FromOtlpProtoBytes should consume ExportLogsServiceRequest bytes, return unmarshal errors, and preserve the initialized-state requirement.


Question: Find the DeprecatedNewMetricsResourceSlice declaration in the Metrics implementation and any production references that need to be checked before removing the deprecated helper.


Question: Locate Logs.Clone and the copied resourceSpansClones slice and loop variables that should be renamed resourceLogsClones.


Question: Locate the production Metrics protobuf conversion code and internal resource metrics state where FromOtlpProtoBytes should consume ExportMetricsServiceRequest bytes, return unmarshal errors, and preserve the initialized-state requirement.


Question: Find production callers of configgrpc ToDialOptions or ToServerOption that pass a map[config.ComponentID]component.Extension instead of passing the component.Host directly.


Question: Where is configgrpc GRPCServerSettings.ToServerOption implemented, including its current extension-map input, extension lookup, and nil-extension handling?


Question: Where does the OTLP exporter newGrpcSender build gRPC dial options and extract host.GetExtensions() before calling configgrpc?


Question: Where is configgrpc GRPCClientSettings.ToDialOptions implemented, including its current extension-map input, extension lookup, and nil-extension handling?


Question: Where is MetricsCompatibilityChanges implemented in the OTLP wrappers, including the existing IntGauge-to-Gauge and IntHistogram-to-Histogram compatibility conversions?


Question: Where are IntExemplar instances converted to Exemplar instances during deprecated OTLP metric compatibility normalization?


Question: Where is filterexpr `MatchMetric` implemented, with dispatch limited to `MetricDataTypeGauge`, `MetricDataTypeSum`, and `MetricDataTypeHistogram` and numeric matching through `Gauge.DataPoints()` and `Sum.DataPoints()`?


Question: Where does goldendataset `populateMetrics` construct unified `MetricDataTypeGauge` and `MetricDataTypeSum` metrics and populate `NumberDataPointSlice` with `IntVal` or `DoubleVal` based on `MetricValueType`?


Question: Where does `pictToCfg` map legacy int/double gauge and sum metric constants to unified `MetricDataType` and the corresponding `MetricValueType`?


Question: Where does correctness metric diffing compare exemplars for number data points, checking `MetricValueType` and the appropriate integer or double accessor?


Question: Where are the goldendataset `MetricsCfg` and `DefaultCfg` definitions that configure gauge and sum value types independently and default to `MetricDataTypeGauge` with `MetricValueTypeInt`?


Question: Where does the servicetest config-loading path construct or reuse the collector's full service config provider, including file, environment-variable, yaml, and http providers and the expand converter, instead of a standalone unmarshaler?


Question: Where do the servicetest loading helpers explicitly call Validate only in LoadConfigAndValidate and propagate that validation error, while LoadConfig leaves the loaded config unvalidated?


Question: Where is the componentattribute production implementation of ZapLoggerWithAttributes and WithAttributeSet that wraps a Zap core and injects component attributes into log records?


Question: Where does the componentattribute-wrapped Zap core implement Core.With so Logger.With preserves the wrapper instead of returning the unwrapped core?


Question: Where does persistent queue startup obtain the storage client from the host, and where is initPersistentContiguousStorage invoked or implemented for renaming to initClient?


Question: Where is NewPersistentQueue implemented, and how does it initialize channels and capacity while returning the storage directly as the Queue?


Question: Where is the Queue interface and its persistent-queue implementation wired so the public NewPersistentQueue signature and Queue lifecycle remain unchanged?


Question: Where does batching preserve and merge span links, and which context is used as the base when the merged span links are stored?


Question: Where is exporterhelper's Settings struct and queue-plus-batcher setup defined, and where would an optional MergeCtx func(context.Context, context.Context) context.Context be configured?


Question: Find the Kafka receiver's default unmarshaller map and wiring that register or select the OTLP traces protobuf unmarshaller, including references to otlpProtoUnmarshaller.


Question: Locate the Kafka receiver production implementation of otlpProtoUnmarshaller that decodes OTLP trace payloads with internal/protogen otlptrace.ExportTraceServiceRequest.


Question: Where is the scraperhelper ObsReport struct defined and initialized with the scrapedMetricsPoints and erroredMetricsPoints telemetry fields?


Question: Where does scraperhelper recordMetrics increment the scrapedMetricsPoints and erroredMetricsPoints counters?


Question: Where are RetrySettings.Enabled and retry sender construction used to control whether transient send failures are re-queued or dropped?


Question: Where are queue-full or stopped-queue failures handled with error logging and dropped-item counts?


Question: Where does the exporterhelper queue sender consume requests and decide from the next sender's returned error whether to re-enqueue or drop them?


Question: Where is the exporterhelper retrySender wired to the queueSender through an onTemporaryFailure callback, including handling when retries are exhausted or interrupted by shutdown?


Question: Find findExistingUserEntity used by SCIM POST user creation and how its lookup can optionally include soft-deleted users only for internal reactivation.


Question: Where is the generated TOTP secret Base32-encoded and turned into a provisioning QR code?


Question: Where are MFA TOTP configuration values defined and connected to the production code that provisions authenticator-app secrets?


Question: Where are the existing metadata session-key endpoints and their current-user ownership associations implemented?


Question: Where are tag and resource-tag persistence, counts, and uniqueness or concurrency rules implemented to prevent duplicate personal tags per owner while preserving shared-tag reuse?


Question: Which v4 clear-text tag-addition logic parses a slug and creates or reuses the correct personal or shared tag before linking it to a resource?


Question: Where are fetched resource tags filtered so a user sees shared tags and only their own personal tags, without exposing another user's personal tags?


Question: Locate the DirectorySettingsController response pipeline and every action that returns directory settings JSON, so the password can be masked in view and non-view responses.


Question: Locate the request-data presence checks that distinguish an omitted LDAP password from an explicitly supplied empty password while preserving the stored value.


Question: Locate domain-scoped DirectoryOrgSettings password retrieval and org_domain default-domain handling for LDAP configuration update fallbacks.


Question: Where does SsoSettingsPingOneDataDto map input data and produce toArray() output for PingOne settings, including email_claim, inherited OAuth2 fields, and PingOne defaults, so environment_id is retained?


Question: Where is SsoSettingsPingOneDataForm validation implemented, and where should the required non-empty UUID environment_id field be added for PingOne settings?


Question: Locate the production action for GET /folders/<uuid>.json that loads a visible folder, applies contain options, and serializes the response.


Question: Where does the session-based GPG authentication stage 0 read server_verify_token and pass it to decrypt, and where should it reject missing or non-string values with BadRequestException?


Question: Where does GpgJwtAuthenticator::assertArmoredChallenge use OpenPGPBackendInterface::isValidMessage() to validate an armored PGP challenge?


Question: Where does SsoSettingsActivateService emit AFTER_ACTIVATE_SSO_SETTINGS_EVENT after a successful activation, and how should the ssoSetting entity be included in the event data?


Question: Where does SsoSettingsRedactorPool::getSubscribedRedactors() register email redactors for SSO setting events?


Question: Where is the GET /resource-types.json index endpoint implemented, including the passbolt.v5.enabled feature gate for its query parameters?


Question: Where does the resource-types API preserve its legacy filtering, containment, and response behavior when passbolt.v5.enabled is disabled?


Question: Where is the production MfaRateLimiter service implemented, including the per-user failed-MFA count and limit-exceeded decision?


Question: Where are missing comments, non-owner deletes, and other deletion failures translated into NotFoundException and BadRequestException responses?


Question: Find the middleware logic that invalidates only requests whose existing session contains the Auth key, while allowing the GPG authentication handshake to proceed when identity is set but persistIdentity() has not run.


Question: Locate the production authentication logout response logic that returns the standard 401 JSON error for Accept: application/json or format=json, and a 302 redirect to /auth/login for HTML requests.


Question: Where is the application middleware pipeline ordered so the Host-header fallback check runs before routing and URL or redirect generation?


Question: Where does production code use the selected edition to enforce feature availability or other Pro-only behavior?


Question: Where is malformed POST /resources.json input converted into a 400 Bad Request with field-level validation errors instead of propagating a fatal array-assignment error?


Question: Where is the resource creation service or request-handler boundary that validates the secrets structure before secret normalization and user metadata injection?


Question: Where are SSO state and nonce values generated and stored in secure HttpOnly cookies with a /sso path that respects App.base?


Question: Where are SelfRegistrationBaseSettingsForm and the email_domains provider-specific form invoked to validate the provider and data payload before persistence?


Question: Where are POST and PUT /self-registration/settings.json routed, and where should SelfRegistrationSetSettingsController be defined for saving the settings?


Question: Where does SsoRecoverStartService persist the authentication token before building the SSO recovery URL, and how is the private recover-versus-register token type selected?


Question: Locate the SSO recovery user lookup logic that throws Cake\Datasource\Exception\RecordNotFoundException when the user is missing and App\Error\Exception\ValidationException when the user is deleted.


Question: Find the production implementation of SsoRecoverStartService::generateAndGetRecoverUrl, including the active-user /setup/recover/{userId}/{token} and inactive-user /setup/install/{userId}/{token} URL branches.


Question: Where is `sso_settings_id` validated as a UUID and used to load an existing `pingone` SSO settings entry in `draft` status, with 400 responses for invalid input and 404 otherwise?


Question: Where is the Azure SSO settings form's login_hint option defined and wired as an administrator-controlled toggle?


Question: Where does the Azure SSO settings DTO validate and massage the optional login_hint field as a boolean, including string values such as "true" and "false"?


Question: Where is the group-deletion resource formatter wired into both the sole-owner error response and the dry-run success response, following the version-aware behavior used for user deletion?


Question: Where is the `--retention-in-days` value converted or cast and used to calculate the action-log purge cutoff or query?


Question: Where does the command handle invalid CLI options, print human-readable errors, and return a non-zero failure code for `action_logs_purge`?


Question: Where is the HTTP middleware queue assembled, and where should proxy handling be registered immediately after `CsrfProtectionMiddleware`?


Question: Where does `GpgAuthHeadersMiddleware` build `Access-Control-Expose-Headers`, and how can `withAddedHeader()` preserve values already added by proxy handling?


Question: Where is MFA_USER_ACCOUNT_SETTINGS_DELETE_EVENT declared and referenced by MfaUserSettingsResetEmailRedactor and the production email-notification event wiring?


Question: Where does production code determine whether MFA is enabled by combining organization-level MFA settings with user-level account settings, including the checks needed before and after disabling a user?


Question: Where does CoreNotificationSettingsDefinition::buildSchema() expose the email notification settings and their default values for API or admin consumers?


Question: Find the production logic that selects deleted SecretRevision records per resource and soft-deletes secrets beyond the preserved active-plus-past revision threshold without affecting the active revision.


Question: Locate the GET revision handling that reads secretRevisions.maxRevisions and returns only the active revision when the setting is absent or equals 1.


Question: Where is the TOTP verification POST action that catches CustomValidationException and handles failed MFA validation for JSON and HTML requests?


Question: Where does MfaRateLimiterService::isFailedAttemptsExceeded apply passbolt.security.mfa.maxAttempts to consecutive TOTP failures, including whether the current attempt is counted?


Question: Where is SanitizeUrlComponent::sanitize implemented, including the fallback that turns an empty or whitespace-only URL into '/'?


Question: Where is the non-JSON success path in MfaVerifyController::_handleVerifySuccess that determines the redirect target and prevents redirects to '/mfa/verify' or its subpaths?


Question: Where does SanitizeUrlComponent::sanitizeRedirect sanitize redirect parameters and apply an optional loop-stop prefix, falling back to the current request path when none is provided?


Question: Where does MfaVerifyController::beforeRender sanitize its redirect using '/mfa/verify' to prevent MFA verification redirect loops?


Question: Where is the conditional logic that limits the SCIM authentication restrictions to SCIM paths while preserving session and JWT authentication for non-SCIM requests?


Question: Where does production code reject a SCIM request with a valid session cookie before SCIM authentication, returning HTTP 403 with `Simultaneous SCIM and session authentication is not permitted.`?


Question: Which SSO recovery controller extends AbstractSsoController and configures the error action to allow unauthenticated users while returning 403 for logged-in users?


Question: Where is ScimGetSettingsService::getSettings() implemented, including missing-row handling, base_api_endpoint computation, and ScimSettingsDto construction?


Question: Where does the SCIM controller call ScimGetSettingsService::getSettings() and convert a non-null DTO to an array or a null result to an empty object for the success response?


Question: Where are encrypted metadata session keys persisted with user_id, data, created, and modified fields, and where is the created record serialized in the API response?


Question: Where does the API validate that a request has a JSON content type, a non-empty body, and a string-valued data field rather than null, arrays, or objects?


Question: Where are DatabaseHealthchecks::canConnect(), tableCount(), and defaultContent() implemented, including their handling of MissingConnectionException?


Question: Where does Healthchecks::application() set the application.schema healthcheck result when the database is unavailable?


Question: Where is the database healthcheck's supportedBackend value determined from configuration, including when an unsupported backend cannot be reached?


Question: Where does the healthcheck coordinate the connect, tablesCount, and defaultContent database sub-checks so a failed connection marks every one false?


Question: Where are Azure SSO configuration fields encrypted and persisted alongside the other provider data, including email_claim?


Question: Where is the POST /sso/settings.json handler that validates the Azure provider data object, including the required email_claim attribute?


Question: Where does UsersFindersTrait filter successful login action_logs, and how should it include both AuthLogin.loginPost and JwtLogin.loginPost while retaining status = 1 and the existing finder interface?


Question: Where does BaseIdToken validate OpenID/JWT claims `iss`, `aud`, and `email`, especially the provider client ID used for audience validation?


Question: Locate the production SSO flow that distinguishes prompt=none from other prompts and uses the SsoState created timestamp as the authentication-time baseline.


Question: Locate the Azure resource owner implementation that reads the optional OpenID Connect auth_time claim and exposes it through getAuthTime().


Question: Where does the healthcheck command collect and render PASS, FAIL, WARN, HELP, and INFO results?


Question: Where is the passbolt healthcheck command defined, including its CLI options and handling of --environment, --hide-pass, --hide-help, and --hide-notice?


Question: Where is the ResourcesTags.user_id permission logic implemented so personal tags are limited to their owner while shared tags with a NULL user_id follow resource visibility?


Question: Where is the SSO plugin dependency-injection container that registers the SSL verification healthcheck service?


Question: Where is Application::bootstrap() implemented, and where does it add core and vendor plugins before invoking feature-plugin loading?


Question: Where is FeaturePluginAwareTrait defined, and how does it add feature plugins such as JwtAuthentication, Mobile, SelfRegistration, SmtpSettings, MultiFactorAuthentication, and Log?


Question: Where does the web installer’s install() step recursively change permissions under CONFIG, using 0550 for directories and 0440 for files?


Question: Which production paths check secret existence after deletion cleanup, and how do they handle rows that remain present with a non-null deleted field?


Question: Where is the datacheck command's “Data integrity for Resources” check implemented, including resource iteration and validation result reporting?


Question: Where does the production handler for POST /users/recover.json catch NotFoundException from UserRecoverService::recover() and choose between a generic success response and HTTP 404?


Question: Where is the authenticated GET /settings.json response assembled, including the passbolt.plugins data and its serialization?


Question: Where does the settings response check passbolt.v5.enabled before exposing metadata plugin information?


Question: Where are existing TransformModule-based normalizing-flow classes organized so a new PlanarFlow can use learnable u and a scalar-producing lin layer?


Question: Where do InverseAutoregressiveFlow._inverse and log_abs_det_jacobian consume cached log_scale rather than recomputing it from arn?


Question: Where are SplineCoupling and the underlying conditional rational-spline transform implemented, including count_bins, bound, order, and optional lambdas for linear-rational splines?


Question: Where is the existing AffineAutoregressive transform and affine_autoregressive helper implemented, including AutoRegressiveNN setup and one-dimension-at-a-time inversion?


Question: Where are Pyro's tensor-tree contraction primitives implemented, specifically `_contract_component` and the logic that reduces terms by their shared ordinal?


Question: Where are TraceKernel-based MCMC kernels and the runner lifecycle implemented, including initial_trace(), sample(trace), cleanup(), and diagnostics(time_step) for a new HMC kernel?


Question: Locate the `sequential_gaussian_filter_sample` transition and filtering wiring so long sequences with near-singular Gaussian transitions use safe Cholesky factors and preserve finite gradients.


Question: Audit production Gaussian and HMM code for direct `torch.linalg.cholesky` or legacy `cholesky` calls and identify every site that must be routed through `safe_cholesky`.


Question: Where does ConditionMessenger assert against overriding observed values, and how does messenger stack overwrite behavior handle the same site being conditioned and intervened?


Question: Where is the guide's Delta distribution created for a latent site, including the current eager transform_to(support) of its value?


Question: Where is Delta.log_prob implemented, particularly its broadcasting and expansion of self.v for comparison with the input value?


Question: Where is the inference wiring for the relaxed model and Haar wavelet reparameterizer implemented, including compatibility with batched posterior particles?


Question: Where do `_relaxed_model` and `_sequential_model` reshape dimensions, and how should the particle dimension be interleaved with time and region dimensions under the internal `particle_plate`?


Question: Where do `sir.py` and `regional.py` define inference dispatch and command-line options for `--svi`, the SVI hyperparameters, and the renamed `--smc-particles` argument?


Question: Where is the CompartmentalModel double-precision requirement enforced, so it can apply only when `num_quant_bins > 1` for quantized MCMC inference?


Question: Where does Search._dist consume samples from categorical object-valued distributions, and what sample shape does trace sampling expect?


Question: Find the Predictive implementation that should provide a torch.nn.Module-compatible forward method and a JIT-friendly call method returning sorted values as a tuple while retaining get_samples.


Question: Locate the _predictive return_sites logic that distinguishes explicit site filters from returning all latent sites observed in a guide trace without using a string sentinel.


Question: Find the spanning-tree MCMC refinement logic and how it consumes an approximate tree generated from edge_logits.


Question: Where is the SpanningTree distribution's sample method implemented, and how does it pass edge_logits and optional init_edges into tree sampling?


Question: Find the GaussianHMM rsample path that permutes or conditions an AffineNormal and performs the large precision-matrix Cholesky factorization.


Question: Find the GaussianHMM hidden-state reparameterized sampling and subsequent observation-sampling wiring, including hidden_dim and obs_dim shape handling.


Question: Where is the existing MultivariateNormal distribution implementation that AVFMultivariateNormal should extend?


Question: Where are distribution parameters broadcast or normalized for scalar and batched inputs, so shape methods return torch.Size([]) for scalar batches and agree with sample and batch_log_pdf?


Question: Where do distribution methods forward optional parameters such as ps and one_hot for Categorical or mu and sigma for DiagNormal, so shape queries accept the same arguments as sampling and log-density methods?


Question: Where is the base Distribution API implemented, including batch_size, sample, and batch_log_pdf, so dynamic batch_shape, event_shape, and shape methods can be defined with documented shape guarantees?


Question: Where does the base Distribution API derive per-sample log_pdf from batch_log_pdf, and what sample and support method conventions do wrapped distributions follow?


Question: Where is the Delta distribution and public delta primitive defined, including RandomPrimitive(Delta) construction and conversion of a tensor v to a Variable?


Question: Where is the AIR example’s baseline state initialized and consumed by the model or guide, including the `None` case?


Question: Where can a tracking model using MarginalAssignment for object existence and data association be wired into pure EM, EM-inside-SVI, and mixed Adam/Newton SVI inference?


Question: Where are SVI's parameter collection and parameter-store update hooks defined for feeding differentiable Newton results back into an outer SVI while excluding blocked parameters?


Question: Where are Trace.log_pdf, batch_log_pdf, compute_batch_log_pdf, and compute_score_parts implemented over the trace node and graph state?


Question: Where does Trace.copy construct and populate copied nodes and graph state, and what references could keep the original trace alive?


Question: Where are the Trace graph APIs implemented, including nodes, edges, graph, in_degree, successors, add_node, iteration, __contains__, and __len__?


Question: Where is the production implementation of Pyro's Trace class, including its OrderedDict state and networkx.DiGraph backing?


Question: Where is Bernoulli.batch_log_pdf implemented, including its log_pdf_mask branch and the normal per-element sum/view path that must preserve batch_shape + (1,)?


Question: Where is DiagNormal.batch_log_pdf implemented, and how does it reduce masked per-element log values before the final batch_shape + (1,) reshape?


Question: Where is Categorical.batch_log_pdf implemented, including the per-sample log-probability calculation and the place to accept and broadcast a log_pdf_mask over the batch shape?


Question: Where is the legacy pyro.distributions.log_normal implementation and its analytic_mean() and analytic_var() methods, including the imports or exports that must move to the torch-backed replacement?


Question: Where is the Trace class implemented, and do add_sample, add_observe, add_map_data, add_param, add_args, and add_return return self for fluent trace construction?


Question: Where does QueuePoutine and poutine.queue create and accumulate traces for single runs, discrete-path enumeration, and queue exhaustion?


Question: Where are Pyro distribution classes inheriting TorchDistribution implemented with arg_constraints, support, and a log_prob method but no sampling implementation?


Question: Where does Pyro provide or implement a numerically stable approximation to log I0, the logarithm of the modified Bessel function of order zero, for small and large concentrations?


Question: Where does the LDA example parse `--num-words-per-doc` and implement its model and guide histogram, including JIT-safe alternatives to the `data.shape` assertion and `scatter_add_` during tracing?


Question: Where is `scale_and_mask`'s boolean-mask mutation implemented, including the traced `tensor[~mask] = 0` workaround, `masked_fill_`, and the extra `contiguous()` call?


Question: Where does `JitTraceEnum_ELBO` add per-term ELBO values inside its JIT-compiled loss, and which in-place tensor accumulation must become out-of-place addition?


Question: Where does `_Marginal.diagnostics` call `effective_sample_size`, and how are `NotImplementedError` cases converted to `NaN` while retaining other diagnostics?


Question: Find the Pyro documentation and API listings for torus distributions where `SineSkewed` can be described as non-reparameterized, slow for SVI latent inference, and suitable for likelihoods and HMC/NUTS.


Question: Find distribution parameter validation and shape-handling code for constraints such as `abs(skewness).sum(-1) <= 1`, including `batch_shape`, event dimensions, and `expand` implementations.


Question: Where does the Metropolis-Hastings sampler compute the guide-aware log acceptance ratio from old and new model and guide traces?


Question: Where is Pyro's existing Cauchy distribution implemented, including its stateful `mu=None` behavior and distribution-method conventions?


Question: Where do existing Pyro distributions raise `ValueError` from `analytic_mean` and `analytic_var` when those moments are undefined?


Question: Where do HMC-based kernels such as NUTS wire `jit_compile=True` into construction of the potential energy function?


Question: Where does the OED A/B test example set up its objective and invoke Bayesian optimization, including the small VI-step and BO-step configuration?


Question: Where do Pyro distribution classes validate positive concentration and rate parameters, validate `log_prob` inputs, and handle arbitrary batch shapes for discrete distributions?


Question: Where is the existing `BetaBinomial` compound distribution implemented in `pyro.distributions.conjugate`, including its marginal `log_prob`, moments, support, sampling, and `expand` behavior to mirror for `GammaPoisson`?


Question: Where are the `Gamma` and `Poisson` distribution implementations and their constraints, sampling, support, and batch-shape semantics that a Gamma–Poisson compound distribution should reuse?


Question: Where is the production implementation of TraceEnum_ELBO, especially the loss() and loss_and_grads() paths that iterate over model and guide traces?


Question: Where do other ELBO implementations or shared inference helpers provide differentiable_loss(), handle an identically zero ELBO, or raise a ValueError when the result is not differentiable?


Question: Where is the masking behavior that makes `DiscreteHMM` compatible with `MaskedDistribution` for unequal-length sequences in a batch?


Question: Where does Coregionalize handle the diag=True output, and where should the diagonal component contribute to that diagonal covariance calculation?


Question: Where is the Coregionalize kernel implemented, including constructor handling for input_dim, components, and rank?


Question: Find the SimpleSIRModel transition_fwd and transition_bwd infection updates that manually compute prob_s and sample dist.Binomial, so they can use infection_dist with the epidemiological rate and population parameters.


Question: Where is `Predictive.get_samples()` implemented, including the code that assembles returned site tensors and determines their shapes?


Question: Where is the production implementation of ProjectedNormal.log_prob and its dimension-specific helpers _log_prob_2, _log_prob_3, and _log_prob_4?


Question: Where does `iarange` distinguish a user-provided `subsample` from random sampling, including the `sample(..., obs=subsample)` path, and preserve the supplied indices?


Question: Where does `irange` convert the batch returned by `iarange` into individual yielded indices, and why does that code assume a `.data` attribute instead of supporting a Python list?


Question: Where does the iarange plate messenger apply scaling and attach `map_data_stack` to sampled nodes for every subsample size?


Question: Where is `irange` defined as a delegate or wrapper around `iarange`, so that full-size subsampling behavior is inherited?


Question: Where is Pyro example code for a sparse three-layer Gamma deep exponential family with Poisson observations, a mean-field Gamma guide, SVI, and Trace_ELBO?


Question: Where are HMC step-size adaptation, diagonal or dense mass-matrix adaptation, and warmup initial-state validation connected to the kernel's potential and gradient?


Question: Where does NUTS build and merge its trajectory tree using the kernel's potential energy and gradients, so a user-provided potential_fn follows the normal sampler path?


Question: Where does MCMC initialize a kernel's initial_params and prototype model trace, and how should a model=None kernel use manually assigned unconstrained initial_params through warmup and sampling?


Question: Where are the HMC and NUTS kernel constructors and shared initialization logic that accept an optional potential_fn, make model optional, and give potential_fn precedence over model while preserving positional model usage?


Question: Where do transforms and max_plate_nesting enter model-based potential construction, and how are they bypassed or ignored when potential_fn is supplied without a model?


Question: Where is ELBO.make() defined and where does SVI or other production code use it to turn a string loss into an ELBO?


Question: Which production call sites or docstring examples still use SVI(..., loss="ELBO") or old options such as trace_graph and enum_discrete, and need explicit ELBO instances?


Question: Where does the HMM code broadcast observed sequences across batch and time dimensions and combine initial, transition, and observation factors for filtering across the time axis?


Question: Where do DiscreteHMM and GaussianHMM implement expand(), and how is validate_args propagated to the expanded distribution’s internal _validate_args setting?


Question: Where is DiscreteHMM implemented, including its forward filtering logic, so filter(value) can return Categorical logits for the posterior over the final hidden state with the HMM batch shape?


Question: Where is GaussianHMM implemented, including Gaussian tensor-contraction or filtering logic, so filter(value) can return a MultivariateNormal posterior over the final hidden state?


Question: Locate the production implementations of `Binomial` and `BetaBinomial`, including their support declarations, validation, and `log_prob` methods.


Question: Find Pyro’s custom distribution constraints module and public constraints namespace to add and expose an `integer` constraint that checks `value % 1 == 0`.


Question: Where is the production implementation of TraceGraph_ELBO and its ELBO surrogate loss construction?


Question: Where are provenance tracking utilities such as pyro.ops.provenance.track_provenance implemented, including attaching provenance sets to tensor values and log_prob terms?


Question: Where does TraceGraph_ELBO trace non-reparameterizable sample sites and annotate their values with site names using pyro.ops.provenance.track_provenance?


Question: Locate the production implementation that advances key phases and discards previous keys after a confirmed transition from phase N to phase N+1.


Question: Where does the flow controller update blocked status and expose send-window size as received offsets and flow-control state change?


Question: Where does UpdateHighestReceived handle a non-final offset equal to the current highest received, including the early no-op path that avoids window or blocked-state changes?


Question: Where is the connection-level EnsureMinimumWindowSize implementation that conditionally grows the window and resets the auto-tuning epoch only when the requested increment exceeds the current window size?


Question: Where are requested versus actual UDP receive buffer sizes logged while allowing QUIC setup to continue if the recommended size cannot be reached?


Question: Find the client connection and request/response wiring that identifies the QUIC connection carrying an HTTP/3 response and permits opening additional bidirectional or unidirectional streams on that session.


Question: Find the HTTP/3 response-body implementation's Read and Close lifecycle so a connection-backed stream creator can remain usable independently of body reads and closure while preserving io.ReadCloser behavior.


Question: Locate the separate HTTP/3 request-body and response-body construction paths to ensure only response bodies implement Hijacker and request bodies remain ordinary io.ReadClosers.


Question: Find the production code that retransmits a lost RESET_STREAM after CancelWrite and tracks its acknowledgment through send-stream completion.


Question: Where does sendStreamAckHandler.OnLost account for lost stream frames, and where is the analogous RESET_STREAM loss accounting implemented?


Question: Where is a local 1-RTT key update initiated, including the key-update interval path, and where should a nil-safe qlog key_updated event use trigger "local_update", both 1-RTT secret key types, and the current protocol.KeyPhase generation?


Question: Where is the qlog tracer’s key_updated event implementation, including UpdatedKeyFromTLS and its trigger, key_type, and generation fields, so QUIC-layer updates can be recorded without changing UpdatedKeyFromTLS?


Question: Where does QUIC apply a 1-RTT key-phase rotation to packet-protection state for both directions, and how are remote versus local initiations wired to qlog while preserving their distinct triggers?


Question: Where is QUIC payload size estimated during connection startup, and which initial packet size does that calculation use?


Question: Where is the public QUIC Config defined, and where should a zero initial packet size default to protocol.InitialPacketSize while values are clamped to 1200 and protocol.MaxPacketBufferSize?


Question: Where is the first UDP packet for a new client or server connection assembled and sent, and which maximum packet size controls that packet?


Question: Where does the QUIC send stream implement CancelWrite(errorCode) and immediately invoke onStreamCompleted exactly once?


Question: Where are acknowledgements and loss notifications for sent STREAM frames handled, including updates to numOutstandingFrames?


Question: Where does the send stream decide whether a lost STREAM frame may be queued for retransmission or new data may be produced after cancellation?


Question: Where should skipped packet numbers be stored and exposed through a stable history API separate from `Packets()`, including garbage collection of numbers that precede the first remaining real packet?


Question: Where is `sentPacketHistory` implemented, including how real packets are inserted, how `Packets()` and `Len()` expose and count them, and how sequential numbers, the first packet number, and `cleanupStart` are maintained?


Question: Where do `DropPackets`, `ResetForRetry`, and `MigratedPath` traverse or reset sent packet history while excluding skipped placeholder entries?


Question: Where does `detectLostPackets` walk sent history and currently filter `skippedPacket` entries before declaring packets lost?


Question: Where does `packet.outstanding()` decide whether a packet contributes to outstanding sent data, and how does it currently special-case `skippedPacket`?


Question: Where are the null, multiplexing, qlog, and other bundled implementations of logging.Tracer defined so they can implement or forward the Version Negotiation tracing callback?


Question: Where is the logging.Tracer interface defined, including SentPacket, and where should a dedicated Version Negotiation packet callback be added?


Question: Where is the encoder's after-value state maintained and updated after JSON values so null follows the same state transitions as Bool, Int, Float, and String?


Question: Where is the http3.Server type defined, including its QuicConfig field, and how is the server initialized for serving connections?


Question: Where does the HTTP/3 server create the control stream and write its initial SETTINGS frame?


Question: Locate the HTTP/3 header-size accounting that counts field-name length, field-value length, and 32 bytes of overhead per field, and determine how it can be applied to uncompressed trailers.


Question: Where does the QUIC server track its anti-amplification limit and transition to an unblocked state after receiving enough client bytes?


Question: Where is the loss detection timer or alarm suppressed while a server is amplification-limited?


Question: Where does production code account for bytes received by the server and determine that the QUIC amplification limit has been lifted?


Question: Where is the QUIC version string representation implemented so 0x709a50c4 returns "v2"?


Question: Where is the production list or registry of supported QUIC versions maintained so version 2 can be included?


Question: Locate the QUIC session-ticket validation code that determines whether a resumed connection is eligible for 0-RTT using the server’s current transport parameters.


Question: Locate the server transport-parameter wiring that maps MaxIncomingStreams and MaxIncomingUniStreams to initial_max_streams_bidi and initial_max_streams_uni for 0-RTT resumption.


Question: Where does the RoundTripper wait for an in-progress QUIC handshake and propagate its failure, and where should that failed host cache entry be evicted?


Question: Which production code performs the initial QUIC dial for a RoundTripper host and handles an immediate dial error before returning it to the request?


Question: Where does the send path distinguish a single-packet datagram from a coalesced datagram so restricting ACKs in later sub-packets does not change standalone ACK behavior?


Question: Where are request method and body validation performed in RoundTripOpt after URL scheme handling?


Question: Where does RoundTripper.RoundTrip delegate to RoundTripOpt so the default path continues to reject non-https requests?


Question: Where are OnlyCachedConn and connection caching enforced in RoundTripOpt, and how does request validation interact with that logic?


Question: Where is the connection flow controller wired to the `Session` and `quic.Config` so `AllowConnectionWindowIncrease(session, delta)` can veto each increase while a nil callback still allows it?


Question: Where does the connection-level receive flow controller calculate and apply automatic window increases based on received data and flow-control limits?


Question: Where is receive-stream completion gated on both a consumed terminal read error and a known FIN or RESET_STREAM final offset before invoking flowController.AddBytesRead, flowController.Abandon, and sender.onStreamCompleted?


Question: Where are t.conn, handlerMap, and the listening channel initialized during Transport setup, and how does that setup interact with an early Close?


Question: Which Transport cleanup code accesses handlerMap, the listening channel, and t.conn, and needs to tolerate nil fields?


Question: Where is http09.Server defined, and how does ServeListener use its embedded *http.Server instead of relying only on its own HTTP/0.9 response handling?


Question: Where is runHTTP09Server implemented, and how does it accept the TLS config when creating the QUIC listener compared with runHTTP3Server?


Question: Where does the interop server choose between HTTP/0.9 and HTTP/3 and construct the TLS config passed to runHTTP09Server or runHTTP3Server?


Question: Where does connectionFlowController.AddBytesRead hold the shared mutex, evaluate window-update eligibility, and queue the update after unlocking?


Question: Where does baseFlowController update bytesRead and receive-window auto-tuning without taking ownership of the caller's mutex?


Question: Where does streamFlowController.AddBytesRead handle receivedFinalOffset and queue a window update after evaluating the condition under the shared mutex?


Question: Where is the shared sync.Mutex in baseFlowController defined and wired for use by the stream and connection flow controllers?


Question: Locate the qlog event-array serialization code that determines exported event order and should compare each event's Time using UnixNano rather than time.Before.


Question: Where is the production definition of `connIDManager` and its queue of unused peer connection IDs, including the state and methods that expose or consume the next ID?


Question: Which production code validates new peer connection IDs and retires older or unused IDs while preserving the manager's ordering and maximum-active-ID invariants?


Question: Where does the packet handler map handle a packet when wire.ParseConnectionID returns an error, including the existing debug log and early return?


Question: Where does the HTTP/3 server parse incoming request header fields and distinguish pseudo-headers from regular headers?


Question: Where does RoundTripper store transport-level state and implement Close so a shared default UDP socket is closed along with active QUIC connections?


Question: Where are errors from creating RoundTripper's shared UDP socket handled to avoid leaking resources on the first request?


Question: Where is the HTTP/3 response writer's WriteHeader implementation, including validation and panic behavior for status codes below 100 or above 999?


Question: Where does the client marshal QUIC transport parameters into the TLS ClientHello, and where could a testing-only hook append arbitrary parameters?


Question: Find the ackhandler implementation of detectAndRemoveAckedPackets that handles an ACK for a path probe already removed by loss detection, including the "path probe doesn't exist" condition, without panicking.


Question: Find the ackhandler loss-detection logic in detectLostPathProbes that removes lost probes from probe-specific history and avoids also calling regular packet history Remove.


Question: Locate the code that distinguishes synthetic PING frames added by the packet packer from ordinary PING frames when deciding what to retransmit after packet loss.


Question: Where is the client crypto setup built from tls.Config, including the version-specific choice between tls.Config.Clone and directly using the supplied config and whether MinVersion is forced to TLS 1.3?


Question: Where is a GetConfigForClient-returned tls.Config handled so nested GetCertificate or GetConfigForClient callbacks receive the QUIC addresses without modifying the returned configuration?


Question: Find the go1.27 server-handshake implementation that sets tls.QUICConfig.ClientHelloInfoConn, uses the caller's tls.Config without cloning, and leaves the original configuration unchanged.


Question: Where does Long Header parsing read the Length field and advance to the packet number or payload, and does it assume the same fixed two-byte layout?


Question: Where is the QUIC Long Header Length field written on the wire, and where does that path currently use VarInt instead of an unconditional two-byte encoding?


Question: Where are existing fixed two-byte integer encodings used for packet fields, including their behavior when a value exceeds 16 bits near protocol.MaxPacketSizeIPv4?


Question: Locate the HTTP/3 request and response body implementations and the newRequestBody and newResponseBody constructors, including Read paths that enforce a finite content length or no limit with -1.


Question: Where is the proxy packet queue's Add method that appends packets, orders them by Time, and manages the timer?


Question: Where are the legacy transport:connection_state_updated closed event and eventStatelessResetReceived event defined and emitted?


Question: Where are cryptoStreamHandler and cryptoDataHandler declared and wired into newCryptoStreamManager, including production call sites that depend on the old cryptoDataHandler interface?


Question: Where is connection handleCryptoFrame implemented, including calling the manager’s HandleCryptoFrame, draining newly assembled data, and invoking cryptoStreamHandler.HandleMessage for each chunk?


Question: Where does responseWriter construct and write HTTP/3 HEADERS and DATA frames?


Question: Where are the HTTP/3 responseWriter and embedded headerWriter defined, including their stream, header, status, and logger state?


Question: Where is the HTTP/3 stream wrapper's Write method that adds DATA framing, and where can raw bytes be written to the underlying QUIC stream instead?


Question: Where does server request handling create the stream wrapper and pass the same instance to both the request body and responseWriter?


Question: Where are http3.Server.Serve and ServeListener implemented, including the shared internal path that creates and registers the QUIC listener?


Question: Where is the embedded *http.Server connected to http3.Server shutdown and listener resource cleanup?


Question: Locate the pacer's `maxBurstSize` and `TimeUntilSend` implementations to review related uint64 pacing-arithmetic overflow behavior.


Question: Locate the production pacer `Budget(now time.Time) protocol.ByteCount` implementation that computes token-bucket bytes from `budgetAtLastSent`, `adjustedBandwidth`, and elapsed time.


Question: Where is the *tls.Config returned by GetConfigForClient cloned and then forced to MinVersion = tls.VersionTLS13 without mutating the user's config?


Question: Where do packet classification and tracing call sites pass long-header `protocol.PacketType` values for Initial, Handshake, Retry, and 0-RTT packets into logging?


Question: Where does client-side HTTP/3 stream state distinguish initial response headers from trailers and reject multiple trailing HEADERS frames?


Question: Where does the HTTP/3 client process response HEADERS frames and populate net/http.Response, including the http.Response.Trailer field?


Question: Where are HEADERS frames received on HTTP/3 request streams handled by the server, preserving the behavior of ignoring client-sent trailers?


Question: Locate the production qlog tracer API and event construction needed to accept a wire.Header for Retry packets without frames or coalescing metadata.


Question: Locate the session’s incoming Retry packet processing, including the integrity check, qlog notification, and destination connection ID switch.


Question: Locate the production code that maps received QUIC packet types to qlog packet_type values, including the "retry" value.


Question: Locate the shared QUIC long-header type constants or mapping helpers used by parsing and writing, while leaving version-independent short-header handling unchanged.


Question: Where is Is0RTTPacket implemented, and how does it determine the 0-RTT bit pattern from the packet version?


Question: Where do AddActiveStream and HasData manage whether the framer’s active-stream queue contains data?


Question: Where does Handle0RTTRejection empty the framer’s active-stream queue?


Question: Where does AppendStreamFrames pop active stream IDs in FIFO order, generate STREAM frames, and re-push IDs for streams that still have data?


Question: Where is the framer’s streamQueue declared and wired to track active protocol.StreamID values without duplicates?


Question: Where does Transport infer tls.Config.ServerName when dialing with an unset ServerName?


Question: Where are QUIC idle-timeout errors and completed-handshake or reuse state detected so the RoundTripper can retry only reused clients with a freshly dialed connection?


Question: Where does the HTTP/3 RoundTripper cache and reuse per-host QUIC clients, including cached-client lookup, insertion, and eviction?


Question: Where is metadata accumulated while walking parent POMs, and how can the accumulator start from a non-optional empty DependencyMetadata?


Question: Which production callers of getMetadata unwrap or inspect Option.isDefined, and should instead inspect fields such as repoUrl.isDefined?


Question: Where does getMetadata handle unavailable resolvers or dependencies with minimal or missing POM metadata, so those cases can return empty DependencyMetadata?


Question: Where is the repository branch wired through fetching, cloning, and working-copy setup so a per-repository branch overrides the configured default?


Question: Where is createForkOrGetRepoWithDefaultBranch implemented, and how does it choose the branch for fork or repository metadata?


Question: Locate the production wiring that loads parsed repos.md entries and passes the optional `Branch` into Scala Steward repository update processing.


Question: Where does the existing update-PR flow rebuild an out-of-date branch by merging the base with --strategy-option=theirs, reverting prior update commits, reapplying edits, and force-pushing?


Question: Where is the Git abstraction and file-backed implementation for mergeTheirs and revertChanges, and where should resetHard execute git reset --hard <ref>?


Question: Where is hasConflicts implemented, including the trial merge and abort cleanup that must remain safe when the merge fails unexpectedly?


Question: Where is the ForgeType trait and its concrete forge definitions, including the configuration or behavior used to compute a pull-request head from a branch and fork owner?


Question: Where is the current utility or conditional match over ForgeType that computes the head or source_branch used when listing and creating pull requests?


Question: Where is the parser for Mill 1 //| mill-version: comments implemented, including trimming whitespace and removing optional single or double quotes around the version?


Question: Where is the bundled scala-steward-mill-plugin dependency coordinate declared so the Mill 1 plugin variant is available to Scala Steward?


Question: Where does Scala Steward discover the Mill version, preferring a //| mill-version: declaration in build.mill or build.mill.scala before falling back to .mill-version and .config/mill-version?


Question: Where does the Mill integration select the scala-steward-mill-plugin artifact coordinate or classifier from the detected Mill version, switching from _mill0.11_2.13 to the _mill1_3 variant for Mill 1?


Question: Where is Scala Steward's production logic for replacing a current dependency version with a new version in build-file text?


Question: Where is the grouped pull request description assembled, including the top “Updates” list, “⚙ Adjust future updates” section, and embedded metadata?


Question: Where is the “⚙ Adjust future updates” section rendered, including `updates.ignore` and `dependencyOverrides` suggestions, and how can it exclude ignored dependencies?


Question: Where is GitHubStepSummaryAlg wired into the run-finalization workflow or effect that produces the final summary?


Question: Find the Bitbucket Server repository metadata parsing that extracts the API-provided default branch.


Question: Where is provider-neutral repository and branch lookup implemented so GitHub, Bitbucket, and other VCS providers use the configured effective default branch while defaultBranch=None preserves the provider branch?


Question: Where does RepoCacheAlg.checkCache read config.defaultBranch and pass it into createForkOrGetRepoWithDefaultBranch for both forked and non-forked repository access?


Question: Where is the production implementation of the pull_requests key-value store, including the get and set operations that read and write repository pull-request JSON?


Question: Where are the UpdateInfoUrl variants GitHubReleaseNotes, CustomReleaseNotes, CustomChangelog, and VersionDiff defined and used?


Question: Find the process.slurp waiting logic that should fail with a TimeoutException when the spawned command exceeds its timeout.


Question: Where does dependency version replacement build matchers from groupId, artifactId, and the current version, and how can those matches span newline boundaries?


Question: Where is the artifact-search heuristic that filters generic terms such as "scala", and where should "sbt" be treated as another common word?


Question: Where does the remote agent emit file contents as data chunks, including the chunk-size limit of 65536 bytes and the protocol fields used by remote file reads?


Question: Where does the editor detect a trailing newline and account for the implicit phantom empty line when calculating visible or scrollable buffer lines?


Question: Where are Enter/newline insertion and cursor movement wired to viewport scrolling so a newly created bottom line becomes visible immediately?


Question: Where do overlay add and remove operations enter the event log so diagnostic decoration changes participate in undo and redo?


Question: Where does render_content assemble base text, syntax highlighting, overlays, and selection, ensuring higher-priority overlays override lower-priority ones while selection remains on top?


Question: What shared popup representation or helper connects wrapped rendering, mouse selection, highlighting, and selected-text extraction while preserving behavior when no wrapping occurs?


Question: Where is the popup inner width calculated, including scrollbar presence, and passed to wrapping so rendering and mouse selection use identical dimensions?


Question: Where is popup Ctrl+C key handling connected to the selection clipboard path, especially for selections spanning multiple visual rows?


Question: Where does active split-pane rendering draw the character under the cursor, and how can a pending LSP request display ⋯ graphically without modifying the buffer?


Question: Where is the central action-processing path that exempts LspCompletion, LspGotoDefinition, and None while canceling both pending LSP requests for every other user action?


Question: Where is editor redraw or invalidation triggered when an LSP request starts, completes, or is canceled so the cursor animation appears and disappears promptly?


Question: Where are asynchronous LSP completion and go-to-definition requests tracked, including their pending request IDs and cancellation or reset state?


Question: Where are the status-area messages such as “LSP: completion...” and “LSP: goto-definition...” set, cleared on completion, and cleared immediately on cancellation?


Question: Where are Show Container Info, Show Container Logs, Show Container Build Logs, and Show Forwarded Ports wired to create or update their panels?


Question: Where is lifecycle output rendered after a command completes, including the command-name header, executed command, stdout, stderr, and `(no output)` for both success and failure?


Question: Where is ViewLineIterator's tab-expansion logic that records char_visual_cols for each generated space, including the col_before_tab + i visual-column calculation?


Question: Where is the find/replace prompt state and layout logic that shows the search options bar for both prompts and removes it after Esc dismissal?


Question: Where are file-explorer directory collapse and deletion mutations handled, and where should scroll_offset be clamped when the tree shrinks?


Question: Where is mouse click handling for the settings modal implemented, including hit-testing and selection of a visible search result?


Question: Where is Enter/newline insertion implemented, and how can it use the buffer’s detected line-ending format while keeping internal content normalized to LF?


Question: Where is a line-ending-format change connected to buffer modified-state tracking so selecting a different format marks the buffer modified?


Question: Where does the diff_nav plugin implement next-diff and previous-diff navigation, and how does it combine git_gutter_hunks with unsaved buffer diff ranges and live_diff_hunks?


Question: Where is the Session struct defined and where are new sessions initialized, so a file_mod_times_stash: HashMap<PathBuf, SystemTime> can start empty?


Question: Find the keybinding editor state and production code defining pending_adds and pending_removes, including whether removals store Keybinding values or list indices.


Question: Locate the Keybinding and ResolvedBinding representations and field comparisons used to identify bindings independently of list indices.


Question: Where is the `fuzzy_match` implementation that scores consecutive letters, word boundaries, start-of-string matches, and substring matches while deciding whether a filename matches?


Question: Where is the comparator or result-ranking logic that applies fuzzy scores to Open File entries while preserving non-matching-file filtering?


Question: Find the production workspace serialization logic that uses BufferMetadata::is_virtual() to omit virtual-buffer leaves while retaining real-buffer children.


Question: Find the reusable scrollbar widget implementation that handles left-clicks, thumb dragging, track jumps, and content-that-fits clamping.


Question: Where are tab or buffer activation changes wired to the displayed buffer and cursor so the editing area shows the newly selected buffer?


Question: Where are the Alt+Left and Alt+Right key handlers for position history navigation implemented, including selection of the target buffer?


Question: Where is `RecoveryStorage::with_dir()` defined and gated so it can be made available to external integration tests?


Question: Where is `RecoveryStorage::reconstruct_from_chunks` implemented, including applying byte-range chunks to the original file and validating `original_file_size` mismatches?


Question: Where does `save_chunked_recovery` persist chunked recovery metadata, including the original file size used during reconstruction?


Question: Where does the keybinding resolver match normalized Backspace input against existing bindings across contexts such as Normal, Prompt, and FileExplorer?


Question: Where is handle_completion_input implemented, including the modifier guard that handles Backspace and removes the last completion filter character?


Question: Where is handle_completion_input_with_popup implemented, and where does it check Backspace modifiers before updating the completion filter?


Question: Locate the nvmf path that rejects an SGL length mismatch and completes the request with an NVMe error status.


Question: Where are NVMe command control fields, including PRACT, interpreted before SGL length validation?


Question: Where is the fd-group state defined that tracks parent or root relationships, epoll instances, and num_fds for nested groups?


Question: Where are helpers for traversing nested fd-group children and rolling back partial epoll descriptor migrations shared by spdk_fd_group_nest() and spdk_fd_group_unnest()?


Question: Where are spdk_fd_group_add() and spdk_fd_group_add_ext() implemented so descriptors added through nested groups use the root epoll and update the root num_fds?


Question: Where is spdk_fd_group_remove() implemented to remove a descriptor from the root epoll and decrement the root group's fd count?


Question: Where is spdk_fd_group_event_modify() implemented to update the event mask for a nested group's descriptor on the root epoll?


Question: Where do relocation assertions, reloc->num_active accounting, and defrag checks depend on breloc->active, so they can be converted to state checks without changing defragmentation behavior?


Question: Where is the ftl_band_reloc structure initialized, including its queue links, active and high_prio flags, and the explicit state representing inactive, pending, active, and high-priority membership?


Question: Where are the existing get_subsystems RPC and subsystem registry lookup implemented so single-subsystem configuration retrieval can reuse them without changing enumeration behavior?


Question: Where does subsystem configuration serialization invoke write_config_json for the current configuration while leaving legacy FILE * configuration output and subsystem lifecycle behavior unchanged?


Question: Locate pause and resume paths plus thread exit or destruction cleanup that move or remove timed pollers from the per-thread collection.


Question: Locate spdk_thread_get_first_timed_poller, spdk_thread_get_next_timed_poller, and thread_has_unpaused_pollers to update timed-poller minimum, successor, and emptiness checks for the tree.


Question: Locate the per-thread timed-poller container and struct spdk_poller linkage, including how next_run_tick ordering and the first_timed_poller cache are represented.


Question: Find spdk_thread_set_interrupt_mode and its traversal of timed pollers when changing poller interrupt behavior.


Question: Find the spdk_opal_dev_construct path that frees its user buffer after nvme_wait_for_adminq_completion reports a command failure, along with the completion wiring that must not access the buffer afterward.


Question: Where are initiator-group creation and target-mapping interfaces wired so the internal membership representation can change without changing their external behavior?


Question: Where are iSCSI initiator groups represented, created, and destroyed, including storage and cleanup for initiator names and netmasks?


Question: Where is the RAID1 module struct defined and where are its process-request callbacks, including submit_process_request, registered?


Question: Where does RAID1 select a healthy operational base bdev and read the requested blocks for a rebuild process request?


Question: Where is asynchronous retry implemented for a RAID process-request write that fails with -ENOMEM?


Question: Where is the production NVMe request builder that iterates req->payload.u.sgl.next_sge_fn and fills a tracker's hardware SGL descriptor array?


Question: Where are spdk_nvme_probe_async() and spdk_nvme_probe_poll_async() implemented, including probe-context lifecycle, asynchronous controller initialization, and final error handling?


Question: Where is the synchronous spdk_nvme_probe() implementation that calls spdk_nvme_probe_async(), polls with spdk_nvme_probe_poll_async() until -EAGAIN clears, and propagates controller attach failures?


Question: Where is nvme_init_controllers() implemented, and how does it run the asynchronous polling loop on a supplied probe context?


Question: Where is the FTL relocation logic that maintains the free and write queues of pending relocation entries, scans valid LBKs, and advances relocation iterations?


Question: Where do ftl_io_init_internal and _ftl_io_free manage allocation and cleanup of the LBA vector when FTL_IO_VECTOR_LBA is enabled?


Question: Where does the relocation module create read and write ftl_io objects from queued requests, populate their buffer, PPA, and callback, and release them after completion?


Question: Where is the per-band relocation pool initialized and released, and how is its size tied to the existing maximum queue depth?


Question: Where is the NVMe-oF poll group state defined and managed, including a per-subsystem channel map indexed by subsystem ID and namespace ID?


Question: Locate the successful `spdk_nvmf_create_subsystem()` path that notifies every existing poll group with `spdk_for_each_channel` and creates one namespace IO channel per configured namespace.


Question: Locate the `spdk_nvmf_delete_subsystem()` path and its per-poll-group cleanup callback that releases all namespace IO channels and frees the subsystem entry.


Question: Where are request trees marked queued and later retried or cleared when I/O qpair submission is blocked by transport back-pressure, while preserving fused-operation child counts?


Question: Where does spdk_nvme_qpair_process_completions drain queued_req and resubmit queued request trees, including the spdk_unlikely(req->queued) completion branch after a resubmission error?


Question: Where does nvme_qpair_manual_complete_request route a failed queued child resubmission such as -ENXIO into the standard child completion callback path?


Question: Locate spdk_iscsi_tgt_node_allow_iscsi_name() and the portal-group mapping logic that evaluates initiator groups, including skipping groups already checked by ig_tag.


Question: Locate the production JSON-RPC request parser that reads the "params" member and validates that non-null values are arrays or objects, including the invalid-params error path.


Question: Where does spdk_put_io_channel remove and free a channel from a thread's io_channels, and what locking coordinates that teardown with channel lookup?


Question: Where is spdk_for_each_channel implemented, including how it enumerates threads with a channel for an io_device, queues per-thread messages, and invokes cpl exactly once?


Question: Where is the RAID1 write I/O status initialized to SPDK_BDEV_IO_STATUS_FAILED before member writes are submitted?


Question: Where is the RAID1 per-base write completion callback that detects a failed base-device write and invokes raid_bdev_fail_base_bdev for its raid_base_bdev_info?


Question: Where are expectation reports assembled and serialized as JSON with jobid, domain, schema, name, params, sql, count, exception, and success before being sent to an audit sink?


Question: Where are non-expectation audit log entries sent to GCP Cloud Logging with their type label set to the entry's step value?


Question: Where is the audit.sink dispatch implemented for GCPLOG connections versus the SQL audit table, including the expectation-report path?


Question: Where does normal IngestionJob data indexing read task properties and build BigQueryLoadConfig, using the timestamp/outputPartition pattern that should also parse comma-separated clustering into outputClustering?


Question: Where does IngestionWorkflow auto-job task indexing construct BigQueryLoadConfig from schema or domain properties, so an absent clustering defaults to an empty sequence and a comma-separated value is propagated?


Question: Where is the rejected-record BigQuery load configured in IngestionUtil.indexRejected, and where should its BigQueryLoadConfig explicitly use an empty outputClustering?


Question: Where does MetricsJob.sinkMetricsToBigQuery create the metrics BigQueryLoadConfig, ensuring its internal table uses an empty clustering sequence?


Question: Where does SparkAuditLogWriter.append create the BigQuery load configuration for audit tables, which must pass no user-defined clustering?


Question: Where does `KafkaClient` source admin-client, consumer, producer, and batch or streaming Spark options, including any direct use of `Settings.kafkaProperties`?


Question: Where is the metadata-directory configuration loader that reads `kafka.properties` into `Settings.kafkaProperties`, and how is that fallback wired into `Settings`?


Question: Where does `KafkaIngestionJob` configure batch and streaming Kafka input from `comet.kafka.serverOptions`?


Question: Where are the FS, BQ, ES, JDBC, and None sink descriptor models constructed, and how do their constructors or accessors expose options to Jackson?


Question: Where does the sink-type discriminator or factory map configured sink names to FS, BQ, ES, JDBC, and None implementations, and how should an unknown KAFKA type be rejected?


Question: Where is Jackson YAML/JSON deserialization for sink descriptors implemented, including binding the options property to each sink's options map?


Question: Where does the production sink logic define or write the columns for the audit, rejected, and expectations tables?


Question: Where is the autocomplete domain and table list assembled so internal tables can be added under an additional domain?


Question: Where is IngestionWorkflow.autoJob implemented, and how should its Try[Boolean] handling turn transform(config) == false into a failed Try instead of a successful result?


Question: Where does Main.run dispatch commands and handle exceptions from command implementations, mapping Boolean or thrown failures to a non-zero process exit status?


Question: Where does recursive transform execution combine dependency task results so a failure in any --recursive task makes the overall transform job fail?


Question: Where is the landing-area file selection logic that excludes files ending in .ack while still importing regular data files?