---
id: 10474
title: Harden §0 invariant against mechanical and semantic loopholes
state: CLOSED
labels:
  - documentation
  - enhancement
  - ai
  - architecture
assignees: []
createdAt: '2026-04-28T11:48:24Z'
updatedAt: '2026-06-07T17:22:31Z'
githubUrl: 'https://github.com/neomjs/neo/issues/10474'
author: neo-gemini-pro
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2026-04-29T11:31:26Z'
---
# Harden §0 invariant against mechanical and semantic loopholes

## Overview
Harden the §0 swarm invariant regarding merge execution, following the Verify-Before-Assert discipline arc (Phase C).

## Acceptance Criteria
- [x] `AGENTS.md` is updated to explicitly prohibit agent-executed merges via an intent-based invariant: "No `gh pr merge` (Human-Only execution)."
- [x] The **Cross-Family Cascade Clause** is explicitly codified to prevent aggregate-approval-as-authorization loopholes.
- [x] `AGENTS_STARTUP.md` is updated to cleanly mirror the `AGENTS.md` §0 invariant for cold-cache resilience.
- [x] Documentation reflects the latest MCP tool changes, including `sync_all` usage for ticket edits.

## Timeline

- 2026-04-28T11:48:26Z @neo-gemini-pro added the `documentation` label
- 2026-04-28T11:48:26Z @neo-gemini-pro added the `enhancement` label
- 2026-04-28T11:48:26Z @neo-gemini-pro added the `ai` label
- 2026-04-28T11:48:26Z @neo-gemini-pro added the `architecture` label
- 2026-04-28T12:01:31Z @neo-gemini-pro cross-referenced by PR #10475
- 2026-04-28T12:08:06Z @neo-gemini-pro referenced in commit `9e19f9b` - "docs(agents): harden section zero merge invariants (#10474)"
- 2026-04-28T13:25:35Z @neo-gemini-pro referenced in commit `75a411f` - "docs(agents): Rollback Phase C whitelist and restore intent-based §0 prohibition (#10474)

Dismantled the unmaintainable whitelist-based merge prohibitions and the
exhaustive enumeration of tools. Restored the canonical Human-Only merge
mandate as a simple, evergreen rule. Retained the Cross-Family Cascade
Clause as an explicit architectural boundary."
- 2026-04-28T13:45:20Z @neo-gemini-pro referenced in commit `19b941e` - "fix(docs): remove gh CLI tool references in favor of MCP tools (#10474)"
- 2026-04-28T14:59:36Z @neo-gemini-pro referenced in commit `964888f` - "docs(agents): harden section zero merge invariants (#10474)"
- 2026-04-28T14:59:36Z @neo-gemini-pro referenced in commit `301d4de` - "docs(agents): Rollback Phase C whitelist and restore intent-based §0 prohibition (#10474)

Dismantled the unmaintainable whitelist-based merge prohibitions and the
exhaustive enumeration of tools. Restored the canonical Human-Only merge
mandate as a simple, evergreen rule. Retained the Cross-Family Cascade
Clause as an explicit architectural boundary."
- 2026-04-28T14:59:36Z @neo-gemini-pro referenced in commit `fcd7e51` - "fix(docs): remove gh CLI tool references in favor of MCP tools (#10474)"
- 2026-04-28T15:27:39Z @neo-gemini-pro referenced in commit `fcfcdad` - "docs(agents): harden section zero merge invariants (#10474)"
- 2026-04-28T15:27:39Z @neo-gemini-pro referenced in commit `054fa37` - "docs(agents): Rollback Phase C whitelist and restore intent-based §0 prohibition (#10474)

Dismantled the unmaintainable whitelist-based merge prohibitions and the
exhaustive enumeration of tools. Restored the canonical Human-Only merge
mandate as a simple, evergreen rule. Retained the Cross-Family Cascade
Clause as an explicit architectural boundary."
- 2026-04-28T15:27:40Z @neo-gemini-pro referenced in commit `b9b1493` - "fix(docs): remove gh CLI tool references in favor of MCP tools (#10474)"
- 2026-04-29T11:09:47Z @neo-gemini-pro referenced in commit `28c32fc` - "docs(agents): harden section zero merge invariants (#10474)"
- 2026-04-29T11:09:47Z @neo-gemini-pro referenced in commit `c52c50c` - "docs(agents): Rollback Phase C whitelist and restore intent-based §0 prohibition (#10474)

Dismantled the unmaintainable whitelist-based merge prohibitions and the
exhaustive enumeration of tools. Restored the canonical Human-Only merge
mandate as a simple, evergreen rule. Retained the Cross-Family Cascade
Clause as an explicit architectural boundary."
- 2026-04-29T11:09:47Z @neo-gemini-pro referenced in commit `f695ba0` - "fix(docs): remove gh CLI tool references in favor of MCP tools (#10474)"
- 2026-04-29T11:31:26Z @tobiu closed this issue
- 2026-04-29T11:31:26Z @tobiu referenced in commit `9589582` - "docs(agents): harden section zero merge invariants (#10474) (#10475)

* docs(agents): harden section zero merge invariants (#10474)

* docs(agents): Rollback Phase C whitelist and restore intent-based §0 prohibition (#10474)

Dismantled the unmaintainable whitelist-based merge prohibitions and the
exhaustive enumeration of tools. Restored the canonical Human-Only merge
mandate as a simple, evergreen rule. Retained the Cross-Family Cascade
Clause as an explicit architectural boundary.

* fix(docs): remove gh CLI tool references in favor of MCP tools (#10474)

---------

Co-authored-by: tobiu <tobiasuhlig78@gmail.com>"

