Skip to content

Bound planning discussion by the policy-owned turn, not acting calibration #426

Description

@adrianwebb

Platform #520 SDK golden BK failed on an SDK Researcher discussion assignment (assignment_ird2tfpe6ZTKwAFv8CFIsdS3Q6qf7Wmh) after 90 seconds. The node estimated 90–180 seconds, but buildAssignmentAttempt classified only planning/estimating nodes as policy-owned planning turns. During planning, communication used historical acting calibration, which reduced the desired duration below the 90-second minimum. The provider timed out, and the automated campaign stopped correctly.

Acceptance: planning-phase communication uses the workday's configured turn ceiling and planning window, with no simulation-only policy; acting-phase chat retains calibrated allocation. Defer when a viable minimum cannot fit before the phase boundary. Add a focused API regression and package-owned narrow/composed scene. Preserve real usage settlement and no manual durations.

Evidence: sdk-golden-20260928-bk-automated and sdk-bk-stopped-20260928 (stopped guarantee passed). Exact code in src/api/capacity/services/capacity/assignments/planning/execution/assignment-attempt-builder.ts; local proposed regression 24/24 passing, full API suite 1221 passing/20 existing skips, narrow scene passed. Component-boundaries suite has two unrelated PostgreSQL-dependent skipped verifiers locally; required Actions will cover them.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions