Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
日本語の概要は準備中です。原文の説明を表示しています。
Use to open or exit the MX hangar or safe mode, or to check which mode is open.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
The MX Maintenance Hangar lets the operator repair governance surfaces that
the guards themselves protect. While the hangar is open, most governance
guards drop to advisory so repair work can proceed without the checked-in
surfaces blocking the repair itself. Two guards NEVER drop: gate5_invariants
and the PRIME DIRECTIVE (ownership — "fix what you know AND what you find").
The same marker carries a second mode. Safe mode is the toggle
(GHI #1244): OBPI initiation and brief ceremony are suspended under a written
contract, every guard outside the floor drops to advisory as in the hangar, and the banner names the contract each
turn. Gate 5, the ledger through gz verbs, operator PII and the PRIME DIRECTIVE bind
in both modes.
The operator operates this skill; the skill invokes gz mx; nobody shells
out to gz mx enter or gz mx exit directly. The operator never types the verb:
entry and exit are the skill's steps below, and an instruction that hands the
operator a raw gz mx command is a defect in the surface that gave it.
Open the hangar
uv run gz mx enter --reason "<why>" --attestor g0 [--scope ADR-X.Y.Z ...]
Creates .gzkit/mx.json marker. Most governance guards drop to advisory. --reason
and --attestor are required; the attestor is the operator, never an agent.
Perform the repair Work on the governance surfaces that needed fixing. Gate 5 invariants and the PRIME DIRECTIVE still bind — guards drop to advisory so you can repair governance itself, not so defects can be deferred.
Close the hangar
uv run gz mx exit --attestor g0
Removes .gzkit/mx.json marker. Every guard re-runs at full strength;
exit is a hard gate (all guards must pass before exit succeeds).
Confirm the contract before anything is written. The operator names the contract
document, written from .gzkit/templates/safe_mode_contract.md under
docs/governance/safe-mode-doctrine.md (first instance:
docs/governance/harbor-pilotage-candidate-2026-10-15.md). The skill
reads it and confirms it carries § Authority (whose word opened the mode), § Purpose,
§ The general arrangement (the target structure, drawn), § What is suspended and what
is not, § Mandate, § Records (one commit per act with its trailer and its
gz arb red --commit witness), § Repair orders (the register, each naming the band it
serves) and § Exit (structural conditions, each with a witness). A contract missing any
of these is reported and the mode is not entered.
Enter safe mode
uv run gz mx enter --mode safe --contract <contract path> --reason "<why>" --attestor g0
Same marker, mode: safe, bound to its mx_session_opened event. The verb refuses a
missing or outside contract and refuses a contract under --mode mx. From this turn
the banner names the contract; guards outside the floor are advisory until the exit.
Work the repair orders under the contract. Each act is one commit with its
Task: trailer naming its repair order, its commit-grain witness, and a passage-log
row with the measurement before and after. The ledger is written only through gz
verbs; no control is removed.
Read the exit before leaving. The skill reads the contract's § Exit conditions and § Repair orders (the orientation's drydock block once GHI #1245 lands; until then each witness re-run) and names any condition not met or order still open. One unmet condition stops here: the exit is not attempted, and the operator decides whether it is waived by a recorded ruling or worked.
Exit through the hard gate
uv run gz mx exit --attestor g0
The marker is removed, every guard re-runs at full strength, the enter-to-exit log
is rendered for the operator, and mx_session_closed is written. A red guard
restores the marker and refuses.
Hand back. The contract's handback amendment (every pilot commit listed, kept or reverted, the passage log carried, the suspended rules restored) is drafted by the session and ratified by the operator. Civil rule resumes on that ratification, not on the exit.
# Enter the hangar to repair a drifted OBPI brief
uv run gz mx enter --reason "repair a drifted OBPI brief" --attestor g0
# Perform repair work (briefs, rules, docs)
# ...
# Exit — guards re-enforce; exit fails if any guard is still red
uv run gz mx exit --attestor g0
Safe mode, as the skill runs it for the operator:
# Step 2 — enter under the pilotage contract
uv run gz mx enter --mode safe --contract docs/governance/harbor-pilotage-candidate-2026-10-15.md --reason "harbor pilotage" --attestor g0
# Steps 3 and 4 — repair orders under § Records; § Exit read before leaving
# Step 5 — exit through the hard gate
uv run gz mx exit --attestor g0
The ledger is the one governance surface hangar mode can never make writable:
AGENTS.md § Behavior Rules forbids hand-writing it, and that prohibition is what makes
it trustworthy. A row recorded in error is therefore repaired forward, and
the repair is available inside or outside the hangar.
gz ledger correct appends one corrective action naming the prior row by its
(event, id, ts) triple — the ledger has no per-row id, because id carries
the artifact rather than the event. gz ledger corrections is the census of
what is currently in force.
# Review the exact target first; nothing is written
uv run gz ledger correct \
--subject-event pipeline_launched \
--subject-id OBPI-0.35.0-08-remember-post-append-advisory \
--subject-ts 2026-08-23T13:12:21.832251+00:00 \
--disposition void --cause agent-error \
--reason "pipeline launched without operator initiation" \
--attestor g0 --dry-run
# What is corrected right now
uv run gz ledger corrections
Three dispositions: void (the row records something that was not true — no
reader may count it), discharged (the row was true and its condition has
since been resolved — it leaves the liveness reading but stays evidence), and
reinstated (undo a prior correction). Operator-gated: --attestor and
--reason fail closed when empty, on the same terms as gz obpi repudiate.
gz mx; nobody shells out, and no
surface hands the operator a raw gz mx commandgate5_invariants and the PRIME DIRECTIVE bind throughout the session.gzkit/rules/mx-mode.md for the binding agent rule for hangar sessionsまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
日本語の概要は準備中です。原文の説明を表示しています。
Use to file a GitHub issue when a finding needs its own work order or the operator asks; OBPI corrections stay in its change log.
日本語の概要は準備中です。原文の説明を表示しています。
Use to do the work a GHI describes, verify it and close the issue with evidence in one sweep.
日本語の概要は準備中です。原文の説明を表示しています。
Use to triage the open GHI queue before planning or choosing what to pull; produces a ranked deliverable.
日本語の概要は準備中です。原文の説明を表示しています。
Run the guarded repository sync ritual; commit-time hooks enforce the cheap gates and the pre-push hook runs gz check.
日本語の概要は準備中です。原文の説明を表示しています。
Run the guarded repository sync ritual; the hooks your pre-commit config declares enforce the quality gates.
日本語の概要は準備中です。原文の説明を表示しています。