Skip to content

Orchestration harness behaviors on by default, and three run 5 findings (0.261.506) - #1995

Merged
Paul Lizer (paullizer) merged 4 commits into
microsoft:Developmentfrom
paullizer:claude/harness-defaults-on
Nov 30, 2026
Merged

Paul Lizer (paullizer) merged 4 commits into
microsoft:Developmentfrom
paullizer:claude/harness-defaults-on

Conversation

@paullizer

@paullizer Paul Lizer (paullizer) commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

A 40-case test run on 30 November 2026 was meant to measure the turn ledger, sources by short names and one turn across attempts. Its telemetry showed none of the three was on, and three smaller faults. This change turns the harness behaviors on by default and fixes those faults (0.261.506).

On by default

Setting Before Now
enable_chat_orchestration_reactive_loop Off On
enable_chat_orchestration_one_turn Off On
enable_chat_orchestration_turn_ledger Off On
enable_chat_orchestration_sources_by_name Off On

They have no effect unless Chat Orchestration itself is on.

Loading the settings saves the defaults, so a deployment that ran an earlier version holds a saved "off" for each that nobody chose. normalize_orchestration_harness_settings_upgrade turns those on once and stores chat_orchestration_harness_settings_version. An administrator who turns one off afterwards keeps that choice.

The four switches remain so one can be turned off while its effect is measured. They are meant to be removed, with the "off" code paths, once a run has confirmed each behavior.

Fixes

  • A plan refused for its answer outputs is returned to the planner. A step that answers from available information may declare narrative outputs only. That refusal had no code, and a refusal with no code is not returned for correction, so three turns in the run ended on their first planning call. It now has code plan_outputs_invalid, rule available_information_outputs_must_be_narrative, and names the outputs that are not narrative.
  • The turn ledger records an empty value as no value. The answer check reports an empty reason code when it has none; the ledger logged a warning for it 81 times in the run.
  • The ledger's log records keep their codes. The logger keeps a text field only under a code field name it knows. The turn's outcome, how its last attempt ended, and where a dropped fact was recorded are now kept.

Details: docs/explanation/fixes/ORCHESTRATION_HARNESS_DEFAULTS_AND_RUN5_FINDINGS_FIX.md.

Testing

  • New: functional_tests/test_orchestration_harness_defaults.py (5 tests): the defaults in the settings and the admin field registry, the one-time upgrade and a later "off" being kept, the refusal's code, rule and named outputs, the empty value, and the logger.
  • 330 orchestration, settings and logging test files run locally. Two needed a change and now pass:
    • test_orchestration_turn_ledger.py expected an empty identifier to be refused; it is now no value.
    • A route stub in test_orchestration_conversation_context_routes.py did not accept the terminal argument the run route passes. Development fixed the same stub meanwhile; the merge keeps its version.
  • Files that fail only in the local environment, the same way without this change: test_chats_user_settings_hardening_fix.py, test_orchestration_document_merge_capability.py (a package not installed locally) and the two workflow editor round-trip files (front-end packages not installed locally).
  • The Cosmos boundary review reports 0 gaps.
  • Not yet run through a deployed application.

🤖 Generated with Claude Code

…run 5 findings (0.261.504)

Recovering from step failures, one turn across attempts, the turn ledger
and sources by short names default on, and a settings document saved
before is switched on once. A plan refused for its answer outputs now
carries a code and a rule, so the planner is told and can correct it. The
turn ledger records an empty value as no value, and its log records keep
their codes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…nal argument

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Development took 0.261.504 and 0.261.505.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@paullizer Paul Lizer (paullizer) changed the title Orchestration harness behaviors on by default, and three run 5 findings (0.261.504) Orchestration harness behaviors on by default, and three run 5 findings (0.261.506) Nov 30, 2026
@paullizer
Paul Lizer (paullizer) merged commit 7ea1eb1 into microsoft:Development Nov 30, 2026
17 checks passed
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