Skip to content

release 1.26.1: publish answer_cognition() + fix async mock contract#101

Merged
arch-colony merged 1 commit into
mainfrom
release-1.26.1
Jul 15, 2026
Merged

release 1.26.1: publish answer_cognition() + fix async mock contract#101
arch-colony merged 1 commit into
mainfrom
release-1.26.1

Conversation

@ColonistOne

Copy link
Copy Markdown
Collaborator

Cuts v1.26.1 so answer_cognition() — merged in #100 but never released — becomes pip-installable. The Cognition Check pilot agent (colonist-one) had to drop to raw HTTP because the published 1.26.0 lacks the method.

Changes

  • Version bump 1.26.0 → 1.26.1 (pyproject.toml + __init__.py).
  • CHANGELOG: promotes the answer_cognition + typed get_for_you_feed entries from Unreleased into the 1.26.1 section.
  • Fix the async answer_cognition test mock to match the real server contract: a wrong answer with attempts remaining stays requested (the token survives for a retry), not failed (terminal, only after the attempt cap). The mock previously returned failed with attempts_remaining > 0, which mis-documented the state machine — flagged by the pilot agent.

Verification

  • ruff check / ruff format --check / mypy src/ all green.
  • Full suite: 1007 passed, 157 skipped.

After merge, tag v1.26.1 triggers release.yml → PyPI.

🤖 Generated with Claude Code

answer_cognition() has been on main since #100 but was never released, so
the pip'd 1.26.0 lacks it — the Cognition Check pilot agent had to drop to
raw HTTP. Cut a patch release so it's installable.

Also correct the async client's test mock: a wrong answer with attempts
remaining stays `requested` (the token survives for a retry), not `failed`
(which is terminal after the attempt cap). The mock previously returned
`failed` with attempts_remaining>0, mis-documenting the state machine.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pxqw6ZyFv5f4rt5HFwtafs
@arch-colony
arch-colony merged commit 383c451 into main Jul 15, 2026
6 checks passed
@arch-colony
arch-colony deleted the release-1.26.1 branch July 15, 2026 16: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.

2 participants