Failed subagent runs left throwaway helpers (_encode_commit_payload.py, _emit_payload.py) in the shared working tree, polluting git status and tripping gitea_lock_issue / pre-flight purity gates. Add an 'Agent temp artifact cleanup' runbook section requiring deletion of _encode_*/_emit_*/_inline_* helpers when the MCP commit completes or aborts, prefer scratchpad payload preparation, and document the cleanup checklist. Back it with .gitignore patterns so strays cannot block issue locks for later sessions, and pin both with doc-contract tests (including a repo-root scan asserting the artifacts stay removed). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
18 lines
430 B
Plaintext
18 lines
430 B
Plaintext
venv/
|
|
__pycache__/
|
|
*.pyc
|
|
.env*
|
|
!.env.example
|
|
# Real JSON runtime-profile configs may reference private hosts; keep only the example.
|
|
gitea-mcp*.json
|
|
!gitea-mcp.example.json
|
|
!gitea-mcp.v2-contexts.example.json
|
|
.vscode/
|
|
graphify-out/
|
|
branches/
|
|
# Throwaway agent payload/encoding helpers (#261): delete after the MCP
|
|
# commit completes or aborts; ignored here so strays cannot block issue locks.
|
|
_encode_*.py
|
|
_emit_*.py
|
|
_inline_*.py
|