Skip to content

refactor(agent): expose trait behaviors and retire the compact lifecycle - #129

Merged
wolfy-j merged 1 commit into
masterfrom
refactor/agent-checkpoint-normalization
Sep 22, 2026
Merged

wolfy-j merged 1 commit into
masterfrom
refactor/agent-checkpoint-normalization

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Change

  • traits.get_by_id, get_by_name and get_all carry behaviors from the trait's registry data into TraitSpec, so checkpoint behaviors declared on traits reach the compiler.
  • The compacted tool outcome state is removed from tool_caller.OUTCOME_STATE and the outcome schema enum. Checkpointing replaced compaction; nothing in the framework or dataflow produces or consumes that state.
  • Test fixtures use agent_options.checkpoint instead of the retired compact option.

Tests

"preserves checkpoint behaviors from registry data" fails on master (behaviors dropped) and passes here. make run-tests, make run-lint, make check-manifests pass.

Checkpoint behaviors declared on a trait's registry data reach the
compiler through TraitSpec.behaviors. The compacted tool outcome is
removed from the caller states and the outcome schema: checkpointing
replaced compaction and nothing produces or consumes that state.
@wolfy-j
wolfy-j merged commit b9dfe9c into master Sep 22, 2026
21 checks passed
@wolfy-j
wolfy-j deleted the refactor/agent-checkpoint-normalization branch September 22, 2026 18:22
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