Skip to content

fix(codex): classify injected turns and agent spawns#33

Merged
drewstone merged 1 commit into
mainfrom
fix/codex-adoption-classification
Jul 11, 2026
Merged

fix(codex): classify injected turns and agent spawns#33
drewstone merged 1 commit into
mainfrom
fix/codex-adoption-classification

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Problem

Codex control messages were counted as human reactions, while recorded spawn_agent calls were omitted from subagent adoption unless a lifecycle event existed.

Change

  • classify goal, subagent-result, and AGENTS instruction wrappers as injected
  • use provider spawn tools as a fallback only when richer Task/Agent lifecycle spans are absent
  • accept common subagent type fields and cover canonical-vs-fallback deduplication

Proof

  • pnpm test: 17 files, 113 tests passed
  • pnpm typecheck
  • pnpm build
  • same 20 Codex sessions: subagent spawns 0 -> 96; reaction signals 383 -> 33

@tangletools tangletools left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — e680ea29

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-11T21:03:58Z

@drewstone drewstone merged commit 5e05da9 into main Jul 11, 2026
1 check 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.

2 participants