AGENT SKILL

add-coding-agent-import

Add or review historical transcript import and live attach support for a coding agent, including session lookup, native parsing, synthetic lifecycle envelopes, shared translator use, incremental tailing, destination overrides, and import tests. Use when implementing or fixing import, attach, resume-session lookup, or transcript-following behavior.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 3
Forks
3

01 前言 Front Matter

name
add-coding-agent-import
description
Add or review historical transcript import and live attach support for a coding agent, including session lookup, native parsing, synthetic lifecycle envelopes, shared translator use, incremental tailing, destination overrides, and import tests. Use when implementing or fixing import, attach, resume-session lookup, or transcript-following behavior.

02 资源文件 1

03 SKILL.md 正文

Add coding-agent transcript import

Require a production translator and a viable native transcript containing the facts to import. If either is missing, use add-coding-agent-translator or report the fidelity blocker before implementing import.

Implement import and attach

  • Expose the agent, aliases, and display name through the public import command.
  • Locate exactly one transcript from a validated session ID across documented active and archived locations. Avoid unsafe symlink traversal and fail clearly on zero or multiple matches.
  • Parse records with contextual file and line errors, schema-version handling, authoritative native session identity, and native timestamps.
  • Convert transcript records into synthetic envelopes for the same source and translator used by live capture. Never create a second trace builder or invent facts that exist only in hooks.
  • Keep historical import and live attach on the same parser, processor, translator, and sink state. Vary only waiting and finalization.
  • Tail incrementally without duplicates, tolerate partial final records, keep an active turn open, and finalize it on interruption.
  • Apply typed destination or exported parent overrides before transcript lookup and fail fast when the host has not supplied resolved session configuration.

Verify completion

Test active and archived discovery, invalid and ambiguous IDs, malformed and empty files, one and many turns, incremental growth, no-growth polls, partial writes, finalization, destination and parent attachment, resume behavior, and deterministic replay through the production translator.

04 同仓库更多 Skills

braintrustdata
braintrustdata/braintrust-coding-agent-plugins

troubleshoot-braintrust-mcp

Diagnose Braintrust MCP connection issues.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

braintrust

Use Braintrust for LLM evaluation, logging, and observability.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

test-coding-agent-integration

Test or audit a coding-agent tracing integration across translator fixtures, capture adapters, setup, managed run, transcript import, daemon recovery, real-agent execution, package installation, and CI. Use when adding verification, reviewing integration completeness, diagnosing coverage gaps, or proving that emitted events become correct Braintrust traces.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

ship-coding-agent-integration

Package and release a coding-agent tracing integration through its marketplace, package registry, or distribution repository, including manifests, builds, validation, versioning, CI, documentation, publishing automation, and installed-artifact smoke tests. Use when preparing an integration for release or auditing whether it has a complete distribution path.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

audit-agent-tracing-support

Assess whether a coding agent's hooks/plugin API can support tracing (per docs/trace-coding-agents-with-hooks.md), or whether a reliable fallback like session transcripts exists. Use when evaluating a new or existing coding agent (Claude Code, Codex, Cursor, Gemini CLI, Aider, etc.) for a Braintrust tracing plugin, or when someone asks "can we trace agent X" / "is agent X's hook API good enough".

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

add-coding-agent-translator

Implement or review a coding agent's daemon translator, including source registration, native event correlation, trace shape, deterministic recovery, routing metadata, and translator tests. Use when adding a new agent translator or changing how an existing agent's hooks or transcripts become Braintrust spans.

★ 3