Forbid WebFetch/Playwright/manual-encoding fallbacks when MCP commit tools exist #260

Closed
opened 2026-07-06 12:09:29 -05:00 by jcwalker3 · 1 comment
Owner

Problem

When shell encoding fails, agents attempted httpbin WebFetch base64 decode, Playwright browser automation, and manual LLM-generated base64 instead of using gitea_commit_files from the main agent with profile gitea.repo.commit.

Proposal

  • Agent/runbook rule: if gitea.repo.commit is allowed and gitea_commit_files is reachable, that is the only commit path.
  • Explicitly forbid WebFetch, Playwright, external websites, and manual LLM base64 as workarounds.
  • If base64 is required and shell is unavailable, stop with recovery report (do not improvise).

Acceptance

  • Documented in workflow runbooks / safety model.
  • Optional lint on agent transcripts for forbidden fallback patterns.

Context

#152 subagent failure 2026-07-06.

## Problem When shell encoding fails, agents attempted httpbin WebFetch base64 decode, Playwright browser automation, and manual LLM-generated base64 instead of using `gitea_commit_files` from the main agent with profile `gitea.repo.commit`. ## Proposal - Agent/runbook rule: if `gitea.repo.commit` is allowed and `gitea_commit_files` is reachable, that is the only commit path. - Explicitly forbid WebFetch, Playwright, external websites, and manual LLM base64 as workarounds. - If base64 is required and shell is unavailable, stop with recovery report (do not improvise). ## Acceptance - Documented in workflow runbooks / safety model. - Optional lint on agent transcripts for forbidden fallback patterns. ## Context #152 subagent failure 2026-07-06.
jcwalker3 added the status:in-progress label 2026-07-06 13:44:03 -05:00
Author
Owner

Claimed. Branch: docs/issue-260-forbid-commit-fallbacks. Worktree: branches/docs-issue-260-forbid-commit-fallbacks.

Plan: document MCP-native gitea_commit_files as the only commit path when gitea.repo.commit is allowed; forbid WebFetch/Playwright/manual base64 workarounds in runbooks and safety model; add doc tests.

Claimed. Branch: `docs/issue-260-forbid-commit-fallbacks`. Worktree: `branches/docs-issue-260-forbid-commit-fallbacks`. Plan: document MCP-native `gitea_commit_files` as the only commit path when `gitea.repo.commit` is allowed; forbid WebFetch/Playwright/manual base64 workarounds in runbooks and safety model; add doc tests.
sysadmin removed the status:in-progress label 2026-07-07 01:01:19 -05:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#260