Pipeline agents without Write cannot submit a handoff that contains the word git from a worktree session #848
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#848
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In a worktree-isolated session, the harness guard refuses a Bash command when its inline text names git in a form the guard cannot verify. A pipeline agent submits its handoff with
os-sdlc-subagent-stop --json '<json with the YAML handoff>'(plugins/os-sdlc/agents/contract-auditor.md:52). The protocol forbids heredocs, variables, and pipes (contract-auditor.md:57). An audit of git-related code names git many times, so the guard refuses the call. Read-only agents (contract-auditor, change-auditor, behavior-verifier, reviewer, test-reviewer, seam-designer) have no Write tool, so they cannot move the handoff into a file. The agent then ends without a recorded completion, and the orchestrator must submit the event, which the implement skill forbids.Observed
#844, implementation 9, dispatch 75, 2026-09-30. The contract-auditor reported: "The worktree-isolation guard blocked the
os-sdlc-subagent-stopcall. It said it cannot show that the command is not git". On retry: "I have only the Read and Bash tools, and I have no Write tool."The orchestrator wrote the verbatim handoff to a file and ran
os-sdlc-subagent-stop < handoff-75.json. The Runner accepted it (completion_recorded, verdict pass).Reproduce
plugins/os/lib/worktree/.os-sdlc-subagent-stop --json '...'call.Origin
/os-sdlc:implement 844, contract-auditor dispatch 75os-sdlc-subagent-stop < file.jsonitselfcontract-auditor.md:52-57)Related: #841 (a gate error ends the run without a correction round).
VERDICT: CREATE — observed failure in a full #844 run; recurs for every read-only agent that audits git code (ticket-skeptic, 2026-09-30).
Resolution
Done: Folded into #1096 as evidence
Evidence: Same mechanism; see occurrence comment on #1096
Follow-ups: none