Skip to content

llama-atmosphere-agent: assert the plain-chat integration test on behaviour, not wording - #446

Merged
bernardladenthin merged 1 commit into
mainfrom
claude/jolly-noether-jlebto
Sep 21, 2026
Merged

bernardladenthin merged 1 commit into
mainfrom
claude/jolly-noether-jlebto

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • Fixes the one red test in the first model-backed CI run (run 35600558852, job Integration Test llama-atmosphere-agent (model-backed)). That run proved the loop: toolCallResultIsFedBackAndAnswered and multiRoundReadWriteReadLoopChangesTheFile passed against the real Qwen2.5-1.5B model through OpenAiCompatServer. Only plainChatStreamsAnAnswer failed, because the model answered OK to "reply with exactly ATMOSPHERE_OK" — a working loop failing a prose assertion the class javadoc already said not to write.
  • The test now asks a question with one unambiguous fact (2 + 2) and asserts what the wire contract guarantees: a non-empty streamed answer containing 4 that arrived in several SSE chunks, with no session error. The javadoc records why.
  • TODO.md drops the "read the first model-backed run before trusting it" item that this run resolved, and notes the result.

Test-only change (validation-only job, not a publish gate).

Test plan

  • Affected unit / integration tests pass locally — mvn verify -Dllama.version=5.2.0-SNAPSHOT: 23 tests, 20 run green, 3 model-backed self-skip (no GGUF in the sandbox; the model-backed run is the CI job itself)
  • CI is green on this branch — the Integration Test llama-atmosphere-agent (model-backed) job is the check that matters here
  • Docs / CHANGELOG updated where applicable (TODO.md)

Related issues / PRs

Refs #444, #445

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • My commits follow Conventional Commits
  • No security-sensitive changes (if there are, I have notified the maintainer privately per SECURITY.md)

🤖 Generated with Claude Code

https://claude.ai/code/session_01UVwj2UuMPybiK1bHyG9toH


Generated by Claude Code

…aviour, not wording

The first model-backed CI run (35600558852) proved the loop -- the tool-call
and read->write->read tests passed against Qwen2.5-1.5B -- while
plainChatStreamsAnAnswer failed because the model answered "OK" to "reply
with exactly ATMOSPHERE_OK". That assertion pinned prose a 1.5B model does
not produce deterministically, which the class javadoc already said not to
do. The test now asks a question with one unambiguous fact (2 + 2), asserts a
non-empty streamed answer containing "4" that arrived in several chunks, and
documents why. TODO.md drops the "read the first run" item that run
resolved.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVwj2UuMPybiK1bHyG9toH
@sonarqubecloud

Copy link
Copy Markdown

@bernardladenthin
bernardladenthin merged commit 5c0e143 into main Sep 21, 2026
11 of 17 checks passed
@bernardladenthin
bernardladenthin deleted the claude/jolly-noether-jlebto branch September 21, 2026 13:18

This branch had an error being deployed

1 failed deployment
maven-central 43def1a8 Deployed Sep 21, 2026 by bernardladenthin via Verify GPG signing key (no secrets printed) #976
startgate 43def1a8 Deployed Sep 21, 2026 by bernardladenthin via Start gate (abort window) #976
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