Skip to content

Effort policy: fast/low guidance missing before first write; Work delegation and validation defaults conflict with the fast path #854

Closed

Description

@agenteinstinct1-max

Source-qualified findings (composed request order, base f857)

Composed request order: provider-selected or fallback prompt, then shared efficiency guidance, then style, then the assembled system prompt (Work delegation guidance lands before the conditional effort guidance), then user system content. A session with no agent.prompt uses the provider fallback default unless the actual model ID matches a known family; a GPT-only rule (for example manual apply_patch, no Python) therefore does not reach the fallback default.

  1. The fast minimal-process line is omitted until the request contains a file write or compaction. Early exploration and edit-planning requests carry no selected fast validation policy even when the UI effort is fast.
  2. Work delegation (system.ts:163) unconditionally prescribes Think → Code → clean Review, including for small edits. That conflicts with the fast direct/minimal guidance and with the later fast-path "no independent review" line.
  3. The default requires tests AND lint/typecheck, unqualified, while the fast policy is minimal validation after a write.
  4. Shared shell guidance prefers native Edit/Write but explicitly allows bulk/scripted operations, so repeated python -c edits at fast effort are not ruled out. Routine edits vs real bulk exceptions need an explicit boundary, and independent writes to different files can be batched.

Observed symptom (causality not proven)

A session at fast/low effort ran sequential python -c edits and slow shell commands. The capture shows the symptom, but the exact request trace is unknown, so this issue does not claim the gaps above caused that run.

Suggested narrow direction

  • Surface the effort policy before the first write, without unconditionally injecting the review policy.
  • Make Work delegation effort-aware for small fast tasks.
  • Put routine native Edit/Write guidance and parallel non-interfering write batching at the shared request/tool layer, preserving dependent/same-file sequencing and the real bulk exception.
  • Scope fast validation as the closest meaningful check, not the broad suite.

Out of scope: new guardrails, tool bans, extra knobs, new benchmarks. Provider fallback, custom-agent and post-write paths must be covered, not only the default assembled path.

Activity

  1. added
    priority: high
    on Nov 12, 2026
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

    priority: high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions