Skip to content

feat(orchestrator): refresh telemetry integration on current main#796

Merged
AlexMikhalev merged 4 commits intomainfrom
refresh/telemetry-integration-main
Apr 13, 2026
Merged

feat(orchestrator): refresh telemetry integration on current main#796
AlexMikhalev merged 4 commits intomainfrom
refresh/telemetry-integration-main

Conversation

@AlexMikhalev
Copy link
Copy Markdown
Contributor

Summary

  • rebuild the telemetry integration work on top of current main without the stale benchmark, learnings, listener, or tracker noise from the old integration branch
  • carry forward the orchestrator telemetry/routing changes: async routing decisions, telemetry persistence/batching, updated routing config/example, and focused integration tests
  • keep the branch scoped to telemetry-specific orchestrator files so it can be reviewed and validated independently

Verification

  • cargo test -p terraphim_orchestrator
  • cargo test -p terraphim_agent listener
  • cargo test -p terraphim_tracker --lib gitea
  • cargo check -p terraphim_symphony -p terraphim_orchestrator -p terraphim_agent -p terraphim_tracker
  • cargo clippy --workspace --all-targets --features zlob -- -D warnings

AlexMikhalev and others added 4 commits April 13, 2026 02:53
Carry forward the telemetry routing changes from #789 onto current main by making routing decisions async and wiring the orchestrator call sites to the updated control-plane behavior without the unrelated hook changes.
all_model_performances now acquires the read lock once for all models
via compute_snapshot helper. record_telemetry uses record_batch to write
a full tick's events in a single write-lock acquisition instead of N.
Extract `parse_stdout_for_telemetry` and `parse_stderr_for_telemetry`
as private methods on `AgentOrchestrator`, eliminating the duplicated
inline output-parsing logic that existed in both `drain_output_events`
and `poll_agent_exits`.

Both call sites now delegate to the shared helpers. No behaviour change;
440 tests pass, clippy clean.

Co-Authored-By: Terraphim AI <noreply@terraphim.ai>
…gration tests Refs #523

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AlexMikhalev AlexMikhalev merged commit c0eed45 into main Apr 13, 2026
17 checks passed
@AlexMikhalev AlexMikhalev deleted the refresh/telemetry-integration-main branch April 13, 2026 01:25
AlexMikhalev added a commit that referenced this pull request Apr 25, 2026
…main

feat(orchestrator): refresh telemetry integration on current main
AlexMikhalev added a commit that referenced this pull request Apr 25, 2026
… Refs #796

- Add opencode-connector and codex-connector feature flags to Cargo.toml

- Implement OpenCodeConnector parsing ~/.local/state/opencode/prompt-history.jsonl

- Implement CodexConnector parsing ~/.codex/sessions/*.jsonl with session_meta and response_item entries

- Register both connectors in ConnectorRegistry behind feature flags

- Add comprehensive unit tests for both connectors with sample JSONL data

- Mirror terraphim-session-analyzer connector patterns for zero drift
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