Skip to content

chore(release): release dev to main (otel 1.5.2, fi-core 1.4.2, auto 0.4.2) - #800

Merged
nik13 merged 436 commits into
mainfrom
dev
Nov 28, 2026
Merged

nik13 merged 436 commits into
mainfrom
dev

Conversation

@nik13

@nik13 nik13 commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Releases dev to main. On the main push, release.yml publishes exactly three packages: fi-instrumentation-otel 1.5.2 (PyPI), @traceai/fi-core 1.4.2 and @traceai/auto 0.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.yml dry 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 lint all pass (CI)

  • Public types, env vars, or SDK behavior changes are documented in the relevant README

Checklist

  • Branch is off main (this is the dev branch)
  • Commit messages follow Conventional Commits
  • No TODOs or commented-out code left in
  • No real API keys or secrets in the diff
  • If prose was added or changed: checked against docs/VOCABULARY.md

Notes 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.

nik13 added 30 commits November 20, 2026 22:58
…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
… 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
…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
nik13 and others added 29 commits November 22, 2026 04:01
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
@nik13
nik13 merged commit 9ecb078 into main Nov 28, 2026
475 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant