Skip to content

feat(harness): add per-thread reasoning policy - #104

Merged
senamakel merged 1 commit into
epic/8092-inference-outfrom
epic-8092-a77-thread-reasoning
Oct 19, 2026
Merged

senamakel merged 1 commit into
epic/8092-inference-outfrom
epic-8092-a77-thread-reasoning

Conversation

@senamakel

@senamakel senamakel commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Add an instance-owned per-thread reasoning store keyed by durable ThreadId. Hosts can snapshot an effort once at turn start into RunPolicy::default_reasoning, so later updates apply to the next turn and request-level reasoning remains authoritative. The harness exports the existing 16,384-token interactive output cap for hosts to opt into without changing policy defaults.

Validation completed locally:

  • cargo test -p tinyagents-harness --all-features (3,201 passed; 44 doctests passed, 3 ignored)
  • cargo check -p tinyagents-harness -p tinyagents-integration-tests --all-features
  • cargo clippy -p tinyagents-harness -p tinyagents-integration-tests --all-targets --all-features -- -D warnings
  • all-feature workspace docs with RUSTDOCFLAGS=-D rustdoc::broken_intra_doc_links
  • cargo test -p tinyagents-integration-tests --test thread_reasoning
  • cargo test -p tinyagents-integration-tests --test dependency_boundary (6 passed)
  • cargo fmt --all -- --check and git diff --check

All ten hosted checks pass on b6d9e7776dc0452ee88272b501775e9da7fb6fbb. Fresh parent validation independently passed the all-feature harness suite, public API test, six dependency-boundary tests, compile checks, strict Clippy, and formatting. The final feedback snapshot is empty.

Refs #77
Part of tinyhumansai/openhuman#8092

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