Skip to content

[Dots][GitHub] Size-dependent approval prompts despite "Allow all actions" (~720 KB boundary) #52714

Open

Description

@mibrh

What issue are you seeing?

GitHub writes involving larger file contents repeatedly request approval even though the connected GitHub plugin is configured to Allow all actions.

On October 9, 2026 (UTC), we (me and Dot) conducted controlled tests across Dot, delegated Codex workers, and scheduled tasks.

We identified a reproducible size-dependent approval pattern: 719,687-byte files succeeded without prompting, while 720,000-byte files triggered approval. The tests didn't continue to find an exact boundary between those two values.

We don't know whether this is an intentional safeguard or unexpected behavior. The issue is that unattended workflows can require additional human approval despite the user's existing authorization.

What steps can reproduce the bug?

  1. Verify execution contexts

Small GitHub file writes succeeded without approval prompting through:

  • Dot directly
  • A delegated Codex worker
  • A scheduled task creating a file
  • A scheduled task editing a file

This did not support the initial hypothesis that workers or scheduled tasks weren't inheriting permissions.

  1. Test large files

We tested a JSON file containing 874,365 bytes (18,966 lines).

  • Original JSON, 874,365 bytes: approval prompted.
  • Minified JSON, 645,251 bytes: no prompt.
  • Original JSON copied again: approval prompted.
    The minified version preserved identical JSON data.

Adding one newline to each file produced the same difference: the 874,366-byte version prompted, while the 645,252-byte version did not.

  1. Narrow the boundary

The underlying JSON data was kept identical while trailing whitespace varied.

Note: Value pairs are file size in bytes and whether an Approval prompt was triggered

  • 700,000 No
  • 715,000 No
  • 718,750 No
  • 719,687 No
  • 720,000 Yes
  • 720,625 Yes
  • 722,500 Yes
  • 730,000 Yes
  • 760,000 Yes

The tests were conducted in a different order, progressively narrowing the boundary.

The observed transition lies above 719,687 and at or below 720,000 bytes. We didn't continue to determine the exact cutoff / boundary.

  1. Check another file type

Markdown files with an ASCII heading and repeated text produced the same pattern:

  • 719,687 bytes: no prompt
  • 720,000 bytes: prompt
  1. Compare inline content with SHA references

Additional tests using Github create_tree:

(Test; Result)

  • One 645 KB file, inline content; No prompt, succeeded
  • One 874 KB file, inline content; Prompt, then cancellation (Dot reported being told the user cancelled the action even though I approved the permission prompt)
  • Two 645 KB files, inline content; Cancelled twice, no prompt observed -> it failed. There was no permission prompt, but Dot saw a message that the user cancelled
  • Two 645 KB files, existing blob SHAs; no prompt, succeeded
  • Delete both copies using tree operation; no prompt, succeeded

This demonstrates that an operation adding approximately 1.29 MB of existing content can succeed without prompting when the request references blob SHAs instead of submitting the contents inline.

  1. Test incremental updates

We also tried constructing the original 874,365-byte file in two writes:

  • first 437,090 bytes: no prompt
  • Append the remaining 437,275 bytes: approval prompted.

The update_file operation submits the complete replacement content, so splitting the update into separate commits did not resolve the approval behavior - because the second append amounted to 874,365 bytes in total.

What is the expected behavior?

If larger GitHub writes intentionally require additional approval despite "Allow all actions", the interface should clearly communicate this exception.

This is particularly important for Dots and scheduled tasks, where an unexpected approval requirement can interrupt unattended execution.

We're not requesting removal of legitimate security safeguards. We're asking for clarification of the expected behavior and a supported, predictable way to handle it in automated workflows.

Additional information

Verified workaround

Minifying the original JSON from 874,365 to 645,251 bytes preserved its data and eliminated the prompt in the tested case.

Splitting content into separate smaller blobs and referencing their SHAs in a tree also worked. This allows a larger repository change without submitting all file contents in one operation.

However, SHA-based tree operations cannot concatenate multiple blobs into one large file.

Evidence and limitations

Every successful write was read back and verified.

I independently observed and reported whether an approval prompt appeared. Tool success alone was not treated as proof that approval wasn't required.

These results suggest that submitted content size matters more than total committed file size. They don't establish the internal mechanism, whether the threshold is intentional, or whether it applies to all GitHub tools.

Related issues

Activity

  1. added
    bug
    on Oct 9, 2026
  2. added
    dots
    tool-calls
    on Oct 9, 2026
  3. github-actions commented on Oct 9, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

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

    automationsbugdotstool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions