Skip to content

chore: agent-native baseline (AGENTS.md, make check, CI, dev env) - #72

Merged
robotlearning123 merged 6 commits into
mainfrom
chore/agent-native-baseline-20260924
Sep 26, 2026
Merged

robotlearning123 merged 6 commits into
mainfrom
chore/agent-native-baseline-20260924

Conversation

@robotlearning123

Copy link
Copy Markdown
Member

What

Agent-native baseline per agent-next standard v0.1.0.

Changes

Receipts

Env note: the PyPI mirror was intermittently timing out, so .venv was seeded from uv.lock (uv sync --extra dev, which resolves nothing — lockfile only) plus the two non-locked tools, then make setup was run for real.

make setup (exit 0):

@[ -n "$VIRTUAL_ENV" ] || [ -d .venv ] || python3 -m venv .venv
python3 -m pip install -e ".[dev]" ruff build twine
...
Successfully installed call-use-0.1.1 packaging-26.3

make check (exit 0), tail:

adding 'call_use-0.1.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
WARNING `project.license` as a TOML table is deprecated
Successfully built call_use-0.1.1.tar.gz and call_use-0.1.1-py3-none-any.whl
python3 -m twine check dist/*
Checking dist/call_use-0.1.1-py3-none-any.whl: PASSED
Checking dist/call_use-0.1.1.tar.gz: PASSED

(lint: ruff check+format clean, 30 files; typecheck: mypy clean; test: full suite + --cov-fail-under=100 passed — 550+ tests, 100.00% coverage.)

Not done / risks

  • Fresh pip install -e ".[dev]" resolves to a currently-broken dep set (upstream drift vs uv.lock, pre-existing on main — not caused by this PR): mcp 2.2.0 removes mcp.server.FastMCP (2 collection errors in test_mcp_server.py, test_bdd_input_validation.py), numpy 2.5.3 stubs use the 3.12 type statement vs mypy python_version=3.11 (typecheck error), and livekit-agents 1.8.2 flips 2 BDD assertions (test_journey_sdk_cancel_without_active_call_raises, test_journey_sdk_takeover_without_active_call_raises — both pass in isolation and under lockfile versions). Under uv.lock (mcp 1.26.0, numpy 2.4.3, livekit-agents 1.4.5, livekit 1.1.2) every gate is green. CI runs the same pip install path and will hit this drift on next run — worth a separate pinning/fix PR.
  • setuptools deprecation warnings during build (project.license table) — pre-existing, non-fatal.
  • CLAUDE.md tracked via git add -f over an existing .gitignore rule (see Changes).

@robotlearning123
robotlearning123 enabled auto-merge (squash) September 25, 2026 23:40
mcp 2.x removed FastMCP (replaced by MCPServer), so the loose
'mcp[server]>=1.0' spec now resolves a broken dependency on fresh pip
installs and the re-export 'from mcp.server import FastMCP' no longer
exists. Import from the canonical v1 path mcp.server.fastmcp and bound
the requirement to <2 per upstream migration guidance.
numpy>=2.5 ships __init__.pyi using PEP 695 type statements (3.12+
syntax); mypy configured at python_version 3.11 fails to parse them.
call_use never imports numpy (reached only via livekit stubs), so
follow_imports=skip resolves it to Any and preserves the 3.11 check.
livekit-api stubs now expose list_rooms's required 'list' parameter to
mypy; the doctor connectivity probe called it bare, which also raised a
caught TypeError at runtime. Pass an empty ListRoomsRequest.
pytest-asyncio 1.4 no longer leaves a current event loop, so the
deprecated asyncio.get_event_loop() raised RuntimeError('There is no
current event loop') before the SDK's own 'No active call' path ran.
asyncio.run() is supported on all 3.11-3.13.
@robotlearning123
robotlearning123 merged commit e12b26e into main Sep 26, 2026
9 checks passed
@robotlearning123
robotlearning123 deleted the chore/agent-native-baseline-20260924 branch September 26, 2026 00:45
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