Repository navigation
Conversation
…, limits and what is not matched
…ed surrogate pairs, a trailing backslash before a marker, an all-backslash secret (RED)
…ng backslash keeps the whole marker, backslash runs are scanned once, exact sealCut and oversized-value docs
…re every marker, a cut inside the secret at every offset
…ffset, escape-aware raw prefix check
… checked through TraceAI.init against a raw socket
…er raw input cap that known-secret replacement applies
… exporters and requests, and measure key bytes at listeners
…at carry keys, and refuse key headers set for another collector
…failed request out of export
…e ADK attribute mapping
…calls on any thread, forward built-in tools
…he error-details switch
…odel call and stay redacted, bounded iteration, failed output withheld everywhere (RED)
… UUIDs keep their values, failed output withheld everywhere, serialization never fails the call
…opback, opt-in, no proxy for plaintext, no redirects, ambient headers
…ure AGI, plaintext opt-in, no proxy for plaintext, no redirects, ambient headers
…pt, narrow known-secret scope, typed refusals (RED) Cells: loopback plaintext goes direct under a configured proxy with and without the opt-in (native and compatibility transports, http and gRPC), the route client keeps the exporter timeout and a silent collector ends the export within it, another vendor's credential and a wire-observed value no longer refuse a supplied exporter while a Future AGI key value does, and refusals are asserted as FiKeyRefusedException with their code from the decision. Adds the timeout overload of the client factory as a declaration that does not yet apply it.
…imeout, narrow the known-secret scope A plaintext request that carries keys is sent with proxies off whether it is loopback or opted in. The key-carrying client keeps the exporter's timeout. The ambient-header screen for a supplied exporter counts Future AGI key values and secrets registered through RegisterSecret only, not other vendors' credentials or wire-observed values. The decision names an empty authority and an ambiguous host before parsing, and the changelogs state the rules exactly.
…ent route screens, IDN host refusal, zone literals, shared registered-secret state (RED)
…d at Register, refuse hosts whose Host and IdnHost differ, keep registered secrets in the shared state in recency order, exact messages and CHANGELOG
…header, key headers are refused for the agent route
The ESM runtime-metadata shim listed its exports by hand, so the new span marks and standalone-start flag were missing from ESM builds. Derive the list from the compiled CommonJS module, as the privacy-runtime shim does, so both formats share one instance of every binding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At a one-slot limit, dev's dropped-content marker keeps the slot ahead of runtime keys, so the opt-in projection case uses two slots. On a crowded span, FI admission already withholds fi.context.session_id natively; the privacy test now checks every other runtime key is retained. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Projection keeps every attribute when they fit, so the rank case now uses three candidates for two slots, plus the one-slot case where dev's dropped-content marker takes the only slot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…vider policy A FutureAGIRuntimeAttributesSpanProcessor passed in spanProcessors kept only its own (environment-derived) trace config, so a provider configured with hideInputs or piiRedaction could still hand raw carrier values to later processors. The provider now binds its trace config to any runtime processor it receives, adopted or not. Each setting takes the stricter value, so an explicitly configured processor is never loosened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat: Skills runtime attribution for traces (TypeScript and Python)
allows_conversation_transcript(config) returns whether a combined conversation transcript may be captured: false as soon as any of the six content hide settings (inputs, input messages, input text, outputs, output messages, output text) is on. It reads the FI_HIDE_* settings when no config is given. The ElevenLabs integration now asks this helper and keeps its own two-sided check, so its output is unchanged on older cores without the helper. Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When enable_* maps the exporter, the Future AGI copy of a parentless
job_entrypoint or agent_session now carries fi.conversation.transcript:
the primary session's committed user and assistant turns, in order, as
{role, content} rows, read once from session.history when the root ends.
- Written only on the Future AGI export copy; other exporters on the
provider receive the span unchanged.
- Omitted entirely when any FI input/output content hide setting is on,
when LiveKit's PII opt-out or project/session redaction is active, when
masking fails, or when the root does not belong to the running job.
- Each turn is masked with the matching input/output policy. No raw
lk.pii.* fallback and no timestamps.
Part of TH-2379 (Linear).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n span
Mapped exporters now register a Pipecat setup file (PIPECAT_SETUP_FILES,
appended once, existing entries kept). For each traced pipeline worker it
attaches Pipecat's EvalConversationObserver (Pipecat 1.13+) and, when the
conversation ends, writes fi.conversation.transcript on the worker's
parentless conversation span: committed user and assistant turns in order
as {role, content} rows. Tool rows are dropped.
- Nothing is attached when any FI input/output content hide setting is on.
- Each turn is masked with the matching input/output policy; a failed mask
omits the whole attribute. No timestamps.
- Older Pipecat without the observer, disabled tracing, or a missing,
ended or child conversation span: no-op.
Part of TH-2379 (Linear).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Recipe jobs that test against a published core collect the source tree as the `python` package, so this module is imported as python.fi_instrumentation next to an older installed release. An absolute import of the new module resolved to the installed release, which does not have it. A relative import finds it in the same tree. Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ports Recipe jobs that test against a published core collect the source tree as the `python` package next to an older installed release. Re-exporting the new helper from the package __init__ files pulled the source tree's instrumentation package into that mix, which then needed attributes the installed release does not have. The helper now lives only in fi_instrumentation.instrumentation.transcript. Callers import it from there and fall back to the same six-setting rule on releases without it, as the ElevenLabs integration does. Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared helper is exported only from fi_instrumentation.instrumentation.transcript; older core releases keep the local six-setting fallback. Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared helper is exported only from fi_instrumentation.instrumentation.transcript; older core releases keep the local six-setting fallback. Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…imit - The transcript now needs every applicable policy to allow it: the environment's settings and, when automatic instrumentation is active, the configuration it resolved (init(config=) or futureagi.toml). Each turn is masked by each policy in turn. - A transcript longer than the span's attribute value-length limit (OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT) is omitted, not truncated, because a cut JSON prefix is not a transcript. - The processor's exporter is found the same way the integration finds it (span_exporter, then _exporter). Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…policy feat(fi-instrumentation): add a shared conversation transcript policy
…nscript feat(pipecat): record committed conversation turns on the conversation span
on_end receives a read-only copy of the span without its limits, so the previous check saw only the environment variable. The copy's attributes keep the limit the provider applied, including one set in code; read that first and fall back to the environment. Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nscript feat(livekit): record committed conversation turns on the call root
- Turns are written only to the conversation root that was live while they were observed. If the application starts a new root mid-run, ownership is uncertain and nothing is written. - Only a process that installed the setup file itself captures a transcript. Child processes inherit PIPECAT_SETUP_FILES but not that registration. - A transcript longer than the span's attribute value-length limit is omitted instead of being cut into an invalid JSON prefix. Part of TH-2379 (Linear). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…inding fix(pipecat): tighten when the conversation transcript is written
…ons-on-dev fix(openai): keep dropped request rejections visible
…nt-namespace-type fix(openai): accept the module namespace in manuallyInstrument types
fix(vitest-evals): name trace roots after tests and honour FI_BASE_URL
fix(autogen): report the model on agent spans for current autogen-ext clients
fix(traceai): instrument with the provider returned by traceai.init
A skip entry named "<ecosystem>:<name>" holds that package on its own registry; a plain name still holds it everywhere. The release config holds traceAI-agentspec, the two NuGet packages and the two Ruby gems, so the next main release publishes fi-instrumentation-otel 1.5.2, @traceai/fi-core 1.4.2 and @traceai/auto 0.4.2.
ci(release): publish otel 1.5.2, fi-core 1.4.2 and auto 0.4.2; hold the rest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Releases dev to main. On the main push,
release.ymlpublishes exactly three packages:fi-instrumentation-otel1.5.2 (PyPI),@traceai/fi-core1.4.2 and@traceai/auto0.4.2 (npm). Every other pending package is held by.github/release/config.json.Why?
Ships the changes merged on dev: the traceai.init provider routing, OpenAI TS rejection handling and namespace types, vitest-evals test names, the AutoGen agent model, and the key transport release lines, plus the release config that publishes only the three packages above.
How was it tested?
A
release.ymldry run on this exact dev head lists exactly the three packages above, with every publish job skipped.CI runs on this PR's exact head.
Unit tests added / updated
Integration tests pass (or N/A — no gateway behavior changed)
ruff check/mypy/npm run typecheck/npm run lintall pass (CI)Public types, env vars, or SDK behavior changes are documented in the relevant README
Checklist
main(this is the dev branch)docs/VOCABULARY.mdNotes for reviewers
The held packages (traceAI-agentspec, the two NuGet packages and the two Ruby gems) are listed with reasons in
.github/release/config.json.