Skip to content

docs: guide shared boundary outcome policies - #5727

Draft
giuliolovisotto wants to merge 7 commits into
glovisotto/shared-recovery-outcome-policyfrom
glovisotto/shared-outcome-policy-guide
Draft

giuliolovisotto wants to merge 7 commits into
glovisotto/shared-recovery-outcome-policyfrom
glovisotto/shared-outcome-policy-guide

Conversation

@giuliolovisotto

@giuliolovisotto giuliolovisotto commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Add one public guide for shared boundary outcome policies, real configuration paths, action support, selection precedence, saved decisions and retry ownership. Link it from benchmark, harness, model-config and evaluation-operation skills; replace unconditional failure-treatment instructions with configurable boundary contracts.

Validation: Fern check (0 errors,1 warning); Python example executed and all five remaining YAML policy values validated using actual config classes. All-files pre-commit passed. Model rollout not applicable to documentation.

No separate issue is required for contributor guidance documenting the preceding stack layers.

Stack validation: pre-commit run --all-files, including package layering. Independent Claude review covered the full stack and subsequent fixes; the final delta review found no blockers. Review was read-only; tests were run separately.

HTTP transport configuration was deferred. The guide omits that option; Fern validation passes after removal.

Refresh validation — 2026-11-11

Merged main a5cc1105564f38d7c7be5c86da5892f740d596e2 forward through the four-PR stack without rewriting existing history. The deferred HTTP-policy layer remains excluded. Current judge-provider quota/credential kinds and future-reset execution guards are preserved; explicit policy stops remain stops rather than being reported as quota waits.

Validation of the refreshed stack:

  • 2,656 connected environment, judge, recovery, collection and public-API tests passed. After the final stop-hint correction, 883 collection/recovery regressions passed, including saved final decisions and future/past/missing quota reset cases. These suites overlap.
  • pre-commit run --all-files passed; Fern check: 0 errors, 1 warning. The guide's Python example executed.
  • A bounded two-call live-model smoke passed: the agent answer reached verification, an injected first judge timeout recovered, the judge's returned verdict/reward and one recovered failure event were retained, with model-call capture. Session lifecycle was fixture-backed; this is plumbing validation, not benchmark-score or live-sandbox qualification. An earlier smoke assertion assumed the judge would answer YES; the check now verifies propagation of either valid YES/NO verdict.
  • Independent Claude review covered the refreshed stack and follow-up corrections; final delta verdict: Ship. Reviewer validation was code-only; test results above were run separately.

@giuliolovisotto giuliolovisotto added docs Documentation-only updates or documentation debt area:docs Generic documentation without another dominant domain labels Nov 6, 2026
@copy-pr-bot

copy-pr-bot Bot commented Nov 6, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/shared-outcome-policy-guide branch from d8d3a1c to 2f6bd71 Compare November 6, 2026 11:22
@giuliolovisotto
giuliolovisotto removed this pull request from stack #5728 November 6, 2026 11:23

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Generic documentation without another dominant domain docs Documentation-only updates or documentation debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant