• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

christophevg / yoker / 44707038368
84%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 09:01AM UTC
Jobs 1
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Nov 2026 08:52AM UTC coverage: 84.701% (+0.09%) from 84.615%
44707038368

push

github

christophevg-agent
feat(tools): harness-provided bindings channel

Give embedding code (the harness) a first-class channel to feed live
operating-context resources (e.g. a provider session) to the tools an
agent executes, without per-agent tool re-registration: the provider
module owns the key, the harness only passes the object.

- tools/context.py: Binding reference impl (frozen key/value protocol,
  key owned by the defining module — named Binding, not ContextVar, to
  avoid the stdlib contextvars collision) + ToolContext.bindings field
  and get(ref) lookup accepting a Binding object or key string
- core/__init__.py: Agent gains a context_vars kwarg plus chainable
  bind() (duplicate-key guard, mirrors ToolRegistry)
- core/_processing.py: _build_tool_context threads a fresh copy of the
  agent's _context_vars into every ToolContext (late binds take effect)
- session/__init__.py: Session(context_vars=...) constructor kwarg
  (normalized before the primary agent is built) + merge-propagation
  to spawned agents via _create_agent, copy-not-reference
- api.py: context_vars kwarg on the agent() and session() facades
- tests: tests/test_tools/test_context_bindings.py (25 tests: protocol,
  ctx.get, bind contract, executor injection, session propagation)

🤖 Implemented together with Yoker

3720 of 4690 branches covered (79.32%)

Branch coverage included in aggregate %.

10985 of 12671 relevant lines covered (86.69%)

0.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
65
87.07
0.37% yoker/core/_processing.py
55
76.9
1.28% yoker/core/__init__.py
13
93.97
0.37% yoker/session/__init__.py
4
91.3
-1.23% yoker/api.py
4
88.65
1.01% yoker/tools/schema.py
Jobs
ID Job ID Ran Files Coverage
1 44707038368.1 20 Nov 2026 09:01AM UTC 128
84.7
GitHub Action Run
Source Files on build 44707038368
  • Tree
  • List 128
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44707038368
  • 7afd49bc on github
  • Prev Build on master (#41650260721)
  • Next Build on master (#45206782466)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc