Skip to content

Allowlist native agent-task uploads#1776

Merged
chubes4 merged 2 commits into
mainfrom
fix/allowlist-agent-task-uploads
Jul 14, 2026
Merged

Allowlist native agent-task uploads#1776
chubes4 merged 2 commits into
mainfrom
fix/allowlist-agent-task-uploads

Conversation

@chubes4

@chubes4 chubes4 commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • stage only normalized request/result/native input, result-referenced declared artifacts, compact runtime provenance, and an exclusion manifest
  • exclude raw source trees and source files without aborting normalized failed-result uploads; reject source artifacts explicitly declared for review
  • upload only the staged root, including its hidden .codebox contents

Closes #1774

Evidence

  • Reproduces the raw layout from run 29306539573: source content caused upload preparation to fail after native execution, leaving only the request artifact.

How to test

  1. Run npm run build.
  2. Run npm run test:agent-task-contracts.
  3. Run npm run test:redaction.
  4. Run npm run test:runtime-sources-playground-integration (the pinned network integration is skipped locally unless WP_CODEBOX_RUN_NETWORK_INTEGRATION=1).
  5. Run npm run test:production-boundary-enforcement.
  6. Run actionlint .github/workflows/run-agent-task.yml.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode with openai/gpt-5.6-terra
  • Used for: Investigated the referenced GitHub Actions run, implemented the upload allowlist and regression coverage, and ran deterministic checks.

@chubes4
chubes4 merged commit 6e295a0 into main Jul 14, 2026
4 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.

Allowlist agent-task uploads and preserve normalized failures

1 participant