Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use to bootstrap, reinitialize or repair a repository's gzkit governance scaffolding.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
gz init (init in src/gzkit/commands/init_cmd.py) has three modes, chosen
by the state of the working directory and the flags. It always acts on the
current directory; it never searches upward for a project.
.gzkit/ yet, or --force. Writes .gzkit.json from
the detected project structure, the manifest, the design/ directories
(prd, constitutions, adr), the Python skeleton unless --no-skeleton
(pyproject.toml, README.md, src/<package>/__init__.py,
tests/__init__.py, then uv sync when .venv is absent), .gitignore,
.pre-commit-config.yaml with the pre-push gz check gate, and
data/audit_thresholds.json. In a git worktree it runs pre-commit install
for every declared hook type, installs the commit-locus recorder when
post-commit is declared, and registers the gzkit-jsonl merge driver. It
copies the wheel's canonical skills, chores, personas, templates and rules
into .gzkit/, runs the sync preflight, syncs the control surfaces, and
offers to register PRDs and ADRs it finds. Ledger: one project_init and an
agent_sync_completed per sync..gzkit/ exists, no --force, no --update. Adds what is
missing and never overwrites: skeleton, design/ directories, .gitignore,
pre-commit config, new canonical skills, rules, personas, templates and
chores, the chores registry merge (--yes accepts its prompt), the
manifest, and authorship.attestor_handle when --attestor-handle is given.
Then it syncs the control surfaces, listing only files the sync changes; an
already-synced tree runs no sync and appends no ledger row. In a git
worktree with a pre-commit config, every repair re-runs pre-commit install
and rewrites the recorder hook, so it always reports at least those.--update) — refreshes .gzkit/ skills, rules, chores, personas
and templates from the installed wheel by _detect_refresh_state:
IDENTICAL is skipped; STALE (the copy equals a version gzkit shipped, per
the wheel's canonical_history.json, or is missing) is overwritten; EDITED
(any other difference, so an operator edit) is reported and left. It writes only what delivery defines: gz upgrade's classifiers pick
the skills, rules, templates and personas, chores follow first-init delivery,
and chores/registry.json is merged, keeping project-local entries (--yes
accepts the merge). Nothing else runs: no manifest, no sync, no ledger event.Exit codes: 0 on success; 1 for --update with --force or
--attestor-handle, --update on an uninitialized project, a handle
containing whitespace, or a canonical-skill sync preflight failure; 3 when
--update leaves an EDITED conflict.
uv run gz init (default --mode lite),
with --attestor-handle <handle> to record the operator's handle. An
existing one: repair, or --update after a gzkit upgrade. --mode is read
only by first init.--dry-run. In repair and update it writes nothing and lists
what the real run would write; for an artifact repair would newly scaffold,
its Would scaffold line stands in for that artifact's mirrors
(GHI #1098). A first-init dry run prints a fixed list of steps..gzkit/skills/ and re-run.--update, run uv run gz agent sync control-surfaces: --update
refreshes canon only, and the mirrors keep the old content until a sync.
An EDITED conflict (exit 3) persists until the operator deletes the
project copy and re-runs, or keeps the edit.--force only for full reinitialization, and only with the operator's
agreement. It re-copies the wheel's skills, rules, templates and chores
over the project's copies, so operator edits to them are lost; it never
overwrites personas and deletes nothing. It rewrites .gzkit.json from the
detected structure, which drops hand-set keys such as a vendors block,
custom paths, or an attestor handle not passed again. It appends another
project_init event.src/gzkit/, a copy synced from .gzkit/. A .gzkit/ edit not yet synced
matches no shipped version, so --update reports it EDITED rather than
reverting it; sync first.pyproject.toml, README.md,
<source_root>/<package>/__init__.py and <tests_root>/__init__.py exist.uv run gz validate --surfaces passes after init or a follow-up sync.uv run gz init --mode heavy --attestor-handle <handle> # first init
uv run gz init --dry-run # initialized project: list the repair writes
uv run gz init # repair
uv run gz init --update --dry-run
uv run gz init --update # then: uv run gz agent sync control-surfaces
gz-agent-sync — the sync that init, repair and --force run, and that
--update needs afterwardsuv run gz upgrade — surface-only refresh with per-surface classifiers,
--surface and --forcedocs/user/manpages/init.md — the full contract아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
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.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.