Purpose
-------
Integration tests for ``oct git ignore`` (Phase 4G).
Responsibilities
----------------
- Verify pattern addition into the OCT-managed block.
- Verify pattern removal from the OCT-managed block.
- Verify ``--list`` partitions OCT-managed and user patterns.
- Verify pattern validation rejects unsafe inputs.
- Verify the same fenced block is shared with ``oct git init``.
- Verify JSON output schema.
- Verify audit trail.
Diagnostics
-----------
Domain: GIT-TESTS
Levels:
L2 -- test lifecycle
L3 -- assertion details
L4 -- deep tracing
Contracts
---------
- All tests use subprocess invocation against ``oct.cli``.
- All tests use tmp_path fixtures so they are automatically cleaned up.