Skip to content

feat(praxis): add governed model turn v3 pre-invoke boundary - #71

Merged
Proview-China merged 1 commit into
mainfrom
agent/governed-model-turn-v3-routegateway-actual-boundary
Jul 31, 2026
Merged

Proview-China merged 1 commit into
mainfrom
agent/governed-model-turn-v3-routegateway-actual-boundary

Conversation

@Proview-China

Copy link
Copy Markdown
Owner

Summary

  • add the Model-owned GovernedModelTurnV3 pre-invoke routegateway reference path
  • freeze Context/Tool authorization and complete pair projections from the same authoritative reads at S1/S2
  • validate exact Turn bodies and complete ACK snapshots before reversible provider preparation
  • add immutable boundary history/current read support and fail-closed replay checks
  • make adapter lease release/retire terminal handling order-independent and preserve close errors
  • add design, plan, module, memory, adversarial, concurrency, restart, and import-boundary evidence

Behavior

This is an owner-local zero-provider reference slice. It deliberately fails closed after reversible adapter preparation and before any actual boundary persistence or provider invocation.

The following remain exactly zero:

  • Boundary Ensure/write
  • Runtime actual-point guard
  • Provider/invokePrepared calls
  • Provider Observation writes

Verification

Post-rebase on origin/main@9a69c39d354d464df375304b2bcff733946f489d:

  • focused ordinary ×100: PASS
  • focused race ×20: PASS
  • InvocationMaterialV2 compatibility ordinary/race: PASS
  • go test ./...: PASS
  • go test -race ./...: PASS
  • go vet ./...: PASS
  • import/no-bypass checks: PASS
  • gofmt and git diff --check: PASS

Risk

Production dispatch remains HARD NO-GO. The following additive contracts are still missing:

A. canonical prepared provider request shape → ActualProviderInjectionDigest
B. durable V3 Provider Attempt/Observation/Inspect lifecycle
C. exact credential material current/handle/reader bound to the prepared call and pool key

The only non-blocking P2 evidence gap is a direct private same-lease release→retire / retire→release / concurrent matrix test; public pool, Close, stale-release, stream, release-error, focused race, and full race suites pass. No Provider, Runtime guard, Harness, Context, Tool, or Console production closure is claimed.

Notes

  • V1/V2 paths and Provider implementations are unchanged semantically.
  • No Console page contract or production authorizer is introduced.
  • Do not merge without the normal independent PR review and CI gates.

@Proview-China
Proview-China merged commit 3bdcec8 into main Jul 31, 2026
2 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