1jehuang / 1jehuang/jcode

Add ingestion bridge for local agent telemetry warehouse

Open
#210 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement priority: low triage: needs-decision
Dominant language
Rust
Stars
19.9k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
30

Description

Background

A local-first agent telemetry warehouse MVP now exists outside this repo at /Users/jagercooper/code/agent-telemetry. It provides:

  • PostgreSQL/Neon-compatible schema for agent runs, events, spans, prompts, skills, rule sets, experiments, and task outcomes
  • Python CLI for manual/scripted logging
  • SQL views and analysis queries for subagent effectiveness, rule impact, and prompt comparison

Follow-up

Add a Jcode ingestion bridge so tool events, model metadata, swarm/subagent lifecycle events, and task outcomes can be written to the telemetry warehouse automatically or semi-automatically.

Initial design questions

  • Should ingestion be direct DB writes, CLI subprocess calls, or an event-export file that a daemon imports?
  • Which events should be captured by default without leaking sensitive content?
  • How should sessions map to agent_runs, agent_events, agent_spans, and task_outcomes?
  • How should user opt-in/config be represented?

Acceptance criteria

  • Config-gated telemetry export path.
  • Captures at least run start/end, tool call/result metadata, swarm spawn/report lifecycle, and outcome annotations.
  • Does not include prompts, code, file paths, or personal content by default.
  • Documented local Postgres setup and validation path.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Jcode's existing event, tool, swarm, and task-outcome entry points, then compare them with the schema and Python CLI at /Users/jagercooper/code/agent-telemetry. Resolve the ingestion and opt-in design questions, implement config-gated export without sensitive content by default, and validate the documented local PostgreSQL setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python, rust
Domain
cli, databases, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.