Skip to content

fix(runtime): allow tools without a call-count limit - #2051

Merged
Brad-Edwards merged 4 commits into
devfrom
2050-no-invocation-call-count-limit
Nov 16, 2026
Merged

Brad-Edwards merged 4 commits into
devfrom
2050-no-invocation-call-count-limit

Conversation

@Brad-Edwards

@Brad-Edwards Brad-Edwards commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Allow participant invocation tools to omit a call-count limit without acquiring an invented limit, while preserving native admission, dispatch, concurrency, cancellation, and outcome handling. Also exclude retained baseline coordinates from factorial expansion.

Requirement UIDs

  • (none)

Related Issues

Closes #2050

ADR Impact

  • No ADR required.

Changes

  • Accept an absent or null tool-call count in the backend contract and runtime.
  • Apply count-based refusal only when an explicit count exists.
  • Exclude retained baseline coordinates from generated factorial combinations.
  • Update the published schema and guide.

Test Plan

  • Unit tests pass
  • Required integration checks pass in CI
  • Targeted local checks pass; full completion runs in CI
  • No coverage regression

No local unit tests were run; the full required checks run in CI.

Ground Control Checks

  • Repository policy command passes
  • Required pre-push review was not run for this lane.

Traceability

  • IMPLEMENTS: packages/raes_compiler/src/raes_compiler/participant_invocation_tools.py; packages/raes_runtime/raes_runtime/participant_invocation_tool_actions.py; packages/raes_contracts/src/raes_contracts/contracts/experiment_factorial.py
  • TESTS: packages/raes_compiler/tests/test_issue_1665_factorial_treatments.py

Checklist

  • Code follows the project coding standards
  • FM level classified if semantic change
  • Published contract schemas regenerated if models changed
  • PR title is a Conventional Commit
  • Architectural docs updated if applicable

Documentation

Updated the invocation-tool guide and published backend-manifest schema.

@Brad-Edwards
Brad-Edwards force-pushed the 2050-no-invocation-call-count-limit branch from 14c73ae to 9051fc9 Compare November 15, 2026 18:53
@Brad-Edwards
Brad-Edwards marked this pull request as ready for review November 15, 2026 18:53
@Brad-Edwards
Brad-Edwards merged commit 253cd3b into dev Nov 16, 2026
37 checks 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.

1 participant